Enabling and disabling replication between the primary and secondary nodes

This task applies only if the cluster environment is using the internal Postgres database. You can enable replication to back up the database on the primary node with the database on the secondary node.

About this task

If you did not enable replication when you created the first member node, which was assigned the role of secondary node, you can enable it with this procedure. Replication must be initiated from the secondary node.

Procedure

  1. From the top-level menu of the secondary node Appliance Dashboard, click Configure > Postgres Management.
    The Postgres Management table displays the name, the NFS enabled status, state, and role of the databases on the primary node.
  2. Select the Postgres database that is on the secondary node.
  3. Click Manage > Replication > Configure replication.
  4. Click Yes on the confirmation window.
    If it was not already running, the master database is started. The secondary database is displayed with the database role of slave.
  5. To stop replication, select the database that has the role of slave.
    1. Click Menu > Replication > Unconfigure replication.
    2. Click Yes on the confirmation window.
      Replication is stopped and the database is removed from the Postgres Management table.