Sun Microsystems, Inc.
   www.sun.com docs.sun.com | | |  
   
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
    
 
System Administration Commandsscshutdown(1M)


NAME

 scshutdown - shut down a cluster

SYNOPSIS

 scshutdown [-y] [-g grace-period] [message]

DESCRIPTION

 

The scshutdown utility shuts down an entire cluster in an orderly fashion.

Before starting the shutdown, scshutdown sends a warning message, then a final message asking for confirmation.

Only run the scshutdown command 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 transition of a device fails, scshutdown does not complete and displays an error message.
  • Runs /usr/sbin/init 0 on all nodes. See init(1m) for more information.

You need solaris.cluster.system.admin RBAC authorization to use this command. See rbac(5).


OPTIONS

 

The following options are supported:

-g grace-period
Changes the number of seconds from the 60-second default to the time specified by grace-period.
-y
Pre-answers the confirmation question so the command can be run without user intervention.

OPERANDS

 

The following operands are supported:

message
Is a string that is issued after the standard warning message The system will be shut down in ... is issued. 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.

EXAMPLES

 Example 1. Shutting Down a Cluster
 
 
phys-palindrome-1# scshutdown

EXIT STATUS

 

The following exit values are returned:

0
The command completed successfully.
nonzero
An error occurred. Error messages are displayed on the standard output.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu
Interface StabilityEvolving

SEE ALSO

 

shutdown(1m), init(1m), attributes(5)



Sun Cluster 3.1Go To TopLast Changed 6 May 2003

 
      
      
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.