NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO
The scshutdown utility shuts down an entire cluster in an orderly fashion.
Before starting the shutdown, scshutdown sends a warning message, and a final message asking for confirmation.
The scshutdown command should only be run from one node.
scshutdown performs the following actions when it shuts down a cluster:
Changes all functioning resource groups on the cluster to an offline state. If any transitions fail, scshutdown does not complete and displays an error message.
Unmounts all cluster file systems. If any unmounts fail, scshutdown does not complete and displays an error message.
Shuts down all active device services. If any of the transitions fail, scshutdown does not complete and displays an error message.
Runs /usr/sbin/init 0 on all nodes. See init(1M).
The following options are supported:
Changes the number of seconds from the 60-second default to the time specified by grace-period.
Pre-answers the confirmation question so the command can be run without user intervention.
The following operands are supported:
A string that is sent out following the standard warning message: The system will be shut down in … If message contains more than one word, delimit it with single (') or double (") quotation marks. The warning message and the user provided message are output when there are 7200, 3600, 1800, 1200, 600, 300, 120, 60, and 30 seconds remaining before scshutdown begins.
In the following example, scshutdown shuts down a cluster:
phys-palindrome-1# scshutdown |
The following exit values are returned:
Successful completion.
An error occurred. Error messages are displayed on the standard output.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE |
ATTRIBUTE VALUE |
---|---|
Availability |
SUNWcsu |
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO