t5120 Sysadmin Guide 820-2179-10
t5120 Sysadmin Guide 820-2179-10
Preface xiii
v
▼ To Modify the /etc/remote File 15
Accessing the System Console Through an Alphanumeric Terminal 16
▼ To Access the System Console Through an Alphanumeric Terminal
17
Accessing the System Console Through a Local Graphics Monitor 17
▼ To Access the System Console Through a Local Graphics Monitor 18
Switching Between the Service Processor and the System Console 19
ILOM -> Prompt 21
Access Through Multiple Controller Sessions 22
Reaching the -> Prompt 22
OpenBoot ok Prompt 23
Reaching the ok Prompt 24
Graceful Shutdown 24
ILOM set /HOST send_break_action=break,
start /SP/console Commands, or Break Key 25
Manual System Reset 25
Getting to the ok Prompt 26
▼ To Obtain the ok Prompt 27
For More Information 27
System Console OpenBoot Configuration Variable Settings 28
vi Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
OpenBoot Emergency Procedures for SPARC Enterprise T5120 and T5220
Systems 35
Stop-N Functionality 36
▼ To Restore OpenBoot Configuration Defaults 36
Stop-F Functionality 37
Stop-D Functionality 37
Automatic System Recovery 37
Auto-Boot Options 38
Error Handling Summary 38
Reset Scenarios 39
Automatic System Recovery User Commands 40
Enabling and Disabling Automatic System Recovery 41
▼ To Enable Automatic System Recovery 41
▼ To Disable Automatic System Recovery 41
Obtaining Automatic System Recovery Information 42
Unconfiguring and Reconfiguring Devices 43
▼ To Unconfigure a Device Manually 43
▼ To Reconfigure a Device Manually 44
Displaying System Fault Information 44
▼ To Display Current Valid System Faults 44
▼ To Clear a Fault 45
Storing FRU Information 45
▼ To Store Information in Available FRU PROMs 45
Multipathing Software 46
For More Information 46
Contents vii
RAID Technology 48
Integrated Stripe Volumes (RAID 0) 48
Integrated Mirror Volumes (RAID 1) 49
Hardware Raid Operations 50
Physical Disk Slot Numbers, Physical Device Names, and Logical Device
Names for Non-RAID Disks 51
▼ To Create a Hardware Mirrored Volume 51
▼ To Create a Hardware Mirrored Volume of the Default Boot Device 54
▼ To Create a Hardware Striped Volume 55
▼ To Configure and Label a Hardware RAID Volume for Use in the Solaris
Operating System 57
▼ To Delete a Hardware RAID Volume 60
▼ To Perform a Mirrored Disk Hot-Plug Operation 62
▼ To Perform a Nonmirrored Disk Hot-Plug Operation 63
Index 75
viii Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Figures
FIGURE 1-2 Rear I/O Panel of the SPARC Enterprise T5120 Chassis. 6
FIGURE 1-3 Rear I/O Panel of the SPARC Enterprise T5220 Chassis. 6
FIGURE 1-4 Patch Panel Connection Between a Terminal Server and a SPARC Enterprise T5120 or
T5220 Server 12
FIGURE 1-5 Tip Connection Between a SPARC Enterprise T5120 or T5220 Server and Another
System 14
FIGURE 2-1 Locator Button (top button) on SPARC Enterprise T5120 Chassis 34
FIGURE 2-2 Locator Button (top button) on SPARC Enterprise T5220 Chassis 34
ix
x Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Tables
TABLE 1-4 OpenBoot Configuration Variables That Affect the System Console 28
TABLE 3-1 Disk Slot Numbers, Logical Device Names, and Physical Device Names 51
TABLE A-1 OpenBoot Configuration Variables Stored on the System Configuration Card 71
xi
xii Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Preface
The Sun SPARC Enterprise T5120 & T5220 Server System Administration Guide is for
experienced system administrators. The guide includes general descriptive
information about the Sun SPARC EnterpriseTM T5120 and T5220 servers, and
detailed instructions for configuring and administering the servers. To use the
information in this document, you must have working knowledge of computer
network concepts and terms, and advanced familiarity with the Solaris™ Operating
System (Solaris OS).
Note – For information about changing the hardware configuration of your server,
or about running diagnostics, see the service manual for your server.
xiii
■ Appendix A provides a list of all OpenBoot™ configuration variables and a short
description of each.
xiv Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Shell Prompts
Shell Prompt
C shell machine-name%
C shell superuser machine-name#
Bourne shell and Korn shell $
Bourne shell and Korn shell superuser #
Typographic Conventions
Typeface* Meaning Examples
Preface xv
Related Documentation
The documents listed as online are available at:
http://www.sun.com/documentation
Sun SPARC Enterprise T5120 and Information about the latest product 820-2176
T5220 Servers Product Notes updates and issues
Sun SPARC Enterprise T5120 and Product features 820-2183
T5220 Servers Product Overview Guide
Sun SPARC Enterprise T5120 and Server specifications for site 820-2177
T5220 Servers Site Planning Guide planning
Sun SPARC Enterprise T5120 and Detailed rackmounting, cabling, 820-2178
T5220 Servers Installation Guide power-on, and configuring
information
Integrated Lights Out Management 2.0 How to use the Integrated Lights Varies
(ILOM 2.0) Supplement for Sun SPARC Out Manager (ILOM) software based on
Enterprise T5120 and T5220 Servers version
Sun SPARC Enterprise T5120 and How to run diagnostics to 820-2181
T5220 Servers Service Manual troubleshoot the server, and how to
remove and replace parts in the
server
Sun SPARC Enterprise T5120 and Safety and compliance information
T5220 Servers Safety and Compliance about this server
manual
xvi Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Documentation, Support, and Training
Sun Function URL
Documentation http://www.sun.com/documentation/
Support http://www.sun.com/support/
Training http://www.sun.com/training/
http://www.sun.com/hwdocs/feedback
Please include the title and part number of your document with your feedback:
Sun SPARC Enterprise T5120 and T5220 Server Administration Guide, part number
820-2179-10
Preface xvii
xviii Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
CHAPTER 1
This chapter explains what the system console is, describes the different ways of
configuring it on a SPARC Enterprise T5120 or T5220 server, and helps you
understand the relationship between the system console and the service processor.
This chapter contains the following sections:
■ “Communicating With the System” on page 1
■ “Accessing the Service Processor” on page 8
■ “Switching Between the Service Processor and the System Console” on page 19
■ “ILOM -> Prompt” on page 21
■ “OpenBoot ok Prompt” on page 23
■ “System Console OpenBoot Configuration Variable Settings” on page 28
Note – For information about changing the hardware configuration of your server,
or about running diagnostics, see the service manual for your server.
1
The serial management port (SER MGT) is the default port for accessing the system
console upon initial system installation. After installation, you can configure the
system console to accept input from and send output to different devices. TABLE 1-1
lists these devices and where they are discussed in this document.
During After
Devices Available Installation Installation Further Information
2 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
What the System Console Does
The system console displays status and error messages generated by firmware-based
tests during system startup. After those tests run, you can enter special commands
that affect the firmware and alter system behavior. For more information about tests
that run during the boot process, refer to the service manual for your server.
Once the operating system is booted, the system console displays UNIX system
messages and accepts UNIX commands.
Serial
OpenBoot configuration management
TIP line
variable settings
input-device=virtual-console
Alphanumeric
output-device=virtual-console Network
terminal
management
Terminal
System server
console
Network
device
Graphics
card
input-device=keyboard Graphics
output-device=screen monitor
4 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Typically, you connect one of the following hardware devices to the serial
management port:
■ Terminal server
■ Alphanumeric terminal or similar device
■ Tip line connected to another computer
PS0
PS1
NET 0 NET 1 NET 2 NET 3
Figure Legend Management Ports, ttya port, and Locator LED on the SPARC Enterprise T5120.
FIGURE 1-3 Rear I/O Panel of the SPARC Enterprise T5220 Chassis.
Figure Legend Management Ports, ttya port, and Locator LED on the SPARC Enterprise T5220.
Figure Legend Management Ports and Locator LED of the SPARC Enterprise T5220
The service processor serial management port is the default console connection.
Using a Tip line enables you to use windowing and operating system features on the
system making the connection to the server.
6 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
The serial management port is not a general-purpose serial port. If you want to use
a general-purpose serial port with your server—to connect a serial printer, for
instance—use the standard 9-pin serial port on the back panel of the SPARC
Enterprise T5120 and T5220. The Solaris OS sees this port as ttya.
■ For instructions on accessing the system console through a terminal server, see
“Accessing the System Console Through a Terminal Server” on page 11.
■ For instructions on accessing the system console through an alphanumeric
terminal, see “Accessing the System Console Through an Alphanumeric
Terminal” on page 16.
■ For instructions on accessing the system console through a Tip line, see
“Accessing the System Console Through a Tip Connection” on page 13.
The best practice is to leave the console port in its default configuration for the
following reasons:
■ In a default configuration, the serial management and network management ports
enable you to open up to eight additional windows through which you can view,
but not affect, system console activity. You cannot open these connections if the
system console is redirected to a graphics card’s port.
■ In a default configuration, the serial management and network management ports
enable you to switch between viewing system console and service processor
output on the same device by typing a simple escape sequence or command. The
escape sequence and command do not work if the system console is redirected to
a graphics card’s port.
■ The service processor keeps a log of console messages, but some messages are not
logged if the system console is redirected to a graphic card’s port. The omitted
information could be important if you need to contact customer service about a
problem.
After starting the system, you might need to install the correct software driver for
the PCI card you have installed. For detailed hardware instructions, see “Accessing
the System Console Through a Local Graphics Monitor” on page 17.
Note – POST diagnostics cannot display status and error messages to a local
graphics monitor.
When you are accessing the system console using a device connected to the serial
management port, you first access the ILOM service processor and its -> prompt.
After connecting to the ILOM service processor, you can switch to the system
console.
For more information about the ILOM service processor, refer to the ILOM user’s
guide and the ILOM supplement for your server.
8 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
■ No parity
■ 1 stop bit
■ No handshaking
4. To switch back to the -> prompt, type the #. (Pound-Period) escape sequence.
ok #.
For instructions on how to use the ILOM service processor, refer to the ILOM user’s
guide and the ILOM supplement for your server.
Note – The default username when connecting to the service processor for the first
time is root. The default password is changeme. You should assign a new
password during initial system configuration. For more information, refer to your
server installation guide, the ILOM user’s guide, and the ILOM supplement for your
server.
You can assign the network management port a static IP address or you can
configure the port to obtain an IP address using DHCP from another server. The
network management port can be configured to accept connections from SSH clients.
Note – The network management port is a 10/100 BASE-T port. The IP address
assigned to the network management port is a unique IP address, separate from the
main server IP address, and is dedicated for use only with the ILOM service
processor.
2. Log in to the ILOM service processor through the serial management port.
See the ILOM user’s guide for instructions.
->
10 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Note – If you have configured your server to use static IP addresses, but wish to
reset your network to use Dynamic Host Configuration Protocol (DHCP), type the
following commands:
->
To connect through the network management port, use ssh to the IP address you
specified in Step 3.
The serial management port on the SPARC Enterprise T5120 or T5220 server is a
data terminal equipment (DTE) port. The pinouts for the serial management port
correspond with the pinouts for the RJ-45 ports on the Serial Interface Breakout
Cable supplied by Cisco for use with the Cisco AS2511-RJ terminal server. If you use
a terminal server made by another manufacturer, check that the serial port pinouts
of the SPARC Enterprise T5120 or T5220 server matches those of the terminal server
you plan to use.
If the pinouts for the server serial ports correspond with the pinouts for the RJ-45
ports on the terminal server, you have two connection options:
FIGURE 1-4 Patch Panel Connection Between a Terminal Server and a SPARC Enterprise
T5120 or T5220 Server
If the pinouts for the serial management port do not correspond with the pinouts for
the RJ-45 ports on the terminal server, you need to make a crossover cable that
connects each pin on the SPARC Enterprise T5120 or T5220 server serial
management port to the corresponding pin in the terminal server’s serial port.
TABLE 1-2 shows the crossovers that the cable must perform.
12 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
TABLE 1-2 Pin Crossovers for Connecting to a Typical Terminal Server (Continued)
For example, for a SPARC Enterprise T5120 or T5220 server connected to port 10000
on a terminal server whose IP address is 192.20.30.10, you would type:
2. Ensure that the /etc/remote file on the other system contains an entry for
hardwire.
Most releases of Solaris OS software shipped since 1992 contain an /etc/remote
file with the appropriate hardwire entry. However, if the system is running an
older version of Solaris OS software, or if the /etc/remote file has been
modified, you might need to edit it. See “Modifying the /etc/remote File” on
page 15 for details.
14 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
3. In a shell tool window on the other system, type:
% tip hardwire
connected
The shell tool is now a Tip window directed to the SPARC Enterprise T5120 or
T5220 server through the system’s serial port. This connection is established and
maintained even when the server is completely powered off or just starting up.
Note – Use a shell tool or a terminal (such as dtterm), not a command tool. Some
Tip commands might not work properly in a command tool window.
# uname -r
hardwire:\
:dv=/dev/term/b:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
Note – If you intend to use the system’s serial port A rather than serial port B, edit
this entry by replacing /dev/term/b with /dev/term/a.
hardwire:\
:dv=/dev/ttyb:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
Note – If you intend to use the system’s serial port A rather than serial port B, edit
this entry by replacing /dev/ttyb with /dev/ttya.
If you have redirected the system console to ttyb and want to change the system
console settings back to use the serial management and network management ports,
see “System Console OpenBoot Configuration Variable Settings” on page 28.
16 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
▼ To Access the System Console Through an Alphanumeric
Terminal
1. Attach one end of the serial cable to the alphanumeric terminal’s serial port.
Use a null modem serial cable or an RJ-45 serial cable and null modem adapter.
Connect this cable to the terminal’s serial port connector.
2. Attach the opposite end of the serial cable to the serial management port on
the SPARC Enterprise T5120 or T5220 server.
Refer to the documentation accompanying your terminal for information about how
to configure the terminal.
You can now issue system commands and view system messages using the
alphanumeric terminal. Continue with your installation or diagnostic procedure, as
needed. When you are finished, type the alphanumeric terminal’s escape sequence.
For more information about connecting to and using the ILOM service processor,
refer to the ILOM guide and the ILOM supplement for your server.
To install a local graphics monitor, you must have the following items:
■ Supported PCI-based graphics accelerator card and software driver
■ Monitor with appropriate resolution to support the frame buffer
■ Supported USB keyboard
2. Attach the monitor’s video cable to the graphics card’s video port.
Tighten the thumbscrews to secure the connection.
4. Connect the USB keyboard cable to one USB port and the USB mouse cable to
the other USB port on the SPARC Enterprise T5120 or T5220 server back panel
(FIGURE 1-3).
Note – There are many other system configuration variables. Although these
variables do not affect which hardware device is used to access the system console,
some of them affect which diagnostic tests the system runs and which messages the
system displays at its console. For details, refer to the service manual for your server.
ok reset-all
The system stores the parameter changes, and boots automatically when the
OpenBoot configuration variable auto-boot? is set to true (the default value).
18 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Note – To cause the parameter changes to take effect, you can also power cycle the
system using the front panel Power button.
You can now issue system commands and view system messages using your local
graphics monitor. Continue with your installation or diagnostic procedure, as
needed.
If you want to redirect the system console back to the serial management and
network management ports, see “System Console OpenBoot Configuration Variable
Settings” on page 28.
Network management or
Serial management port
start/SP/console
ok ->
#.
If the system console is configured to be accessible from the serial management and
network management ports, when you connect through one of these ports you can
access either the ILOM command-line interface or the system console. You can
switch between the ILOM service processor prompt and the system console at any
time, but you cannot access both at the same time from a single terminal window or
shell tool.
20 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
The prompt displayed on the terminal or shell tool tells you which channel you are
accessing:
■ The # or % prompt indicates that you are at the system console and that the
Solaris OS is running.
■ The ok prompt indicates that you are at the system console and that the server is
running under OpenBoot firmware control.
■ The -> prompt indicates that you are at the service processor.
● To reach the system console from the service processor, type the
start /SP/console command at the -> prompt.
● To reach the service processor from the system console, type the service
processor escape sequence. By default, the escape sequence is #. (Pound-
Period).
For more information about communicating with the service processor and system
console, see:
■ “Communicating With the System” on page 1
■ “ILOM -> Prompt” on page 21
■ “OpenBoot ok Prompt” on page 23
■ “Accessing the Service Processor” on page 8
■ The ILOM user’s guide and the ILOM supplement for your server
Note – To view ILOM service processor boot messages, you must establish a
connection using a serial device (such as an Alphanumeric terminal) to the serial
management port before connecting AC power cords to the SPARC Enterprise T5120
or T5220 server.
The -> prompt indicates that you are interacting with the ILOM service processor
directly. It is the first prompt you see when you log in to the system through the
serial management port or network management port, regardless of host’s power
state.
Note – When you access the ILOM service processor for the first time, the default
username is root and the default password is changeme.
For more information on navigating to or from the ILOM prompt, see the following:
“Switching Between the Service Processor and the System Console” on page 19
Any additional ILOM sessions afford passive views of system console activity, until
the active user of the system console logs out.
22 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
■ You can log in directly to the service processor from a device connected to the
serial management port. See “Accessing the Service Processor” on page 8.
■ You can log in directly to the service processor using a connection through the
network management port. See “Activating the Network Management Port” on
page 9.
OpenBoot ok Prompt
A SPARC Enterprise T5120 or T5220 server with the Solaris OS installed operates at
different run levels. For a full description of run levels, refer to the Solaris system
administration documentation.
Most of the time, you operate a SPARC Enterprise T5120 or T5220 server at run level
2 or run level 3, which are multiuser states with access to full system and network
resources. Occasionally, you might operate the system at run level 1, which is a
single-user administrative state. However, the lowest operational state is run level 0.
At this state, it is safe to turn off power to the system.
When a SPARC Enterprise T5120 or T5220 server is at run level 0, the ok prompt
appears. This prompt indicates that the OpenBoot firmware is in control of the
system.
There are a number of scenarios under which OpenBoot firmware control can occur.
■ By default, before the operating system is installed the system comes up under
OpenBoot firmware control.
■ When the auto-boot? OpenBoot configuration variable is set to false, the
system boots to the ok prompt.
■ When the operating system is halted, the system transitions to run level 0 in an
orderly way.
■ When the operating system crashes, the system reverts to OpenBoot firmware
control.
■ During the boot process, when there is a serious hardware problem that prevents
the operating system from running, the system reverts to OpenBoot firmware
control.
■ When a serious hardware problem develops while the system is running, the
operating system transitions smoothly to run level 0.
■ When you deliberately place the system under firmware control in order to
execute firmware-based commands.
Note – As a rule, before suspending the operating system you should back up files,
warn users of the impending shutdown, and halt the system in an orderly manner.
However, it is not always possible to take such precautions, especially if the system
is malfunctioning.
Graceful Shutdown
The preferred method of reaching the ok prompt is to shut down the operating
system by issuing an appropriate command (for example, the shutdown, init, or
uadmin command) as described in Solaris system administration documentation.
You can also use the system Power button to initiate a graceful system shutdown.
Gracefully shutting down the system prevents data loss, enables you to warn users
beforehand, and causes minimal disruption. You can usually perform a graceful
shutdown, provided the Solaris OS is running and the hardware has not experienced
serious failure.
You can also perform a graceful system shutdown from the ILOM service processor
command prompt using the stop /SYS command.
24 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
ILOM set /HOST send_break_action=break,
start /SP/console Commands, or Break Key
Typing set /HOST send_break_action=break from the -> prompt forces a
running SPARC Enterprise T5120 or T5220 server to drop to a menu:
c)ontinue, s)ync, r)eboot, h)alt?
If the operating system is already halted, you can use the start /SP/console
command instead of set /HOST send_break_action=break to reach the ok
prompt.
Note – After forcing the system into OpenBoot firmware control, be aware that
issuing certain OpenBoot commands (like probe-scsi, probe-scsi-all, or
probe-ide) might hang the system.
When it is impossible or impractical to shut down the system gracefully, you can get
to the ok prompt, if you have an alphanumeric terminal attached to the SPARC
Enterprise T5120 or T5220 server, by pressing the Break key.
Note – These methods of reaching the ok prompt will only work if the system
console has been redirected to the appropriate port. For details, see “System Console
OpenBoot Configuration Variable Settings” on page 28.
Caution – Forcing a manual system reset results in loss of system state data, and
should be attempted only as a last resort. After a manual system reset, all state
information is lost, which inhibits troubleshooting the cause of the problem until the
problem reoccurs.
Use the ILOM service processor reset /SYS command, or start /SYS and
stop /SYS commands, to reset the server. Reaching the ok prompt by performing a
manual system reset or by power-cycling the system should be the method of last
resort. Using these commands results in the loss of all system coherence and state
When you access the ok prompt from a functioning SPARC Enterprise T5120 or
T5220 server, you are suspending the Solaris OS and placing the system under
firmware control. Any processes that were running under the operating system are
also suspended, and the state of such processes might not be recoverable.
The commands you run from the ok prompt have the potential to affect the state of
the system. This means that it is not always possible to resume execution of the
operating system from the point at which it was suspended. Although the go
command will resume execution in most circumstances, each time you drop the
system down to the ok prompt, you should expect to have to reboot the system to
get back to the operating system.
Caution – Obtaining the ok prompt suspends all application and operating system
software. After you issue firmware commands and run firmware-based tests from
the ok prompt, the system might not be able to resume where it left off.
If possible, back up system data before starting this procedure. Also exit or stop all
applications, and warn users of the impending loss of service. For information about
the appropriate backup and shutdown procedures, see Solaris system administration
documentation.
26 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
▼ To Obtain the ok Prompt
1. Decide which method you need to use to reach the ok prompt.
See “OpenBoot ok Prompt” on page 23 for details.
Graceful shutdown of the From a shell or command tool window, issue an appropriate command (for
Solaris OS example, the shutdown or init command) as described in Solaris system
administration documentation.
Break key From an alphanumeric terminal configured to access the system console, press the
Break key.
ILOM commands From the -> prompt, type the set /HOST send_break_action=break
command. Then issue the start /SP/console command, provided the
operating system software is not running and the server is already under
OpenBoot firmware control.
Manual system reset From the -> prompt, type:
-> set /HOST/bootmode script="setenv auto-boot? false"
Press Enter.
then type:
-> reset /SYS
TABLE 1-4 OpenBoot Configuration Variables That Affect the System Console
Note – POST output will still be directed to the serial management port, as POST
has no mechanism to direct its output to a graphics monitor.
The serial management port does not function as a standard serial connection. (If
you want to connect a conventional serial device (such as a printer) to the system,
you must connect it to ttya not to the serial management port.)
The -> prompt and POST messages are only available through the serial
management port and network management port. The ILOM service processor
start /SP/console command is ineffective when the system console is redirected
to a local graphics monitor.
In addition to the OpenBoot configuration variables described in TABLE 1-4, there are
other variables that affect and determine system behavior. These variables are
discussed in more detail in Appendix A.
28 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
CHAPTER 2
Note – This chapter does not cover detailed troubleshooting and diagnostic
procedures. For information about fault isolation and diagnostic procedures, refer to
the service manual for your server.
29
After you log in to your ILOM account, the ILOM service processor command
prompt (->) appears, and you can enter ILOM service processor commands. If the
command you want to use has multiple options, you can either enter the options
individually or grouped together, as shown in the following example.
Logging In To ILOM
All environmental monitoring and control is handled by ILOM on the ILOM service
processor. The ILOM service processor command prompt (->) provides you with a
way of interacting with ILOM. For more information about the -> prompt, see
“ILOM -> Prompt” on page 21.
Note – This procedure assumes that the system console is directed to use the serial
management and network management ports (the default configuration).
30 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
▼ To Log In To ILOM
1. At the ILOM login prompt, enter the login name and press Return.
The default login name is root.
2. At the password prompt, enter the password and press Return to get to the ->
prompt.
Note – The default user is root and the password is changeme. For more
information, refer to the installation guide, the ILOM user’s guide, and the ILOM
supplement for your server.
Caution – In order to provide optimum system security, change the default system
password during initial setup.
Using the ILOM service processor, you can monitor the system, turn the Locator
LED on and off, or perform maintenance tasks on the ILOM service processor itself.
For more information, refer to the ILOM user’s guide and the ILOM supplement for
your server.
Note – You do not need ILOM Administrator permissions to use this command.
32 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
TABLE 2-2 System LED Behaviors with Assigned Meanings (Continued)
FIGURE 2-2 Locator Button (top button) on SPARC Enterprise T5220 Chassis
● To turn on the Locator LED, from the ILOM service processor command
prompt, type:
34 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
● To turn off the Locator LED, from the ILOM service processor command
prompt, type:
● To display the state of the Locator LED, from the ILOM service processor
command prompt, type:
Note – You do not need Administrator permissions to use the set /SYS/LOCATE
and show /SYS/LOCATE commands
Note – If you do not issue the stop /SYS and start /SYS commands or the
reset /SYS command within 10 minutes, the host server ignores the
set/HOST/bootmode commands.
You can issue the show /HOST/bootmode command without arguments to display
the current setting
/HOST/bootmode
Targets:
Properties:
config = (none)
expires = Tue Jan 19 03:14:07 2038
script = (none)
state = normal
36 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
4. To view console output as the system boots with default OpenBoot
configuration variables, switch to console mode.
->
5. To discard any customized IDPROM values and restore the default settings for
all OpenBoot configuration variables, type:
Stop-F Functionality
The Stop-F functionality is not available on systems with USB keyboards.
Stop-D Functionality
The Stop-D (Diags) key sequence is not supported on systems with USB keyboards.
However, you can closely emulate the Stop-D functionality by setting the virtual
keyswitch to diag, using the ILOM set /SYS keyswitch_state=diag
command. For more information, refer to the ILOM guide and the ILOM supplement
for your server.
For more information about ASR, refer to the service manual for your server.
Auto-Boot Options
The system firmware stores a configuration variable called auto-boot?, which
controls whether the firmware will automatically boot the operating system after
each reset. The default setting for SPARC Enterprise platforms is true.
Note – The default setting for auto-boot-on-error? is false. The system will
not attempt a degraded boot unless you change this setting to true. In addition, the
system will not attempt a degraded boot in response to any fatal nonrecoverable
error, even if degraded booting is enabled. For examples of fatal nonrecoverable
errors, see “Error Handling Summary” on page 38.
38 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
■ SAS subsystem failure. In this case, a working alternate path to the boot disk is
required. For more information, see “Multipathing Software” on page 46.
■ Ethernet interface failure.
■ USB interface failure.
■ Serial interface failure.
■ PCI card failure.
■ Memory failure. Given a failed DIMM, the firmware will unconfigure the entire
logical bank associated with the failed module. Another nonfailing logical
bank must be present in the system for the system to attempt a degraded boot.
Note – If POST or OpenBoot firmware detects a nonfatal error associated with the
normal boot device, the OpenBoot firmware automatically unconfigures the failed
device and tries the next-in-line boot device, as specified by the boot-device
configuration variable.
■ If a fatal error is detected by POST or OpenBoot firmware, the system does not
boot regardless of the settings of auto-boot? or auto-boot-on-error?. Fatal
nonrecoverable errors include the following:
■ Any CPU failed
■ All logical memory banks failed
■ Flash RAM cyclical redundancy check (CRC) failure
■ Critical field-replaceable unit (FRU) PROM configuration data failure
■ Critical system configuration card (SCC) read failure
■ Critical application-specific integrated circuit (ASIC) failure
For more information about troubleshooting fatal errors, refer to the service manual
for your server.
Reset Scenarios
Three ILOM /HOST/diag configuration properties, mode, level, and trigger,
control whether the system runs firmware diagnostics in response to system reset
events.
Keyswitch Value
If keyswitch_state is set to diag, the system can power itself on using preset values of
diagnostic properties (/HOST/diag level=max, /HOST/diag mode=max, /HOST/diag
verbosity=max) to provide thorough fault coverage. This option overrides the values of
diagnostic properties that you might have set elsewhere.
Property Value
For instructions on automatic system recovery (ASR), see “Enabling and Disabling
Automatic System Recovery” on page 41.
40 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Enabling and Disabling Automatic System
Recovery
The automatic system recovery (ASR) feature is not activated until you enable it.
Enabling ASR requires changing configuration variables in ILOM as well as in
OpenBoot.
Note – For more information about OpenBoot configuration variables, refer to the
service manual for your server.
ok reset-all
The system permanently stores the parameter changes and boots automatically
when the OpenBoot configuration variable auto-boot? is set to true (its default
value).
Note – To store parameter changes, you can also power cycle the system using the
front panel Power button.
ok reset-all
Note – To store parameter changes, you can also power cycle the system using the
front panel Power button.
After you disable the ASR feature, it is not activated again until you re-enable it.
42 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Unconfiguring and Reconfiguring
Devices
To support a degraded boot capability, the ILOM firmware provides the
set Device_Identifier component_state=disabled command, which enables you to
unconfigure system devices manually. This command “marks” the specified device
as disabled by creating an entry in the ASR database. Any device marked disabled,
whether manually or by the system’s firmware diagnostics, is removed from the
system’s machine description prior to the hand-off to other layers of system
firmware, such as OpenBoot PROM.
Where the Device_Identifier is one of the device identifiers from TABLE 2-5
Note – The device identifiers are not case sensitive. You can type them as uppercase
or lowercase characters.
This command displays the fault ID, the faulted FRU device, and the fault message
to standard output. The show /SP/faultmgmt command also displays POST
results.
44 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
For example:
/SP/faultmgmt
Targets:
0 (/SYS/PS1)
Properties:
Commands:
cd
show
->
For more information about the show /SP/faultmgmt command, refer to the ILOM
guide and the ILOM supplement for your server.
▼ To Clear a Fault
● Type:
Setting clear_fault_action to true clears the fault at the component and all
levels below it in the /SYS tree.
For the Sun SPARC Enterprise T5120 or T5220 Servers, three different types of
multipathing software are available:
■ Solaris IP Network Multipathing software provides multipathing and
load-balancing capabilities for IP network interfaces.
■ VERITAS Volume Manager (VVM) software includes a feature called Dynamic
Multipathing (DMP), which provides disk multipathing as well as disk load
balancing to optimize I/O throughput.
■ Sun StorEdge™ Traffic Manager is an architecture fully integrated within the
Solaris OS (beginning with the Solaris 8 release) that enables I/O devices to be
accessed through multiple host controller interfaces from a single instance of the
I/O device.
For information about VVM and its DMP feature, refer to the documentation
provided with the VERITAS Volume Manager software.
For information about Sun StorEdge Traffic Manager, refer to your Solaris OS
documentation.
46 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
CHAPTER 3
This chapter describes redundant array of independent disks (RAID) concepts, and
how to configure and manage RAID disk volumes using the SPARC Enterprise
T5120 or T5220 server’s onboard serial attached SCSI (SAS) disk controller.
Requirements
To configure and use RAID disk volumes on the SPARC Enterprise T5120 or T5220
server, you must install the appropriate patches. For the latest information on
patches for the SPARC Enterprise T5120 or T5220 server, see the latest product notes
for your system.
Installation procedures for patches are included in text README files that
accompany the patches.
Disk Volumes
From the perspective of the on-board disk controller on the SPARC Enterprise T5120
and T5220 servers, disk volumes are logical disk devices comprising one or more
complete physical disks.
47
Once you create a volume, the operating system uses and maintains the volume as if
it were a single disk. By providing this logical volume management layer, the
software overcomes the restrictions imposed by physical disk devices.
The onboard disk controller of the SPARC Enterprise T5120 or T5220 server provides
for the creation of as many as two hardware RAID volumes. The controller supports
either two-disk RAID 1 (integrated mirror, or IM) volumes, or up to eight-disk RAID
0 (integrated stripe, or IS) volumes.
Note – Due to the volume initialization that occurs on the disk controller when a
new volume is created, properties of the volume such as geometry and size are
unknown. RAID volumes created using the hardware controller must be configured
and labeled using format(1M) prior to use with the Solaris Operating System. See
“To Configure and Label a Hardware RAID Volume for Use in the Solaris Operating
System” on page 57, or the format(1M) man page for further details.
Volume migration (relocating all RAID volume disk members from one SPARC
Enterprise T5120 or T5220 chassis to another) is not supported. If you must perform
this operation, contact your service provider.
RAID Technology
RAID technology enables the construction of a logical volume, made up of several
physical disks, in order to provide data redundancy, increased performance, or both.
The SPARC Enterprise T5120 or T5220 server’s on-board disk controller supports
both RAID 0 and RAID 1 volumes.
This section describes the RAID configurations supported by the onboard disk
controller:
■ Integrated Stripe, or IS volumes (RAID 0)
■ Integrated Mirror, or IM volumes (RAID 1)
48 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Integrated Stripe volumes provide for a logical unit (LUN) that is equal in capacity
to the sum of all its member disks. For example, a three-disk IS volume configured
on 72-gigabyte drives will have a capacity of 216 gigabytes.
IS volumes are likely to provide better performance than IM volumes or single disks.
Under certain workloads, particularly some write or mixed read-write workloads,
I/O operations complete faster because the I/O operations are being handled in a
round-robin fashion, with each sequential block being written to each member disk
in turn.
Whenever the operating system needs to write to a mirrored volume, both disks are
updated. The disks are maintained at all times with exactly the same information.
When the operating system needs to read from the mirrored volume, it reads from
whichever disk is more readily accessible at the moment, which can result in
enhanced performance for read operations.
Caution – Creating RAID volumes using the on-board disk controller destroys all
data on the member disks. The disk controller’s volume initialization procedure
reserves a portion of each physical disk for metadata and other internal information
used by the controller. Once the volume initialization is complete, you can configure
the volume and label it using the format(1M) utility. You can then use the volume
in the Solaris OS.
A hardware RAID volume created under the raidctl utility behaves slightly
differently than one created using volume management software. Under a software
volume, each device has its own entry in the virtual device tree, and read-write
operations are performed to both virtual devices. Under hardware RAID volumes,
only one device appears in the device tree. Member disk devices are invisible to the
operating system, and are accessed only by the SAS controller.
50 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Physical Disk Slot Numbers, Physical Device
Names, and Logical Device Names for Non-RAID
Disks
To perform a disk hot-plug procedure, you must know the physical or logical device
name for the drive that you want to install or remove. If your system encounters a
disk error, often you can find messages about failing or failed disks in the system
console. This information is also logged in the /var/adm/messages files.
These error messages typically refer to a failed hard drive by its physical device
name (such as /devices/pci@1f,700000/scsi@2/sd@1,0) or by its logical device
name (such as c0t1d0). In addition, some applications might report a disk slot
number (0 through 3).
You can use TABLE 3-1 to associate internal disk slot numbers with the logical and
physical device names for each hard drive.
TABLE 3-1 Disk Slot Numbers, Logical Device Names, and Physical Device Names
# raidctl
No RAID volumes found.
See “Physical Disk Slot Numbers, Physical Device Names, and Logical Device
Names for Non-RAID Disks” on page 51.
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
------------------------------------------------------------
c0t0d0 IM OK c0t0d0 OK
c0t1d0 OK
In this example, a single IM volume has been enabled. It is fully synchronized and is
online.
The SPARC Enterprise T5120 or T5220 server’s on-board SAS controller can
configure as many as two RAID volumes. Prior to volume creation, ensure that the
member disks are available and that there are not two volumes already created.
The Disk Status column displays the status of each physical disk. Each member disk
might be OK, indicating that it is online and functioning properly, or it might be
FAILED, MISSING, or otherwise OFFLINE, indicating that the disk has hardware or
configuration issues that need to be addressed.
For example, an IM with a secondary disk that has been removed from the chassis
appears as:
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
------------------------------------------------------
c0t0d0 IM DEGRADED c0t0d0 OK
c0t1d0 MISSING
See the raidctl(1M) man page for additional details regarding volume and disk
status.
52 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
Note – The logical device names might appear differently on your system,
depending on the number and type of add-on disk controllers installed.
As an alternative, you can use the –f option to force the creation if you are sure
of the member disks, and sure that the data on both member disks can be lost.
For example:
When you create a RAID mirror, the secondary drive (in this case, c0t1d0)
disappears from the Solaris device tree.
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
--------------------------------------------------------
c0t0d0 IM RESYNCING c0t0d0 OK
c0t1d0 OK
The preceding example indicates that the RAID mirror is still re-synchronizing
with the backup drive.
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
------------------------------------------------------
c0t0d0 IM OK c0t0d0 OK
c0t1d0 OK
The disk controller synchronizes IM volumes one at a time. If you create a second IM
volume before the first IM volume completes its synchronization, the first volume’s
RAID status will indicate RESYNCING, and the second volume’s RAID status will
indicate OK. Once the first volume has completed, its RAID status changes to OK, and
the second volume automatically starts synchronizing, with a RAID status of
RESYNCING.
Under RAID 1 (disk mirroring), all data is duplicated on both drives. If a disk fails,
replace it with a working drive and restore the mirror. For instructions, see “To
Perform a Mirrored Disk Hot-Plug Operation” on page 62.
For more information about the raidctl utility, see the raidctl(1M) man page.
This section describes the procedure required to create a hardware RAID volume
containing the default boot device. Since the boot device always has a mounted file
system when booted, an alternate boot medium must be employed, and the volume
created in that environment. One alternate medium is a network installation image
in single-user mode (refer to the Solaris 10 Installation Guide for information about
configuring and using network-based installations).
54 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
1. Determine which disk is the default boot device
From the OpenBoot ok prompt, type the printenv command, and if necessary
the devalias command, to identify the default boot device. For example:
ok printenv boot-device
boot-device = disk
ok devalias disk
disk /pci@0/pci@0/pci@2/scsi@0/disk@0,0
ok boot net –s
3. Once the system has booted, use the raidctl(1M) utility to create a hardware
mirrored volume, using the default boot device as the primary disk.
See “To Create a Hardware Mirrored Volume” on page 51. For example:
4. Install the volume with the Solaris OS using any supported method.
The hardware RAID volume c0t0d0 appears as a disk to the Solaris installation
program.
Note – The logical device names might appear differently on your system,
depending on the number and type of add-on disk controllers installed.
# raidctl
No RAID volumes found.
Note – The logical device names might appear differently on your system,
depending on the number and type of add-on disk controllers installed.
When you create a RAID striped volume, the other member drives (in this case,
c0t2d0 and c0t3d0) disappear from the Solaris device tree.
As an alternative, you can use the –f option to force the creation if you are sure
of the member disks, and sure that the data on all other member disks can be
lost. For example:
3. To check the status of a RAID striped volume, type the following command:
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
--------------------------------------------------------
c0t1d0 IS OK c0t1d0 OK
c0t2d0 OK
c0t3d0 OK
56 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
The example shows that the RAID striped volume is online and functioning.
Under RAID 0 (disk striping), there is no replication of data across drives. The data
is written to the RAID volume across all member disks in a round-robin fashion. If
any one disk is lost, all data on the volume is lost. For this reason, RAID 0 cannot be
used to ensure data integrity or availability, but can be used to increase write
performance in some scenarios.
For more information about the raidctl utility, see the raidctl(1M) man page.
# format
The format utility might generate messages about corruption of the current
label on the volume, which you are going to change. You can safely ignore these
messages.
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14084 alt 2 hd 24 sec 424>
/pci@0/pci@0/pci@2/scsi@0/sd@0,0
1. c0t1d0 <SUN72G cyl 14084 alt 2 hd 24 sec 424>
/pci@0/pci@0/pci@2/scsi@0/sd@1,0
2. c0t2d0 <SUN72G cyl 14084 alt 2 hd 24 sec 424>
/pci@0/pci@0/pci@2/scsi@0/sd@2,0
Specify disk (enter its number): 2
selecting c0t2d0
[disk formatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
58 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
3. Type the type command at the format> prompt, then select 0 (zero) to auto
configure the volume.
For example:
format> type
5. Write the new label to the disk using the label command.
format> label
Ready to label disk, continue? yes
6. Verify that the new label has been written by printing the disk list using the
disk command.
format> disk
Note – The logical device names might appear differently on your system,
depending on the number and type of add-on disk controllers installed.
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
------------------------------------------------------
c0t0d0 IM OK c0t0d0 OK
c0t1d0 OK
Note – The logical device names might appear differently on your system,
depending on the number and type of add-on disk controllers installed.
60 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
3. To delete the volume, type the following command:
# raidctl -d mirrored-volume
For example:
# raidctl -d c0t0d0
RAID Volume ‘c0t0d0’ deleted
In the event that the RAID volume is an IS volume, the deletion of the RAID
volume is interactive, for example:
# raidctl -d c0t0d0
Deleting volume c0t0d0 will destroy all data it contains, proceed
(yes/no)? yes
Volume ’c0t0d0’ deleted.
#
The deletion of an IS volume results in the loss of all data that it contains. As an
alternative, you can use the –f option to force the deletion if you are sure that
you no longer need the IS volume, or the data it contains. For example:
# raidctl -f -d c0t0d0
Volume ’c0t0d0’ deleted.
#
4. To confirm that you have deleted the RAID array, type the following command:
# raidctl
For example:
# raidctl
No RAID volumes found
# raidctl
If the Disk Status is FAILED, then the drive can be removed and a new drive
inserted. Upon insertion, the new disk should be OK and the volume should be
RESYNCING.
For example:
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
--------------------------------------------------------
c0t1d0 IM DEGRADED c0t1d0 OK
c0t2d0 FAILED
This example indicates that the disk mirror has degraded due to a failure in disk
c0t2d0.
Note – The logical device names might appear differently on your system,
depending on the number and type of add-on disk controllers installed.
62 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
5. To check the status of a RAID rebuild, type the following command:
# raidctl
For example:
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
--------------------------------------------------------
c0t1d0 IM RESYNCING c0t1d0 OK
c0t2d0 OK
If you issue the command again once synchronization has completed, it indicates
that the RAID mirror is finished resynchronizing and is back online:
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
--------------------------------------------------------
c0t1d0 IM OK c0t1d0 OK
c0t2d0 OK
# cfgadm -al
For example:
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t1d0 disk connected configured unknown
c0::dsk/c0t2d0 disk connected configured unknown
c0::dsk/c0t3d0 disk connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 CD-ROM connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb1/1.1 unknown empty unconfigured ok
usb1/1.2 unknown empty unconfigured ok
usb1/1.3 unknown empty unconfigured ok
usb1/1.4 unknown empty unconfigured ok
usb1/2 unknown empty unconfigured ok
#
Note – The logical device names might appear differently on your system,
depending on the number and type of add-on disk controllers installed.
The -al options return the status of all SCSI devices, including buses and USB
devices. In this example, no USB devices are connected to the system.
Note that while you can use the Solaris OS cfgadm install_device and cfgadm
remove_device commands to perform a hard drive hot-plug procedure, these
commands issue the following warning message when you invoke them on a bus
containing the system disk:
64 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
This warning is issued because these commands attempt to quiesce the (SAS) SCSI
bus, but the server firmware prevents it. This warning message can be safely ignored
in the SPARC Enterprise T5120 or T5220 server, but the following step avoids this
warning message altogether.
For example:
This example removes c0t3d0 from the device tree. The blue OK-to-Remove
LED lights.
4. Verify that the device has been removed from the device tree.
Type the following command:
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t1d0 disk connected configured unknown
c0::dsk/c0t2d0 disk connected configured unknown
c0::dsk/c0t3d0 unavailable connected configured unknown
c1 scsi-bus connected unconfigured unknown
c1::dsk/c1t0d0 CD-ROM connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb1/1.1 unknown empty unconfigured ok
usb1/1.2 unknown empty unconfigured ok
usb1/1.3 unknown empty unconfigured ok
usb1/1.4 unknown empty unconfigured ok
usb1/2 unknown empty unconfigured ok
#
For example:
The green Activity LED flashes as the new disk at c1t3d0 is added to the device
tree.
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t1d0 disk connected configured unknown
c0::dsk/c0t2d0 disk connected configured unknown
c0::dsk/c0t3d0 disk connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 CD-ROM connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb1/1.1 unknown empty unconfigured ok
usb1/1.2 unknown empty unconfigured ok
usb1/1.3 unknown empty unconfigured ok
usb1/1.4 unknown empty unconfigured ok
usb1/2 unknown empty unconfigured ok
#
66 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
CHAPTER 4
SPARC Enterprise servers support the Logical Domains (LDoms) 1.0 software that is
used to create and manage logical domains. The software comprises LDoms-
enabling code in the Solaris 10 11/06 OS, LDoms-enabling in System Firmware 6.4,
and the Logical Domains Manager, which is the command-line interface.
LDoms software enables you to create and manage as many as 32 logical domains,
depending on the hardware configuration of the server on which the Logical
Domains Manager has been installed. You can virtualize resources and define
network, storage, and other I/O devices as services that can be shared between
domains.
67
A logical domain is a discrete logical grouping with its own operating systems,
resources, and identity within a single computer system. Applications software can
run in logical domains Each logical domain can be created, destroyed, reconfigured,
and rebooted independently, without requiring a power cycle of the server. There are
several roles that logical domains can perform as shown in the following table.
Control domain Domain in which the Logical Domains Manager runs, enabling you to
create and manage other logical domains and allocate virtual resources to
other domains. There can be only one control domain per server. The
initial domain created when installing Logical Domains software is a
control domain and is named primary.
Service domain Domain that provides virtual device services to other domains, such as a
virtual switch, a virtual console concentrator, and a virtual disk server.
I/O domain Domain that has direct ownership of and direct access to physical I/O
devices, such as a network card in a PCI Express controller. Shares the
devices to other domains in the form of virtual devices. You can have a
maximum of two I/O domains, one of which also must be the control
domain.
Guest domain Domain that is managed by the control domain and uses services from
the I/O and service domains.
68 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
■ (Required) Solaris 10 11/06 Operating System – Refer to the Solaris 10 Collection
for more information.
■ (Required) Solaris 10 11/06 OS patches:
■ 124921-02, which contains updates to the Logical Domains 1.0 drivers and
utilities. Logical Domains networking will be broken without this patch.
■ 125043-01, which contains updates to the console (qcn) drivers. This patch
depends on KU 118833-36, so if this is not already updated on your system,
you will need to do so.
For further information about patches, see the product notes for your server.
■ (Required) System firmware version 6.4.x – Refer to your server’s documentation
for more information.
■ (Required) Logical Domains Manager 1.0.x software.
■ (Recommended) Solaris Security Toolkit 4.2 software – Refer to the Solaris
Security Toolkit 4.2 Administration Guide and Solaris Security Toolkit 4.2
Reference Manual for more information.
Note – During the boot process, domains that use virtual boot devices must wait for
their service domains to come online first. This can prolong the boot process.
TABLE A-1 describes the OpenBoot firmware configuration variables stored in non-
volatile memory on the system. The OpenBoot configuration variables are printed
here in the order in which they appear when you issue the following command:
-> show –o table –level all /SYS
TABLE A-1 OpenBoot Configuration Variables Stored on the System Configuration Card
local-mac-address? true, false true If true, network drivers use their own
MAC address, not the server MAC address.
fcode-debug? true, false false If true, include name fields for plug-in
device FCodes.
scsi-initiator-id 0-15 7 SCSI ID of the Serial Attached SCSI
controller.
oem-logo? true, false false If true, use custom OEM logo; otherwise,
use the server manufacturer’s logo.
oem-banner? true, false false If true, use custom OEM banner.
ansi-terminal? true, false true If true, enable ANSI terminal emulation.
screen-#columns 0-n 80 Sets number of columns on screen.
screen-#rows 0-n 34 Sets number of rows on screen.
ttya-rts-dtr-off true, false false If true, operating system does not assert
rts (request-to-send) and dtr
(data-transfer-ready) on serial management
port.
ttya-ignore-cd true, false true If true, operating system ignores carrier-
detect on serial management port.
71
TABLE A-1 OpenBoot Configuration Variables Stored on the System Configuration Card (Continued)
72 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
TABLE A-1 OpenBoot Configuration Variables Stored on the System Configuration Card (Continued)
Symbols B
/etc/remote file, 14 Break key (alphanumeric terminal), 27
modifying, 15
-> commands C
reset /SYS, 36 cables, keyboard and mouse, 18
set /HOST/bootmode, 36 cfgadm (Solaris command), 64
set /SYS/LOCATE, 34, 35 cfgadm install_device (Solaris command),
show /SYS/LOCATE, 35 cautions against using, 64
-> prompt cfgadm remove_device (Solaris command),
about, 21, 29 cautions against using, 64
accessing from network management port, 23
Cisco AS2511-RJ Terminal Server, connecting, 11
accessing from serial management port, 23
multiple sessions, 22 command prompts, explained, 21
system console escape sequence (#.), 22 communicating with the system
system console, switching between, 19 about, 1
ways to access, 22 options, table, 2
console configuration, connection alternatives
A explained, 7
Activity (disk drive LED), 66
alphanumeric terminal D
accessing system console from, 16 default system console configuration, 5
setting baud rate, 17 device identifiers, listed, 43
auto-boot (OpenBoot configuration variable), 23, device reconfiguration, manual, 44
38 device unconfiguration, manual, 43
automatic system recovery (ASR) device, disabling, 43
about, 37 device, enabling, 44
commands, 40 disabling a device, 43
disabling, 41
disk configuration
enabling, 41
RAID 0, 48
obtaining recovery information, 42
RAID 1, 49
disk drives
LEDs
75
Activity, 66 nonmirrored disk drive, 63
OK-to-Remove, 65 on hardware disk mirror, 62
logical device names, table, 51
disk hot-plug I
mirrored disk, 62 ILOM commands
nonmirrored disk, 63 reset /SYS, 25
disk slot number, reference, 51 show, 11
disk volumes ILOM, See Integrated Lights Out Manager (ILOM)
about, 47 init (Solaris command), 24, 27
deleting, 61 input-device (OpenBoot configuration
dtterm (Solaris utility), 15 variable), 18, 28
Dynamic Host Configuration Protocol (DHCP) Integrated Lights Out Manager (ILOM)
client on network management port, 11 -> prompt, See -> prompt
commands, See -> prompt
E escape sequence (#.), 22
enabling a device, 44 logging in, 30
environmental information, viewing, 31 multiple connections to, 22
error handling, summary, 38
escape sequence (#.), service processor, 22
K
keyboard, attaching, 18
F
fsck (Solaris command), 26
L
LEDs
Activity (disk drive LED), 66
G
OK-to-Remove (disk drive LED), 65
go (OpenBoot command), 26
LEDs, Locator (system status LED), 33
graceful system halt, 24, 27
Locator (system status LED)
graphics monitor
controlling from -> prompt, 34, 35
accessing system console from, 17
Locator (system status LED), controlling, 33
connecting to PCI graphics card, 18
restrictions against using for initial setup, 17 logging in to the Integrated Lights Out Manager
restrictions against using to view POST (ILOM), 30
output, 17 logical device name (disk drive), reference, 51
H M
halt, gracefully, advantages of, 24, 27 manual device reconfiguration, 44
hardware disk mirror manual device unconfiguration, 43
about, 50 manual system reset, 25, 27
hot-plug operation, 62 monitor, attaching, 17
hardware disk mirrored volume multiple ILOM sessions, 22
checking the status of, 53
hardware disk stripe N
about, 48 network management port (NET MGT)
hardware disk striped volume activating, 9
checking the status of, 56 nonmirrored disk hot-plug operation, 63
hardware disk striping, about, 48
hot-plug operation
76 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007
O R
ok prompt RAID (redundant array of independent disks), xiii,
about, 23 47
accessing with Break key, 25 RAID 0 (striping), 48
accessing with graceful system shutdown, 24 RAID 1 (mirroring), 49
accessing with ILOM set /HOST
raidctl (Solaris command), 51 to 63
break_action=break command, 25
reset
accessing with ILOM set /HOST
manual system, 25, 27
send_break_action=break command, 24
scenarios, 39
accessing with manual system reset, 24, 25
risks in using, 26 reset /SYS (ILOM command), 25
suspension of Solaris operating system, 26 reset-all (OpenBoot command), 18
ways to access, 24, 26 run levels
OK-to-Remove (disk drive LED), 65 explained, 23
OpenBoot commands ok prompt and, 23
go, 26
probe-ide, 25 S
probe-scsi-all, 25 SER MGT, See serial management port
reset-all, 18 serial management port (SER MGT)
setenv, 18 acceptable console device connections, 5
OpenBoot configuration variables as default communication port on initial
auto-boot, 23, 38 startup, 2
described, table, 71 configuration parameters, 8
input-device, 18, 28 default system console configuration, 5
output-device, 18, 28 using, 8
system console settings, 28 set /HOST/bootmode (-> command), 36
OpenBoot emergency procedures set /SYS/LOCATE (-> command), 35
performing, 35 setenv (OpenBoot command), 18
USB keyboard commands, 35 show (ILOM CMT command), 11
OpenBoot firmware shutdown (Solaris command), 24, 27
scenarios for control, 23
Solaris commands
operating system software, suspending, 26 cfgadm, 64
output-device (OpenBoot configuration cfgadm install_device, cautions against
variable), 18, 28 using, 64
cfgadm remove_device, cautions against
P using, 64
parity, 17 fsck, 26
patch panel, terminal server connection, 12 init, 24, 27
PCI graphics card raidctl, 51 to 63
configuring to access system console, 17 shutdown, 24, 27
connecting graphics monitor to, 18 tip, 13, 15
frame buffers, 17 uadmin, 24
uname, 16
physical device name (disk drive), 51
uname -r, 15
probe-ide (OpenBoot command), 25
Stop-D (USB keyboard functionality), 37
probe-scsi-all (OpenBoot command), 25
Stop-F (USB keyboard functionality), 37
Stop-N (USB keyboard functionality), 36
Index 77
suspending the operating system software, 26
system console
-> prompt, switching between, 19
accessing with alphanumeric terminal, 16
accessing with graphics monitor, 17
accessing with terminal server, 2, 11
accessing with tip connection, 13
alphanumeric terminal connection, 2, 16
alternate configurations, 7
configuring local graphics monitor to access, 17
connection using graphics monitor, 8
default configuration explained, 2, 5
default connections, 4
defined, 1
Ethernet attachment through network
management port, 2
graphics monitor connection, 2, 8
multiple view sessions, 22
setting OpenBoot configuration variables for, 28
system reset scenarios, 39
system status LEDs
Locator, 34
system status LEDs, Locator, 33
T
terminal server
accessing system console from, 5, 11
connection through patch panel, 12
pinouts for crossover cable, 12
tip (Solaris command), 15
tip connection
accessing system console, 13
accessing terminal server, 13
tip connection
accessing system console, 13
U
uadmin (Solaris command), 24
uname (Solaris command), 16
uname -r (Solaris command), 15
78 Sun SPARC Enterprise T5120 and T5220 Server Administration Guide • August 2007