Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If it is not included in your product by default, you can add by installing the above feature using the instructions given in section, Feature Management.

The Deployment Synchronizer feature can be used to synchronize the main repository of a Carbon server with a collection in the registry. This feature is sometimes also referred to as the registry-based repository synchronizer. The WSO2 deployment synchronizer has a number of use cases:

  • Maintaining an up-to-date backup of the Carbon repositoryregistry.
  • Sharing a single Carbon repository registry among multiple servers (through a shared registry).
  • Enforcing artifact updates in the registry to be deployed on a server at runtime.

...

Assume a cluster of Carbon servers that share the same configuration registry. With the deployment synchronizer, it is possible to maintain all the nodes in the cluster in sync through the shared registry. One of the nodes can be designated as the master node and it can upload its local repository to the registry using the deployment synchronizer. Other nodes (slave nodes) can then download the same repository from the registry and deploy locally. To support this use case, synchronizer has to be run in auto commit mode in the master node. When in auto commit mode, it will periodically upload the changed artifacts in the local repository to the registry. Similarly, slave nodes should run the synchronizer in the auto checkout mode. If needed, registry eventing can be employed to run the checkout operations so that a checkout will be made only when some artifact has changed in the shared registry.

...

titleNote

.

For instructions on configuring the Deployment Synchronizer, refer to  Configuring the Deployment Synchronizer.

...