Submit comments about this document at: http://www.sun.com/hwdocs/feedback
Copyright 2005 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.
Sun Microsystems, Inc. has intellectual property rights relating to technology that is described in this document. In particular, and without
limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or
more additional patents or pending patent applications in the U.S. and in other countries.
This document and the product to which it pertains are distributed under licenses restricting their use, copying, distribution, and
decompilation. No part of the product or of this document may be reproduced in any form by any means without prior written authorization of
Sun and its licensors, if any.
Third-party software, including font technology, is copyrighted and licensed from Sun suppliers.
Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in
the U.S. and in other countries, exclusively licensed through X/Open Company, Ltd.
Sun, Sun Microsystems, the Sun logo, Sun Fire, SunVTS, Sun Enterprise Administration Mechanism, StorEdge, SunATM, Java, OpenBoot,
docs.sun.com, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and in other countries.
All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and in other
countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.
The OPEN LOOK and Sun™ Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges
the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun
holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun’s licensees who implement OPEN
LOOK GUIs and otherwise comply with Sun’s written license agreements.
U.S. Government Rights—Commercial use. Government users are subject to the Sun Microsystems, Inc. standard license agreement and
applicable provisions of the FAR and its supplements.
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT,
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Copyright 2005 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, Californie 95054, Etats-Unis. Tous droits réservés.
Sun Microsystems, Inc. a les droits de propriété intellectuels relatants à la technologie qui est décrit dans ce document. En particulier, et sans la
limitation, ces droits de propriété intellectuels peuvent inclure un ou plus des brevets américains énumérés à http://www.sun.com/patents et
un ou les brevets plus supplémentaires ou les applications de brevet en attente dans les Etats-Unis et dans les autres pays.
Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l’utilisation, la copie, la distribution, et la
décompilation. Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, par quelque moyen que ce soit, sans
l’autorisation préalable et écrite de Sun et de ses bailleurs de licence, s’il y en a.
Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protégé par un copyright et licencié par des
fournisseurs de Sun.
Des parties de ce produit pourront être dérivées des systèmes Berkeley BSD licenciés par l’Université de Californie. UNIX est une marque
déposée aux Etats-Unis et dans d’autres pays et licenciée exclusivement par X/Open Company, Ltd.
Sun, Sun Microsystems, le logo Sun, Sun Fire, SunVTS, Sun Enterprise Administration Mechanism, StorEdge, SunATM, Java, OpenBoot,
docs.sun.com, et Solaris sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans d’autres pays.
Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc.
aux Etats-Unis et dans d’autres pays. Les produits portant les marques SPARC sont basés sur une architecture développée par Sun
Microsystems, Inc.
L’interface d’utilisation graphique OPEN LOOK et Sun™ a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun
reconnaît les efforts de pionniers de Xerox pour la recherche et le développement du concept des interfaces d’utilisation visuelle ou graphique
pour l’industrie de l’informatique. Sun détient une license non exclusive de Xerox sur l’interface d’utilisation graphique Xerox, cette licence
couvrant également les licenciées de Sun qui mettent en place l’interface d ’utilisation graphique OPEN LOOK et qui en outre se conforment
aux licences écrites de Sun.
LA DOCUMENTATION EST FOURNIE "EN L’ÉTAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES
OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L’APTITUDE A UNE UTILISATION PARTICULIERE OU A
L’ABSENCE DE CONTREFAÇON.
Please
Recycle
Contents
Preface xiii
1.Introduction 1–1
1.1Sun Fire V210 and V240 Servers Overview 1–2
1.1.1Sun Fire V210 Server 1–2
1.1.2Sun Fire V240 Server 1–3
1.1.3Features 1–4
1.1.4Preinstalled Software 1–4
1.1.5Sun Fire V210 and V240 Servers—Comparison 1–5
1.2Bezel Features 1–5
1.2.1Server Status Indicators 1–6
1.2.2To Turn the Locator LED On 1–7
1.2.3To Turn the Locator LED Off 1–7
1.2.4To Display Locator LED Status 1–8
1.2.5Front Panel 1–8
1.2.6On/Standby Switch 1–9
1.2.7Hard Drives 1–11
1.2.8DVD-ROM Drive 1–12
1.2.9System Configuration Card 1–12
1.2.6.1Controlling Server Power States 1–10
iii
1.2.10Keyswitch 1–15
1.3Back Panel Features 1–17
1.3.1I/O Ports 1–17
1.3.2Network Status Indicators 1–18
1.3.3USB Ports 1–19
1.3.4External SCSI Port 1–19
1.3.5Power Supply Unit 1–19
1.4System Prompts 1–20
2.Removing and Replacing Components 2–1
2.1Replaceable Components 2–2
2.2Avoiding Electrostatic Discharge 2–2
2.2.1Avoiding Electrostatic Discharge While Working on the Front
Panel 2–2
2.2.2Opening the Front Bezel 2–2
2.3Controlling Server Power 2–4
2.3.1Powering On—Using the On/Standby Switch 2–4
2.3.2Powering Off—Using the On/Standby Switch 2–5
2.4Swapping a System Configuration Card Between Servers 2–6
2.4.1Swapping a System Configuration Card Between Servers 2–6
2.5Removing and Replacing Hard Drives 2–7
2.5.1Removing a Hard Drive 2–7
2.5.2Replacing a Hard Drive 2–8
2.5.3Installing a SCSI Hard Drive With Solaris Running 2–9
2.5.4Removing a SCSI Hard Drive With Solaris Running 2–11
2.6Removing and Replacing the DVD Drive 2–12
2.6.1Removing the DVD Drive 2–13
2.6.2Replacing the DVD Drive 2–13
2.7Removing and Replacing a Power Supply Unit 2–14
iv Sun Fire V210 and V240 Servers Administration Guide • December 2005
2.7.1Removing a Power Supply Unit 2–14
2.7.2Replacing a Power Supply Unit 2–15
3.Sun Advanced Lights Out Manager 3–1
3.1Sun Advanced Lights Out Manager (ALOM) 3–2
3.1.1Email Delivery Alerts 3–2
3.1.2What ALOM Monitors 3–3
3.1.3Automatic Server Restart 3–4
3.2ALOM Management Ports 3–4
3.3Setting the admin Password 3–5
3.4Basic ALOM Functions 3–5
3.4.1To Switch to the ALOM Prompt 3–6
3.4.2To Switch to the Server Console Prompt 3–6
3.4.3To Set the Serial Port Speed Back to the Default 3–7
6.9.1.2To Set OpenBoot Configuration Variables 6–26
6.10Additional Diagnostic Tests for Specific Devices 6–27
6.10.1Using the probe-scsi Command to Confirm That Hard Drives
are Active 6–27
6.10.2Using probe-ide Command to Confirm That the DVD or CDROM Drive is Connected 6–28
6.10.3Using watch-net and watch-net-all Commands to Check the
Network Connections 6–29
6.11Automatic System Recovery 6–30
6.11.1Auto-Boot Options 6–31
6.11.2Error Handling Summary 6–31
6.11.3Reset Scenarios 6–32
6.11.4To Enable ASR 6–32
6.11.5To Disable ASR 6–33
Index Index–1
Contents vii
viii Sun Fire V210 and V240 Servers Administration Guide • December 2005
Figures
FIGURE 1-1Sun Fire V210 Server 1–2
FIGURE 1-2Sun Fire V240 Server 1–3
FIGURE 1-3Location of Status Indicators (Sun Fire V210 Server) 1–6
FIGURE 1-4Location of Front Panel Features (Sun Fire V240 Server) 1–9
FIGURE 1-5Location of Hard Drive Service Indicators 1–11
FIGURE 1-6Location of the Keyswitch (Sun Fire V240 Server) 1–15
FIGURE 1-7Keyswitch Positions (Sun Fire V240 Server) 1–16
FIGURE 1-8I/O Ports (Sun Fire V210 Server) 1–17
FIGURE 1-9I/O Ports (Sun Fire V240 Server) 1–17
FIGURE 1-10Location of Network Status Indicators 1–18
FIGURE 1-11System Prompt Flow Diagram 1–21
FIGURE 2-1Opening the Bezel (Sun Fire V210 Server) 2–3
FIGURE 2-2Opening The Bezel (Sun Fire V240 Server) 2–3
FIGURE 2-3Inserting a System Configuration Card (Sun Fire V210 Server) 2–7
FIGURE 2-4Installing a Hard Drive (Sun Fire V210 Server) 2–8
FIGURE 2-5Removing a DVD-ROM Drive (Sun Fire V240 Server) 2–14
ix
x Sun Fire V210 and V240 Servers Administration Guide • December 2005
Tables
TABLE 1-1Sun Fire V210 and V240 Servers—Comparison 1–5
TABLE 1-2Server Status Indicators 1–6
TABLE 1-3On/Standby Switch Actions and Results 1–10
TABLE 1-4Explanation of Power States 1–10
TABLE 1-5Hard Drive Service Indicators 1–11
TABLE 1-6OpenBoot PROM Configuration Parameters Stored on the System Configuration Card 1–12
TABLE 1-7Keyswitch Position and Server Behaviors 1–16
TABLE 1-8Network Link Indicators 1–18
TABLE 1-9Network Speed Indicators 1–19
TABLE 1-10Power Supply Unit Indicators 1–20
TABLE 1-11Power Supply Unit Ready to Remove Indicator (Sun Fire V240) 1–20
TABLE 3-1What ALOM Monitors 3–3
TABLE 4-1What Sun Management Center Monitors 4–2
TABLE 5-1SunVTS Tests 5–3
TABLE 6-1Summary of Diagnostic Tools 6–2
TABLE 6-2OpenBoot Configuration Variables 6–7
TABLE 6-3Sample obdiag menu 6–9
TABLE 6-4Keywords for the test-args OpenBoot Configuration Variable 6–10
TABLE 6-5Using Solaris Information Display Commands 6–25
xi
xii Sun Fire V210 and V240 Servers Administration Guide • December 2005
Preface
The Sun Fire V210 and V240 Servers Administration Guide is intended to be used by
experienced system administrators. This guide contains general descriptive
information about the Sun Fire
instructions on the various server administration tasks.
To use the information in this manual you must have a working knowledge of
computer network concepts and terms, and advanced knowledge of the Solaris™
Operating System (Solaris OS).
Before You Read This Document
This document does not cover server installation and rackmounting. For detailed
information on those topics, refer to the Sun Fire V210 and V240 Servers Installation Guide (819-4209).
TM
V210 and V240 servers and it includes detailed
Before following any of the procedures described in this document, ensure that you
have read the Sun Fire V210 and V240 Servers Compliance and Safety Manual (817-4827-
12).
xiii
How This Document Is Organized
Chapter 1 is an overview of the Sun Fire V210 and V240 server’s main features.
Chapter 2 describes how to remove hardware components located behind the bezel.
Chapter 3 describes basic Sun Advanced Lights Out Manager features and functions.
Chapter 4 describes Sun Management Center features and functions.
Chapter 5 describes SunVTS.
Chapter 6 describes diagnostic tools for the Sun Fire V210 and V240 servers.
Using UNIX Commands
This document does not contain information on basic UNIX® commands and
procedures such as shutting down the system, booting the system, and configuring
devices.
Refer to one or more of the following documents for this information:
■ Solaris
■ Solaris Operating System documentation, which is at:
http://docs.sun.com
■ Other software documentation that you received with your system
TM
10 Sun Hardware Platform Guide (817-6337)
xiv Sun Fire V210 and V240 Servers Administration Guide • December 2005
Shell Prompts
ShellPrompt
C shell machine-name%
C shell superuser machine-name#
Bourne shell and Korn shell $
Bourne shell and Korn shell superuser#
ALOM shellsc>
OpenBoot PROM shellok
Typographic Conventions
Typeface
AaBbCc123The names of commands, files,
AaBbCc123
AaBbCc123Book titles, new words or terms,
1 The settings on your browser might differ from these settings.
1
MeaningExamples
and directories; on-screen
computer output
What you type, when contrasted
with on-screen computer output
words to be emphasized.
Replace command-line variables
with real names or values.
Edit your.login file.
Use ls-a to list all files.
% You have mail.
% su
Password:
Read Chapter 6 in the User’s Guide.
These are called class options.
You must be superuser to do this.
To delete a file, type rm filename.
Preface xv
Related Documentation
ApplicationTitlePart Number
Quick set upSun Fire V210 and V240 Servers Getting
Started Guide
Installation Sun Fire V210 and V240 Servers
Installation Guide
Latest informationSun Fire V210 and V240 Servers Product
Notes
Parts Installation and
removal
Compliance and safetySun Fire V210 and V240 Servers
Lights-Out ManagementAdvanced Lights Out Manager Software
Sun Fire V210 and V240 Servers Service
Manual
Compliance and Safety Manual
User’s Guide
819-4206
819-4209
819-4205
819-4207
817-4827-12
817-5481
Read Important Safety Information (816-7190) and the Sun Fire V210 and V240 Servers Getting Started Guide (819-4206) before performing any of the procedures
documented in this manual.
xvi Sun Fire V210 and V240 Servers Administration Guide • December 2005
http://www.sun.com/documentation/
http://www.sun.com/support/
http://www.sun.com/training/
Third-Party Web Sites
Sun is not responsible for the availability of third-party web sites mentioned in this
document. Sun does not endorse and is not responsible or liable for any content,
advertising, products, or other materials that are available on or through such sites
or resources. Sun will not be responsible or liable for any actual or alleged damage
or loss caused by or in connection with the use of or reliance on any such content,
goods, or services that are available on or through such sites or resources.
Sun Welcomes Your Comments
Sun is interested in improving its documentation and welcomes your comments and
suggestions. You can submit your comments by going to:
http://www.sun.com/hwdocs/feedback
Please include the title and part number of your document with your feedback:
Sun Fire V210 and V240 Servers Administration Guide, part number 819-4208-10
Preface xvii
xviii Sun Fire V210 and V240 Servers Administration Guide • December 2005
CHAPTER
1
Introduction
This chapter describes the Sun Fire V210 and V240 servers and contains an overview
of the following main features:
■ Section 1.1, “Sun Fire V210 and V240 Servers Overview” on page 1-2
■ Section 1.2, “Bezel Features” on page 1-5
■ Section 1.3, “Back Panel Features” on page 1-17
■ Section 1.4, “System Prompts” on page 1-20
1-1
1.1Sun Fire V210 and V240 Servers
Overview
FIGURE 1-1 Sun Fire V210 Server
1.1.1Sun Fire V210 Server
The Sun Fire V210 server is a commercial grade server in a 1U high package. It uses
the UltraSPARC
processors.
The Sun Fire V210 server is AC powered only. Server depth enables mounting in a
standard 800 mm deep rack. Storage is provided by two hot-swappable disk drives,
and an optional non-hot-swappable slimline DVD drive. Built-in I/O network
functionality is provided by four Gigabit Ethernet channels, one Ultra160 SCSI
1-2 Sun Fire V210 and V240 Servers Administration Guide • December 2005
®
IIIi processor and can be configured with either one or two
multimode port, one general purpose asynchronous serial port and one serial
management port, and two independent USB hubs. I/O expansion is provided via
one PCI card slot, supporting both 33 MHz and 66 MHz cards.
FIGURE 1-2 Sun Fire V240 Server
1.1.2Sun Fire V240 Server
The Sun Fire V240 server is a commercial grade server in a 2U high package. It uses
the UltraSPARC IIIi processor and can be configured with either one or two
processors.
The Sun Fire V240 server is AC powered only with dual redundant, hot-swap PSUs.
Server depth enables mounting in a standard 800 mm deep rack. Storage is provided
by four hot-swappable disk drives, and an optional non hot-swappable slimline
DVD drive. Built-in I/O network functionality is provided by four Gigabit Ethernet
channels, one Ultra160 SCSI multimode port, one general purpose asynchronous
Chapter 1 Introduction 1-3
serial port and one serial management port, and two independent USB hubs. I/O
expansion is provided via one PCI card slot supporting both 33 MHz and 66 MHz
cards, and two PCI card slots supporting 33 MHz cards.
1.1.3Features
The Sun Fire V210 and V240 servers share the following features:
■ One or two UltraSPARC IIIi processors
■ Four DIMM slots per processor
■ Four 10/100/1000BASE-T Ethernet ports
■ One Ultra160 SCSI port for connecting external devices
■ One general purpose serial port
■ One serial management port
■ Two USB ports
■ One 10BASE-T Ethernet server management port
■ PCI expansion
■ DVD-ROM drive
■ Hot-swappable hard drives
■ System configuration card
■ Front and rear service indicators
1.1.4Preinstalled Software
The Solaris 10 OS is preinstalled on the Sun Fire V210 and V240 servers HDI.
To identify which specific version of software is installed on your server, use the
cat /etc/release command.
When you power on your server for the first time you might be given the option to
choose the version of Solaris OS you want installed. If this occurs, when you choose
one version, the other one is deleted.
1-4 Sun Fire V210 and V240 Servers Administration Guide • December 2005
1.1.5Sun Fire V210 and V240 Servers—Comparison
TABLE 1-1 Sun Fire V210 and V240 Servers—Comparison
Sun Fire V210 serverSun Fire V240 server
Height
PCI
hard drive bays
Power supply units
Keyswitch
1U high2U high
1x64-bit 33/66 MHz 3.3V PCI
slot
Two Ultra160 SCSI Four Ultra160 SCSI
Single ACDual redundant AC
NoneBehind bezel
1x64-bit 33/66 MHz 3.3V PCI
slot
2x64-bit 33 MHz 5V PCI slots
For addition information about the differences between V210 and V240 servers or for
information about V210 and V240 server configurations see:
http://www.sun.com/servers/
For detailed service information about the servers, see:
http://sunsolve.sun.com or
http://www.sun.com/hwdocs
Search for The Sun System Handbook.
1.2Bezel Features
The front bezel of the Sun Fire V210 and V240 servers contains the server status
LEDs and a space for placing an identification label.
Chapter 1 Introduction 1-5
Locator LED
Service required LED
Activity LED
FIGURE 1-3 Location of Status Indicators (Sun Fire V210 Server)
1.2.1Server Status Indicators
The server has three LED status indicators. They are located on the front bezel, and
repeated on the back panel. A summary of the indicators is given in
TABLE 1-2.
TABLE 1-2 Server Status Indicators
IndicatorLED colorLED StateMeaning
ActivityGreenOnThe server is powered up and running the
1-6 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Solaris OS.
OffEither power is not present, or Solaris OS is
not running.
TABLE 1-2 Server Status Indicators
IndicatorLED colorLED StateMeaning
Service
Required
LocatorWhiteOnIdentifies the server from others in a rack.
YellowOnThe server has detected a problem and
requires the attention of service personnel.
OffThe server has no detected faults.
You can turn the Locator LED on and off either from the system console or the Sun
Advanced Light Out Manager (ALOM) command–line interface (CLI).
1.2.2To Turn the Locator LED On
● Do one of the following:
■ As root, type:
# /usr/sbin/locator -n
■ At the ALOM command-line interface, type:
sc> setlocator on
1.2.3To Turn the Locator LED Off
● Do one of the following:
■ As superuser, type:
# /usr/sbin/locator -f
■ At the ALOM command-line interface, type:
sc> setlocator off
Chapter 1 Introduction 1-7
1.2.4To Display Locator LED Status
● Do one of the following:
■ As superuser, type:
# /usr/sbin/locator
■ At the ALOM command-line interface, type:
sc> showlocator
1.2.5Front Panel
Access the front panel by opening the bezel, which you do by rotating it forward. It
has no clips or locks to hold it closed, only the spring retention built into its hinges.
The front panel contains the following:
■ On/Standby switch
■ Hard drive
■ DVD-ROM drive
■ System configuration card
■ keyswitch—Sun Fire V240 server
1-8 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Hard drive
Keyswitch
System configuration card
FIGURE 1-4 Location of Front Panel Features (Sun Fire V240 Server)
1.2.6On/Standby Switch
Access to the On/Standby switch is by opening the front bezel. The On/Standby
switch controls only the power state of the server, it does not isolate the server from its
electrical power source.
The On/Standby switch is a momentary switch and has two operation modes:
■ Press and immediately release
■ Press and hold down for more than 4 seconds
The results of these actions are summarized in TABLE 1-3.
On/Standby switch
DVD-ROM drive
Chapter 1 Introduction 1-9
TABLE 1-3 On/Standby Switch Actions and Results
Server Power StatePress and releasePress down for more than 4 seconds
On (with Solaris OS
running)
On (with Solaris OS
not running)
StandbyServer enters On power state.Server enters On power state.
Software performs orderly
shutdown. Server enters
Standby state.
No effect.Server enters Standby state
1.2.6.1Controlling Server Power States
For information on connecting the server to a power source and powering on the
server, see the Sun Fire V210 and V240 Servers Getting Started Guide (819-4206-10).
For information on controlling server power using software see:
http://docs.sun.com, and search for ALOM version 1.5.4 release notes.
The server immediately goes into Standby mode as soon as it is connected to a
power source. As long as it remains connected to the power source, the server stays
in either the Standby or On power state. An explanation of the power states is given
in
TABLE 1-4.
Server enters Standby state
directly.
directly.
TABLE 1-4 Explanation of Power States
Power StateDescription
OnServer is connected to a power source and the power is enabled.
StandbyServer is connected to a power source but power is not enabled.
OffServer is not connected to a power source. Power cable is
disconnected.
Note – The only way to completely remove power from the server is to disconnect
the power cable.
1-10 Sun Fire V210 and V240 Servers Administration Guide • December 2005
1.2.7Hard Drives
The Sun Fire V210 server has slots for up to two hard drives. The Sun Fire V240
server has slots for up to four. The slots accept any Sun LVD SCSI hard drive
conforming to the 1-inch SCA-2 form factor.
Each hard drive has two LED indicators associated with it. See TABLE 1-5 for a
summary of what the indicators mean.
Activity
Ready to remove
FIGURE 1-5 Location of Hard Drive Service Indicators
TABLE 1-5 Hard Drive Service Indicators
IndicatorLED colorLED StateComponent Status
ActivityGreenFlashingActive SCSI transactions
OffNo activity
Ready to RemoveBlueOnReady to remove
OffNot ready to remove
For information on removing and replacing a hard drive, see Section 2.5, “Removing
and Replacing Hard Drives” on page 2-7.
Chapter 1 Introduction 1-11
1.2.8DVD-ROM Drive
The Sun Fire V210 and V240 servers contain a bay to accept an optional slimline
ATAPI DVD-ROM drive. The bay is located on the front panel and is accessed by
opening the bezel.
For information on DVD-ROM drive installation, see Section 2.6, “Removing and
Replacing the DVD Drive” on page 2-12.
1.2.9System Configuration Card
The system configuration card (SCC) is housed in a slot behind the front bezel, next
to the On/Standby switch (
information, including the MAC address and host ID (known as the IDPROM), and
the OpenBoot™ PROM configuration (also known as NVRAM).
The server attempts to access the SCC while booting.
■ If a properly formatted card is not present in the reader, the system does not boot.
■ If the content of the NVRAM section is invalid, the system is not initialized with
its default NVRAM configuration.
FIGURE 1-4). The card contains unique network identity
It is essential that you store the SCC safely if you have to remove it from the server,
and replace it before restarting the system.
For more information, see Section 2.4, “Swapping a System Configuration Card
Between Servers” on page 2-6.
TABLE 1-6 OpenBoot PROM Configuration Parameters Stored on the System
Configuration Card
ParameterDefaultDescription
diag-passes1Defines the number of times self-test
methods are performed.
loca-mac-address?trueIf true, network drivers use their own
MAC address, not the server’s.
fcode-debug?falseIf true, include name fields for plug-in
device FCodes.
ttyb-rts-dtr-offtrueIf true, operating system does not assert
RTS and DTR on TTYB port.
ttyb-ignore-cdfalseIf true, operating system ignores carrier-
detect on TTYB
1-12 Sun Fire V210 and V240 Servers Administration Guide • December 2005
TABLE 1-6 OpenBoot PROM Configuration Parameters Stored on the System
Configuration Card
ParameterDefaultDescription
ttya-rts-dtr-offtrueIf true, operating system does not assert
RTS and DTR on TTYA port.
ttya-ignore-cdIf true, operating system ignores carrier-
detect on TTYA port.
silent-mode?falseSuppress all messages if true and diag-
switch? is false.
scsi-initiator-id7SCSI-ID of the SCSI controller.
oem-logo?falseIf true, use custom OEM logo, otherwise,
use Sun logo.
oem-banner?falseIf true, use custom OEM banner.
ansi-terminal?true
screen-#columns80Sets number of columns on the scree.
security-passwordnoneFirmware security password if security-
mode is not none (never displayed) - do not
set this directly.
security-#badloginsnoneNumber of incorrect security password
attempts
diag-scriptnoneOpenBoot Diagnostics test suite is executed
automatically after power on if diag-switch
is true and POST passes.
diag-levelmaxDefines how diagnostic tests are run
(options are off, min, menu, and max).
diag-switch?falseIf true:
• Run in diagnostic mode.
• After a boot request, boot diag-file
from diag-device.
If false:
• Run in non diagnostic mode.
• Following a boot request, boot-file
from boot-device.
diag-triggernoneparameter
error-resetrecovery
bootCommand to execute following a system
reset generated by an error.
pcia-probe-listIdentifies number and order in which PCI
slots are probed.
For additional information about OpenBoot PROM configuration parameters see:
http://docs.sun.com
Search for OpenBoot 4.x, then select Forth Word Reference.
1-14 Sun Fire V210 and V240 Servers Administration Guide • December 2005
1.2.10Keyswitch
The Sun Fire V240 server has a keyswitch that provides control over the following
aspects of the server’s operation:
■ Power state
■ Security level
■ Diagnostics level
Located behind the front bezel is a rotary switch with four positions, operated by a
key supplied with the server. The key is shipped in a clip on the back of the bezel.
Keyswitch
FIGURE 1-6 Location of the Keyswitch (Sun Fire V240 Server)
The keyswitch has four positions, each keyswitch position enables the user to select
a different mode of behavior. For a description of the behavior forced by each
keyswitch position, see
TABLE 1-7.
Chapter 1 Introduction 1-15
Normal
Forced standby
Locked
Diagnostics
FIGURE 1-7 Keyswitch Positions (Sun Fire V240 Server)
Keyswitch positions and the behaviors they force are given in TABLE 1-7.
1-16 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Disable On/Standby switch
Disable remote power control
Write-protect ALOM Flash PROM
1.3Back Panel Features
The server’s I/O ports and power inlets are on the back panel.
Power inlet
NET MGT
FIGURE 1-8 I/O Ports (Sun Fire V210 Server)
Power inlet(2)
SERIAL (10101)
SERIAL
MGT
SERIAL (10101)
EthernetUSBSCSI
FIGURE 1-9 I/O Ports (Sun Fire V240 Server)
1.3.1I/O Ports
The I/O ports on the rear of the Sun Fire V210 and V240 servers are arranged as
shown in
the Sun Fire V210 and V240 Servers Getting Started Guide (819-4206-10).
FIGURE 1-8 and FIGURE 1-9. For more information on the I/O ports, refer to
NET MGTEthernetUSBSCSI
SERIAL
MGT
Chapter 1 Introduction 1-17
1.3.2Network Status Indicators
Each network connector has two status indicators.
Network link LEDNetwork speed LED
FIGURE 1-10 Location of Network Status Indicators
The network status indicators convey:
■ Network link status
■ Network speed status (does not apply to the NET MGT port)
For a summary of what the Network Link Status indicators mean, see TABLE 1-8.
TABLE 1-8 Network Link Indicators
LED colorLED StateNetwork Link Status
GreenOnLink is established.
BlinkingLink is transferring data.
OffLink is not established.
1-18 Sun Fire V210 and V240 Servers Administration Guide • December 2005
For a summary of what the network speed indicators mean, see TABLE 1-9.
TABLE 1-9 Network Speed Indicators
LED colorLED StateNetwork Speed Status
GreenOnThe network link is established and running at
1.3.3USB Ports
The server has two USB ports for attaching supported USB devices.
The ports are USB 1.1 compliant. They support device speeds of 1.5 Mbit/s and 12
Mbit/s, and a 5V supply is available at each connector to power the external device.
its maximum supported speed.
Off• If the network activity indicator is on, the
network link is established but not running
at its maximum supported speed.
• If the network activity indicator is off,
network link is not established.
1.3.4External SCSI Port
The SCSI port is a multimode Ultra160 SCSI interface. To operate at Ultra160 SCSI
speeds, it must be in Low Voltage Differential (LVD) mode. If a single-ended device
is connected to the server, it automatically switches to single-ended mode.
1.3.5Power Supply Unit
The Sun Fire V210 server has one PSU and two associated status indicators. A
summary of the function of the indicators is given in
TABLE 1-10.
Chapter 1 Introduction 1-19
TABLE 1-10 Power Supply Unit Indicators
LED colorLED StateComponent Status
GreenOnPower is present and PSU is active.
OffEither power is not present, or the PSU has shut down
due to an internal protection event.
AmberOnThe PSU has shut down due to an internal protection
event and requires service attention.
OffThe PSU is operating normally.
The Sun Fire V240 server has dual redundant PSUs. This server has an additional
LED indicator which tells you when a power supply unit is ready to be removed
with the server running. (The Sun Fire V210 server has a single PSU and does not
support this function.)
A summary of the function of this indicator is given in TABLE 1-11.
TABLE 1-11 Power Supply Unit Ready to Remove Indicator (Sun Fire V240)
LED colorLED StateComponent Status
BlueOnPSU is ready to be removed.
OffThe PSU is not ready for removal.
Caution – As long as AC power is supplied to the server, potentially dangerous
voltages might be present within the server.
1.4System Prompts
The following default server prompts are used by the Sun Fire V210 and V240
servers:
■ ok — OpenBoot PROM prompt
■ sc — Advanced Lights Out Manager (ALOM) prompt
■ # — Solaris OS superuser (Bourne and Korn shell)
1-20 Sun Fire V210 and V240 Servers Administration Guide • December 2005
FIGURE 1-11 shows the relationship between the three prompts and how to change
from one prompt to another.
reset
ALOM prompt
sc>
break
console
ALOM prompt
sc>
reset
console
#.
go
OBP prompt
ok
boot
#.
Shutdown, halt, init 0
Solaris SU prompt
OBP prompt
ok
#
console
ALOM prompt
sc>
FIGURE 1-11 System Prompt Flow Diagram
For additional information about obtaining switching from OpenBoot PROM to
server console (sc) prompts see:
Section 3.4, “Basic ALOM Functions” on page 3-5.
go
#.
Chapter 1 Introduction 1-21
1-22 Sun Fire V210 and V240 Servers Administration Guide • December 2005
CHAPTER
2
Removing and Replacing
Components
This chapter tells you how to remove and replace the components that are located
behind the server’s front bezel. The procedures documented in this chapter do not
require the attention of qualified service personnel.
Caution – Read the section, Section 2.2, “Avoiding Electrostatic Discharge” on
page 2-2, and wear a properly grounded antistatic strap, before you carry out any of
the procedures in this section.
The chapter contains the following sections:
■ Section 2.1, “Replaceable Components” on page 2-2
■ Section 2.2, “Avoiding Electrostatic Discharge” on page 2-2
■ Section 2.4, “Swapping a System Configuration Card Between Servers” on
page 2-6
■ Section 2.5, “Removing and Replacing Hard Drives” on page 2-7
■ Section 2.6, “Removing and Replacing the DVD Drive” on page 2-12
2-1
2.1Replaceable Components
Open the bezel to access these components:
■ System Configuration Card
■ Hard drives
■ DVD-ROM drive
Note – Access to any other component requires the removal of the server’s lid, and
involves procedures that must be carried out by trained personnel only.
2.2Avoiding Electrostatic Discharge
2.2.1Avoiding Electrostatic Discharge While Working
on the Front Panel
1. Attach one end of the antistatic wrist strap to your wrist.
2. Attach the other end to a grounding stud on the rack or cabinet.
2.2.2Opening the Front Bezel
1. Ensure that you are properly grounded.
See Section 2.2.1, “Avoiding Electrostatic Discharge While Working on the Front
Panel” on page 2-2.
2. Open the bezel by rotating it down on its hinges.
2-2 Sun Fire V210 and V240 Servers Administration Guide • December 2005
FIGURE 2-1 Opening the Bezel (Sun Fire V210 Server)
.
FIGURE 2-2 Opening The Bezel (Sun Fire V240 Server)
Note – Always grip the bezel at both ends to open it. Do not attempt to open it
using a single point of grip.
Chapter 2 Removing and Replacing Components 2-3
2.3Controlling Server Power
Before you remove or replace a system configuration card or DVD-ROM drive, the
server must be powered down.
Tip – For detailed information on controlling server power with software, see:
http://docs.sun.com, and search for ALOM documentation.
2.3.1Powering On—Using the On/Standby Switch
Caution – Never move the system when the system power is on. Movement can
cause catastrophic disk drive failure. Always power off the system before moving it.
1. Connect the server to an AC power source.
Once connected, the server automatically goes into Standby power mode.
2. Turn on power to any peripherals and external storage devices you have connected
to the server.
Read the documentation supplied with the device for specific instructions.
3. Open the front bezel.
4. Sun Fire V240 only: insert the system key into the keyswitch and set it to the
Normal or Diagnostics position.
5. Press the On/Standby switch.
Verify that the LED for the On/Standby switch illuminates.
6. Sun Fire V240 only:
a. Turn the key switch to the Locked position.
This prevents anyone from accidentally powering off the system.
b. Remove the system key from the keyswitch and store it in the clip on the back
of the bezel.
7. Close the front bezel.
2-4 Sun Fire V210 and V240 Servers Administration Guide • December 2005
2.3.2Powering Off—Using the On/Standby Switch
Note – Applications running on the Solaris OS can be adversely affected by a poorly
executed system shutdown. Make sure you have gracefully shut down any
applications before powering off the system.
1. Notify users that the system will be powered down.
2. Back up the system files and data, if necessary.
3. (Sun Fire V240 only) Ensure that the keyswitch is in the Normal or Diagnostics
position.
4. Press and release the On/Standby switch behind the front bezel.
The system begins an orderly software system shutdown.
Note – Pressing and releasing the On/Standby switch initiates an orderly software
shutdown. Pressing and holding the switch for four seconds causes an immediate
hardware shutdown. Whenever possible, initiate an orderly shutdown. Forcing an
immediate hardware shutdown can corrupt the disk drive and cause loss of data.
5. Wait for the front panel green LED to go out.
6. Sun Fire V240 only: remove the system key from the keyswitch and store it in the
clip on the back of the front bezel.
7. Close the front bezel.
Chapter 2 Removing and Replacing Components 2-5
2.4Swapping a System Configuration Card
Between Servers
2.4.1Swapping a System Configuration Card Between
Servers
Caution – Never remove the system configuration card while the server is booting
or running the Solaris OS. Either remove power from the server, or put it into
Standby mode, before removing or inserting the system configuration card.
Caution – Do not handle the system configuration card unless you need to transfer
it to another system. If you need to handle it for this reason, avoid contact with the
gold terminals on the underside of the card.
Caution – If you remove the system configuration card (SCC) and replace it with
the SCC from a system of a different platform type, the card will be reconfigured. A
message tells you when this has been done, but the system does not request
confirmation before reformatting the card.
1. Power down both servers.
See Section 2.3, “Controlling Server Power” on page 2-4.
2. Open the front bezel on both servers.
See Section 2.2.2, “Opening the Front Bezel” on page 2-2.
3. Remove the cable ties that secure the system configuration cards, and remove the
cards.
4. Insert the system configuration card from the old server into the new one.
5. Replace the cable tie on the new system.
6. Power on the new system.
2-6 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Cable tie
System configuration card
FIGURE 2-3 Inserting a System Configuration Card (Sun Fire V210 Server)
2.5Removing and Replacing Hard Drives
Caution – The server and hard drives contain electronic parts that are extremely
sensitive to static electricity. Wear a grounded antistatic wrist strap when you carry
out this procedure.
2.5.1Removing a Hard Drive
The hard drives are hot-pluggable modules. If more than one is fitted, you can install
or remove a hard drive without powering off the server or removing it from the
rack.
However, you do need to make sure that no system or application software is using
a hard drive when you remove it.
Chapter 2Removing and Replacing Components 2-7
Note – If you intend to remove a hard drive with Solaris running, follow the
instructions in
on page 2-11 before performing the following steps.
1. Open the front bezel.
See Section 2.2.2, “Opening the Front Bezel” on page 2-2.
2. Check that the blue indicator LED is lit on the hard drive.
The blue LED comes on when the hard drive is ready to remove.
3. Slide the catch at the front of the hard drive to the right.
This releases the handle on the front of the hard drive.
4. Pull the handle and remove the hard drive from the server by sliding it out from
its bay.
Section 2.5.4, “Removing a SCSI Hard Drive With Solaris Running”
2.5.2Replacing a Hard Drive
Caution – The server and hard drives contain electronic parts that are extremely
sensitive to static electricity. Wear a grounded antistatic wrist strap when you carry
out this procedure.
FIGURE 2-4 Installing a Hard Drive (Sun Fire V210 Server)
2-8 Sun Fire V210 and V240 Servers Administration Guide • December 2005
1. Slide the catch on the front of the hard disk to the right.
This releases a handle on the front of the hard drive. The lever must be open before
you insert the hard drive. If it is not, the hard drive does not engage with the server
correctly.
2. Slide the hard drive into its bay at the front of the server.
Push it in firmly until the metal lever starts to close. This indicates that the hard
drive is engaged with its connector attached to the server.
3. Push the metal lever until the disk drive clicks into place.
4. Close the bezel.
If you have installed a hard drive with Solaris running, perform the steps in
Section 2.5.3, “Installing a SCSI Hard Drive With Solaris Running” on page 2-9.
2.5.3Installing a SCSI Hard Drive With Solaris
Running
Before performing the instructions in this section, install the hard drive by following
the instructions in
Section 2.5.2, “Replacing a Hard Drive” on page 2-8.
Use the following instructions in conjunction with the cfgadm(M) man page.
1. With the new hard drive physically installed in the drive bay, log into the system
as superuser and run the format command to make the disk visible to the Solaris
OS.
Type the following command. The following sample output is from a system
containing two hard drives.
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN36G cyl 24427 alt 2 hd 27 sec 107>
/pci@1f,0/pci@1/scsi@8/sd@0,0
1. c0t1d0 <SUN36G cyl 24427 alt 2 hd 27 sec 107>
/pci@1f,0/pci@1/scsi@8/sd@1,0
2. Find the label of the new hard drive, which appears in the Ap_Id column of the
sample output. Type:
Note – The output text provided is example text only. In the example outputs, the
disk identified is not consistent across examples. However, the format of the output
is correct. When you type commands, the drive name is consistent in the output you
see.
3. Connect the new drive logically to the operating system.
Type the following command, specifying the correct Ap_Id label for the disk you
have installed. In this sample command the Ap_Id label is for Disk 1:
# cfgadm -c configure c1::dsk/c1t1d0
4. Confirm that the drive is now connected and configured. Type:
The disk is now available to be mounted for operation.
2-10 Sun Fire V210 and V240 Servers Administration Guide • December 2005
2.5.4Removing a SCSI Hard Drive With Solaris
Running
If you are removing a hard drive while the operating system is still running, you
must remove the drive logically from the operating system before removing it
physically. Follow the instructions in this section, then remove the hard drive
physically by following the instructions in
on page 2-7.
Use the following instructions in conjunction with the cfgadm(M) man page.
1. Check that the hard drive you want to remove is visible to the Operating System.
Type:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN36G cyl 24427 alt 2 hd 27 sec 107>
/pci@1f,0/pci@1/scsi@8/sd@0,0
1. c0t1d0 <SUN36G cyl 24427 alt 2 hd 27 sec 107>
/pci@1f,0/pci@1/scsi@8/sd@1,0
Section 2.5.1, “Removing a Hard Drive”
2. Get the correct Ap_Id label for the hard drive that you want to remove. Type:
Note – Before proceeding, you must remove the hard drive from all of its software
mount positions and delete any swap areas in use on the drive. If the drive is the
system’s boot device, do not proceed further with these instructions. Do not attempt
to unconfigure the boot disk.
Chapter 2 Removing and Replacing Components 2-11
3. Unconfigure the hard drive that you intend to remove.
Use the unconfigure command and specify the device you intend to remove. For
example, if it is Disk 1, type:
5. Confirm that the hard drive you want to remove from the server is no longer
visible to the operating system. Type:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN36G cyl 24427 alt 2 hd 27 sec 107>
/pci@1f,0/pci@1/scsi@8/sd@0,0
4. Verify that the device is now unconfigured. Type:
It is now safe to remove the hard drive from the server without shutting down the
operating system.
2.6Removing and Replacing the DVD Drive
The DVD drive is not hot-swappable. The server must be powered down, and the
power cable removed from the back panel, before you remove or install a DVD
drive.
2-12 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Class 1 Laser Product
Luokan 1 Laserlaite
Klasse 1 Laser Apparat
Laser Klasse 1
Caution – Follow the instructions in this section carefully. The DVD-ROM drive
contains a laser device. Do not attempt to open the DVD-ROM drive’s enclosure or
remove a DVD-ROM drive using any procedures other than those contained in this
section. If you do, you risk being exposed to radiation.
2.6.1Removing the DVD Drive
1. Power down the server.
See Section 2.3, “Controlling Server Power” on page 2-4.
2. Open the bezel.
See Section 2.2.2, “Opening the Front Bezel” on page 2-2.
3. Unclip the catches that fasten the DVD drive to the chassis (FIGURE 2-5).
4. Pull the DVD drive towards you until it is free of its connectors and out of the
chassis.
2.6.2Replacing the DVD Drive
1. Insert the new DVD-ROM drive.
2. Press it home firmly until the clips engage with the server’s chassis.
3. Close the bezel.
Chapter 2 Removing and Replacing Components 2-13
FIGURE 2-5 Removing a DVD-ROM Drive (Sun Fire V240 Server)
2.7Removing and Replacing a Power
Supply Unit
The Sun Fire V240 server has dual-redundant power supplies. You can swap one
power supply while the other is still running.
The Sun Fire V210 server has a single power supply. Swapping it requires the
attention of qualified service personnel. Refer to the Sun Fire V210 and V240 Servers Service Manual (819-4207-10).
2.7.1Removing a Power Supply Unit
1. At the ALOM prompt, type:
sc> removefru -y PSx
2-14 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Where x is the power supply unit identifier, 0 or 1.
When the blue ok to remove LED lights on the back of the power supply unit,
remove it.
2. Pull down on the PSU lever.
3. Withdraw the PSU from the server’s chassis.
2.7.2Replacing a Power Supply Unit
1. Slide the PSU into the back of the server until it stops.
Do not push the PSU lever closed until the PSU is all the way in.
2. Press the PSU lever until it clicks home.
This engages the PSU with the power distribution board inside the server.
3. At the ALOM prompt, type:
sc> poweron PSx
Where x is the power supply unit identifier, 0 or 1.
Chapter 2Removing and Replacing Components 2-15
2-16 Sun Fire V210 and V240 Servers Administration Guide • December 2005
CHAPTER
3
Sun Advanced Lights Out Manager
This chapter gives an overview of the Sun Advanced Lights Out Manager (ALOM)
software. The chapter contains:
■ Section 3.1, “Sun Advanced Lights Out Manager (ALOM)” on page 3-2
■ Section 3.2, “ALOM Management Ports” on page 3-4
■ Section 3.3, “Setting the admin Password” on page 3-5
■ Section 3.4, “Basic ALOM Functions” on page 3-5
3-1
3.1Sun Advanced Lights Out Manager
(ALOM)
Both the Sun Fire V210 server and the Sun Fire V240 server are shipped with Sun
Advanced Lights Out Manager (ALOM) 1.5.4 or a subsequently compatible version
of ALOM software preinstalled. The system console is directed to ALOM by default
and is configured to show server console information on startup.
For the latest up-to-date documentation about ALOM see the following web sites:
http://www.sun.com/server
http://docs.sun.com
Always download and use the latest version of ALOM that is compatible with the
version of OpenBoot PROM you are using.
ALOM enables you to monitor and control your server through a serial connection
(using the SERIAL MGT port), or Ethernet connection (using the NET MGT port).
Note – The ALOM serial port, labelled SERIAL MGT, is for server management
only. If you need a general purpose serial port, use the serial port labeled 10101.
Note – If you use ALOM to reset the server and the diag-switch? is set to true,
the bootscript command is not executed when the server reboots. If you use
OpenBoot PROM to reset the server, bootscript executes correctly.
ALOM can be configured to send email notification of hardware failures and other
events related to the server or to ALOM.
3.1.1Email Delivery Alerts
If you have alerts configured for email delivery, ALOM waits for success or failure
confirmation from email delivery before sending the next alert. This affects event
alerts sent to the ALOM shell and to syslog. If mail alerts are incorrectly
configured, this could result in significant delays. These delays do not occur if email
alerts are not configured.
If you are experiencing delays in alerts, check to see that the values you entered for
the mgt_mailhost and mgt_mailalert configuration variables are correct. For
more information refer to ALOM online help.
3-2 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Note – When a mail alert occurs and the mail host is unable to communicate with
the network’s naming service (for example, NIS), ALOM stops generating and
logging messages.
3.1.2What ALOM Monitors
The ALOM circuitry uses standby power from the server. This means that:
■ ALOM is active as soon as the server is connected to a power source, and until
power is removed by unplugging the power cable.
■ ALOM firmware and software continue to be effective when the server operating
system goes offline.
See TABLE 3-1 for a list of components monitored by ALOM and the information it
provides for each.
TABLE 3-1 What ALOM Monitors
ComponentInformation
Hard drivesPresence and status
System and CPU fansSpeed and status
CPUsPresence, temperature, and any thermal warning or
failure conditions
DIMMsMemory errors
Power suppliesPresence and status
System temperatureAmbient temperature and any thermal warning or
failure conditions
Server front panelKeyswitch position and LED status
VoltageStatus and thresholds
SCSI circuit breakersStatus
Note – When you issue the showfru command from the ALOM command shell, the
command does not read the layout of the DIMMs.
Chapter 3Sun Advanced Lights Out Manager 3-3
Note – When OpenBoot PROM reports DIMM errors to ALOM, it sends system
concole (SC) alert messages with the incorrect memory slot position for the Sun Fire
V210 and V240 servers. However the memory errors are still valid.
3.1.3Automatic Server Restart
Note – Automatic Server Restart is not the same as Automatic System Recovery
(ASR), which the Sun Fire V210 and V240 servers also support. For additional
information about Automatic System Recovery see,
Recovery” on page 6-30.
Automatic Server Restart is a component of ALOM. It monitors the Solaris OS while
it is running and, by default, synchronizes the file systems and restarts the server if
it hangs.
ALOM uses a watchdog process to monitor the kernel only. ALOM does not restart
the server if a process hangs and the kernel is still running. The ALOM watchdog
parameters for the watchdog patting interval and watchdog time-out are not user
configurable.
Section 6.11, “Automatic System
If the kernel hangs and the watchdog times out, ALOM reports and logs the event
and performs one of three user-configurable actions.
■ xir — This is the default action and does not cause the server to sync the file
systems and restart. In the event of the sync hanging, ALOM fallbacks to a hard
reset after 15 minutes.
■ Reset — This is a hard reset and results in a rapid system recovery but diagnostic
data regarding the hang is not stored.
■ None — This results in the system being left in the hung state indefinitely after
the watchdog time-out has been reported.
For additional information see: http://docs.sun.com, search ALOM for the
ALOM documentation.
3.2ALOM Management Ports
The default management port is labeled SERIAL MGT. This port uses an RJ-45
connector and is for server management only—it supports only ASCII connections to
an external console. Use this port when you first begin to operate the server.
3-4 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Another serial port—labeled 10101— is available for general purpose serial data
transfer. This port uses a DB-9 connector.
In addition, the server has one 10BASE-T Ethernet management domain interface,
labelled NET MGT. To use this port, ALOM configuration is required.
Note – If you use the OpenBoot PROM command setenv ttya-mode to change
the speed of the ALOM serial port (SERIAL MGT) to a value other than the default
of 9600 baud, reset the host server. This sets the port speed to the specified value.
For additional information see: http://docs.sun.com
Search for ALOM to find the ALOM documentation.
3.3Setting the admin Password
When you switch to the ALOM prompt after initial power on, you are logged in as
the admin user and prompted to set a password. You must set this password in
order to execute certain commands.
● If you are prompted to do so, set a password for the admin user.
The password must:
■ contain at least two alphabetic characters
■ contain at least one numeric or one special character
■ be at least six characters long
Once the password is set, the admin user has full permissions and can execute all
ALOM CLI commands.
Tip – If you login to ALOM with a 16-character user name and execute the
showusers command, ALOM enters a loop and refuses all other connection
attempts. If you encounter this problem, establish a telenet connection to the host
server and use the scadm resetrsc command to reset ALOM.
3.4Basic ALOM Functions
This section covers some basic ALOM functions.
Chapter 3Sun Advanced Lights Out Manager 3-5
Tip – For additional information see: http://docs.sun.com. Search for ALOM to
find the ALOM documentation.
3.4.1To Switch to the ALOM Prompt
● Type the following:
# #.
Note – When you switch to the ALOM prompt, you are logged in with the userid
“admin”. See Section 3.3, “Setting the admin Password” on page 3-5.
3.4.2To Switch to the Server Console Prompt
● Type the following:
sc> console
More than one ALOM user can be connected to the server console stream, but only
one user is permitted to type input characters to the console.
If another user is logged on and has write capability, you will see the following
message after issuing the console command:
sc> Console session already in use. [view mode]
To take console write capability away from another user, type:
sc> console -f
3-6 Sun Fire V210 and V240 Servers Administration Guide • December 2005
3.4.3To Set the Serial Port Speed Back to the Default
● Type the following:
sc> bootmode reset-nvram
sc> reset
3.4.4scadm resetrsc Command
If two users are running ALOM at the same time and one user issues the scadm resetrsc command for Solaris OS while the other user is updating ALOM
firmware using either the scadm download command or the ALOM shell
command flashupdate, the firmware could become corrupted and cause ALOM to
be unusable.
■ Do not issue the scadm resetrsc command until after the firmware update is
complete.
■ Do not issue the scadm resetrsc command within 60 seconds after the
firmware update has been completed.
3.4.5TTYB Console Output
If you have your console set to TTYB (10101) rather than to TTYA (the ALOM serial
port, labeled SERIAL MGT), you may not see all the output from the console. This is
because both OpenBoot PROM and Power-On Self-Test (POST) send diagnostic
output to TTYA by default.
Chapter 3Sun Advanced Lights Out Manager 3-7
3-8 Sun Fire V210 and V240 Servers Administration Guide • December 2005
CHAPTER
4
Sun Management Center
This chapter describes SunMC. The chapter contains the sections:
■ Section 4.1, “Sun Management Center” on page 4-2
■ Section 4.2, “Hardware Diagnostic Suite” on page 4-4
4-1
4.1Sun Management Center
Sun Management Center software provides enterprise-wide monitoring of Sun
servers and workstations, including their subsystems, components, and peripheral
devices. The system being monitored must be up and running, and you need to
install all the proper software components on various systems in your network.
Sun Management Center lets you monitor the following on the Sun Fire V210 and
V240 Server server (
TABLE 4-1 What Sun Management Center Monitors
Item MonitoredWhat Sun Management Center Monitors
Disk drivesStatus
FansStatus
CPUsTemperature and any thermal warning or failure conditions
Power supplyStatus
System temperature Temperature and any thermal warning or failure conditions
TABLE 4-1).
4.1.1How Sun Management Center Works
The Sun Management Center consists of three components:
■ Agent
■ Server
■ Monitor
You install agents on systems to be monitored. The agents collect system status
information from log files, device trees, and platform-specific sources, and reports
that data to the server component.
The server component maintains a large database of status information for a wide
range of Sun platforms. This database is updated frequently, and includes
information about boards, tapes, power supplies, and disks as well as operating
system parameters like load, resource usage, and disk space. You can create alarm
thresholds and be notified when these are exceeded.
4-2 Sun Fire V210 and V240 Servers Administration Guide • December 2005
The monitor components present the collected data to you in a standard format. Sun
Management Center software provides both a standalone Java
Web browser-based interface. The Java interface affords physical and logical views
of the system for highly-intuitable monitoring.
TM
application and a
4.1.2Other Sun Management Center Features
Sun Management Center software provides you with additional tools, which can
operate with management utilities made by other companies.
The tools are an informal tracking mechanism and the optional add-on, Hardware
Diagnostics Suite.
4.1.2.1Informal Tracking
Sun Management Center agent software must be loaded on any system you want to
monitor. However, the product lets you informally track a supported platform even
when the agent software has not been installed on it. In this case, you do not have
full monitoring capability, but you can add the system to your browser, have Sun
Management Center periodically check whether it is up and running, and notify you
if it goes out of commission.
4.1.2.2Hardware Diagnostic Suite
The Hardware Diagnostic Suite is a package which you can purchase as an add-on to
Sun Management Center. The suite lets you exercise a system while it is still up and
running in a production environment. See
If you administer a heterogeneous network and use a third-party network-based
system monitoring or management tool, you may be able to take advantage of Sun
Management Center software’s support for Tivoli Enterprise Console, BMC Patrol,
and HP Openview.
Chapter 4 Sun Management Center 4-3
4.1.3Using Sun Management Center
Sun Management Center software is aimed at system administrators who have large
data centers to monitor or other installations that have many computer platforms to
monitor. If you administer a smaller installation, you need to weigh Sun
Management Center software’s benefits against the requirement of maintaining a
significant database (typically over 700 Mbytes) of system status information.
The servers to be monitored must be running, Sun Management Center relies on the
Solaris OS for its operation.
Tip – For detailed instructions, see the Sun Management Center 3.0 Supplement for Sun
Fire, Sun Blade, and Netra Systems (817-1007).
4.1.3.1Obtaining the Latest Information
For the latest information about this product, go to the Sun Management Center Web
site: http://www.sun.com/sunmanagementcenter.
4.2Hardware Diagnostic Suite
The Sun Management Center features an optional Hardware Diagnostic Suite, which
you can purchase as an add-on. The Hardware Diagnostic Suite is designed to
exercise a production system by running tests sequentially.
Sequential testing means the Hardware Diagnostic Suite has a low impact on the
system. Unlike SunVTS
many parallel tests (see
server run other applications while testing proceeds.
4.2.1When to run Hardware Diagnostic Suite
The best use of the Hardware Diagnostic Suite is to identify a suspected or
intermittent problem with a non-critical part on an otherwise functioning system.
Examples might include questionable disk drives or memory modules on a server
that has ample or redundant disk and memory resources.
TM
, which stresses a system by consuming its resources with
“SunVTS” on page 2), the Hardware Diagnostic Suite lets the
4-4 Sun Fire V210 and V240 Servers Administration Guide • December 2005
In cases like these, the Hardware Diagnostic Suite runs unobtrusively until it
identifies the source of the problem. The machine under test can be kept in
production mode until and unless it must be shut down for repair. If the faulty part
is hot-pluggable or hot-swappable, the entire diagnose-and-repair cycle can be
completed with minimal impact to system users.
4.2.2Requirements for Using Hardware Diagnostic
Suite
Since it is a part of Sun Management Center, you can only run Hardware Diagnostic
Suite if you have set up your data center to run Sun Management Center. This
means you have to dedicate a master server to run the Sun Management Center
server software that supports Sun Management Center software’s database of
platform status information. In addition, you must install and set up Sun
Management Center agent software on the systems to be monitored. Finally, you
need to install the console portion of Sun Management Center software, which
serves as your interface to the Hardware Diagnostic Suite.
Instructions for setting up Sun Management Center, as well as for using the
Hardware Diagnostic Suite, can be found in the Sun Management Center Software User’s Guide.
Chapter 4Sun Management Center 4-5
4-6 Sun Fire V210 and V240 Servers Administration Guide • December 2005
CHAPTER
5
SunVTS
This chapter contains information about SunVTS.
5-1
5.1SunVTS
SunVTS is a software suite that performs system, subsystem, and configuration
testing. You can view and control a SunVTS session over a network. Using a remote
system, you can view the progress of a testing session, change testing options, and
control all testing features of another machine on the network.
You can run SunVTS software in three different test modes:
■ Connection mode verifies the presence of device controllers on all subsystems. This
typically takes no more than a few minutes and is a good way to “sanity check”
system connections.
■ Functional mode exercises only the specific subsystems you choose. This is the
default mode.
■ Auto Config mode automatically detects all subsystems and exercises them in one
of two ways:
■ Confidence testing – performs one pass of tests on all subsystems, and then
stops. For typical system configurations, this requires one or two hours.
■ Comprehensive testing – tests all subsystems repeatedly for up to 24 hours.
Since SunVTS software can run many tests in parallel and consume many system
resources, you should take care when using it on a production system. If you are
stress-testing a system using SunVTS software’s Comprehensive test mode, do not
run anything else on that system at the same time.
A server must be running the Solaris OS for SunVTS software to be able to test it.
Since SunVTS software packages are optional, they may not be installed on your
system. See
“To Find Out Whether SunVTS Is Installed” on page 4 for instructions.
5.1.1SunVTS Software and Security
During SunVTS software installation, you must choose between Basic or Sun
Enterprise Authentication Mechanism
file in the SunVTS installation directory to limit the users, groups, and hosts
permitted to use SunVTS software. Sun Enterprise Authentication Mechanism
security is based on the standard network authentication protocol Kerberos and
provides secure user authentication, data integrity and privacy for transactions over
networks.
If your site uses Sun Enterprise Authentication Mechanism security, you must have
Sun Enterprise Authentication Mechanism client and server software installed on
your network and configured properly in both Solaris and SunVTS software. If your
5-2 Sun Fire V210 and V240 Servers Administration Guide • December 2005
TM
security. Basic security uses a local security
site does not use Sun Enterprise Authentication Mechanism security, do not choose
the Sun Enterprise Authentication Mechanism option during SunVTS software
installation.
If you enable the wrong security scheme during installation, or if you improperly
configure the security scheme you choose, you may find yourself unable to run
SunVTS tests. For more information, see the SunVTS User’s Guide and the
instructions accompanying the Sun Enterprise Authentication Mechanism software.
5.1.2Using SunVTS
SunVTS, the Sun Validation and Test Suite, is an online diagnostics tool that you can
use to verify the configuration and functionality of hardware controllers, devices,
and platforms. It runs in the Solaris OS and presents the following interfaces:
■ command-line interface
■ serial (tty) interface
SunVTS software lets you view and control testing sessions on a remotely connected
server. The following is a list of some of the tests that are available:
TABLE 5-1 SunVTS Tests
SunVTS TestDescription
cputestTests the CPU.
disktestTests the local disk drives.
dvdtestTests the DVD-ROM drive.
fputestTests the floating-point unit.
nettestTests the Ethernet hardware on the system board and the
networking hardware on any optional PCI cards.
netlbtestPerforms a loopback test to check that the Ethernet adapter can
send and receive packets.
pmemTests the physical memory (read only).
sutestTests the server’s on-board serial ports.
vmemTests the virtual memory (a combination of the swap partition and
the physical memory).
Chapter 5 SunVTS 5-3
TABLE 5-1 SunVTS Tests
SunVTS TestDescription
env6testTests temperature sensors, power supply status, fan speeds, and
keyswitch position. Test LEDs by toggling them on and off.
ssptestTests functionality of ALOM hardware. Test onboard Ethernet, flash
ram, SEEPROM, TOD, I
system, and serial ports.
i2c2testVerifies all available I2C devices and the system bus connections.
Performs data checking for SCC and FRU SEEPROM devices.
2
C connections from ALOM to the host
5.1.3To Find Out Whether SunVTS Is Installed
● Type the following:
# pkginfo -l SUNWvts
■ If SunVTS software is loaded, information about the package is displayed.
■ If SunVTS software is not loaded, you see the following error message:
ERROR: information for “SUNWvts” was not found
5.1.4Installing SunVTS
By default, SunVTS is not installed on the Sun Fire V210 and V240 servers. However,
it is available on the software supplement CD supplied with the Solaris OS. For
information about downloading it from this CD, refer to the Sun Hardware Platform Guide for the release of the Solaris OS you are using.
To find out more about using SunVTS, refer to the SunVTS documentation that
corresponds to the Solaris OS release that you are running.
5-4 Sun Fire V210 and V240 Servers Administration Guide • December 2005
5.1.5Viewing SunVTS Documentation
SunVTS documents are included on the Software Supplement CD that is part of each
Solaris Media Kit release and is also accessible at http://docs.sun.com.
For further information, you can also consult the following SunVTS documents:
■ SunVTS User’s Guide describes how to install, configure, and run the SunVTS
diagnostic software.
■ SunVTS Quick Reference Card provides an overview of how to use the SunVTS
CDE interface.
■ SunVTS Test Reference Manual provides details about each individual SunVTS test.
Chapter 5 SunVTS 5-5
5-6 Sun Fire V210 and V240 Servers Administration Guide • December 2005
CHAPTER
6
Diagnostics
This chapter describes the diagnostics tools available to the Sun Fire V210 and V240
servers. The chapter contains the sections:
■ Section 6.1, “Overview of Diagnostic Tools” on page 6-2
■ Section 6.3, “Sun Advanced Lights Out Manager” on page 6-3
■ Section 6.2, “Status Indicators” on page 6-3
■ Section 6.4, “POST Diagnostics” on page 6-4
■ Section 6.5, “OpenBoot Diagnostics” on page 6-8
■ Section 6.6, “OpenBoot Commands” on page 6-13
■ Section 6.7, “Operating System Diagnostic Tools” on page 6-17
■ Section 6.8, “Recent Diagnostic Test Results” on page 6-25
■ Section 6.9, “OpenBoot Configuration Variables” on page 6-26
■ Section 6.10, “Additional Diagnostic Tests for Specific Devices” on page 6-27
■ Section 6.11, “Automatic System Recovery” on page 6-30
6-1
6.1Overview of Diagnostic Tools
Sun provides a range of diagnostic tools for use with the Sun Fire V210 and V240
servers.
These diagnostic tools are summarized in TABLE 6-1.
TABLE 6-1 Summary of Diagnostic Tools
Diagnostic ToolTypeWhat It DoesAccessibility and Availability
Remote
Capability
LEDsHardwareIndicate status of overall system
and particular components.
ALOMHardware
and
software
POSTFirmwareTests core components of system.Runs automatically on
Accessed from system
chassis. Available anytime
power is available.
Can function on standby
power and without
operating system.
startup. Available when the
operating system is not
running.
Runs automatically or
interactively. Available
when the operating system
is not running.
Available when the
operating system is not
running.
Requires operating system.Local, but
Local, but
can be
viewed via
ALOM
Designed for
remote
access
Local, but
can be
viewed via
ALOM
Local, but
can be
viewed via
ALOM
Local, but
can be
accessed via
ALOM
can be
accessed via
ALOM
6-2 Sun Fire V210 and V240 Servers Administration Guide • December 2005
TABLE 6-1 Summary of Diagnostic Tools (Continued)
Diagnostic ToolTypeWhat It DoesAccessibility and Availability
Remote
Capability
SunVTSSoftwareExercises and stresses the system,
running tests in parallel.
Sun
Management
Center
Hardware
Diagnostic
Suite
SoftwareMonitors both hardware
environmental conditions and
software performance of multiple
machines. Generates alerts for
various conditions.
SoftwareExercises an operational system
by running sequential tests. Also
reports failed FRUs.
6.2Status Indicators
Requires operating system
functionality. Optional
package may need to be
installed.
Requires operating system
to be running on both
monitored and master
servers. Requires a
dedicated database on the
master server.
Separately purchased
optional add-on to Sun
Management Center.
Requires operating system
and Sun Management
Center.
View and
control over
network
Designed for
remote
access
Designed for
remote
access
For a summary of the server’s LED status indicators, see Section 1.2.1, “Server Status
Indicators” on page 1-6.
6.3Sun Advanced Lights Out Manager
Both the Sun Fire V210 server and the Sun Fire V240 server are shipped with Sun™
Advanced Lights Out Manager (ALOM) pre-installed.
ALOM enables you to monitor and control your server through a serial connection
(using the SERIAL MGT port), or Ethernet connection (using the NET MGT port).
ALOM can send email notification of hardware failures or other server events.
The ALOM circuitry uses standby power from the server. This means that:
■ ALOM is active as soon as the server is connected to a power source, and until
power is removed by unplugging the power cable.
Chapter 6 Diagnostics 6-3
■ ALOM continues to be effective when the server operating system goes off-line.
See TABLE 3-1 for a list of the components monitored by ALOM and the information
it provides for each.
Tip – For additional information see the Advanced Lights Out Management User’s
Guide (817-5481).
6.4POST Diagnostics
POST is a firmware program that is useful in determining if a portion of the system
has failed. POST verifies the core functionality of the system, including the CPU
module or modules, motherboard, memory, and some on-board I/O devices. POST
generates messages that can be useful in determining the nature of a hardware
failure. POST can be run even if the system is unable to boot.
POST detects most system faults and is located in the motherboard OpenBoot™
PROM. POST can be set to run by the OpenBoot firmware at power up by setting
two environment variables, the diag-switch? and the diag-level flag, which are
stored on the system configuration card.
POST runs automatically when the system power is applied and all of the following
conditions apply:
■ diag-switch? is set to true (default is false)
■ diag-level is set to min, max or menus (default is min)
POST also runs automatically when the system is reset and all of the following
conditions apply:
■ diag-switch? is set to false (default is false)
■ the current type of system reset matches any of the reset types set in post-trigger
■ diag-level is set to min, max or menus (default is min)
If diag-level is set to min or max, POST performs an abbreviated or extended test,
respectively.
If diag-level is set to menus, a menu of all the tests executed at power up is
displayed.
POST diagnostic and error message reports are displayed on a console.
6-4 Sun Fire V210 and V240 Servers Administration Guide • December 2005
6.4.1To Start POST Diagnostics—Method 1
There are two methods for starting POST diagnostics. In the following procedures
both methods are described.
1. Go to the ok prompt.
2. Type:
ok setenv diag-switch? true
3. Type:
ok setenv diag-level value
Where value is either min or max depending on the desired range coverage.
4. Power cycle the server.
After you have powered the server off, wait 60 seconds before powering the server
on. POST executes after the server is powered on.
Note – Status and error messages could be displayed in the console window. If
POST detects an error, it displays an error message describing the failure.
5. When you have finished running POST, restore the value of diag-switch? to
false by typing:
ok setenv diag-switch? false
Resetting diag-switch? to false minimizes boot time.
6.4.2To Start POST Diagnostics—Method 2
1. Go to the ok prompt.
2. Type:
ok setenv diag-switch? false
Chapter 6 Diagnostics 6-5
3. Type:
ok setenv diag-level value
Where value is either min or max depending on the desired range of coverage.
4. Type:
ok setenv diag-trigger user-reset
5. Type:
ok setenv diag-trigger all-resets
Note – Status and error messages could be displayed in the console window. If
POST detects an error, it displays an error message describing the failure.
6.4.3Controlling POST Diagnostics
You control POST diagnostics, and other aspects of the boot process by setting
OpenBoot configuration variables. Changes to OpenBoot configuration variables
generally take effect only after the system is restarted.
important and useful of these variables. You can find instructions for changing
OpenBoot configuration variables in
Variables” on page 6-26.
Section 6.9, “OpenBoot Configuration
TABLE 6-2 lists the most
6-6 Sun Fire V210 and V240 Servers Administration Guide • December 2005
TABLE 6-2 OpenBoot Configuration Variables
OpenBoot Configuration
Variable
Description and Keywords
auto-bootDetermines whether the operating system automatically starts up. Default is true.
• true – Operating system automatically starts once firmware tests finish.
• false – System remains at ok prompt until you type boot.
diag-levelDetermines the level or type of diagnostics executed. Default is min.
• off – No testing.
• min – Only basic tests are run.
• max – More extensive tests may be run, depending on the device.
diag-scriptDetermines which devices are tested by OpenBoot Diagnostics. Default is none.
• none – No devices are tested.
• normal – On-board (centerplane-based) devices that have self-tests are tested.
• all – All devices that have self-tests are tested.
diag-switch?Toggles the system in and out of diagnostic mode. Default is false.
• true – Diagnostic mode: POST diagnostics and OpenBoot Diagnostics tests may
run.
• false – Default mode: Do not run POST or OpenBoot Diagnostics tests.
diag-triggerSpecifies the class of reset event that causes Power-On Self-Test and OpenBoot
Diagnostics to run. These variables can accept single keywords as well as
combinations of the first three keywords separated by spaces. For details, see
“To View
and Set OpenBoot Configuration Variables” on page 26.
• error-reset – A reset caused by certain non-recoverable hardware error
conditions. In general, an error reset occurs when a hardware problem corrupts system
data. Examples include CPU and system watchdog resets, fatal errors, and certain
CPU reset events (default).
• power-on-reset – A reset caused by pressing the Power button (default).
• user-reset – A reset initiated by the user or the operating system.
• all-resets – Any kind of system reset.
• none – No Power-On Self-Tests or OpenBoot Diagnostics tests run.
input-deviceSelects where console input is taken from. Default is TTYA.
• TTYA – From built-in SERIAL MGT port.
• TTYB – From built-in general purpose serial port (10101)
• keyboard – From attached keyboard that is part of a graphics terminal.
output-deviceSelects where diagnostic and other console output is displayed. Default is TTYA.
• TTYA – To built-in SERIAL MGT port.
• TTYB – To built-in general purpose serial port (10101)
• screen – To attached screen that is part of a graphics terminal.
1 – POST messages cannot be displayed on a graphics terminal. They are sent to TTYA even when output-device is set to screen.
1
Chapter 6 Diagnostics 6-7
Note – These variables affect OpenBoot Diagnostics tests as well as POST
diagnostics.
Once POST diagnostics have finished running, POST reports back to the OpenBoot
firmware the status of each test it has run. Control then reverts back to the OpenBoot
firmware code.
If POST diagnostics do not uncover a fault, and your server still does not start up,
run OpenBoot Diagnostics tests.
6.5OpenBoot Diagnostics
Like POST diagnostics, OpenBoot Diagnostics code is firmware-based and resides in
the OpenBoot PROM.
6.5.1To Start OpenBoot Diagnostics
1. Type:
ok setenv diag-switch? true
ok setenv diag-level max
ok setenv auto-boot? false
ok reset-all
2. Type:
ok obdiag
This command displays the OpenBoot Diagnostics menu. See TABLE 6-3.
6-8 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Note – If you have a PCI card installed in the server, then additional tests are
displayed on the OBDiag menu.
3. Type:
obdiag> test n
Where n represents the number corresponding to the test you want to run.
A summary of the tests is available. At the obdiag> prompt, type:
obdiag> help
6.5.2Controlling OpenBoot Diagnostics Tests
Most of the OpenBoot configuration variables you use to control POST (see TABLE 6-2
on page 7) also affects OpenBoot Diagnostics tests.
■ Use the diag-level variable to control the OpenBoot Diagnostics testing level.
■ Use test-args to customize how the tests run.
By default, test-args is set to contain an empty string. You can modify testargs using one or more of the reserved keywords shown in
TABLE 6-4.
Chapter 6 Diagnostics 6-9
TABLE 6-4 Keywords for the test-args OpenBoot Configuration Variable
KeywordWhat It Does
bistInvokes built-in self-test (BIST) on external and peripheral devices.
debugDisplays all debug messages.
iopathVerifies bus/interconnect integrity.
loopbackExercises external loopback path for the device.
mediaVerifies external and peripheral device media accessibility.
restoreAttempts to restore original state of the device if the previous
execution of the test failed.
silentDisplays only errors rather than the status of each test.
subtestsDisplays main test and each subtest that is called.
verboseDisplays detailed messages of status of all tests.
callers=nDisplays backtrace of n callers when an error occurs.
callers=0 - displays backtrace of all callers before the error. Default is callers=1.
errors=nContinues executing the test until n errors are encountered.
errors=0 - displays all error reports without terminating testing.
Default is errors=1.
If you want to customize the OpenBoot Diagnostics testing, you can set test-args
to a comma-separated list of keywords, as in this example:
ok setenv test-args debug,loopback,media
6.5.2.1test and test-all Commands
You can also run OpenBoot Diagnostics tests directly from the ok prompt. To do this,
type the test command, followed by the full hardware path of the device (or set of
devices) to be tested. For example:
ok test /pci@x,y/SUNW,qlc@2
Knowing how to construct an appropriate hardware device path requires precise
knowledge of the hardware architecture of the Sun Fire V210 and V240 servers.
6-10 Sun Fire V210 and V240 Servers Administration Guide • December 2005
Tip – Use the show-devs command to list the hardware device paths.
To customize an individual test, you can use test-args as follows:
ok test /usb@1,3:test-args={verbose,debug}
This affects only the current test without changing the value of the test-args
OpenBoot configuration variable.
You can test all the devices in the device tree with the test-all command:
ok test-all
If you specify a path argument to test-all, then only the specified device and its
children are tested. The following example shows the command to test the USB bus
and all devices with self-tests that are connected to the USB bus:
ok test-all /pci@9,700000/usb@1,3
6.5.2.2What OpenBoot Diagnostics Error Messages Tell You
OpenBoot Diagnostics error results are reported in a tabular format that contains a
short summary of the problem, the hardware device affected, the subtest that failed,
and other diagnostic information.
Diagnostics error message.
CODE EXAMPLE 6-1 displays a sample OpenBoot
Chapter 6 Diagnostics 6-11
CODE EXAMPLE 6-1 OpenBood Diagnostics Error Message
Testing /pci@1e,600000/isa@7/flashprom@2,0
ERROR : There is no POST in this FLASHPROM or POST header is
unrecognized
DEVICE : /pci@1e,600000/isa@7/flashprom@2,0
SUBTEST : selftest:crc-subtest
MACHINE : Sun Fire V210
SERIAL# : 51347798
DATE : 03/05/2003 15:17:31 GMT
CONTR0LS: diag-level=max test-args=errors=1
To change the system defaults and the diagnostics settings after initial boot, refer to
the OpenBoot PROM Enhancements for Diagnostic Operation (817-6957). You can view
or print this document by going to:
http://www.sun.com/documentation
6-12 Sun Fire V210 and V240 Servers Administration Guide • December 2005
6.6OpenBoot Commands
OpenBoot commands are commands you type from the ok prompt. OpenBoot
commands which can provide useful diagnostic information are:
■ probe-scsi
■ probe-ide
■ show-devs
6.6.1probe-scsi Command
The probe-scsi command is used to diagnose problems with SCSI devices.
Caution – If you used the halt command or the Stop-A key sequence to reach the
ok prompt, then issuing the probe-scsi command can hang the system.
The probe-scsi command communicates with all SCSI devices connected to onboard SCSI controllers.
For any SCSI device that is connected and active, the probe-scsi command
displays its loop ID, host adapter, logical unit number, unique World Wide Name
(WWN), and a device description that includes type and manufacturer.
The following is sample output from the probe-scsi command.
CODE EXAMPLE 6-2 Sample probe-scsi Command Output
{1} ok probe-scsi
Target 0
Unit 0 Disk SEAGATE ST336605LSUN36G 0238
Target 1
Unit 0 Disk SEAGATE ST336605LSUN36G 0238
Target 2
Unit 0 Disk SEAGATE ST336605LSUN36G 0238
Target 3
Unit 0 Disk SEAGATE ST336605LSUN36G 0238
Chapter 6 Diagnostics 6-13
6.6.2probe-ide Command
The probe-ide command communicates with all Integrated Drive Electronics (IDE)
devices connected to the IDE bus. This is the internal system bus for media devices
such as the DVD drive.
Caution – If you used the halt command or the Stop-A key sequence to reach the
ok prompt, then issuing the probe-ide command can hang the system.
The following is sample output from the probe-ide command.
The show-devs command lists the hardware device paths for each device in the
firmware device tree. The following code example shows sample output from the
show-devs command.
CODE EXAMPLE 6-4 show-devs Command Output
ok show devs
/pci@1d, 700000
/pci@1c,600000
/pci@1e,600000
/pci@1f,700000
/memory-controller@1,0
/SUNW,UltraSPARC-IIIi@1,0
/memory-controller@0,0
6-14 Sun Fire V210 and V240 Servers Administration Guide • December 2005
CODE EXAMPLE 6-4 show-devs Command Output (Continued)
Caution – If you used the halt command or the Stop-A key sequence to reach the
ok prompt, then issuing the probe-scsi command can hang the system.
1. Halt the system to reach the ok prompt.
How you do this depends on the system’s condition. If possible, you should warn
users before you shut the system down.
2. Type the appropriate command at the console prompt.
6-16 Sun Fire V210 and V240 Servers Administration Guide • December 2005
6.7Operating System Diagnostic Tools
If a system passes OpenBoot Diagnostics tests, it normally attempts to boot its
multiuser operating system. For most Sun systems, this means the Solaris OS. Once
the server is running in multiuser mode, you have access to the software-based
diagnostic tools, SunVTS, and Sun Management Center. These tools enable you to
monitor the server, exercise it, and isolate faults.
Note – If you set the auto-boot OpenBoot configuration variable to false, the
operating system does not boot following completion of the firmware-based tests.
In addition to the tools mentioned, you can refer to error and system message log
files, and Solaris system information commands.
6.7.1Error and System Message Log Files
Error and other system messages are saved in the /var/adm/messages file.
Messages are logged to this file from many sources, including the operating system,
the environmental control subsystem, and various software applications.
6.7.2Solaris System Information Commands
The following Solaris commands display data that you can use when assessing the
condition of a Sun Fire V210 and V240 Servers server:
■ prtconf
■ prtdiag
■ prtfru
■ psrinfo
■ showrev
This section describes the information these commands give you. More information
about using each command is contained in the appropriate man page.
Chapter 6 Diagnostics 6-17
6.7.2.1prtconf command
The prtconf command displays the Solaris device tree. This tree includes all the
devices probed by OpenBoot firmware, as well as additional devices, like individual
disks, that only the operating system software can detect. The output of prtconf
also includes the total amount of system memory.
excerpt of prtconf output.
CODE EXAMPLE 6-5 prtconf Command Output
# prtconf
System Configuration: Sun Microsystems sun4u
Memory size: 1024 Megabytes
System Peripherals (Software Nodes):
SUNW,Sun-Fire-V240
packages (driver not attached)
SUNW,builtin-drivers (driver not attached)
deblocker (driver not attached)
disk-label (driver not attached)
terminal-emulator (driver not attached)
dropins (driver not attached)
kbd-translator (driver not attached)
obp-tftp (driver not attached)
SUNW,i2c-ram-device (driver not attached)
SUNW,fru-device (driver not attached)
ufs-file-system (driver not attached)
chosen (driver not attached)
openprom (driver not attached)
client-services (driver not attached)
options, instance #0
aliases (driver not attached)
memory (driver not attached)
virtual-memory (driver not attached)
SUNW,UltraSPARC-IIIi (driver not attached)
memory-controller, instance #0
SUNW,UltraSPARC-IIIi (driver not attached)
memory-controller, instance #1 ...
CODE EXAMPLE 6-5 shows an
The prtconf command’s -p option produces output similar to the OpenBoot
show-devs command. This output lists only those devices compiled by the system
firmware.
6-18 Sun Fire V210 and V240 Servers Administration Guide • December 2005
6.7.2.2prtdiag Command
The prtdiag command displays a table of diagnostic information that summarizes
the status of system components. The display format used by the prtdiag
command can vary depending on what version of the Solaris OS is running on your
system. Following is an excerpt of the output produced by prtdiag on a healthy
Sun Fire V240 server running Solaris OS 8, PSR1.
Chapter 6 Diagnostics 6-19
CODE EXAMPLE 6-6 prtdiag Command Output
# prtdiag
System Configuration: Sun Microsystems sun4u Sun Fire V240
System clock frequency: 160 MHZ
Memory size: 1GB
==================================== CPUs ====================================
E$ CPU CPU Temperature Fan
CPU Freq Size Impl. Mask Die Ambient Speed Unit
6-20 Sun Fire V210 and V240 Servers Administration Guide • December 2005
In addition to the information in CODE EXAMPLE 6-6, prtdiag with the verbose
option (-v) reports on front panel status, disk status, fan status, power supplies,
hardware revisions, and system temperatures.
The Sun Fire V210 and V240 servers maintain a hierarchical list of all field-replacable
units (FRUs) in the system, as well as specific information about various FRUs.
The prtfru command can display this hierarchical list, as well as data contained in
the serial electrically-erasable programmable read-only memory (SEEPROM) devices
located on many FRUs.
CODE EXAMPLE 6-10 shows an excerpt of a hierarchical list of FRUs generated by the
Data displayed by the prtfru command varies depending on the type of FRU. In
general, it includes:
■ FRU description
■ Manufacturer name and location
■ Part number and serial number
■ Hardware revision levels
6.7.2.4psrinfo Command
The psrinfo command displays the date and time each CPU came online. With the
verbose (-v) option, the command displays additional information about the CPUs,
including their clock speed. The following is sample output from the psrinfo
command with the -v option.
CODE EXAMPLE 6-12 psrinfo -v Command Output
# psrinfo -v
Status of processor 0 as of: 09/20/02 11:35:49
Processor has been on-line since 09/20/02 11:30:53.
The sparcv9 processor operates at 960 MHz,
and has a sparcv9 floating point processor.
Status of processor 1 as of: 09/20/02 11:35:49
Processor has been on-line since 09/20/02 11:30:52.
The sparcv9 processor operates at 960 MHz,
and has a sparcv9 floating point processor.
Chapter 6 Diagnostics 6-23
6.7.2.5showrev Command
The showrev command displays revision information for the current hardware and
software.