- Use PuTTY to log in to any VRM node.
Ensure that the management IP address and username gandalf are used to establish the connection.
The system supports the login authentication using a password or private-public key pair.
- Run the following command and enter the password of user root to switch to user root:
su - root
- Run the following command to view the status of the active and standby VRM nodes:
service had query
Information similar to the following is displayed:
NODE ROLE PHASE RESS VER START ha1(VRM01) active Activated normal V100R001C01 2016-01-27 12:20 ha2(VRM02) standby Deactivated normal V100R001C01 2016-01-27 12:20
Determine whether the RESS values in the command output are all normal.
- Use PuTTY to log in to the node whose PHASE value displayed in Step 3 is Activated.
Ensure that the management IP address and username gandalf are used to establish the connection.
- Run the following command and enter the password of user root to switch to user root:
su - root
- Run the following command to perform active/standby switchover:
sh /opt/galax/gms/common/ha/switchOverHA.sh
- Determine whether the active/standby switchover is successful by performing the following steps:
- Run the following command to check whether the ROLE status of the original standby VRM node has changed from standby to active and whether the ROLE status of the original active VRM node has changed from active to standby.
service had query
- Determine whether the RESS values in the command output are all normal.
- Check whether a floating IP address can be used to log in to FusionCompute.
- Run the following command to check whether the ROLE status of the original standby VRM node has changed from standby to active and whether the ROLE status of the original active VRM node has changed from active to standby.