Recovering an SD cluster after the secondary server became the primary server
If a secondary server in an SD cluster became the primary server after the original primary server failed, you can use a script to reestablish the original primary and convert the current primary server back to a secondary server.
In this example, the primary server, named srv_pri, has failed over to an SD secondary server named srv_sds_sec. At this point, the primary server is srv_sds_sec, and any other secondary servers in the cluster are now pointing to srv_sds_sec. To restore the cluster to the way it was before srv_pri failed over, follow these steps: