The stopcluster command allows you to shut down a single node or the entire cluster in a controlled manner. When you issue this command, you are prompted with a confirmation of intent to process the command.
>>- svctask -- -- stopcluster -- --+----------+-- --------------> '- -force -' >--+--------------------------+-------------------------------->< '- -node --+- node_name -+-' '- node_id ---'
When you enter this command with no parameters, the entire cluster is shutdown. All data is flushed to disk before the power is removed.
When you enter this command with either a node ID or node name, the node in question is shut down. After the command completes, the remaining node in the I/O group enters write-through mode until the power to the node is returned and the node rejoins the cluster.
When input power is restored to the uninterruptible power supply units, they begin to recharge but the nodes do not permit I/O activity on the virtual disks until the uninterruptible power supply is charged enough to enable all the data on the nodes to be saved in the event of an unexpected power loss. This might take as long as two hours. Shutting down the cluster prior to removing input power to the uninterruptible power supply units prevents the draining of battery power and makes it possible for I/O activity to resume as soon as input power is restored.
svcinfo lsvdiskhostmap vdiskname | id
When all I/O has been stopped, issue the svctask stopcluster to shut down a single node or the entire cluster in a controller manner. If you specify the node ID or node name, you can shut down a single node. After the command completes, the other node in the I/O group goes into write-through mode until the power to the node is returned and the node rejoins the cluster.
If a shutdown command has been sent to the cluster and both cluster and uninterruptible power supply units have powered off, when input power is restored, press the power button on the uninterruptible power supply front panel to restart the uninterruptible power supply units.
Ensure that you have stopped all FlashCopy mappings and Metro or Global Mirror relationships. In addition, ensure that all data migration operations and forced deletions have completed before continuing. Entering y to the confirmation message processes the command. No feedback is then displayed. Entering anything other than y or Y results in the command not processing. No feedback is displayed.
An invocation example
svctask stopcluster
The resulting output You will be presented with the following warning:
Are you sure that you want to continue with the shut down?