Configuring Server Replication
Use this procedure to configure server replication.
Server replication allows servers in a replication cluster to synchronize their replicated data.
- Edit the
/var/local/ems9001/conf/override-common.propertiesfile.Note The
/var/local/ems9001/conf/override-common.propertiesfile contains many settings that affect the behavior of the PSM server. Only those attributes explicitly described in this guide should be changed. Changing any other attributes may have unintended consequences, and must only be performed under the guidance of Juniper Networks Support. - Set the
replication.enabledattribute as follows:To enable server replication, set the value to
true.To disable server replication, set the value to
false.
For example, to enable server replication:
replication.enabled=true
Note By default, server replication is disabled.
- Configure the IP addresses of the other servers in the
cluster.
The list of IP addresses is a comma-separated list. For example:
replication.cluster=10.64.6.24,10.64.6.25
- Save and close the file.
- Track changes to the
/var/local/ems9001/conf/override-common.propertiesfile with Git by committing this update to the Git repository.For example:
[user ~]# cd /var/local/ems9001/conf [user conf]# git commit -m "Configured server replication. By user@example.org." override-common.properties
This update can now be seen in the Git log. For more information on Git, see Using Git to Track override-common.properties.
- Changes made to the
override-common.propertiesfile do not take effect until the PSM server is restarted. To restart the server, enter the following command:psm-restart
The restart command successfully completes when the 'Ems-' processes all change to the running state. Type <ctrl> c to exit the Linux watch command window.