OperationCenter DR Switchover Takes a Long Time and the Database Is Rebuilt Repeatedly


ManageOne OperationCenter

2.3, 3.0, 3.0.5, 3.0.7, 3.0.8, and 3.0.9

【Fault Type�?
Installation & Deployment

During the switchover between the production site and DR site, the OperationCenter database startup takes a long time.

【Fault Locating�?
After the switchover script is executed, the database is in the stopped state. Run the gs_ctl querybuild command as user appuser on the OperationCenter server. The database is repeatedly rebuilt.

Step 1 Use PuTTY and the remote login IP address to log in to the active node of the production site as user appuser.

Step 2 Run the following command to switch to user root:
sudo su �?root
Enter the password of user root.

Step 3 Run the following command to disable PuTTY logout on timeout:

Step 4 Run the following commands to modify the database monitoring script:
cd /opt/OperationCenter/AppBase/HA/ha/module/harm/plugin/script/
sed -i 's/db_state_rest/db_state_rst/g' db.sh

Perform Step 1 through Step 4 to configure the standby node of OperationCenter at the production site, as well as the active and standby nodes of OperationCenter at the DR site.


Other related questions:
When Executing a DR Test, the Snapshot Mapping Operation Takes a Long Time
Log in to the management server for which OceanStor BCManager is installed and check whether a service IP address has been assigned for the management server. If yes, confirm whether the service IP address needs to be used. If the service IP address does not need to be used, delete the service IP address. If no, contact Huawei technical support.

How long does active/standby switchover take
The duration of active/standby switchover depends on the triggering condition. -If the active/standby switchover is caused by an interface or link fault, the switchover completes within milliseconds. -If the active/standby switchover is caused by a device failure, the switchover completes within five heartbeat intervals.

What can I do if it takes a long time to log in to the ViewPoint 9000 endpoint using SSH
This issue is caused by the non-standardized connection setup process between the endpoint and an SSH client (such as PuTTY). To accelerate the login, use SecureCRT or XShell.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top