This product or documentis protectedby copyrightand distributed under licenses restrictingits use,copying, distribution, and
decompilation. No part ofthis productor documentmay be reproduced inany form by any meanswithout priorwritten authorization
of Sun and itslicensors, ifany.Third-party software,including fonttechnology,is copyrightedand licensedfrom Sunsuppliers.
Parts of the product maybe derivedfrom BerkeleyBSD systems,licensed fromthe University of California. UNIX is a registered trademarkin
the U.S. and other countries, exclusively licensed through X/OpenCompany, Ltd.
Sun, Sun Microsystems,the Sunlogo, AnswerBook2,docs.sun.com, OpenBoot,Sun Fire,and Solarisare trademarks, registeredtrademarks, or
service marks of Sun Microsystems,Inc. inthe U.S.and othercountries. AllSPARCtrademarks areused under license and aretrademarks or
registeredtrademarks ofSPARCInternational, Inc. in the U.S. and other countries. Productsbearing SPARCtrademarks arebased uponan
architecturedeveloped bySun Microsystems,Inc.UNIX is a registered trademarkin theUnited Statesand othercountries, exclusivelylicensed
throughX/Open Company,Ltd.
The OPEN LOOK and Sun™ Graphical User Interface was developedbySun Microsystems,Inc. forits usersand licensees.Sun acknowledges
the pioneering effortsof Xeroxin researchingand developing the concept of visual orgraphical userinterfaces forthe computerindustry.Sun
holds a non-exclusive license fromXerox tothe XeroxGraphical User Interface, which license also covers Sun’s licensees who implement OPEN
LOOK GUIs and otherwise comply with Sun’s written license agreements.
Federal Acquisitions: CommercialSoftware—Government UsersSubject toStandard License TermsandConditions.
DOCUMENTATION IS PROVIDED “AS IS”AND ALL EXPRESS OR IMPLIEDCONDITIONS, REPRESENTATIONSAND WARRANTIES,
INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Copyright 2001 Sun Microsystems, Inc.,901 SanAntonio Road• PaloAlto, CA94303 Etats-Unis.Tousdroits réservés.
Ce produit oudocument estprotégé par un copyright et distribué avec des licences quien restreignentl’utilisation, la copie, la distribution,et la
décompilation. Aucune partie de ce produit oudocument nepeut êtrereproduitesous aucuneforme, parquelque moyenque cesoit, sans
l’autorisation préalable et écrite de Sun et de ses bailleurs delicence, s’ily ena. Lelogiciel détenupar destiers, etqui comprendla technologie
relativeaux policesde caractères,est protégépar un copyright et licencié par des fournisseurs de Sun.
Des parties de ce produitpourront êtredérivées des systèmes Berkeley BSDlicenciés parl’Université deCalifornie. UNIXest unemarque
déposée aux Etats-Uniset dansd’autres pays et licenciée exclusivement par X/Open Company, Ltd.
Sun, Sun Microsystems,le logoSun, AnswerBook2,docs.sun.com, OpenBoot,Sun Fire,,et Solarisdes marquesde fabrique ou des marques
déposées, ou marquesde service,de SunMicrosystems, Inc.aux Etats-Uniset dansd’autres pays. Touteslesmarques SPARCsont utiliséessous
licence et sont des marquesde fabriqueou desmarques déposées deSPARCInternational, Inc.aux Etats-Uniset dans d’autrespays. Les
produitsportant lesmarques SPARCsont baséssur unearchitecture développée par Sun Microsystems,Inc. UNIXest unemarque enregistree
aux Etats-Unis et dans d’autrespays etlicenciée exclusivementpar X/OpenCompany Ltd.
L’interfaced’utilisation graphique OPEN LOOK et Sun™ a été développéepar SunMicrosystems, Inc.pour sesutilisateurs etlicenciés. Sun
reconnaîtles effortsde pionniersde Xeroxpour la rechercheet ledéveloppement duconcept desinterfaces d’utilisationvisuelle ougraphique
pour l’industrie de l’informatique. Sun détient une licence non exclusive deXerox surl’interface d’utilisationgraphique Xerox,cette licence
couvrant également leslicenciés deSun quimettent enplace l’interfaced’utilisation graphiqueOPEN LOOKet quien outrese conformentaux
licences écrites de Sun.
CETTE PUBLICATION EST FOURNIE "EN L’ETAT" ET AUCUNE GARANTIE, EXPRESSE OU IMPLICITE, N’EST ACCORDEE, Y
COMPRIS DES GARANTIES CONCERNANT LA VALEUR MARCHANDE, L’APTITUDE DE LA PUBLICATION A REPONDRE A UNE
UTILISATION PARTICULIERE, OU LE FAIT QU’ELLE NE SOIT PAS CONTREFAISANTE DE PRODUIT DE TIERS. CE DENI DE
GARANTIE NE S’APPLIQUERAIT PAS, DANS LA MESURE OU IL SERAIT TENU JURIDIQUEMENT NUL ET NON AVENU.
Please
Recycle
Contents
Prefacexiii
1.Introduction to the System Controller1
Platform and Domain Administration1
Connecting to the System Controller2
System Controller Navigation2
Terminating Sessions2
2.System Controller Syntax, Arguments, and Device Names3
Command Syntax and Arguments3
Command Names4
Component Names4
Board States for CPU/Memory Boards and I/O Assemblies6
Board Test Status6
Domain Status7
Interactive Commands8
Command Line Editing9
Command Line History10
Command Completion11
viSun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Tables
TABLE 2-1Components That Are Accessible From the Platform 5
TABLE 2-2Components That Are Accessible From a Domain 5
TABLE 2-3Board States 6
TABLE 2-4Status Field of the showboards Command 6
TABLE 2-5Values for the Domain Status Column in showplatform and showdomain Command
Output 7
TABLE 2-6Command Line Editing Capabilities 9
TABLE 2-7Keystrokes that Recall Previously Typed Command Lines 10
TABLE 2-8Keystrokes Used to Complete System Controller Commands 11
TABLE 3-1System Controller Command Summary 13
TABLE 3-2Header Description for the connections Command 22
TABLE 3-3
component_name
Descriptions for the CPU/Memory Board Used in the
disablecomponent Command 28
TABLE 3-4
component_name
Descriptions for the I/O Assembly Used in the disablecomponent
Command 28
TABLE 3-5
component_name
Descriptions for the CPU/Memory Board Used in the enablecomponent
Command 35
TABLE 3-6
component_name
Descriptions for the I/O Assembly Used in the enablecomponent
Command 36
TABLE 3-7Time Zone Abbreviations, Time Zone Name, and Offsets From Greenwich Mean Time 65
TABLE 3-8Description of the setkeyswitch Transition 72
vii
TABLE 3-9Results of Changing the Keyswitch From the Current Setting to a New Setting72
TABLE 3-10Parameter Values for the setupdomain Command 76
TABLE 3-11setupplatform Parameter Values 82
TABLE 3-12Output Header Definitions for the showboards and the showboards -v Command 88
TABLE 3-13Parts for showenvironment -p
TABLE 3-14showenvironment Output Header Description 100
part
100
viiiSun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Code Samples
CODE EXAMPLE 3-1 addboard Example in the Platform Shell 18
CODE EXAMPLE 3-2 addboard Example in the Domain Shell 18
CODE EXAMPLE 3-3 break Command Example 20
CODE EXAMPLE 3-4 connections Command for the Platform Shell 22
CODE EXAMPLE 3-5 console Example and No Password Set Accessing Domain B 24
CODE EXAMPLE 3-6 console Example and A Password Set Accessing Domain A 24
CODE EXAMPLE 3-7 deleteboard Example Showing Deleting I/O Assembly 7 26
CODE EXAMPLE 3-8 deleteboard Example Showing Deleting CPU/Memory Board 3 26
CODE EXAMPLE 3-9 disablecomponent Command Example Adding sb4 to the Blacklists 30
CODE EXAMPLE 3-10 disablecomponent Command Example Adding sb0 CPU Port 3 to the Blacklist 30
CODE EXAMPLE 3-11 disablecomponent Command Example Adding sb2, CPU Port 3, and Physical Bank 0
to the Blacklists 30
CODE EXAMPLE 3-12 disablecomponent Command Example Adding I/O Assembly 9, Port 0 and Bus 1 and
Also I/O Assembly 8, I/O Card 2 to the Blacklists 30
CODE EXAMPLE 3-13 Disconnecting a Session From the System Controller Platform Shell 32
CODE EXAMPLE 3-14 Disconnecting a Session From the System Controller Platform Console 32
CODE EXAMPLE 3-15 disconnect Example Showing Disconnecting a Session From the Domain A Shell 32
CODE EXAMPLE 3-16 dumpconfig Example 34
CODE EXAMPLE 3-17 enablecomponent Command Example Enabling CPU/Memory Board 4 37
CODE EXAMPLE 3-18 enablecomponent Command Example Enabling I/O Assembly 6 and Port 1 37
CODE EXAMPLE 3-19 flashupdate Example Updating the Active System Controller Board and the System
Controller Real Time Operating System 42
ix
CODE EXAMPLE 3-20 flashupdate Example Updating Replacement CPU/Memory Board sb4 42
CODE EXAMPLE 3-21 help Command Example Displaying Information on the addboard Command 44
CODE EXAMPLE 3-22 help Command Example Displaying Commands Beginning With the Word show 44
CODE EXAMPLE 3-23 help Command Example Displaying Commands Beginning With the Letter A 45
CODE EXAMPLE 3-24 history Command 46
CODE EXAMPLE 3-25 password Command Example With a Password Already Set 48
CODE EXAMPLE 3-26 password Command Example With No Password Set 48
CODE EXAMPLE 3-27 poweroff Command Example Showing Powering Off sb2 51
CODE EXAMPLE 3-28 poweroff Command Example Showing Powering Off All Power Supplies, Fan Trays, and
System Boards in the Platform Shell 51
CODE EXAMPLE 3-29 poweron Example Powering On sb2 53
CODE EXAMPLE 3-30 poweron Example Showing Powering On All CPU/Memory Boards and I/O Assemblies in
Domain A 54
CODE EXAMPLE 3-31 reboot Command Example 56
CODE EXAMPLE 3-32 reset Command Example From Domain A 58
CODE EXAMPLE 3-33 reset -a Command Example From Domain A 58
CODE EXAMPLE 3-34 restoreconfig Example 60
CODE EXAMPLE 3-35 resume Command Example in Active Domain A 63
CODE EXAMPLE 3-36 setdate Command Example in the Platform Shell 67
CODE EXAMPLE 3-37 setdate -r Command Example Setting the Date From a Date Host 67
CODE EXAMPLE 3-38 setdate -t Command Example Setting the Time Zone to Pacific Standard Time Using
the Offset From Greenwich Mean Time 67
CODE EXAMPLE 3-39 setdate -t Command Example Setting the Date and Time Zone to Eastern Standard
Time Using Time Zone Abbreviations 67
CODE EXAMPLE 3-40 setdate -t Command Example Setting the Time Zone to Japan Standard Time Using
the Offset From Greenwich Mean Time 68
CODE EXAMPLE 3-41 setdate -t Command Example Setting the Time Zone to Eastern Central Time Using
Time Zone Abbreviations 68
CODE EXAMPLE 3-42 setdefaults Example 70
CODE EXAMPLE 3-43 setkeyswitch on Example 74
CODE EXAMPLE 3-44 setkeyswitch off Example 75
CODE EXAMPLE 3-45 setkeyswitch off Example Shutting Down Domain B From the Platform Shell 75
xSun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
CODE EXAMPLE 3-46 Variables for the setupdomain Command 80
CODE EXAMPLE 3-47 setupplatform Output 84
CODE EXAMPLE 3-48 showboards Command for the Platform Shell 87
CODE EXAMPLE 3-49 showboards -a Command for the Domain Shell 89
CODE EXAMPLE 3-50 showcomponent sb4 Sample Output 91
CODE EXAMPLE 3-51 showcomponent ib6 Sample Output 92
CODE EXAMPLE 3-52 showdate Command for the Platform Shell 94
CODE EXAMPLE 3-53 showdomain Command Example 96
CODE EXAMPLE 3-54 showdomain -v Command Example 97
CODE EXAMPLE 3-55 showdomain -p bootparams Example Displaying Boot Parameter Information 98
CODE EXAMPLE 3-56 showenvironment Platform Shell and Domain Shell Example 102
CODE EXAMPLE 3-57 showkeyswitch Example Showing the Keyswitch Set to On 105
CODE EXAMPLE 3-58 showkeyswitch Example Showing the Keyswitch Set to Off 105
CODE EXAMPLE 3-59 showkeyswitch Example Showing the Keyswitch Set to Standby 105
CODE EXAMPLE 3-60 Sample Output of the showlogs Command Run After Rebooting the System 107
CODE EXAMPLE 3-61 showplatform Output for a Sun Fire 6800 System 109
CODE EXAMPLE 3-62 showplatform -v Output for a Sun Fire 6800 System 110
CODE EXAMPLE 3-63 showsc Command 115
CODE EXAMPLE 3-64 testboard Example Testing CPU/Memory Board sb0 117
Code Samplesxi
xiiSun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Preface
This book describes the Sun Fire 6800/4810/4800/3800 system controller command
line interface. The system controller is responsible for controlling system functions,
environmental monitoring, domain control, and hardware control of the server.
Using the command line interface, you can configure the platform and domains,
power on and off domains, power supplies, fans, and other components. Access to
the Solaris domain console is also possible using the command line interface.
Before You Read This Book
This book is written for system administrators or people who have a working
knowledge of the Solaris
knowledge, you should first read the Solaris User and System Administrator
AnswerBooks and consider UNIX
documentation URLs, see “Accessing Sun Documentation Online” on page xv.
™
operating environment. If you do not have such
®
system administration training. For the
How This Book Is Organized
This book contains the following chapters:
Chapter 1 introduces you to the system controller and briefly describes platform
administration and domain administration.
Chapter 2 explains system controller command syntax, command names, and
command arguments.
xiii
Chapter 3 provides in tabular form a summary of all of the system controller
commands and describes each command.
Typographic Conventions
TypefaceMeaningExamples
AaBbCc123The names of commands, files,
and directories; on-screen
computer output
AaBbCc123
AaBbCc123Book titles, new words or terms,
What you type, when
contrasted with on-screen
computer output
words to be emphasized
Edit your .login file.
Use ls -a to list all files.
% su
Password:
Read Chapter 6 in the User’s Guide.
These are called class options.
You must be superuser to do this.
Command-line variable, such as
board_name.
To delete a file, type rm filename.
Shell Prompts
ShellPrompt
C shellmachine_name%
C shell superusermachine_name#
Bourne shell and Korn shell$
Bourne shell and Korn shell superuser#
Platform shell
Domain shellschostname:A> or B>, C>, D>
schostname:SC>
xivSun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Related Documentation
ApplicationTitlePart Number
ServiceSun Fire 6800/4810/4800/3800 Systems
Service Manual
Service
System AdministrationSun Fire 6800/4810/4800/3800 Systems
Sun Fire 4810/4800/3800 System Cabinet
Mounting Guide
Platform Administration Manual
805-7363
806-6781
805-7373
Accessing Sun Documentation Online
A broad selection of Sun system documentation is located at:
A complete set of Solaris documentation and many other titles are located at:
http://docs.sun.com
Ordering Sun Documentation
fatbrain.com, an Internet professional bookstore, stocks select product
documentation from Sun Microsystems, Inc.
For a list of documents and how to order them, visit the Sun Documentation Center
on fatbrain.com at:
http://www.fatbrain.com/documentation/sun
Prefacexv
Sun Welcomes Your Comments
Sun is interested in improving its documentation and welcomes your comments and
suggestions. You can email your comments to Sun at:
docfeedback@sun.com
Please include the part number (805-7372-13) of your document in the subject line of
your email.
xviSun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
CHAPTER
1
Introduction to the System
Controller
The system controller consists of the System Controller board and the system
controller software.
The system controller software does the following:
■ Monitors and controls the system
■ Manages hardware
■ Configures domains
■ Provides the date and time to the Solaris operating environment
■ Provides the clock signal used on all system boards
■ Provides a platform console and a domain console
■ Provides system monitoring and control using SNMP for use with the Sun
Management Center 3.0 software.
For more information on the system controller, refer to the “Overview” chapter of
the Sun Fire 6800/4810/4800/3800 Systems Platform Administration Manual and also the
Sun Fire 6800/4810/4800/3810 Systems Overview Manual.
Platform and Domain Administration
The platform administration function manages resources and services that are
shared among the domains. With this function, you can configure how resources and
services are configured and shared.
The domain administration function manages resources and services for a specific
domain. With this function you can configure the domain, control the keyswitch
position, and access the domain console.
1
For more information on the platform administration and domain administration
functions, refer to the “Overview” chapter of the Sun Fire 6800/4810/4800/3800Systems Platform Administration Manual.
Connecting to the System Controller
To connect to the system controller, refer to the “System Controller Navigation
Procedures” chapter in the Sun Fire 6800/4810/4800/3800 Systems PlatformAdministration Manual.
System Controller Navigation
To navigate within the system controller, refer to the “System Controller Navigation
Procedures” chapter in the Sun Fire 6800/4810/4800/3800 Systems PlatformAdministration Manual.
Terminating Sessions
To terminate system controller sessions, refer to the “System Controller Navigation
Procedures” chapter in the Sun Fire 6800/4810/4800/3800 Systems PlatformAdministration Manual.
2Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
CHAPTER
2
System Controller Syntax,
Arguments, and Device Names
This chapter describes the following topics:
■ “Command Syntax and Arguments” on page 3
■ “Command Names” on page 4
■ “Component Names” on page 4
■ “Board States for CPU/Memory Boards and I/O Assemblies” on page 6
■ “Board Test Status” on page 6
■ “Domain Status” on page 7
■ “Interactive Commands” on page 8
■ “Command Line Editing” on page 9
■ “Command Line History” on page 10
■ “Command Completion” on page 11
Command Syntax and Arguments
The general syntax of system controller commands is:
command_name [flags][arguments]
3
Arguments are the words that follow the command name and are divided into two
categories:
■ Required arguments
■ Optional arguments
Optional arguments always follow the option flags on the command line. In the
following example, the optional domainID argument, a, follows the option flag, -d.
The boardname argument, which is sb2 in this example, is a required argument and
is the board name for a CPU/Memory board.
schostname:SC> addboard -d a sb2
Command Names
Most system controller commands are in the form of verbnoun. Command names are
in the English language. System controller commands are case insensitive.
Note – When typing system controller commands, you can type the complete
command name or type just enough of the command name to uniquely identify it.
Component Names
TABLE 2-1 shows the component names that are accessible from the platform.
TABLE 2-2 shows the component names that are accessible from the domain. In both
tables, you can type the component names in either upper case or lower case.
4Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Note – The components in TABLE 2-1 and TABLE 2-2 depend on the system you have.
For example, only the Sun Fire 6800 system can have six power supplies and six
CPU/Memory boards.
TABLE2-1Components That Are Accessible From the Platform
Device DescriptionDevice Name
Power grids*GRID0, GRID1
Power suppliesPS0, PS1, PS2, PS3, PS4, PS5
CPU/Memory boardsSB0, SB1, SB2, SB3, SB4, SB5
I/O assembliesIB6, IB7, IB8, IB9
Repeater boardsRP0, RP1, RP2, RP3
ID/Source boardID0
Fan traysFT0, FT1, FT2, FT3
System controllerSSC0, SSC1
* Power grids are not a component but a division of the Sun Fire 6800 system into two distinct halves
of the system. Power supplies ps0, ps1, and ps2 comprise power grid 0. Power supplies ps3, ps4, and
ps5 comprise power grid 1.
TABLE 2-2 shows the components that are accessible from a domain.
TABLE2-2Components That Are Accessible From a Domain
Chapter 2 System Controller Syntax, Arguments, and Device Names5
Board States for CPU/Memory Boards
and I/O Assemblies
TABLE 2-3 lists the board states for the CPU/Memory boards and I/O assemblies. To
determine the board state, use the showboards command and look under the
State header.
TABLE2-3Board States
Board StatesDescription
AvailableThe board is not assigned to any domain.
AssignedThe board belongs to a domain, but the hardware has not been
configured or it is not in use.
ActiveThe board is being actively used by the domain to which it has been
assigned. You cannot reassign an active board.
The System Controller board, ID board, power supplies, and Repeater boards do not
have a State. A dash is displayed In the Board Status field for these boards and
components (see
TABLE 2-4). Fan trays have a state of off, low speed, and high speed.
Board Test Status
TABLE 2-4 describes the Status field of the showboards command.
TABLE2-4Status Field of the showboards Command
Test StatusDescription
PassedAll board components passed testing.
FailedThe board failed testing and is not usable. This could also indicate
corrupt or incompatible firmware.
OKThe component is functioning properly.
Under TestThe domain is running POST (power-on self-test); testing has been
initiated using the setkeyswitch command, the testboard
command, or an SNMP operation.
6Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
TABLE2-4Status Field of the showboards Command (Continued)
Test StatusDescription
Not TestedThe board has not been tested.
DegradedCertain components on the board have failed or are disabled. A
board is degraded when there are still usable parts on the board.
-The slot is empty or not applicable for this device.
Domain Status
In the showplatform and showdomain commands, one of the fields in the
command output is domain status. The main values of domain status are (
TABLE 2-5):
TABLE2-5Values for the Domain Status Column in showplatform and showdomain
Command Output
Domain StateDescription
Powered OffThe domain is not active and the keyswitch is in the off position.
StandbyThe domain is not active and the keyswitch is in the standby
position.
Running POSTThe domain is active and is running POST (power-on self-test).
ActiveThe domain is active.
Active - OpenBoot
PROM
Active - BootingThe domain is active and is booting the Solaris operating
Active - SolarisThe domain is active and is running the Solaris operating
Active - HaltedThe Solaris operating environment is halted in the domain.
Active - ResetThe domain has had an XIR reset and had not be rebooted.
Active - PanickingThe domain is active and is panicking. It is creating the core file.
Active - DebuggerThe domain is active and the debugger is presently running.
Not RespondingThe domain is not responding.
Paused due to an errorThe domain is paused due to a hardware error.
The domain is active and is running the OpenBoot PROM.
environment.
environment.
Chapter 2 System Controller Syntax, Arguments, and Device Names7
Special Characters
To execute multiple commands on the same line, separate them with a semicolon (;).
The following example executes both the addboard and deleteboard commands.
schostname:A> addboard sb2;deleteboard sb3
A pound sign ( # ) signifies the start of a comment on the current line. The following
example executes the addboard command. Everything you type after the # and
before pressing the Return key is ignored.
schostname:A> addboard sb2 #this text is ignored
Interactive Commands
Some commands may prompt for confirmation before executing the command. You
can disable prompting by specifying the -y or -n flags, which answer yes or no to
any prompted question.
Some commands, such as setupplatform and setupdomain, are always
interactive.
● When an interactive command prompts for input, do the following:
■ Press the Return key to keep the current setting, displayed in braces [ ].
■ Type a dash ( - ) to change the current setting to an empty string (if the input
type is used to define a string).
8Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Command Line Editing
The system controller has a basic command line editor that allows you to edit the
command line. The keys you press are not echoed on the screen.
TABLE 2-6 lists the keystrokes used to perform basic command line editing.
■ To use the Control key sequences, hold down the Control key while typing the
following character (
■ To use Escape key sequences, press and release the Escape key. Then press and
release the following character (
TABLE2-6Command Line Editing Capabilities
KeystrokeDescription
Backspace
(Control-h)
DeleteErases the character before the cursor.
Control-UErases the entire line.
Control-CCancels editing the command line. The command is not executed.
ReturnFinishes editing the line.
Control-bMoves backward one character.
Esc-bMoves backward one word.
Control-fMoves forward one character.
Esc-fMoves forward one word.
Control-aMoves backward to the beginning of the line.
Control-eMoves forward to the end of the line.
Esc-hErases from the beginning of the word to just before the cursor.
Control-wErases from the beginning of the word to just before the cursor.
Control-dErases next character.
Esc-dErases from the cursor to the end of the word. Stores erased
Control-kErases from the cursor to the end of the line. Stores erased characters
Control-uErases the entire line. Stores erased characters in a save buffer.
TABLE 2-6).
TABLE 2-6).
Erases the character before the cursor.
Stores erased characters in a save buffer.
Stores erased characters in a save buffer.
characters in a save buffer.
in a save buffer.
Chapter 2 System Controller Syntax, Arguments, and Device Names9
TABLE2-6Command Line Editing Capabilities (Continued)
KeystrokeDescription
Control-rRetypes the line.
Control-qQuotes the next character. Allows you to insert Control characters.
Control-yInserts the contents of the save buffer before the cursor.
Command Line History
Each shell keeps a short history of all entered commands. To display the command
line history, use the history command. After recalling the commands, you can
either edit them or execute them by pressing the Return key. A history of at least
eight previously typed command lines are saved.
TABLE 2-7 lists keystrokes you type to recall previously typed commands.
TABLE2-7Keystrokes that Recall Previously Typed Command Lines
KeystrokeDescription
Control-pSelects and displays the previous line for subsequent editing.
Control-nSelects and displays the next line for subsequent editing.
Control-lDisplays the entire command history list.
10Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Command Completion
Using the command completion function makes it easier for you to enter long
commands. After typing part of the command, use the completion keystroke
(
TABLE 2-8). This action searches the list of available commands for commands
beginning with the characters you typed thus far.
■ If there is only one possible command, the remainder of the characters are entered
for you automatically.
■ If there are several possibilities, any characters that are common to all of the
possible selections are filled in.
■ If there are no defined commands starting with the given characters, the
characters are erased until there is a minimum of one selection for the remaining
characters.
TABLE 2-8 lists the keystrokes to complete a command.
TABLE2-8Keystrokes Used to Complete System Controller Commands
Key SequenceDescription
Control-spaceComplete this command.
Control-?Shows all possible matches.
Control-/Shows all possible matches.
Chapter 2 System Controller Syntax, Arguments, and Device Names11
12Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
CHAPTER
3
System Controller Alphabetical
Command Reference
This chapter lists a summary of the system controller commands designed for an
end-user on the Sun Fire 6800/4810/4800/3800 systems, describes the system
controller command line interface, and provides descriptions and examples for each
command.
Command Summary
TABLE 3-1 lists and describes the system controller commands and how you can
access them. Many commands are accessible from both the platform shell and the
domain shell. The system controller commands may differ in how they are used, the
effect of the command, and the scope of the command between the platform and
domain shells.
TABLE3-1System Controller Command Summary
CommandDescriptionPlatform ShellDomain Shell
addboardAssigns a board to a domain.xx
breakSends a Break signal to the domain console.x
connectionsDisplays connections to the system controller to
a domain.
consoleConnects to a domain from the platform.x
deleteboardUnassigns a board from a domain.xx
disablecomponentAdds a component to the blacklist.xx
disconnectDisconnects the current or specified connection.xx
dumpconfigSaves the system controller configuration to a
x
server.
enablecomponentDeletes a component from the blacklist.xx
flashupdateUpdates the firmware.x
helpProvides basic help information for commands.xx
historyShows the command history with date and time
xx
stamps.
passwordSets the shell password.xx
poweroffPowers off components.xx
poweronPowers on components.xx
rebootReboots the system controller.x
resetResets the domain in the domain shell.xx
restoreconfigRestores the system controller configuration
x
from a server.
resumeExits the domain shell and resumes access to the
x
domain console.
setdateSets the date and time.xx
setdefaultsSets the configuration to default values.xx
setkeyswitchSets the keyswitch position.xx
setupdomainConfigures the domain.x
setupplatformConfigures the platform.x
showboardsShows board information.xx
showcomponentShows state of a component.xx
showdateShows the date and time.xx
showdomainDisplays the configuration and status of the
x
domain.
showenvironmentShows environmental information.xx
showkeyswitchDisplays the virtual keyswitch setting.xx
showlogsDisplays the logs.xx
showplatformDisplays the configuration and information for
x
the platform and status of the domains.
14Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
showresetstateShows CPUs after a reset or a RED MODE trap.x
showscShows the system controller version and uptime.x
testboardTests the CPU/Memory board.xx
Chapter 3 System Controller Alphabetical Command Reference15
Alphabetical Listing of System
Controller Commands
The following sections describe the system controller commands.
-d specifies a domainID as an option (platform shell only).
domainID is a, b, c, or d.
-h displays help for this command.
system_board_name is the board to be added. Possible values for system_board_name
are sb0–sb5 (CPU/Memory board) or ib6 - ib9 (I/O assembly).
16Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Description
Assigns system_board_name to the specified domain within the platform shell or to
the current domain. The board state must be Available. To display the board state, use
the showboards command. For more information on board states, see “Board States
for CPU/Memory Boards and I/O Assemblies” on page 6.
To assign a board to a domain using a domain shell, the board name must be listed
in the Access Control List (ACL) for the current domain. When a board is listed in
the ACL, the system controller software is allowed to process addboard requests on
that board. The platform shell does not use the ACL and can always add boards to a
domain. The platform shell can also delete boards from a domain and either ignores
the ACL or overrides the ACL. You configure the ACLs and also restrict the domains
a board has access to using the setupplatform command.
If a board is assigned to an active domain, the board will not be used. To unassign a
board from a domain, you must halt the Solaris operating environment in the
domain. For an overview of steps to perform, see the section “Assigning and
Unassigning Boards” in the “Maintenance” chapter of the Sun Fire6800/4810/4800/3800 Systems Platform Administration Manual.
If a board is not present, the command assigns ownership of the slot to the specified
domain.
See Also
deleteboard, setkeyswitch, showboards, showdomain, showplatform,
“Assigning and Unassigning Boards” in the “Maintenance” chapter of the Sun Fire6800/4810/4800/3800 Systems Platform Administration Manual (for a step-by-step
procedure on assigning boards to a domain)
Chapter 3 System Controller Alphabetical Command Reference17
Example—Platform Shell
From the platform shell to add board name sb2 to domain A (CODE EXAMPLE 3-1),
type:
CODE EXAMPLE 3-1addboard Example in the Platform Shell
schostname:SC> addboard -d a sb2
Example—Domain Shell
To assign board name sb2 to the current domain (CODE EXAMPLE 3-2), type:
CODE EXAMPLE 3-2addboard Example in the Domain Shell
schostname:A> addboard sb2
18Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
break
Sends a Break signal to the domain console.
Scope
domain shell
Syntax
break [-y|-n]
break -h
Options/Parameters
-h displays help for this command.
-y answers yes to the warning message. Does not prompt for confirmation.
-n answers no to the warning message. Does not execute this command if
confirmation is requested.
Description
Sends a Break signal to the domain console. Resumes the domain console.
Note – This command pauses the Solaris operating environment.
When the Solaris operating environment is running in the domain, the usual effect of
the break signal is to force entry into OpenBoot PROM or the debugger. The Solaris
operating environment will ignore the break signal if the keyswitch is set
to secure.
See Also
resume, setkeyswitch, showkeyswitch
Chapter 3 System Controller Alphabetical Command Reference19
Example
CODE EXAMPLE 3-3 shows using the break command to pause the Solaris operating
environment and enter the OpenBoot PROM.
CODE EXAMPLE 3-3break Command Example
schostname:A> break
This will suspend Solaris in domain A.
Do you want to continue? [no] yes
Type ‘go’ to resume.
debugger entered.
{1} ok
20Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
connections
Displays connections to the system controller or a domain.
Scope
platform shell, domain shell
Syntax for the Platform Shell
connections [-d domainID]
connections -h
Syntax for the Domain Shell
connections [-h]
Options/Parameters
-h displays help for this command.
-d domainID shows connections to the specified domain (a, b, c, or d).
Description
Displays hosts currently connected to the system controller. When run from the
platform shell, this command shows the connections to the platform and to each
domain.
When run from the domain shell, this command will only show the connection to
the domain. There can only be one connection to each domain.
See Also
disconnect
Chapter 3 System Controller Alphabetical Command Reference21
Example—Platform Shell
CODE EXAMPLE 3-4connections Command for the Platform Shell
TABLE 3-2 describes the headers in the output for CODE EXAMPLE 3-4.
TABLE3-2Header Description for the connections Command
Header Column in the
connections Command
Description
IDConnection ID. This is a unique number.
HostnameSource of the connection for this session. If the value is
localhost, the connection was established through the platform
or through the serial port.
Idle TimeAmount of time the session is sitting without any activity.
Displays a dash ( - ) if there has been any activity during the last
30 seconds.
Connected OnDate and time the connection was initiated. The format is
Mon dd hh:mm.
Connected ToShell or console this session is connected to. Possible values are
Platform or domainIDs A, B, C, or D.
22Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
console
Connects to a domain from the platform.
Scope
platform shell
Syntax
console [-d] domainID
console -h
Options/Parameters
-d domainID is the domain to connect to and is a, b, c,ord. The -d parameter is
optional and does not need to precede the domainID.
-h displays help for this command.
Description
Connect to a domain. You use the console command to navigate from the platform
to a domain. If a password was created for connecting to this domain, you must
enter the password.
If the domain is active (the domain is running the Solaris operating environment,
OpenBoot PROM, or POST), you are connected to the domain console. Otherwise,
you are connected to the domain shell. To obtain the domain shell from the domain
console, see the chapter “System Controller Navigation Procedures” in the Sun Fire6800/4810/4800/3800 Systems Platform Administration Manual.
See Also
disconnect
Chapter 3 System Controller Alphabetical Command Reference23
Examples—Platform Shell
When the domain is not active and there is no password initialized for this domain:
CODE EXAMPLE 3-5console Example and No Password Set Accessing Domain B
schostname:SC> console b
Connected to Domain B
Domain Shell for Domain B
schostname:B>
When a domain is not active and a password is initialized for this domain:
CODE EXAMPLE 3-6console Example and A Password Set Accessing Domain A
schostname:SC> console a
Enter Password:
Connected to Domain A
Domain Shell for Domain A
schostname:A>
When a domain is active and a password is not
schostname:SC> console a
Connected to Domain A
set for this domain:
Note that no other output is seen. If the OpenBoot PROM is at the ok prompt or the
Solaris operating environment is at the login: prompt, you must press the Enter
key in order to see the prompt. Otherwise, you will need to wait for output to be
generated by POST, the OpenBoot PROM, or the Solaris operating environment.
If the domain is hung, there will be no output. However, when a domain displays no
output, this does not necessarily mean that the domain is hung.
24Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
deleteboard
Unassigns a board from the domain where it is currently assigned.
Scope
platform shell, domain shell
Syntax for the Platform Shell and the Domain Shell
-h displays help for this command.
system_board_name is the board to be deleted. Values are sb0 to sb5 (CPU/Memory
board) and ib6 to ib9 (I/O assembly).
Description
Unassigns a board from the domain where it is currently assigned. When you use
this command from your current domain, you can only unassign boards that are
assigned to the current domain. The CPU/Memory board or the I/O assembly board
status must be in the Assigned state and the board must not be part of an active
domain. To display the board states, use the showboards command. For more
information on board states, see “Board States for CPU/Memory Boards and I/O
Assemblies” on page 6. The board does not have to be in the Access Control List
(ACL) to be unassigned from the domain.
To unassign a board from a domain, you must halt the Solaris operating
environment in the domain. For an overview of steps to perform, see the section
“Assigning and Unassigning Boards” in the “Maintenance” chapter of the Sun Fire6800/4810/4800/3800 Systems Platform Administration Manual.
If a board is not present, the command unassigns ownership of the slot from the
specified domain.
Chapter 3 System Controller Alphabetical Command Reference25
See Also
addboard,showboards, “Assigning and Unassigning Boards” in the
“Maintenance” chapter of the Sun Fire 6800/4810/4800/3800 Systems PlatformAdministration Manual (for a step-by-step procedure on unassigning boards from a
domain)
Example—Platform Shell
To delete I/O assembly ib7, type:
CODE EXAMPLE 3-7deleteboard Example Showing Deleting I/O Assembly 7
schostname:SC> deleteboard ib7
Example—Domain Shell
To delete CPU/Memory board sb3 from the current domain, domain A, type:
CODE EXAMPLE 3-8deleteboard Example Showing Deleting CPU/Memory Board 3
schostname:A> deleteboard sb3
26Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
-h displays help for this command.
component_name is (see
■ system_board_name/port/physical_bank/logical_bank for the CPU/Memory board
■ system_board_name/port/bus for an I/O assembly
■ system_board_name/card for an I/O assembly
TABLE 3-3 and TABLE 3-4):
Note – You can use partial component names.
Chapter 3 System Controller Alphabetical Command Reference27
TABLE3-3component_name Descriptions for the CPU/Memory Board Used in the
disablecomponent Command
Board or DeviceComponent Name
CPU systemboard_name/port/physical_bank/logical_bank
CPU/Memory
SB0, SB1, SB2, SB3, SB4, SB5
boards
system_board_name)
(
Ports on the
P0, P1, P2, P3
CPU/Memory board
Physical memory
B0, B1
banks on
CPU/Memory
boards
Logical banks on
L0, L1, L2, L3
CPU/Memory
boards
TABLE3-4component_name Descriptions for the I/O Assembly Used in the
disablecomponent Command
Board or DeviceComponent Name
I/O assembly
board_name/port/bus or board_name/card
system
I/O assemblies
system_board_name)
(
Ports on the I/O
IB6, IB7, IB8, IB9
P0, P1
assembly
Buses on the I/O
B0, B1
assembly
I/O cards in the I/O
assembly
28Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
C0, C1, C2, C3, C4, C5, C6, C7—the number of cards varies with the
I/O assembly
Description
This command adds a component to the blacklist. Blacklisting provides a list of
components that will not be tested and will not be configured into the domain when
you change the domain’s keyswitch from an inactive state to an active state or reboot
the domain.
Blacklist a component or device if you believe it may be failing intermittently.
When you disable any component, the subcomponents are also disabled. For
example, if you disable a CPU, the Ecache and memory that are also controlled by
the CPU is automatically disabled.
Devices can be the following (see
■ Ports (CPU on a CPU/Memory board and I/O controller on an I/O assembly)
■ Physical and logical memory banks
■ I/O buses
■ I/O cards
TABLE 3-3 and TABLE 3-4):
Blacklisting is done on a per domain basis. When you run the disablecomponent
command in a domain shell, the component is blacklisted for the current domain.
When you run the disablecomponent command from the platform shell, the
component is disabled in all of the domains.
Using this command, the platform shell blacklists supersede the domain shell
blacklists. For example, if a component is disabled in the platform shell, it will be
disabled in all domains.
See Also
enablecomponent,showcomponent, and the “Disabling Components” section in
the ‘Troubleshooting” chapter of the Sun Fire 6800/4810/4800/3800 Systems PlatformAdministration Manual for step-by-step procedure on adding a component to the
blacklist.
Chapter 3 System Controller Alphabetical Command Reference29
Examples
CODE EXAMPLE 3-9 adds system_board_name sb4 to the blacklist.
CODE EXAMPLE 3-9disablecomponent Command Example Adding sb4 to the
Blacklists
schostname:A> disablecomponent sb4
CODE EXAMPLE 3-10 adds system_board_name sb0 and CPU port 3 to the blacklists.
Note that any memory banks on this CPU port are unreachable and are implicitly
disabled.
CODE EXAMPLE 3-10 disablecomponent Command Example Adding sb0 CPU Port 3 to
the Blacklist
schostname:A> disablecomponent sb0/p3
CODE EXAMPLE 3-11 adds system_board_name sb2, CPU port 3, physical bank 0 to the
blacklists. Note that any logical banks belonging to this physical bank are disabled.
CODE EXAMPLE 3-11 disablecomponent Command Example Adding sb2, CPU Port 3,
and Physical Bank 0 to the Blacklists
schostname:A> disablecomponent sb2/p3/b0
CODE EXAMPLE 3-12 adds system_board_name ib9, port 0, bus 1 and board_name ib8,
I/O card 2 to the blacklists. Disabling I/O card 2 shuts down the power to that I/O
card.
CODE EXAMPLE 3-12 disablecomponent Command Example Adding I/O Assembly 9,
Port 0 and Bus 1 and Also I/O Assembly 8, I/O Card 2 to the
Blacklists
schostname:A> disablecomponent ib9/p0/b1 ib8/c2
30Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
disconnect
Disconnects the current or specified connection.
Scope
platform shell, domain shell
Syntax for the Platform Shell
disconnect [ID]
disconnect -h
Syntax for the Domain Shell
disconnect [-h]
Options/Parameters
-h displays help for this command.
ID (platform shell only) is the connection to be terminated. ID is the number
displayed under the heading ID for the connections command.
Description
Terminates a connection to the system controller. If this command is used with no
arguments, it disconnects the current session. For illustrations of the disconnect
command, see the chapter “System Controller Navigation Procedures” in the SunFire 6800/4810/4800/3800 Systems Platform Administration Manual.
If the connection was initiated from another system, you will be returned to the
remote host. If the session was initiated from the platform shell, you will see
nothing. To obtain the prompt, press the Return key. If you are connected from the
serial port, then you will return to the main menu.
See Also
connections
Chapter 3 System Controller Alphabetical Command Reference31
Examples
To disconnect a session from the system controller platform shell with a telnet
connection (
CODE EXAMPLE 3-13 Disconnecting a Session From the System Controller Platform Shell
schostname:SC> disconnect
Connection closed by foreign host.
If you are connected to the system controller platform console with the serial
connection, you will see the following after typing disconnect
(
CODE EXAMPLE 3-14):
CODE EXAMPLE 3-13), type:
CODE EXAMPLE 3-14 Disconnecting a Session From the System Controller Platform
Console
schostname:SC> disconnect
Type 0 for Platform Shell
Type 1 for domain A
Type 2 for domain B
Type 3 for domain C
Type 4 for domain D
Input:
To disconnect a session from a system controller domain shell (
CODE EXAMPLE 3-15),
type:
CODE EXAMPLE 3-15 disconnect Example Showing Disconnecting a Session From the
Domain A Shell
schostname:A> disconnect
Connection closed by foreign host.
CODE EXAMPLE 3-15 displays a direct connection to the domain and is not a
connection to the domain made from the platform.
Note – When you disconnect from a domain shell, you will see nothing. Press the
Return key to obtain the prompt.
32Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
dumpconfig
Saves the platform and domain configurations to a server.
Scope
platform shell
Syntax
dumpconfig -f url
dumpconfig -h
Options/Parameters
-h displays help for this command.
-f specifies the URL, which must use the ftp protocol. The URL must point to a
directory and not a file. Examples are:
ftp://userid:password@host/path
ftp://host/path
Note – The hostname you enter can be the hostname or a hostname with a fully
qualified domain name. You cannot use a partial domain name. For example:
schostname, schostname.eng.sun.com can be a valid hostname.
Note – The directory specified in the URL path must have write permission for the
specified user. If a user was not specified, then anonymous ftp is used.
Chapter 3 System Controller Alphabetical Command Reference33
Description
Saves the platform and domain configurations to a server for recovery in case of a
system controller failure. This command creates two data files at the specified URL:
schostname.nvci and schostname.tod.
Use this command when you complete setting up the initial configuration of the
platform and the domains, each time you modify the configuration, or change the
hardware configuration. For example, when you type one of the following
commands: setupplatform, setupdomain, setdate, addboard, deleteboard,enablecomponent, disablecomponent, and password. The data files include
schostname.nvci and schostname.tod. By running this command again, the new
platform and domain configurations are saved to a server.
Caution – This command should be run any time you change the platform or
domain configuration (see the list of commands in the first paragraph). Invoking this
command is very important because if the System Controller board fails and you did
not use this command to save the platform and domain configurations, you will
have to manually reconfigure the platform and the domains.
This command is intended to be used as part of the procedure in replacing a failed
System Controller board. You should not use this command to revert to an old
configuration. The showplatform, showdomain, showcomponent, and
showboards system controller commands display all of the configuration and can
be used as a reference.
If you need to replace the System Controller board, this configuration information
can be used to restore the platform and domain configurations to the replacement
System Controller board.
-h displays help for this command.
component_name is (
■ system_board_name/port/physical_bank/logical_bank for CPU/Memory boards
■ system_board_name/port/bus for an I/O assembly
■ system_board_name/card for an I/O assembly
TABLE3-5component_name Descriptions for the CPU/Memory Board Used in the
TABLE 3-5 and TABLE 3-6)
enablecomponent Command
Board or DeviceComponent Name
CPU systemboard_name/port/physical_bank/logical_bank
CPU/Memory
boards
system_board_name)
(
Ports on the
CPU/Memory board
Physical memory
banks on
CPU/Memory
boards
Logical banks on
CPU/Memory
boards
SB0, SB1, SB2, SB3, SB4, SB5
P0, P1 ,P2, P3
B0, B1
L0, L1, L2, L3
Chapter 3 System Controller Alphabetical Command Reference35
TABLE3-6component_name Descriptions for the I/O Assembly Used in the
enablecomponent Command
Board or DeviceComponent Name
I/O assembly
system
I/O assemblies
system_board_name)
(
Ports on the I/O
assembly
Buses on the I/O
assembly
I/O cards in the I/O
assembly
board_name/port/bus or board_name/card
IB6, IB7, IB8, IB9
P0, P1
B0, B1
C0, C1, C2, C3, C4, C5, C6, C7—the number of cards varies with the
I/O assembly
Description
Removes a component from the blacklist. Blacklisting provides a list of components
that will not be tested and will not be configured into the domain when you change
the keyswitch setting from an inactive state to an active state or when the domain is
rebooted.
Components can be the following:
■ Ports (CPU on the CPU/Memory board or I/O controller on the I/O assembly)
■ Physical and logical memory banks
■ I/O buses
■ I/O cards
Blacklisting is done on a per domain basis. When you run the enablecomponent
command from the domain, the component is removed from the blacklist for the
current domain. When the enablecomponent command is run from the platform
shell, the component is removed from the blacklist for all domains.
Using this command, the platform shell blacklists supersede the domain shell
blacklists. For example, if a component is enabled in the platform shell, it will be
enabled in all domains.
36Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
See Also
disablecomponent, showcomponent, and the Sun Fire 6800/4810/4800/3800
Systems Platform Administration Manual for step-by-step procedure on removing a
component from the blacklist. This information is in the ‘Troubleshooting” chapter
in the section “Disabling Components.”
Examples
CODE EXAMPLE 3-17 enables CPU/Memory board sb4. This removes CPU/Memory
board sb4 from the blacklist.
CODE EXAMPLE 3-17 enablecomponent Command Example Enabling CPU/Memory
schostname:A> enablecomponent sb4
CODE EXAMPLE 3-18 enables I/O assembly 6, port 1. This removes port 1 of I/O
Board 4
assembly 6 from the blacklist.
CODE EXAMPLE 3-18 enablecomponent Command Example Enabling I/O Assembly 6
schostname:A> enablecomponent ib6/p1
and Port 1
Chapter 3 System Controller Alphabetical Command Reference37
flashupdate
Updates the firmware on the system controller and the system boards
(CPU/Memory boards and I/O assemblies). The source flash image can be on a
server or another board of the same type.
38Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Note – The hostname you enter must be a host name or a host name with a fully
qualified domain name. You cannot use a partial domain name. Some examples
include: schostname, schostname.eng.sun.com.
board is the board name.
-c specifies that the image should be copied from another board.
■ source_board is the source board for the flash images.
■ destination_board is the destination board for the flash images.
-u automatically updates all of the boards from the board with the highest revision.
all updates the system controller, all system boards (CPU/Memory boards and I/O
assemblies), and the system controller real time operating system (rtos).
system_boards are all CPU/Memory boards and I/O assemblies.
scapp updates the current system controller. Updating the system controller reboots
the system controller and disconnects all the current connections. To update the
other system controller, you must run the flashupdate command from the other
system controller. Use showsc to determine which system controller you are
currently using so you know the system controller you must go to next to update it.
rtos updates the real time operating system for the system controller. If you have a
second System Controller board installed, when you update the real time operating
system also update the rtos on the second System Controller board. To update the
rtos on the second system controller, run the flashupdate command from the
second System Controller board.
domainID (a, b, c,ord) upgrades all boards that are assigned to this domain.
Description
Updates the firmware on the system controller, CPU/Memory boards, and I/O
assemblies. There is no firmware on Repeater boards. Boards must be powered on in
order to be updated with flashupdate. If a board does not have power, the
flashupdate command will do nothing and stop with an error message. Boards
that are in a secure domain cannot be updated.
Caution – When you update the firmware on the system controller, update only one
system controller. DO NOT update both system controllers at the same time.
Chapter 3 System Controller Alphabetical Command Reference39
Note – Any time the firmware is upgraded, check the Install.info file for the
firmware upgrade procedure. This file is provided with your latest software release.
Also refer to the Release Notes for any notes or special procedures.
If you install a replacement board into the system:
1. Check if the firmware level of the replacement board is the same as the board you
replaced. Incompatible boards are noted by the Failed board state in the output
of the showboards command.
2. If the board level is not the same as the board you replaced, perform the
flashupdate procedure on the board.
3. If a board was noted by the Failed state in showboards, after you
flashupdate a compatible version, power off the board to clear the Failed
state.
Before you update the flash images, make sure the firmware on the replacement
board is compatible with the firmware of the board you are replacing for scapp,
CPU/Memory board, and I/O assembly PROMs. New firmware is loaded if you
reboot the domain or turn the domain keyswitch off with setkeyswitch off and
then turn it on with setkeyswitch on.
■ To determine the version number of the current firmware:
1. Use the showboards -p proms command.
2. Compare the x.y.z number format. If x and y are the same, then the flash images
are compatible.
The new firmware may also contain a new rtos image. If the rtos image that is
currently installed is different than the rtos supplied with the software, you
must upgrade the rtos image.
■ To determine the version number of the current rtos:
1. Use showsc. The README file contains the version number of the new rtos
image.
There is currently no method to determine that the scapp and rtos versions are
compatible.
Note – If you fail to check all versions, the domains can crash or the system
controller would fail to reboot normally.
40Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Caution – While upgrading the firmware, heed the following precautions:
- Read the README and Install.info files before you upgrade the firmware.
- Do not change the keyswitch position of any domain.
- Do not use DR.
- Do not power off any boards.
- Do not reboot the system controller.
If you upgrade the scapp or rtos images for status:
1. It is important to watch the console during the flashupdate procedure.
2. Monitor the console if errors are reported.
If the images that are already installed are incompatible with the new images:
1. Shut down the domains before performing the firmware upgrade.
2. After you perform the firmware upgrade, reboot the domains.
If the images that are already installed are compatible with the new images:
1. Reboot the domains after performing the flashupdate procedure. Even though
the firmware is compatible with the older firmware version, you must upgrade
the firmware to obtain new features and bug fixes.
If you install a replacement board into the system:
1. Check if the firmware level of the replacement board is the same as the board you
replaced.
2. If is it not, perform the flashupdate procedure on the board.
Caution – Under normal circumstances, the flashupdate command will complete
successfully. However, if the flashupdate command is terminated abnormally
(such as a power failure, a failed network connection, and so on), the system
controller goes into maintenance mode.
To bring the system controller out of maintenance mode and back into its normal
operating mode, type the flashupdate command with a valid URL or use the
reboot command to boot the system controller with an older firmware version.
See Also
Sun Fire 6800/4810/4800/3800 Systems Platform Administration Manual
Chapter 3 System Controller Alphabetical Command Reference41
flashupdate Command Platform Shell—Examples
Note – In the following examples, since the output is very long, only the command
you type is listed in the code box.
Note – The flashupdate all, flashupdate rtos, and flashupdate
scapp commands cause the system controller to reboot once.
■ To update the active System Controller board and the system controller real time
operating system (rtos), perform this procedure from the platform console and
watch the console output. This command reboots the system controller. Type:
CODE EXAMPLE 3-19 flashupdate Example Updating the Active System Controller
Board and the System Controller Real Time Operating System
■ To upgrade the firmware on a replacement CPU/Memory board, sb4
(destination_board), which is a replacement CPU/Memory board for
CPU/Memory board, sb0 (source_board). Type:
CODE EXAMPLE 3-20 flashupdate Example Updating Replacement CPU/Memory Board
sb4
schostname:SC> flashupdate -c sb0 sb4
42Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
help
Provides basic help information for commands.
Scope
platform shell, domain shell
Syntax
help [command_name]|[partial_command_name]
help -h
Options/Parameters
-h displays help for this command.
command_name is the name of the command.
partial_command_name can be one letter of the command or a portion of the
command name, such as show.
Description
The help command, without arguments, lists currently available commands. When
an argument is supplied, the help command displays a list of commands that begin
with the specified argument. If only one command is found, full help is displayed.
Otherwise, a short description is displayed for each command, beginning with the
specified argument.
You can also type a partial command name and basic help information will be
returned for all commands matching the partial name. The partial command name
must contain enough of the command name in order for the command to be
recognized by help. The help command returns help information for all commands
beginning with the characters you typed.
The help command is shell sensitive. It displays help information for the current
shell only.
Chapter 3 System Controller Alphabetical Command Reference43
Examples
CODE EXAMPLE 3-21 displays help information on the addboard command.
CODE EXAMPLE 3-21 help Command Example Displaying Information on the addboard
CODE EXAMPLE 3-22 displays all commands in the platform shell beginning with
show.
CODE EXAMPLE 3-22 help Command Example Displaying Commands Beginning With the
Word show
schostname:SC> help show
showboards -- show board information
showcomponent -- show state of a component
showdate -- show the current date and time for the platform
showenvironment -- show environmental information
showkeyswitch -- show the keyswitch positions
showlogs -- show the logs
showplatform -- show platform configuration, information and domain status
showsc -- show system controller version and uptime
44Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
CODE EXAMPLE 3-23 displays all commands in the platform shell beginning with the
letter a.
CODE EXAMPLE 3-23 help Command Example Displaying Commands Beginning With the
Chapter 3 System Controller Alphabetical Command Reference45
history
Shows the command history with date and time stamps.
Scope
platform shell, domain shell
Syntax
history [-h]
Options/Parameters
-h displays help for this command.
Description
Shows the command history with date and time stamps for when the commands
were executed. This command is shown for your shell and displays the last twenty
commands only.
See Also
Command line editing can be used to edit the command history. For more
information on how to use command line editing, see “Command Line Editing” on
page 9.
Example
CODE EXAMPLE 3-24 history Command
schostname:SC> history
May 07 16:29:21 : showboards
May 07 16:29:24 : showdate
May 07 16:29:29 : history
46Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
password
Sets the password for the platform or the domain.
Scope
platform shell, domain shell
Syntax—Platform Shell
password [-d domainID]
password -h
Syntax—Domain Shell
password
password [-h]
Options/Parameters
-d domainID is domain a, b, c, or d.
-h displays help for this command.
Description
Sets the password for the platform or the domain. There are separate passwords for
each domain and for the platform. If you set a password, entering the password is
required for access to the shell or console.
It is very important to set the password for the platform and each domain even if a
domain is not being used. This prevents people from creating and activating
unauthorized domains.
Prior to allowing the password to be changed, the current password will be
authenticated. Changed passwords take effect immediately. The old password will
no longer be accepted.
You can remove the password by pressing Return at the Enter new password and
Enter new password again prompts.
Chapter 3 System Controller Alphabetical Command Reference47
OpenBoot PROM passwords are different from the platform and domain passwords.
The OpenBoot PROM in each domain supports the OpenBoot PROM security mode,
which is a standard feature of the OpenBoot PROM software. For more information
on the OpenBoot PROM security mode password, see your OpenBoot PROM
documentation.
See Also
“Security” chapter of the Sun Fire 6800/4810/4800/3800 Systems Platform
Administration Manual
Examples
You will see the following prompt (CODE EXAMPLE 3-25), when a password is already
set and you type the password command at either the platform shell or the domain
shell.
CODE EXAMPLE 3-25 password Command Example With a Password Already Set
schostname:SC> password
Enter current password:
Enter new password:
Enter new password again:
schostname:SC>
If currently there is not a password assigned to the shell you are entering, you will
not be prompted for the current password (
CODE EXAMPLE 3-26 password Command Example With No Password Set
schostname:SC> password
Enter new password:
Enter new password again:
schostname:SC>
48Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
-y will answer yes to any question. This option is potentially hazardous. You can
forcefully power off a component with the -y option.
-n answers no to any question. You cannot forcefully power off a component with
the -n option.
component_name is the component name.
Platform shell component_name(s):
■ all turns off all currently controllable components.
■ Power grid (grid0, grid1). The Sun Fire 6800 system has two power grids: grid0
and grid1. Grid 1 controls power supplies ps3, ps4, and ps5. All other mid-range
systems have one power grid, grid0. This grid controls power supplies ps0, ps1,
and ps2.
■ Power supply (ps0 - ps5)
■ CPU/Memory board (sb0 - sb5)
■ I/O assembly (ib6 - ib9)
■ Repeater board (rp0 - rp3)
■ Fan tray (ft0 - ft3)
Chapter 3 System Controller Alphabetical Command Reference49
Domain shell component_name(s):
■ CPU/Memory board (sb0 - sb5)
■ I/O assembly (ib6 - ib9)
Note – The specified board must be in the current domain.
Description
Powers off a component or a list of components.
For the domain shell, the specified board must be in the current domain.
All slots listed by showboards can be powered off except for system controllers
(SSC0 and SSC1) and the ID board (ID0). A powered-off component will not be
monitored. Use the showboards command to display the power status of each
board.
You can power off any component except when the board is in the Active state (see
the showboards command to display the board state). When a component is in the
Active state, a warning is displayed on the console that tells you the entire domain
will go down. You are asked to confirm with a warning of the consequences.
If a board is active in a domain and you forcefully power off a device (board), the
keyswitch for the domain will be set to standby. To change the keyswitch setting, use
the setkeyswitch command.
Repeater boards do not have an Active state. You cannot power off a Repeater
board if it is being used by a domain.
You can turn off power supplies if turning off the power supply would leave
sufficient power in the power grid to support the current load of the power grid.
This varies with the configuration. It you attempt to power off a power supply that
is required to support the current load, the power supply will not be powered off
and a message stating why is displayed. You can power off redundant power
supplies.
If powering off a fan would result in insufficient cooling, it cannot be powered off.
See Also
poweron, setkeyswitch, showboards
50Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Examples
To power off CPU/Memory board, sb2, from the platform shell
(
CODE EXAMPLE 3-27), type:
CODE EXAMPLE 3-27 poweroff Command Example Showing Powering Off sb2
schostname:SC> poweroff sb2
To power off all power supplies, fan trays, and system boards (
CODE EXAMPLE 3-28),
type:
CODE EXAMPLE 3-28 poweroff Command Example Showing Powering Off All Power
schostname:SC> poweroff all
Supplies, Fan Trays, and System Boards in the Platform Shell
Note – From the domain shell, you cannot power off power supplies, fan trays,
Repeater boards, or power grids. To power off these components, connect to the
platform shell.
Chapter 3 System Controller Alphabetical Command Reference51
-h displays help for this command.
Platform shell component_name(s):
■ all is all power supplies and boards.
■ Power grid (grid0, grid1). The Sun Fire 6800 system has two power grids: grid0
and grid1. Grid 1 controls power supplies ps3, ps4, and ps5. All of the other midrange systems have one power grid, grid0. This grid controls power supplies
ps0, ps1, and ps2.
■ Power supply (ps0 - ps5)
■ CPU/Memory board (sb0 - sb5)
■ I/O assembly (ib6 - ib9)
■ Repeater board (rp0 - rp3)
■ Fan tray (ft0 - ft3)
Domain shell component_names:
■ all powers on all CPU/Memory boards and I/O assemblies in the domain
■ CPU/Memory board (sb0 - sb5)
■ I/O assembly (ib6 - ib9)
The specified board must be in the current domain.
52Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Description
Powers on a component or a list of components You must specify component_name(s).
You can power on any component that is not already powered on if there is
sufficient power to support the component when it is powered on. From the domain,
only components that are assigned to the domain can be powered on. To power on a
component, the power grid power must also be on.
Fan trays are automatically powered on when a power supply is powered on. Fan
trays obtain power from the power grid(s).
The System Controller boards obtain their power from a secondary power output on
the power supplies. The System Controller boards power on automatically when the
system is supplied with power. For example, the System Controller boards will
power on automatically on a Sun Fire 6800 system if the power cords are connected,
the system has power, and the circuit breaker(s) are on. The System Controller board
will automatically power on the Sun Fire 4810/4800/3800 systems if the power cords
are connected to the power source, the system has power, and the power supply
switches are turned on (Sun Fire 3800 system only).
The fan trays power on automatically if any power supply is on.
See Also
poweroff, setkeyswitch, showboards
Examples
To power on CPU/Memory board, sb2 from the platform shell (CODE EXAMPLE 3-29),
type:
CODE EXAMPLE 3-29 poweron Example Powering On sb2
schostname:SC> poweron sb2
Chapter 3 System Controller Alphabetical Command Reference53
To power on CPU/Memory boards and I/O assemblies in the domain
(
CODE EXAMPLE 3-30), type:
CODE EXAMPLE 3-30 poweron Example Showing Powering On All CPU/Memory Boards
and I/O Assemblies in Domain A
schostname:A> poweron all
Note – From the domain shell, you cannot power on power supplies, Repeater
boards, fan trays, or power grids. To power on these components, use the platform
shell.
54Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
reboot
Reboots the system controller.
Scope
platform shell
Syntax
reboot [-y|-n]
reboot -h
Options/Parameters
-y does not prompt for confirmation.
-n does not execute this command. Confirmation is requested.
-h displays help for this command.
Description
Reboots the system controller. The reboot command will not change any
configuration settings. Active domains will continue to run.
The keyswitch may be set to off if the system controller reboots while a keyswitch
operations is in progress.
Caution – Rebooting interrupts any current operation. This includes keyswitch
operations, rebooting the Solaris operating environment, testing boards, SNMP, and
so on.
Chapter 3 System Controller Alphabetical Command Reference55
Examples
To reboot the system controller ( CODE EXAMPLE 3-31), type:
CODE EXAMPLE 3-31 reboot Command Example
schostname:SC> reboot
Are you sure you want to reboot the System Controller now? [no]
56Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
reset
Resets the domain.
Scope
domain shell
Syntax
reset [-y|-n][-x|-a]
reset -h
Options/Parameters
-y answers yes to the question asked (executes the command).
-n answers no to the question asked (does not execute the command).
-h displays help for this command.
Options/Parameters
With no arguments, typing reset is the same as typing reset -x.
-x resets via XIR (externally initiated reset). Use XIR to try to obtain diagnostic data
(default).
-a reset is equivalent to the OpenBoot PROM reset-all command.
Description
This command also resumes the domain console. Resetting the domain is not
allowed if the keyswitch is in the secure position. Before you can reset the domain,
change the keyswitch position to on. Resetting the domain is not possible if the
keyswitch is configured in either the off or standby position.
By default, reset uses XIR (externally initiated reset) to reset the CPUs in the
domain. The externally initiated reset forces control of the domain into the
OpenBoot PROM and begins the OpenBoot PROM error reset recovery actions. The
error reset recovery actions preserve most domain states to allow collecting data
needed for debugging the hardware and software, including a Solaris operating
environment core file. The OpenBoot PROM error reset recovery actions are
Chapter 3 System Controller Alphabetical Command Reference57
controlled by setting the OpenBoot PROM error-reset-recovery configuration
variable. For the definition of this variable and the various settings, see
TABLE 3-10 in
“setupdomain” on page 76.
Note that the OpenBoot PROM reset command does not generate a core file as this
command does.
You cannot reset a domain that has been paused. The domain is paused
automatically when hardware detects an error. Messages on the domain console
indicate that the domain is paused.
To take a domain out of the paused state:
1. Turn the keyswitch off with setkeyswitch off.
2. Turn the keyswitch on with setkeyswitch on.
See Also
resume, setkeyswitch, setupdomain, showdomain, showkeyswitch,
showresetstate, “Domain Not Responding” section in the “Troubleshooting”
chapter in the Sun Fire 6800/4810/4800/3800 Systems Platform Administration Manual.
This section describes how to recover from a hung or paused domain.
Examples
To reset the domain (from a domain shell), type the following (CODE EXAMPLE 3-32).
This command uses XIR (externally initiated reset) to try to obtain diagnostic data.
CODE EXAMPLE 3-32 reset Command Example From Domain A
schostname:A> reset
To perform the equivalent operation as the OpenBoot PROM reset-all command
(
CODE EXAMPLE 3-33), type:
CODE EXAMPLE 3-33 reset -a Command Example From Domain A
schostname:A> reset -a
58Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
restoreconfig
Restores the platform and domain configurations from a server.
Scope
platform shell
Syntax
restoreconfig [-y|-n] -f url
restoreconfig -h
Options/Parameters
-h displays help for this command.
-y does not prompt for confirmation.
-n does not execute this command if confirmation is required.
-f specifies a URL, which must use the ftp protocol.
url is the directory containing the data files. The URL must point to a directory
and not a file. Examples are:
Note – The hostname you enter can be the host name or the host name with a fully
qualified domain name, such as schostname or schostname.eng.sun.com.Youcannot
use a partial domain name.
Description
Restores the platform and domain configurations from a server if a system controller
board has failed and has been replaced. This is based on the two data files created by
the dumpconfig command, schostanme.nvci and schostname.tod, at the specified
URL, which must point to a directory and use the ftp protocol. This command
prompts you for a new platform password.
Chapter 3 System Controller Alphabetical Command Reference59
Caution – The dumpconfig command is intended to be used as part of replacing a
failed system controller. For instructions on how to use dumpconfig, see “To Use
the dumpconfig Command to Save the Current Platform and Domain
Configurations to a Server” in the chapter “System Power On and Setup” in the SunFire 6800/4810/4800/3800 Systems Platform Administration Manual. This command
should have been executed when you set up the system.
This command requires that all domains be powered off with the setkeyswitchoff command. The system controller automatically reboots when the configuration
is restored. The date and time need to be set after the configuration has been
restored and the system controller has been rebooted. You also need to activate all
domains with setkeyswitch on, since this command restores all domains in the
off keyswitch position.
Note – Check the configuration of the platform and the domains before activating
any domains to ensure that the desired configuration has been restored. In the
platform shell use showplatform, showboards, and showdate. In each domain
shell use showdomain, showboards, and showdate.
CODE EXAMPLE 3-34 restoreconfig Example (Continued)
NVCI has been restored
TOD has been restored
Restore complete. The system controller is being rebooted.
The date will need to be set in the platform and each domain.
Software Reset . . .
Chapter 3 System Controller Alphabetical Command Reference61
resume
Exits the domain shell and resumes access to the domain console.
Scope
domain shell
Syntax
resume [-h]
Options/Parameters
-h displays help for this command.
Description
Exits the domain shell and resumes access to the domain console. This command
requires an active domain. If the domain is not active, there is no domain console
and there is nothing to resume. When you connect to the domain console, there may
not be any output displayed. If either the OpenBoot PROM or the Solaris operating
environment is running in the domain, press the Return key to get the prompt.
Otherwise, POST output is displayed (may be a delay in displaying POST output).
Other system controller commands that also resume the domain console are listed in
the following section.
See Also
break, reset, setkeyswitch
62Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Example
CODE EXAMPLE 3-35 resume Command Example in Active Domain A
schostname:A> resume
Note that no other output is seen. If the OpenBoot PROM is at the ok prompt or the
Solaris operating environment is at the login: prompt, you must press the Enter
key in order to see the prompt. Otherwise, you will need to wait for output to be
generated by POST, the OpenBoot PROM, or the Solaris operating environment.
If the domain is hung, there will be no output. However, when a domain displays no
output, this does not necessarily mean that the domain is hung.
Chapter 3 System Controller Alphabetical Command Reference63
setdate
Sets the date and time.
Scope
platform shell, domain shell
Syntax
setdate [-v] [-t time zone] [mmdd]HHMM
setdate [-v] [-t time zone] mmddHHMM [[cc]yy][.SS]
setdate [-v] [-r datehost]
setdate [-v] -t time zone
setdate [-v] -t GMT<+|-> offset from GMT (
setdate -h
TABLE 3-7)
Options/Parameters
-t time zone sets the time zone using the time zone abbreviation (TABLE 3-7). Only
non-daylight savings time zones can be specified. If you are in an area with daylight
time or summer time, the time and time zone are adjusted automatically for daylight
time or summer time.
-t GMT<+|->offset from Greenwich Mean Time—GMT (
mm is the month number.
dd day is the number in the month.
HH is the hour number (24-hour clock).
MM is the minute number.
cc is the century minus 1.
yy is the last two digits of the year number.
SS is the second number. For the century minus 1 value, use 21 (Twenty first
century) minus 1, which yields 20.
TABLE 3-7).
64Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
-r datehost sets the current time using rdate. The host must be a valid system
name and the system must support rdate requests. The hostname you enter can be
the host name or the host name with a fully qualified domain name, such as
schostname or schostname.eng.sun.com.Youcannot use a partial domain name.
-v is verbose mode. Displays detailed information about the time zone that is set.
-h displays help for this command.
TABLE3-7Time Zone Abbreviations, Time Zone Name, and Offsets From Greenwich
Mean Time
Time Zone AbbreviationTime Zone Name
ACTAustralian central timeGMT+9.5
AETAustralian eastern timeGMT+10
AGTArgentina standard timeGMT-3
ARTArabic (Egypt) standard timeGMT+2
ASTAlaska standard timeGMT-9
BETBrazil eastern timeGMT-3
BSTBangladesh standard timeGMT+6
CATCentral African timeGMT+2
CNTCanada Newfoundland timeGMT-3.5
CSTCentral standard timeGMT-6
CTTChina Taiwan timeGMT+8
EATEastern African timeGMT+3
ECTEuropean central timeGMT+1
EETEastern European timeGMT+2
ESTEastern standard timeGMT-5
HSTHawaii standard timeGMT-10
IETIndiana eastern standard timeGMT-5
ISTIndia standard timeGMT+5.5
JSTJapan standard timeGMT+9
METMiddle East timeGMT+3.5
MITMidway Islands timeGMT-11
MSTMountain standard timeGMT-7
NETNear East timeGMT+4
Offset From Greenwich Mean Time
(GMT)
Chapter 3 System Controller Alphabetical Command Reference65
TABLE3-7Time Zone Abbreviations, Time Zone Name, and Offsets From Greenwich
Mean Time (Continued)
Time Zone AbbreviationTime Zone Name
NSTNew Zealand standard timeGMT+12
PLTPakistan Lahore timeGMT+5
PNTPhoenix standard timeGMT-7
PRTPuerto Rico and U S. Virgin Islands timeGMT-4
PSTPacific standard timeGMT-8
SSTSolomon standard timeGMT+11
UTCUniversal Time CoordinatedGMT+0
VSTVietnam standard timeGMT+7
Offset From Greenwich Mean Time
(GMT)
Description
Sets the date and time for the platform and domains. This command, when invoked
from the platform, will have no effect on the date and time in each domain and vice
versa. You can set up to five different times and time zones; one time and time zone
for the platform and different times and time zones for each of the four domains.
If your time zone area is using daylight or summer time, this is set automatically.
Note – You cannot set the date from the system controller in a domain while the
Solaris operating environment is running. To set the date while the Solaris operating
environment is running, use the Solaris operating environment date command.
See Also
showdate
66Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Examples
When you type the setdate command from the platform, this sets the date and
time for the platform. When you type the setdate command from the domain, this
sets the date and time for the domain.
To set the date and time on the platform to Thursday, April 20, 2001, at 18 hours 15
minutes and 10 seconds, type:
CODE EXAMPLE 3-36 setdate Command Example in the Platform Shell
schostname:SC> setdate 042018152001.10
Thu Apr 20 18:15:10 PST 2001
To set the date from a date host:
CODE EXAMPLE 3-37 setdate -r Command Example Setting the Date From a Date Host
schostname:SC> setdate -r datehost
Thu Apr 20 18:15:10 PST 2001
To set the time zone to Pacific Standard Time (PST), using the offset from Greenwich
mean time—GMT, and the date and time on the platform to Thursday, April 20,
2001, at 18 hours 15 minutes and 10 seconds (
TABLE 3-7), type:
CODE EXAMPLE 3-38 setdate -t Command Example Setting the Time Zone to Pacific
Standard Time Using the Offset From Greenwich Mean Time
schostname:SC> setdate -t GMT-8 042018152001.10
Thu Apr 20 18:15:10 PST 2001
To set the time zone to Eastern Standard Time (EST), using the time zone
abbreviations, and the date and time on the platform to Thursday, April 20, 2001, at
18 hours 15 minutes and 10 seconds (
CODE EXAMPLE 3-39 setdate -t Command Example Setting the Date and Time Zone to
TABLE 3-7), type:
Eastern Standard Time Using Time Zone Abbreviations
schostname:SC> setdate -t EST 042018152001.10
Thu Apr 20 18:15:10 EST 2001
Chapter 3 System Controller Alphabetical Command Reference67
To set just the time zone for Japan Standard Time using offsets from Greenwich
Mean Time—GMT (
TABLE 3-7) and not the date and time, type:
CODE EXAMPLE 3-40 setdate -t Command Example Setting the Time Zone to Japan
Standard Time Using the Offset From Greenwich Mean Time
schostname:SC> setdate -t GMT+9
Thu Apr 20 18:15:10 GMP+9 2001
To set just the time zone for European Central Time using the time zone
abbreviations (
CODE EXAMPLE 3-41 setdate -t Command Example Setting the Time Zone to Eastern
TABLE 3-7) and not the date and time, type:
Central Time Using Time Zone Abbreviations
schostname:SC> setdate -t ECT
Thu Apr 20 18:15:10 ECT 2001
68Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
setdefaults
Sets the default configuration values.
Caution – This is a destructive command. Use with caution and care.
-y does not prompt for confirmation. The option sets the defaults for the platform
shell and each domain shell.
-n does not execute the command if confirmation is requested.
-c keeps Capacity on Demand (COD) licenses.
-h displays help for this command.
-p
platform resets the defaults for the platform only.
Options/Parameters—Domain Shell
-y does not prompt for confirmation.
-n does not execute the command if confirmation is requested.
-h displays help for this command.
Chapter 3 System Controller Alphabetical Command Reference69
Description
Caution – This command requires that all domains are inactive (not running the
OpenBoot PROM, POST, or the Solaris operating environment) and the keyswitch be
set to off.
When you run this command from the platform shell without options, the platform
and domain values are set to the default values. When you run this command from
the domain shell without options, only the current domain values are reset to the
default values.
If a password is set, you will need to type the password in order to set the default
values. When you run this command from the platform shell, the password for the
platform shell is required. When you run this command from a domain shell, the
password for the domain shell is required. There are separate passwords for the
platform shell and each domain shell. In addition, this command also does the
following:
■ Sets the system controller to the default values. This command only resets the
system controller setting. It does not affect the domain’s configuration in the
OpenBoot PROM.
■ Erases all platform and domain configurations (platform).
■ Removes passwords (domain and platform).
Example
CODE EXAMPLE 3-42 setdefaults Example
schostname:SC> setdefaults
You are about to reset all configuration data to default values.
All domain configurations, ACLs, passwords and data buffers will
be lost.
The system controller will be REBOOTED after the defaults are set.
Do you want to restore the default values and reboot now? [no]
If you answer yes, the system controller is rebooted after the defaults are set.
If you answer no, the default values are not restored.
If a password is set for the platform shell, the password will be required.
70Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
setkeyswitch
Changes the position of the virtual keyswitch to the specified value.
Scope
platform shell, domain shell
Syntax for the Platform Shell
setkeyswitch [-y|-n] -d domainID off
setkeyswitch -h
-n does not execute this command is confirmation is requested.
-d domainID (platform shell only) is the domain ID of the domain you want power
off ( a, b, c,ord).
Chapter 3 System Controller Alphabetical Command Reference71
For setkeyswitch parameters and descriptions, see TABLE 3-8.
TABLE3-8Description of the setkeyswitch Transition
ValueDescription
offChanges the board state of all the boards belonging to a domain to the
Assigned board status, and places the boards in low-power mode, which
allows you to remove the boards from the system. The domain will not be
initialized at system power on.
standbyChanges the board state of all the boards belonging to a domain to the
Assigned board state and turns on the boards. The domain will not be
initialized at system power on, but the boards that comprise the domain will
be powered on.
onPowers on and initializes the domain. The system controller brings the
domain into OpenBoot PROM through POST. If the OpenBoot PROM has
auto-boot? set to true, then the Solaris operating environment boots
automatically.
diagSimilar to the setkeyswitch on command except the POST verbose mode
is set to on and the POST diagnostic level is set to maximum.
secureSimilar to the setkeyswitch on command except that the break command
and the reset commands are ignored. CPU/Memory board and
I/O assembly flash PROM updates are not allowed.
TABLE 3-9 shows the results when you change a keyswitch setting.
TABLE3-9Results of Changing the Keyswitch From the Current Setting to a New Setting
Current SettingNew SettingResult
offoffKeyswitch position not changed.
offstandbyPowers on all of the boards. The boards belonging to a domain
should already be in the Assigned state. The domain will not
be initialized at system power on.
offonPowers on and initializes the domain. The domain will go
through POST and the OpenBoot PROM. The Solaris
operating environment boots automatically unless you have
set the OpenBoot PROM auto-boot? set to false.
offdiagSimilar to on, except POST verbose and diagnostic level is to
set to maximum. The domain will boot from the
diag-device.
offsecureSimilar to on, except the reset and break commands are
ignored by the domain shell.
72Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
TABLE3-9Results of Changing the Keyswitch From the Current Setting to a New Setting
(Continued)
Current SettingNew SettingResult
standbyoffAll boards will be powered off (set to low -power mode and
all monitoring of the boards will stop). The domain is shut
down.
standbyonSimilar to setting the virtual keyswitch from off to on except
that you do not have to wait for the system controller to turn
on the boards and prepare them.
onoffAll boards will be powered off (set to low -power mode and
all monitoring of the boards will stop). The domain is shut
down.
onstandbyThe domain becomes inactive. All of the boards remain
powered on.
ononKeyswitch position not changed.
ondiagSimilar to the setkeyswitch on command except the POST
verbose mode is set to on and the POST diagnostic level is set
to maximum. This change is setting has no effect on a running
domain.
onsecurebreak and reset are ignored.
diagoffAll boards will be powered off (set to low -power mode and
all monitoring of the boards will stop). The domain is shut
down.
diagstandbyThe domain becomes inactive. All of the boards remain
powered on.
diagonHas no effect on a running domain. This operation only
changes the keyswitch position and does not perform any
other function since the domain is already running.
diagdiagKeyswitch position not changed.
diagsecurebreak and reset are ignored.
secureoffAll boards will be powered off (set to low -power mode and
all monitoring of the boards will stop). The domain is shut
down.
securestandbyThe domain becomes inactive. All of the boards remain
powered on. The break and reset commands are no longer
ignored.
secureonbreak and reset are not ignored.
securediagThis change is setting has no effect on a running domain.
securesecureKeyswitch position not changed.
Chapter 3 System Controller Alphabetical Command Reference73
Description
Each domain has a virtual keyswitch with five positions: off, standby, on, diag, and
secure. The setkeyswitch command changes the position of the virtual keyswitch
to the specified value. The virtual keyswitch replaces the need for a physical
keyswitch for each domain.
If it is not possible to access the domain shell, set the keyswitch position for the
domain to off from the platform shell. Setting the keyswitch position to off for a
domain without first halting the Solaris operating environment may cause problems.
If the domain is running the Solaris operating environment, the setkeyswitch
command parameters off and standby require confirmation.
If the domain is already powered on, the setkeyswitch on, setkeyswitch diag,
and setkeyswitch secure commands will change only the position of the virtual
keyswitch. If components making up a domain such as a I/O assembly or
CPU/Memory board need to be powered on, the system attempts to power on these
boards or devices also.
When the keyswitch position changes to on, secure, or diag from any keyswitch
position, the domain console is resumed.
If a failure occurred during keyswitch transition, the keyswitch position is reset to
off or standby after recovering from the failure.
The system controller maintains the position of each keyswitch even during power
failures or physical power cycles. When you power on the system after either a
power failure or system power off, the system controller activates any domains that
were active when the power went off.
See Also
resume, showkeyswitch
Examples
To turn the virtual keyswitch on and power on the domain (CODE EXAMPLE 3-43),
type:
CODE EXAMPLE 3-43 setkeyswitch on Example
schostname:A> setkeyswitch on
74Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
To shut down the domain by turning the virtual keyswitch off (CODE EXAMPLE 3-44),
type:
CODE EXAMPLE 3-44 setkeyswitch off Example
schostname:A> setkeyswitch off
To shut down domain B from the platform shell (
CODE EXAMPLE 3-45 setkeyswitch off Example Shutting Down Domain B From the
CODE EXAMPLE 3-45), type:
Platform Shell
schostname:SC> setkeyswitch -d b off
Caution – CODE EXAMPLE 3-45 does not properly shut down the Solaris operating
environment in the domain before turning the keyswitch in domain B to the off
position.
Chapter 3 System Controller Alphabetical Command Reference75
setupdomain
Configures the domain.
Scope
domain shell
Syntax
setupdomain [-p part]...
setupdomain -h
Options/Parameters
-h displays help for this command.
-p part configures the specified information and has the following options:
■ bootparams configures the boot parameter information.
■ loghost configures the log hosts
■ snmp configures SNMP information.
TABLE 3-10 lists the parameter values for setupdomain. Note that for diag-level
definition and function of default and max are the same. Because the tests for mem1
and mem2 take a long time to run, use the default or max values. However, if you
suspect memory problems, then use the mem1 or mem2 values.
TABLE3-10 Parameter Values for the setupdomain Command
ParameterValueDescription
diag-levelinitOnly system board initialization code is run. No
testing is done. This is a very fast pass through
POST.
quickAll system board components are tested using few
tests with few test patterns.
default (default value)All system board components are tested with all tests
and test patterns, except for memory and Ecache
modules. For memory and Ecache modules, all
locations are tested with multiple patterns. More
extensive, time-consuming algorithms are not run at
this level. This is the same as max.
76Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
TABLE3-10 Parameter Values for the setupdomain Command (Continued)
ParameterValueDescription
maxAll system board components are tested with all tests
and test patterns. This is the same as default.
mem1Runs all tests at the default level plus more
exhaustive DRAM and SRAM test algorithms. These
tests take a long time to run.
mem2This is the same as mem1 with the addition of a
DRAM test that does explicit compare operations of
the DRAM data. These tests take a long time to run.
verbosity-leveloffNo status messages are displayed. POST output is
always displayed. However, with the value set to
off, there is very little POST output displayed and
there may be a long time between output displays.
This depends on your hardware configuration and
the setting of diag-level.
min (default value)Test names status messages, and error messages are
displayed.
maxSubtest trace messages are displayed.
error-leveloffNo error messages are displayed.
minThe failing test name is displayed.
max (default value)All relevant error status is displayed.
interleave-scopewithin-cpuThe memory banks on a CPU will be interleaved
with each other. Each CPU may have up to four
logical memory banks.
within-board (default
value)
The memory banks on a system board will be
interleaved with each other.
across-boardsThe memory will be interleaved on all memory
banks across all of the boards in the domain.
With this value, you cannot remove a CPU/Memory
board from the system using DR.
interleave-modeoptimal (default value)The memory is mixed-size interleaving in order to
gain optimal performance.
fixedThe memory is fixed-size interleaving.
offThere is no memory interleaving.
reboot-on-errorfalse (default value)The domain will be paused when the system
controller detects a hardware error.
Chapter 3 System Controller Alphabetical Command Reference77
TABLE3-10 Parameter Values for the setupdomain Command (Continued)
ParameterValueDescription
trueThe domain is rebooted when a hardware error is
detected. If OBP.auto-boot? is set to true, the
Solaris operating environment is booted.
OBP.use-nvramrc?This parameter is the same as the OpenBoot PROM
nvramrc? parameter. This parameter uses aliasesthat are stored in nvramrc.
trueThe OpenBoot PROM executes the script stored in
nvramrc if this parameter is set to true.
false (default value)The OpenBoot PROM does not evaluate the script
stored in nvramrc if this parameter is set to false.
OBP.auto-boot?Controls booting of the Solaris operating
environment.
true (default value)If this value is true, the domain boots automatically
after POST has run.
falseIf this parameter value is set to false, you will obtain
the OpenBoot PROM ok prompt after POST runs,
from which you must type a boot command to boot
the Solaris operating environment.
OBP.error-resetrecovery
Controls the behavior of the domain after an
externally initiated reset (XIR) as well as a red mode
trap.
sync (default value)The OpenBoot PROM invokes sync. A core file is
generated. If the invocation returns, the OpenBoot
PROM performs a reboot.
noneThe OpenBoot PROM prints a message describing
the reset trap that triggered the error reset and passes
control to the OpenBoot PROM ok prompt. The
message describing the reset trap type is platform
specific.
bootThe OpenBoot PROM firmware reboots the domain.
A core file is not generated. Rebooting a domain
occurs using the OpenBoot PROM settings for
diag-device or boot-device, depending on the
value of the OpenBoot PROM configuration variable
diag-switch?
If diag-switch? is set to true, the device names in
diag-device will be the default for boot. If
diag-switch? is set to false, the device names in
boot-device will be the default for boot.
78Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
TABLE3-10 Parameter Values for the setupdomain Command (Continued)
ParameterValueDescription
LoghostThe name or the IP address of the loghost for this
domain (SNMP).
Log FacilityThe log facility is defined by the Solaris operating
environment syslogd in /etc/syslog.conf.
The default is local0.
Domain DescriptionEnter a brief description for this domain. For
example, its function.
Enter the name of the primary domain administrator.
Trap HostsEnter the name or the IP address of the trap hosts for
this domain. You can define multiple trap hosts.
Public Community
String
Private Community
String
Community string for SNMP readers. The default
value is A-public, B-public, and so on.
Note—For SNMP clients such as the Sun
Management Center 3.0 software to access the
system controller using SNMP, their community
strings should be set to the same value as the value
entered here.
Community string for readers and writers. The
default value is A-private, B-private, and so on.
Note—For SNMP clients such as the Sun
Management Center 3.0 software to access the
system controller using SNMP, their community
strings should be set to the same value as the value
entered here.
Description
Configures domain specific values. Configures the domain. You can configure each
domain differently and independently This command is an interactive command.
You are prompted for parameters to configure.
See Also
password, setdate, showdate, showdomain, and the section “To Configure
Domain-Specific Parameters” in the “System Power On and Setup” chapter of the SunFire 6800/4810/4800/3800 Systems Platform Administration Manual.
Chapter 3 System Controller Alphabetical Command Reference79
Example
CODE EXAMPLE 3-46 Variables for the setupdomain Command
--------Loghost [ ]:The hostname or the IP address of the loghost for this domain.
Log Facility [local0]: Definedby the Solaris operating environmentsyslogd in
SNMP
----Domain Description[]: A brief description for this domain (its function).
Domain Contact[ ]: The name of the primary domain administrator.
Trap Hosts [ ]: The
Public Community String [ ]:The community string for SNMP readers.
Private Community String [ ]: The community string for readers and writers.
IP address of the loghost for this domain.
/etc/syslog.conf.
schostname:
A>
Note – The default value displayed by the software for the OBP.* parameters is
<OBP default>.
If you enter an invalid value, the system controller displays “invalid entry” and
prompts you to enter a proper value (
TABLE 3-10). If a value is not specified, it retains
its current value. When an invalid entry is entered, it also lists the valid responses.
Typing a dash ( - ), clears the entry.
Current values are displayed in [ ].
TABLE 3-10 lists the setupdomain parameter
values.
80Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
setupplatform
Configures the platform specific variables.
Scope
platform shell
Syntax
setupplatform [-p part]...
setupplatform -h
Options/Parameters
-h displays help for this command.
-p part configures the specified part and has the following options:
■ acls is ACLs (Access Control List)
- clears the boards from the ACL
+ adds all boards to the ACL
-a board adds a board
-d board deletes a board
■ loghost configures loghost and facility with the default of local0. The loghost
is the IP address or host name of the syslog loghost. The host name you enter
must be a complete host name (not a partial one ).
■ network is the network settings.
■ partition sets the partition mode.
■ sc configures system controller behavior.
■ snmp is SNMP configuration
Chapter 3 System Controller Alphabetical Command Reference81
Description
Configures parameters for the platform. This command is an interactive command.
You are prompted for parameters to configure. For parameters to configure, see
TABLE 3-11.
TABLE3-11 setupplatform Parameter Values
ParameterDescription
Is the System Controller on a
Network?
Use DHCP or static network
settings?
Hostname (Network parameter)The human readable network identity for this system
IP address (Network parameter)The network identity used by computers.
Netmask (Network parameter)For this value, specify how much of the address should be
Gateway (Network parameter)IP address of the gateway.
DNS Domain (Network parameter)Domain name. For example, xxx.xxx.com.
Primary DNS Server (Network
parameter)
Secondary DNS Server (Network
parameter)
LoghostThe name or the IP address of the loghost for this domain
Log FacilityThe log facility. Facility is defined by the Solaris operating
SNMP Agent?The SNMP agent enables or disables SNMP. The default is
Platform DescriptionDefault value is the platform model name.
If the answer is no, leave all network parameters as
unconfigured. You will be prompted to enter the hostname. If
the answer if yes, you are prompted to configure the network
settings.
• DHCP means the system controller network configuration
is retrieved from a DHCP server.
• Static means the network settings will be manually
configured. If you select the static setting, you will be asked
for the following network parameters.
controller.
reserved for subdividing networks into subnetworks. Must
be specified in dot-notation address. For example
255.255.255.0.
IP address of your primary DNS server.
IP address of your secondary DNS server.
(SNMP).
environment
is local0.
SNMP disabled.
syslogd in /etc/syslog.conf.The default
82Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Platform ContactThe name of the person who is responsible for this system.
This name will be used by SNMP. Note that if SNMP is not
going to be enabled, this field is informational only.
Platform LocationLocation of the system (such as a room and/or the location
inside of the room). This information will be used by SNMP.
Note that if SNMP is not going to be enabled, this field is
informational only.
Trap HostsIP address or name of the trap hosts (SNMP). You can define
multiple trap hosts.
Public Community StringCommunity string for SNMP readers. The default is
P-public.
Note—For SNMP clients such as the Sun Management Center
3.0 software to access the system controller using SNMP, their
community strings should be set to the same value as the
value entered here.
Private Community StringCommunity string for readers and writers. The default is
P-private.
Note—For SNMP clients such as the Sun Management Center
3.0 software to access the system controller using SNMP, their
community strings should be set to the same value as the
value entered here.
ACL for Domain AAccess Control List (ACL). If the board name is listed in the
ACL for the specific domain, then you have permission to
perform addboard or deleteboard requests on that board.
Default value is to have all slots assigned to all domains.
• Typing the prefix-d deletes the slot from ACLs of this
domain.
• Typing a prefix of -a (add) adds a slot.
• Typing a dash ( - ) clears the entire list.
• Typing a + (plus sign) adds all.
• Pressing the Return key does not change the value
displayed inside [ ].
ACL for Domain BSee the description for ACL for Domain A.
ACL for Domain CSee the description for ACL for Domain A.
ACL for Domain DSee the description for ACL for Domain A.
SC POST diag levelThe system controller boot parameters (diag level) can be set
to: off, min,ormax.
off
Only system board initialization code is run. No testing is
done. POST is not run.
Chapter 3 System Controller Alphabetical Command Reference83
Configure platform for single or
dual partition mode
All System Controller board components are tested using few
locations with few test patterns.
All System Controller board components are tested with all
tests and test patterns.
The two options are single or dual. The default is single. For
a description of single and dual partition mode, refer to the
“Overview” chapter in the Sun Fire 6800/4810/4800/3800Systems Platform Administration Manual.
See Also
password, setdate, setupdomain, showdate, showdomain, showplatform, and
the section “Setting Up the Platform” in the “System Power On and Setup” chapter
of the Sun Fire 6800/4810/4800/3800 Systems Platform Administration Manual. This
chapter describes a step-by-step procedure on setting up the platform using
setupplatform.
Example
CODE EXAMPLE 3-47 setupplatform Output
schostname:SC> setupplatform
Network Configuration
--------------------Use DHCP or static network settings? [DHCP]:
Network settings? [static]:
Hostname []:
IP Address []:
Netmask []:
Gateway []:
DNS Domain []:
Primary DNS Server []:
Secondary DNS Server []:
Loghosts
-------Loghost [ ]:
Log Facility [local0]:
84Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.