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 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
To disable server replication, set the value to
For example, to enable server replication:
By default, server replication is disabled.
- Configure the IP addresses of the other servers in the
The list of IP addresses is a comma-separated list. For example:
- 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.
[user ~]# cd /var/local/ems9001/conf [user conf]# git commit -m "Configured server replication. By firstname.lastname@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:
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.