PingDirectory

Triggering failover in a topology

For PingDataSync servers in a topology, you can trigger a failover to another server instance if the active server isn’t operating as expected.

Steps

  • Trigger a failover to another PingDataSync server instance:

    Choose from:

    • Stop the active server instance by running the stop-server command.

    • Increase the value of the sync-server-priority-index property to lower the priority of the active server instance.

      Example:

      $ bin/dsconfig set-external-server-prop \
          --server-name intra-sync-<server:port> \
          --set sync-server-priority-index:3 \
          --no-prompt --applyChangeTo server-group

      Learn more about the sync-server-priority-index property in the PingDataSync configuration documentation.