Before stopping both nodes, execute the hvshut -a command to stop RMS.
If both nodes are stopped without stopping RMS when the cluster application is activated, if the standby node is stopped first, the following error may occur when the next time the cluster application is started.
[Event]
When only the first stopped node is started, the cluster application may not be forcibly started.
The cluster application must be forcibly started to start the cluster application on only one node.
If the standby node is stopped first, writing to the disk on the node is interrupted. At this time, data or file system may be inconsistent. In this case, the cluster application may fail to be forcibly started.
[Restoration procedure]
Start the last stopped node and start RMS to restore the cluster application to be started.
If the last stopped node cannot be started, take the following steps on the started node.
Cancel the start lock of the netmirror volume.
# sdxattr -V -c class_name -v volume_name -a lock=off |
Start the netmirror volume.
# sdxvolume -N -c class_name -v volume_name |
Restore data or file system.
Restore the file system, re-create the file system, or restore the data.
Stop the netmirror volume.
# sdxvolume -F -c class_name -v volume_name |
Start RMS.
Information
You can stop both nodes without stopping RMS when the cluster application is activated if the following operations are performed after stopping both nodes.
Starting both nodes again
In this case, the cluster application can be started correctly because the correct data on the last stopped node can be used.
At this time, the synchronization copying from the disk on the last stopped node to the disk on the first stopped node is automatically performed. In this case, inconsistency in the data or the file system on the first stopped node is automatically cleared.
Starting only the last stopped node
The cluster application can be forcibly started.
For how to restore the 2-node operation, see "7.16.6 Restoration to 2-node Operation after Operation on Only One Node."