Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following script can be used to switch between the primary and secondary roles for an SDNC server.

Pre-condition:

 1. The script “sdnc.failover” has dependencies on script “sdnc.cluster”, “sdnc.isPrimaryCluster” and “switchVoting.sh”.

 2. Run as "ubuntu" instead of "root".


To execute:

(1)    Make sure to run as “ubuntu”.

(2)    Run “./sdnc.failover” in the command line.


Expected results:

(1)    Return result as “success”. The clustering role should be changed from “active” to “standby”, or vice versa. Type “./sdnc.cluster” to confirm.

(2)    Return result as “failure”. The clustering role should not be changed.