Versions Compared

Key

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

...

Info
titleCasablanca

Updated for ONAP Casablanca release.

Overview

With SDN-C deployed in a geo-redundant fashion (see Installation of Geo-Redundant SDN-C), activity can be switched from one site to the other in one of two ways:

...

If the local PROM instance determines that the site is currently 'standby' and the remote site has become unhealthy, it will proceed to automatically initiate failover procedures, making the local site 'active' while the remote site is reverted to 'standby' (provided it is in good enough state to do so).

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.