Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Server Replication

    Use this procedure to configure server replication.

    Server replication allows servers in a replication cluster to synchronize their replicated data.

    1. Edit the/var/local/ems9001/conf/override-common.properties file.

      Note: The /var/local/ems9001/conf/override-common.properties file 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.

    2. Set the replication.enabled attribute 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.

    3. 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
      
    4. Save and close the file.
    5. Track changes to the /var/local/ems9001/conf/override-common.properties file 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.

    6. Changes made to the override-common.properties file 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.

    Modified: 2017-01-04