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 Administrationresetsc(1m)


NAME

 resetsc - reset the other system controller (SC)

SYNOPSIS

 resetsc [-q] [-y|-n]
 resetsc -h

DESCRIPTION

 

resetsc(1M) resets the other SC. This might typically be done after failover. This command runs either from the main SC and resets the spare or from the spare and resets the main. An SC cannot reset itself. If the SC chosen is not powered on, resetsc prompts the user to power it on. If the chosen SC does not power on, resetsc exits with an error.

OPTIONS

 

The following options are supported.

-h
Help. Displays usage descriptions. Note – Use alone. Any option specified in addition to -h is ignored.
-n
Automatically answers "no" to all prompts. Prompts are displayed unless used with the -q option.
-q
Quiet. Suppresses all messages to stdout including prompts.

When used alone, -q defaults to the -n option for all prompts.

When used with either the -y or the -n option, -q suppresses all user prompts and automatically answers with either 'y' or 'n' based on the option chosen.

-y
Automatically answers "yes" to all prompts. Prompts are displayed unless used with the -q option.

EXTENDED DESCRIPTION

 

Group Privileges Required

 

You must have platform administrator privileges to run this command.

Refer to Chapter 2 in the System Management Services (SMS) 1.2 Administrator Guide for the Sun Fire 15K/12K Systems for more information.

EXAMPLES

 Example 1. Resetting the Other SC Using Prompts
 
 
sc0:sms-user:> resetsc 
"About to reset other SC. 
Are you sure you want to continue? (y or [n])"
Example 2. Resetting the Other SC When the Other SC Is Powered Off
 
 
sc0:sms-user:> resetsc 
The other SC is not powered on.
Do you want to try to power it on? (y or [n])
Example 3. Resetting the Other SC Answering Yes to All Prompts
 
 
sc0:sms-user:> resetsc -y 
About to reset other SC.
Are you sure you want to continue? [y]
Example 4. Resetting the Other SC Suppressing All Prompts
 
 
sc0:sms-user:> resetsc -q

EXIT STATUS

 

The following exit values are returned:

0
Successful completion
1
The user has invalid permission.
2
Memory allocation failed.
3
Cannot determine other SC's presence.
4
Other SC is not present.
5
Cannot determine power state of other SC.
6
Unable to power on other SC.
7
Unable to reset other SC.
8
Flag registration failed.
9
Invalid command line argument.

ATTRIBUTES

 

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

Attribute TypesAttribute Values
AvailabilitySUNWSMSop

SMS 1.2Go To TopLast Changed 22 April 2002

 
      
      
Copyright 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA. All rights reserved.