Once the cause of the DC1 failure has been resolved and fixed, you can switch back from DC2 as the primary to DC1. However, before doing that, DC1 first needs to receive data replication from DC2.
Note:
If testing, you must only perform this process during a maintenance window.
Procedure
On the DC2, do the following on the Cluster Control Manager (CCM) console:
Run the Analytics Administration script as root user, use the following command:
ccm release orca analytics
Select Geo/High Availability by pressing the corresponding number.
Select Geo options by pressing the corresponding number.
Select Configure Primary Geo cluster by pressing the corresponding number.
Make a note of the IP address and PV name that you receive at the end of this process. You need these values later in this process. The script takes a few minutes to run.
On the DC1 to make it a standby, do the following on the Cluster Control Manager (CCM) console:
Log in to the Cluster Control Manager (CCM) console of the DC1 cluster as the cust user.
Switch to the root user by entering su.
Run cluster_ssh. This displays the available nodes, for example:
node164182.puneccq.avaya.com
node164183.puneccq.avaya.com
node164184.puneccq.avaya.com
Run the firewall config command for each node and exit. For example; Select [1].
Note:
The IP Address argument is the same IP address output from the Geo Primary config.
To run the Analytics Administration script as root user, use the following command:
Select Geo/High Availability by pressing the corresponding number.
Select Geo options by pressing the corresponding number.
Select Configure Standby Geo cluster by pressing the corresponding number.
In the Proceed to Standby Geo cluster config field, enter y.
At the prompt for IP address, enter the IP address and PV names that you noted from the secondary data center.
Note:
The script will take few minutes to run.
Return to the previous page by entering b.
Quit the current page by entering q.
Return to the main menu by entering m.
Note:
Once the above steps are completed successfully, the Analytics database and MicroStrategy database will start to sync.
The MSTR will not be accessible for the standby data center.
Next Steps
At this stage, DC2 is still the primary but now with data being replicated to DC1. To return the DC1 to the primary role, repeat the switch over process (Switching over from the primary to the secondary data center) but with the data centers reversed. That is, promote DC1 to be the primary and configure DC2 to be the Standby Geo for DC1.