svctask stopsystem
Use the svctask stopsystem command to shut down a single node or the entire system in a controlled manner. When you issue this command, you are prompted with a confirmation of intent to process the command.
Syntax
Parameters
- -force
- (Optional) Specifies that the node that is being shut down is the last online node in a
given I/O group. The -force parameter also overrides the checks that this
command runs. The parameter overrides the following two checks:
- If the command results in volumes going offline, the command fails unless the -force parameter is used.
- If the node being shut down is the last online node in the I/O group, the command fails unless the -force parameter is used.
Remember: The -force parameter should always be used with caution. - -node node_name | node_id
- (Optional) Specifies the node that you want to shut down. You can specify one of the
following values:
- The node name or label that you assigned when you added the node to the system.
- The node ID that is assigned to the node (not the worldwide node name).
- -reset
- (Optional) Soft-resets a specified node. Must be used with
-node node_id/node_name
.
Description
Use this command to shut down a single node or the entire clustered system in a controlled manner. You are prompted with a confirmation of intent (to process the command) when you specify this command.
If you need to shut down the system or a single node, use this command instead of using the power button on power supplies, or powering off the main power supplies to the system.
- Quiesce all I/O operations that are destined for this node or system. If you do not quiesce these, failed I/O operations might be reported to your host operating systems.
- Stop all FlashCopy®, Metro Mirror, Global Mirror, and data migration operations.
- Ensure that all asynchronous deletion operations have completed.
Using this command to shut down a single node fails if shutting down the node makes any volumes inaccessible, or if it is the last node in an I/O group. If you still need to shut down the node, you can use the -force option to override these checks.
An invocation example
stopsystem
The following confirmation prompt is displayed:
Are you sure that you want to continue with the shut down?
Select
yes
to confirm or no
to cancel.
An invocation example
stopsystem -node 3
The following confirmation prompt is displayed:
Are you sure that you want to continue with the shut down?
Select yes
to confirm or no
to cancel.