Sun SPARC® Enterprise MX000 Server Administration ES-411 M9000
Sun SPARC® Enterprise MX000 Server Administration ES-411 M9000
Sun SPARC® Enterprise MX000 Server Administration ES-411 M9000
Server Administration
ES-411
M9000
Student Guide
Copyright 2010 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.
This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and
decompilation. No part of this product or 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.
Sun, Sun Microsystems, the Sun logo, Solaris, Sun Fire, Sun StorageTek, Java, Sunsolve, Sun4U, OpenBoot, Sun Enterprise, and Sun
StorEdge are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and
other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.
UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd.
ORACLE is a registered trademark of Oracle Corporation.
Adobe is a registered trademark of Adobe Systems, Incorporated.
Federal Acquisitions: Commercial Software Government Users Subject to Standard License Terms and Conditions
Export Laws. Products, Services, and technical data delivered by Sun may be subject to U.S. export controls or the trade laws of other
countries. You will comply with all such laws and obtain all licenses to export, re-export, or import as may be required after delivery to
You. You will not export or re-export to entities on the most current U.S. export exclusions lists or to any country subject to U.S. embargo
or terrorist controls as specified in the U.S. export laws. You will not use or provide Products, Services, or technical data for nuclear, missile,
or chemical biological weaponry end uses.
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.
THIS MANUAL IS DESIGNED TO SUPPORT AN INSTRUCTOR-LED TRAINING (ILT) COURSE AND IS INTENDED TO BE
USED FOR REFERENCE PURPOSES IN CONJUNCTION WITH THE ILT COURSE. THE MANUAL IS NOT A STANDALONE
TRAINING TOOL. USE OF THE MANUAL FOR SELF-STUDY WITHOUT CLASS ATTENDANCE IS NOT RECOMMENDED.
Export Control Classification Number (ECCN) assigned: 14 August 2006
Please
Recycle
Copyright 2010 Sun Microsystems Inc., 4150 Network Circle, Santa Clara, California 95054, Etats-Unis. Tous droits rservs.
Ce produit ou document est protg par un copyright et distribu avec des licences qui en restreignent lutilisation, la copie, la distribution,
et la dcompilation. Aucune partie de ce produit ou document ne peut tre reproduite sous aucune forme, par quelque moyen que ce soit,
sans lautorisation pralable et crite de Sun et de ses bailleurs de licence, sil y en a.
Le logiciel dtenu par des tiers, et qui comprend la technologie relative aux polices de caractres, est protg par un copyright et licenci
par des fournisseurs de Sun.
Sun, Sun Microsystems, le logo Sun, Solaris, Sun Fire, Sun StorageTek, Java, Sunsolve, Sun4U, OpenBoot, Sun Enterprise, et Sun StorEdge
sont des marques de fabrique ou des marques dposes de Sun Microsystems, Inc. aux Etats-Unis et dans dautres pays.
Toutes les marques SPARC sont utilises sous licence sont des marques de fabrique ou des marques dposes de SPARC International, Inc.
aux Etats-Unis et dans dautres pays. Les produits portant les marques SPARC sont bass sur une architecture dveloppe par Sun
Microsystems, Inc.
UNIX est une marques dpose aux Etats-Unis et dans dautres pays et licencie exclusivement par X/Open Company, Ltd.
ORACLE est une marque dpose registre de Oracle Corporation.
Adobe est une marque enregistree de Adobe Systems, Incorporated.
Lgislation en matire dexportations. Les Produits, Services et donnes techniques livrs par Sun peuvent tre soumis aux contrles
amricains sur les exportations, ou la lgislation commerciale dautres pays. Nous nous conformerons lensemble de ces textes et nous
obtiendrons toutes licences dexportation, de r-exportation ou dimportation susceptibles dtre requises aprs livraison Vous. Vous
nexporterez, ni ne r-exporterez en aucun cas des entits figurant sur les listes amricaines dinterdiction dexportation les plus courantes,
ni vers un quelconque pays soumis embargo par les Etats-Unis, ou des contrles anti-terroristes, comme prvu par la lgislation
amricaine en matire dexportations. Vous nutiliserez, ni ne fournirez les Produits, Services ou donnes techniques pour aucune utilisation
finale lie aux armes nuclaires, chimiques ou biologiques ou aux missiles.
LA DOCUMENTATION EST FOURNIE EN LETAT 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 LAPTITUDE A UNE
UTILISATION PARTICULIERE OU A LABSENCE DE CONTREFAON.
CE MANUEL DE RFRENCE DOIT TRE UTILIS DANS LE CADRE DUN COURS DE FORMATION DIRIG PAR UN
INSTRUCTEUR (ILT). IL NE SAGIT PAS DUN OUTIL DE FORMATION INDPENDANT. NOUS VOUS DCONSEILLONS DE
LUTILISER DANS LE CADRE DUNE AUTO-FORMATION.
Please
Recycle
Table of Contents
Introduction to the Sun SPARC Enterprise MX000 Servers .......1-1
Objectives ........................................................................................... 1-1
Additional Resources ........................................................................ 1-3
Introducing the Sun SPARC Enterprise MX000 Servers .............. 1-5
Sun SPARC Enterprise MX000 Server Models ..................... 1-5
Server Technologies.................................................................. 1-5
Joint Product Development ..................................................... 1-6
High-End Servers Overview .......................................................... 1-15
M8000 and M9000 Server Capabilities................................. 1-15
Server Features ........................................................................ 1-16
Overview of Common Features and Components ..................... 1-20
System Architecture Terminology........................................ 1-20
Physical System Board Sets .................................................. 1-22
CPU and Memory ................................................................... 1-24
Memory Board Features........................................................ 1-26
I/O Features............................................................................ 1-27
Disk and Tape Options.......................................................... 1-28
XSCF Features......................................................................... 1-30
RAS Features........................................................................... 1-32
Fault Management Agent (FMA) ........................................ 1-35
Dynamic Reconfiguration (DR) ............................................ 1-35
M9000 Server Hardware Features ................................................. 1-43
M9000 Server With Expansion Cabinet Hardware ..................... 1-46
Exercise: Introducing the Sun SPARC Enterprise
MX000 Servers ............................................................................... 1-49
Task 1 Guided Tour ............................................................. 1-49
Exercise Summary................................................................... 1-49
Exercise Solutions ............................................................................ 1-50
Task 1 Guided Tour ............................................................. 1-50
Exercise Summary................................................................... 1-50
Sun SPARC Enterprise Architecture Overview .............................2-1
v
Copyright July 2009 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision C.1
vi
vii
Copyright July 2009 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision C.1
viii
ix
Copyright July 2009 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision C.1
xi
Copyright July 2009 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision C.1
xii
xiii
Copyright July 2009 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision C.1
Module 1
Compare and contrast the five Sun SPARC Enterprise MX000 server
models
List the common features of all five Sun SPARC Enterprise MX000
server models
1-1
Copyright July 2009 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision C.1
Objectives
Relevance
!
?
1-2
What are some of the key features that differentiate the entry-level
M3000, the mid-range MX000 server models, and the high-end
MX000 server models?
Additional Resources
Additional Resources
Additional resources The following references provide additional
information on the topics described in this module:
1-3
Additional Resources
1-4
Server Technologies
Each of the MX000 servers merges mainframe-like technologies for high
reliability and the associated know-how accumulated over time with the
high-speed technologies of supercomputers and the flexibility of UNIX
server development.
Resource Flexibility
Each M3000, M4000, M5000, M8000, M9000, and M9000 with Expansion
Cabinet server contains SPARC 64 VI or SPARC 64 VII
microprocessors, which contain a multicore architecture.
Error Isolation
The MX000 servers feature a robust fault isolation mechanism. If an error
does occur, the corresponding error can be corrected or isolated, possibly
without halting the server. This feature minimizes problems in many
cases, thereby improving job continuity.
1-5
Are fully compliant with Suns standards for software, storage, and
services
1-6
Price
Performance
Highest availability
Competitive reliability
Scalability
Description
Application acceleration
RAS capabilities
Redundancy for:
Power
Cooling
Service processors
Highly flexible
configuration
World-class OS support
Solaris 10 OS
1-7
Server Features
The M8000, M9000 and M9000 with Expansion Cabinet servers hardware
configuration includes the following components:
Centerplane
I/O board(s)
Note In many cases, field-replaceable units for the M8000, M9000, and
M9000 with Expansion Cabinet servers are designed with different size
dimensions when compared with the field-replaceable units in the M3000,
M4000 and M5000 servers.
1-8
M8000
M9000
M9000 With
Expansion
Cabinet
Centerplane
Active
Passive
Passive
CMUs
Four
Eight
Sixteen
Two or Four
processors
per CMU
Two or Four
processors
per CMU
Two or Four
processors
per CMU
16 or
dimms
CMU
16 or
dimms
CMU
16 or
dimms
CMU
IO units (IOUs)
32
per
32
per
32
per
Supports 1GB,
2-GB,
and
4-GB
DIMMs
Supports 1GB,
2-GB,
and
4-GB
DIMMs
Supports 1GB,
2-GB,
and
4-GB
DIMMs
128-DDR2
DIMMs total
256-DDR2
DIMMs total
512-DDR2
DIMMs total
System Bus
Bandwidth
(memory)
184 GB/sec
peak
System Bus
Bandwidth
(memory)
368 GB/sec
peak
System Bus
Bandwidth
(memory)
737GB/sec
peak
Four
Eight
Sixteen
32
PCI-E
card slots
64
PCI-E
card slots
128
PCI-E
card slots
16
HDD 32
HDD 64
HDD
drives
drives
drives
System Bus
Bandwidth
(I/O)
61
GB/sec peak
System Bus
Bandwidth
(I/O)
122
GB/sec peak
System Bus
Bandwidth
(I/O)
244
GB/sec peak
1-9
Components
M8000
M9000
Service
Processors
Two XSCFU_B
Two XSCFU_B
Power supplies
30 units (no
expansion
cabinet) N+1
Three power
cords
Ten power
cords
Redundant
cooling
(Air flow is
bottom to top)
Internal drives
Five Power
cords
Two XSCFU_B
Two XSCFU_C
12 Fan Units:
Four 172mm
fans
Eight 60mm
fans
N+1
Redundant
One
drive
DVD
16 Fan Units:
32 Fan Units:
16
172mm 32
172mm
fans
fans
N+1
Redundant
One
drive
DVD
N+1
Redundant
Two
DVD
drives
One
tape One
tape Two
tape
drive unit
drive unit
drive units
Power
Consumption
10,500 Watts
21,300 Watts
42,600 Watts
Volt Amphere
11,000 VA
22,400 VA
44,800 VA
Heat output
35834 BTUs/hr
72693 BTUs/hr
145385 BTUs/hr
Domains
One to Sixteen
One to Twenty
Four
One to Twenty
Four
Packaging
Rack
Rack
Rack (x2)
1-10
M8000
M9000
M9000 With
Expansion
Cabinet
Server
dimensions:
height x width
x depth
70.9 x 29.5 x
49.6 inches
70.9 x 33.5 x
49.6 inches
70.9 x 65.9 x
49.6 inches
Weight
1540 lb
2072 lb
4145 lb
700 kg
940 kg
1880 kg
31.5 inches
31.5 inches
31.5 inches
800 mm
800 mm
800 mm
31.5 inches
31.5 inches
31.5 inches
800 mm
800 mm
800 mm
70.9 x 12.5 x
49 inches
70.9 x 12.5 x
49 inches
70.9 x 12.5 x
49 inches
180 x 31.7 x
124.4 mm
180 x 31.7 x
124.4 mm
180 x 31.7 x
124.4 mm
770 lb
770 lb
770 lb
350 kg
350 kg
350 kg
Clearance and
service area
front
Clearance and
service area
rear
Power
Expansion
Cabinet
Dimensions:
height x width
x depth
(Air flow is
from front to
rear)
Power
Expansion
Cabinet
weight
Supports
Single Phase
Dual power
feed and
Three phase
power (Y(Star)
and Delta)
1-11
Memory DIMMs
PCI-E cards
RAS features
Description
CPUM board
MEMB board
1-12
Description
CMU board
two(SPARC64VI)
or
1-13
PSB#1
PSB#2
PSB#3
The M9000-32 has eight PSB sets number 0 through 7, the M9000-64 has
sixteen PSB sets numbered 0 through 15.
1-14
Multithreading Technology
The CPUs implement a combination of:
The CPUs have two or four physical cores and each core has two strands
with VMT structures. This allows threads to run in parallel. The two
strands that belong to the same physical core share most of the physical
resources, while the physical cores do not share physical resources except
the Level 2 (L2) cache and system interface.
1-15
Features Summary
The SPARC64 VI microprocessor includes the following features:
128 kilobytes (Kbytes) of I-cache and 128 Kbytes of D-cache per core
1-16
Memory Mirroring
The memory mirror mode is supported for every pair of memory buses in
a CMU. If an error occurs in one bus, the memory mirror mode enables
continued operation using the other, non-defective bus. This feature is
optional and must be enabled by the system administrator.
1-17
I/O Features
The entry-level M3000 provides I/O through the motherboard and four
PCI-E I/O slots.
The mid-range and high-end servers provide I/O functionality using a
component called an Input/Output Unit (IOU).
The M4000 and M5000 servers upper four slots of the IOU support PCI-E
cards while the lower slot supports a single PCI-X card. Each IOU also
supports two Gigabit ethernet ports.
The M8000 and M9000 servers IOU has eight PCI-E card slots. Each IOU
also supports four HDD drives.
The MX000 mid-range and high-end servers support a mix of PCI-E and
PCI-X cards. The industry-standard PCI cards used are not hot-pluggable,
so the PCI cards are installed into a hot-pluggable PCI Cassette unit.
Table 1-4 summarizes the various I/O configurations.
Table 1-4 IOU and PCI Configurations
Server
Max Number of
IOUs
PCI Slots
PCI-E
PCI-X
M3000
M4000
M5000
10
M8000
32
32
M9000
64
64
M9000 with
Expansion
Cabinet
16
128
128
Note The mid-range and high-end servers (but not entry-level) support
a Sun External I/O Expansion Unit that provides additional PCI slots.
Additional PCI-E or PCI-X slots can be accessed by installing a PCIB-EX
card into a PCI-E slot and connecting an external I/O Expansion Unit.
This I/O expansion unit can be ordered with PCI-E and/or PCI-X slots.
1-18
Devices Supported
Disk arrays
Tape
Libraries
Sun StorageTek C4
1-19
1-20
XSCF Features
The MX000 servers all use the XSCF to provide system monitoring and
control. This hardware component is called the Extended System Control
Facility unit (XSCFU).
Note For simplicity, the XSCFU is also referred to as the service
processor, and is referenced this way for the remainder of this module.
While input power is being supplied to the server, the XSCF firmware
constantly monitors and manages the server even if the power to domains
is turned off.
1-21
1-22
A Browser User Interface (BUI) called the XSCF web. The BUI is
intended to provide commands to configure, monitor, and maintain
XSCF resources and services similar to the XSCF shell.
RAS Features
The RAS features designed into the MX000 servers are listed in Table 1-6.
Table 1-6 RAS Features Summary
Feature
Description
Reliability
1-23
Description
Availability
1-24
Description
Serviceability
1-25
1-26
Figure 1-1
1-27
M9000
Centerplane
CMU boards
As many as eight:
Each CMU contains four CPU module sockets.
Each CMU contains 32 DIMM slots.
IOU
As many as eight:
Each IOU contains eight PCI-E (x8) slots.
Four HDD drive bays.
XSCFU_B
Two (redundant):
Provides management and configuration
functions for the platform and domains.
Enables remote control and monitoring of the
server through an Internet connection.
Reports fault information to the system
administrator.
Power options
1-28
Power supplies
15 (N+1)
System fans
M9000
Internal storage
One DVD-ROM
One optional tape drive unit
Operator panel
Yes
1-29
Exercise Summary
!
?
1-30
Experiences
Interpretations
Conclusions
Exercise Solutions
Exercise Solutions
This section contains solutions for the exercise.
Exercise Summary
!
?
Experiences
Interpretations
Conclusions
Applications
1-31
Exercise Solutions
1-32
Objectives
Module 2
2-1
Objectives
Relevance
!
?
2-2
Additional Resources
Additional Resources
Additional resources The following references provide additional
information on the topics described in this module:
2-3
Operational Overview
Operational Overview
The MX000 server architecture builds and improves upon the success of
the Sun SPARC Enterprise family of servers by using a new CPU and bus
architecture. This enhanced architecture includes:
2-4
2-5
Note The SPARC64 VII CPU cores all share the L2 cache and each core
has 64KB of I-cache and 64 KB of D-cache.
2-6
Figure 2-1
1-Gbyte DIMMs
2-Gbyte DIMMs
4-Gbyte DIMMs
DIMMs are installed in two groups of four on the M3000. The minimum
configuration of memory for the M3000 is 4 GB.
DIMMs are installed in sets of eight on a MEMB.
DIMMS are installed in two sets of 16 on a CMU.
2-7
Memory Mirroring
The entry level M3000, the mid-range servers, and high-end servers
support memory mirroring. Memory mirroring operates by pairing
DIMMs together for both reads and writes. Mirroring divides the
available memory in half. Memory mirroring is turned off by default on
all systems.
On writes, the data and ECC are written to both halves of the pair. On
reads, data is read from both halves and the ECC is compared. Errors
during memory mirroring are handled as follows:
If both copies of the pair have correctable ECC and have matching
data, the data is returned.
If one copy has uncorrectable ECC and the other has correctable
ECC, the data is returned.
If both copies have correctable ECC, but the data does not match, an
error data packet is returned.
2-8
2-9
Figure 2-2
2-10
IOU PCI-E slots #0 and #4 support the IOU Device Mounting card A
(IOU A card). When installed, this PCI-E card provides two external
Gigabit ethernet ports for use by a domain. The IOU A card installed
in PCI-E slot #0 provides access to the HDD drives in HDD slots #0
and #1. The IOU A card installed in PCI-E slot #4 provides access to
the HDD drives in HDD slots #2 and #3.
IOU PCI-E slots #2 and #6 also support IOU A cards. When installed,
these cards act as an attachment point for the DVD and DAT.
2-11
Board Nomenclature
Board Nomenclature
The boards in the MX000 servers are referenced with new terminology.
Before configuring the system, you should be familiar with the following
terms:
Physical System Board (PSB) set Consists of CPU, memory, and I/O
2-12
Specific boards are associated with specific with each PSB set
Board Nomenclature
16 or 32 DIMMs
CMU#0
CPU#0
CPU#1
CPU#2
CPU#3
32 DIMMs
IOU#0
PCI-E slots 0, 1, 2, 3, 4, 5, 6, 7
2-13
Board Nomenclature
Configuring a PSB#00 in quad-mode results in the following XSBs:
CMU#0/CPU#0
CMU#0/CPU#1
CMU#0/CPU#2
CMU#0/CPU#3
Note A uni-mode PSB#15 offers the same amount of resources as a unimode PSB#00. Using PSB#15 in quad-mode results in the same resource
breakout as PSB#00 in quad-mode; only the PSB#s are different.
2-14
Board Nomenclature
Figure 2-3 shows a combination of uni-mode XSB and quad-mode XSBs
divided among four domains in a high-end server.
Figure 2-3
2-15
I2C master
Interrupt handler
2-16
Figure 2-4
2-17
Figure 2-5
2-18
Details
Processor
256-KB L2 cache
FPGA
Main memory
Micron MT46V32M16P-6T:F
Entry-level Server
Mid-range Servers
High-End Servers
2-19
Details
FMEM
flash memory
Spansion S29JL064H70TFI000
Maintenance
bus
Ports
Clock
2-20
8 Mbytes
Operating voltage: 3v
Interrupt handling
Reset control
10/100Base-T (x2)
Epson Q414574B1000102
Preparation
No special preparation is needed for this lab.
Task
Answer the following questions:
1.
2.
3.
2-21
4.
5.
2-22
Exercise Summary
Exercise Summary
!
?
Experiences
Interpretations
Conclusions
Applications
2-23
Exercise Solutions
Exercise Solutions
This section provides solutions for the exercise.
Task
Answer the following questions:
1.
The system controller is an ASIC that provides an interface among the memory
access controllers (MACs), the CPUs, and the I/O controllers.
2.
The CPUM is a fru that consists of two CPUs and resides in the
mid-range servers. A CMU is a CPU/Memory unit that consists of 2 or 4 CPUs
and 16 or 32 DIMM slots and resides in the high-end servers.
4.
A uni-mode XSB (00-0) is a PSB set with all of the components assigned to it. A
quad-mode XSB is a PSB set with its components divided into four sections (000, 00-1, 00-2, 00-3). The M3000 does not support quad-mode. The component
division is different on the mid-range and the high-end servers.
2-24
Module 3
3-1
Copyright July 2009 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision C.1
Objectives
Relevance
!
?
3-2
Are there any differences among the service processors used in the
MX000 servers?
Additional Resources
Additional Resources
Additional resources The following references provide additional
information on the topics described in this module:
3-3
Additional Resources
3-4
http://docs.sun.com
http://www.sun.com/downloads
Platform monitoring
Configuration management
Security management
Error detection
Resource management
3-5
Description
Platform
Management
Configuration
Management
Security
Management
Server Status
Error monitoring
Configuring the Physical System Board (PSB) sets into unimode or quad-mode
Error Detection
3-6
Description
Remote Server
Access
Resource
Management
Dynamic Reconfiguration
Capacity on Demand
3-7
Figure 3-1 shows the front view of the service processors (XSCFU_B and
XSCFU_C boards) used in the high-end servers. The XSCFU_B ports are
the External LAN management ports, the USB port, the Serial
Management ports, and the RCI port.
Figure 3-1
3-8
Figure 3-2 illustrates the cabling between the XSCFU_B and XSCFU_C
boards within the M9000 server with Expansion Cabinet.
M9000 Base Cabinet
XSCFU_B#0
XSCFU_B#1
XSCFU_C#0
XSCFU_C#1
Data Cable
Figure 3-2
3-9
3-10
M9000 With
Expansion
Cabinet Servers
Number of
XSCFUs
One
Two
Four, including
the XSCFU_C
boards
Redundant?
No
Yes
Yes
Hot-plug
capable?
No
Yes
Yes
Physical location
Rear
Front
Front
Component label
XSCFU (x1)
XSCFU_B (x2)
XSCFU_B (x2)
XSCFU_C (x2)
Feature
Parity: None
Stop: 1 bit
3-11
Configure the XSCF Internal Service Processor (ISN) network (highend servers only)
3-12
Netmasks
Its privileges are fixed as useradm and platadm, which allows you to
configure the service processor, add users, or reset passwords.
Note The following procedure can also be used if the login password is
lost.
2.
3.
4.
5.
Log in to the service processor using the default login name from a
terminal device connected to the service processor (there is no
password for this account):
login: default
3-13
b.
2.
3.
4.
Log in to the service processor using the admin login name from a
terminal device connected to the service processor (there is no
password for this account):
login: admin
XSCF>
Upon login, create a new user account with a password and platadm and
useradm privileges. Log out and then log back in as the new user to start
the service processor configuration process.
Note Once any new user account has been created, the admin account is
disabled.
3-14
user
-h
Note The UIDs 65534 and 65535 are reserved and cannot be used.
Note The following accounts are reserved for the service processor and
cannot be used: root, bin, daemon, adm, operator, nobody,
sshd, rpc, rpcuser, ldap, apache, ntp, admin, and
default.
3-15
3-16
user
-h
-e date
-e Never
-i inactive
-M maxdays
3-17
-w warn
user
-h
Note Any XSCF user can set his or her own password. Only a user with
useradm privileges can set another users password.
3-18
Physical hardware
Domains
3-19
Capabilities
none
useradm
platadm
platop
domainadm
3-20
Capabilities
domainmgr
domainop
auditadm
Configure auditing.
Delete audit trail.
auditop
fieldeng
3-21
privilege
domain-list
-h
Domain-specific Privileges
Some privileges must be assigned to a specific domain. These are
domainop, domainmgr, and domainadm. Keep the following guidelines in
mind when specifying domain-specific privileges:
3-22
-l
-M
-p
-u
user
-h
3-23
installer
Enabled
0
99999
7
-1
Feb 24, 2009
Never
Never
Never
3-24
installer
100
Enabled
0
99999
7
-1
Feb 25, 2009
Never
Never
Never
useradm
platadm
fieldeng
auditadm
2.
3.
4.
Note Pressing the tab key twice in rapid succession will allow you to
display all of the available commands. Typing the word show and then
the tab key will display all of the commands that begin with show.
The tab key can also be used for command completion.
Note Using the up arrow key, you can scroll back through the
commands that have been entered. Using the down arrow key takes
you back through the commands most recently entered. Using the right
arrow and left arrow keys allows for editing of the displayed
command.
3-25
3-26
When a domain runs a date command to set the date, the date offset
on the XSCF will be adjusted appropriately. In other words, when a
domain reboots, it will preserve its time and not be affected by the
XSCF boards date of December 31, 2000.
The setdate command on the XSCF will not work if any of the
domains are powered up. Changing the date requires the service
processor to be reset.
2.
3.
4.
Set the desired time zone to any of the allowed POSIX time zone
names, as shown in step 3. For example:
2.
3.
Set the date to the desired time and year; the syntax is
MMDDHHmmYYYY.ss:
XSCF> setdate -s 022422402009.00
Tue Feb 19 22:37:00 EST 2009
The XSCF will be reset. Continue? [y|n] :y
Wed Feb 20 03:37:00 UTC 2009
XSCF> execute S10ioxoff -- complete
Feb 19 22:37:07 godzilla-SP0 XSCF[104]: XSCF shutdown
sequence start
execute K000end -- complete
execute K100end -- complete
3-27
Configuring NTP
The network time protocol (NTP) is an Internet protocol used to
synchronize computer clocks to a known source.
To configure the service processor to use an NTP server, complete the
following steps:
1.
2.
3.
4.
2.
3.
3-28
-q
-y | -n
3-29
Note The MX000 servers are shipped without any of the networks
configured.
3-30
Network Interfaces
The XSCF External Administration Network makes use of several
interfaces to handle the communication for the service processors. Each
service processor has two network ports for external communication to
the customer network. The high-end service processors provide floating
IP addresses in case of service processor failover. All the External
Administration Network interfaces are seen in Table 3-4.
Table 3-4 XSCF External Administration Network Interfaces
XSCF
Interface
Description
XSCF0
xscf#0-lan#0
xscf#0-lan#1
xscf#1-lan#0
xscf#1-lan#1
lan#0
lan#1
Takeover (floating) IP
addresses
XSCF1
XSCF-LAN#0
XSCF-LAN#1
Note The XSCF0 interfaces apply to the entry-level M3000, the midrange servers, and the high-end servers. The XSCF1 and XSCF-LAN
interfaces apply only to the high-end servers.
3-31
Network Parameters
The XSCF External Administration Network parameters are for:
The Active service processor interfaces (xscf#0-lan#0 & xscf#0lan#1) (All MX000 servers)
Netmasks
Network routes
Gateway addresses
2.
3.
4.
5.
6.
Apply the network settings, which will ask to reset the XSCF:
XSCF> applynetwork
The following network settings will be applied:
3-32
:
:
:
:
:
interface
status
IP address
netmask
route
route
:xscf#0-lan#0
:down
:10.6.15.21
:255.0.0.0
:-n 10.0.0.0 -m 255.0.0.0
:-n 0.0.0.0 -m 0.0.0.0 -g 10.0.0.5
interface
status
IP address
netmask
route
:xscf#0-lan#1
:down
:192.1.1.21
:255.255.255.0
:
interface
status
IP address
netmask
:xscf#0-if
:down
:
:
interface
status
IP address
netmask
route
:lan#0
:down
:10.6.15.25
:255.0.0.0
:
interface
status
IP address
netmask
route
route
:xscf#1-lan#0
:down
:10.6.15.22
:255.0.0.0
:-n 10.0.0.0 -m 255.0.0.0
:-n 0.0.0.0 -m 0.0.0.0 -g 10.0.0.5
interface
status
IP address
netmask
route
:xscf#1-lan#1
:down
:192.1.1.22
:255.255.255.0
:
interface
status
IP address
:xscf#1-if
:down
:
3-33
interface
status
IP address
netmask
route
:lan#1
:down
:192.1.1.25
:
:
Continue? [y|n] :y
Please reset the XSCF by rebootxscf to apply the
network settings. Please confirm that the settings have
been applied by executing showhostname, shownetwork,
showroute and shownameserver after rebooting the XSCF.
XSCF> rebootxscf -y
The XSCF will be reset. Continue? [y|n] :y
3-34
3-35
3-36
xscf#0-lan#0
xscf#0-lan#1
xscf#0-if
xscf#1-lan#0
xscf#1-lan#1
xscf#1-if
-a
lan#0
lan#1
3-37
-h
3-38
Note Use the shownetwork with the -a option to see all of your
network interfaces.
3-39
-c delete
-n address
-m address
-g address
interface
-h
3-40
-M
-n
interface
-h
3-41
xscf#0-lan#0
Gateway
*
*
int.brlg.sunedu
Netmask
255.0.0.0
255.0.0.0
0.0.0.0
Flags
U
U
UG
Interface
xscf#0-lan#0
xscf#0-lan#0
xscf#0-lan#0
Commands Used
The XSCF External Network is configured and managed using the
following commands:
3-42
setnetwork
setroute
applynetwork
shownetwork
XSCFU
192.168.224.1
192.168.224.2
192.168.224.4
Domain 0
Domain 2
DSCP Link
192.168.224.13
192.168.224.20
Figure 3-3
Domain 11
Domain 18
DSCP Network
3-43
2.
3.
3-44
Address
--------192.168.224.1
192.168.224.2
192.168.224.3
192.168.224.4
192.168.224.5
192.168.224.6
192.168.224.7
192.168.224.8
192.168.224.9
192.168.224.10
192.168.224.11
192.168.224.12
192.168.224.13
192.168.224.14
192.168.224.15
192.168.224.16
192.168.224.17
Commands Used
The DSCP network is configured and managed using the following
commands:
setdscp
showdscp
Caution The DSCP network should only be configured when there are
no domains running. If a change is made to the DSCP network while a
domain is active, the domain must be rebooted before the service
processor can communicate with it. Specific Solaris services must be
enabled for DSCP to function.
3-45
Network Interfaces
The XSCF Internal Service Network consists of one ISN interface for each
service processor, and provides for a private internal communication. The
interfaces are seen in Table 3-5.
Table 3-5 XSCF Internal Service Network Interfaces
3-46
XSCF
Interface
Description
XSCF0
XSCF#0-if
XSCF1
XSCF#1-if
2.
3.
Commands Used
The XSCF network is configured and managed using the following
commands:
setnetwork
applynetwork
shownetwork
3-47
2.
Enable telnet:
XSCF> settelnet -c enable
Note Enabling telnet does not require that the XSCF be reset with the
rebootxscf command, but disabling telnet does. Refer to the man
pages.
3. Enable ssh:
XSCF> setssh -c enable
Continue? [y|n] :y
Please reset the XSCF by rebootxscf to apply the ssh
settings.
Note Enabling ssh requires that the XSCF be reset with the rebootxscf
command, but disabling ssh does not.
4.
Enable https:
XSCF> sethttps -c selfsign US MA Burlington SLS OPL
ssp0 root@ssp0
Enter passphrase: cangetin
Verifying - Enter passphrase: cangetin
XSCF> sethttps -c enable
Continue? [y/n] : y
Please reset the XSCF by rebootxscf to apply the https
settings.
XSCF> rebootxscf -y
Note Enabling https requires that the XSCF be reset with the
rebootxscf command, but disabling https does not. Refer to the man
pages.
3-48
5.
3-49
You must have one of the following privileges to run this command:
XSCF> setupplatform
Do you want to set up an account? [y|n]: n
Do you want to set up networking? [y|n]: y
Do you want to set up the XSCF network interfaces? [y|n]: y
xscf#0-lan#0 is already configured:
xscf#0-lan#0 ip address: 10.6.15.41
xscf#0-lan#0 netmask: 255.0.0.0
xscf#0-lan#0 default gateway: 10.0.0.6
Do you want to configure xscf#0-lan#0? [y|n]: y
xscf#0-lan#0 ip address? [10.6.15.41]: 10.6.15.41
xscf#0-lan#0 netmask? [255.0.0.0]: 255.0.0.0
xscf#0-lan#0 default gateway? [10.0.0.6]: 0.0.0.0
xscf#0-lan#0 ip address: 10.6.15.41
xscf#0-lan#0 netmask: 255.0.0.0
xscf#0-lan#0 default gateway: 0.0.0.0
Are these settings correct? [y|n]: y
XSCF> setnetwork xscf#0-lan#0 -m 255.0.0.0 10.6.15.41
XSCF> setroute -c del -n 0.0.0.0 -m 0.0.0.0 -g 10.0.0.6 xscf#0-lan#0
XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 0.0.0.0 xscf#0-lan#0
Do you want to configure xscf#0-lan#1? [y|n]: y
xscf#0-lan#1 ip address? []: 192.1.1.41
xscf#0-lan#1 netmask? [255.255.255.0]: 255.255.255.0
xscf#0-lan#1 default gateway? []: 0.0.0.0
xscf#0-lan#1 ip address: 192.1.1.41
xscf#0-lan#1 netmask: 255.255.255.0
xscf#0-lan#1 default gateway: 0.0.0.0
Are these settings correct? [y|n]: y
XSCF> setnetwork xscf#0-lan#1 -m 255.255.255.0 192.1.1.41
XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 0.0.0.0 xscf#0-lan#1
lan#0 is already configured:
lan#0 ip address: 10.6.15.41
3-50
:xscf#0-lan#0
:up
:10.6.15.41
:255.0.0.0
:
:xscf#0-lan#1
:up
:192.1.1.41
:255.255.255.0
:
Continue? [y|n] :y
3-51
3-52
FFXCPxxyy.tar.gz
DCXCPxxyy.tar.gz
XCP
XSCF
Uboot
Kernel
Linux open source pkgs
SCF applications
OBP/POST
(combined image)
Figure 3-4
3-53
2.
3.
4.
3-54
http://www.sun.com/download
b.
c.
d.
USB drive
3-55
3-56
-c xcp
-c cmu
-c xscf
-h
-t
-v
version -c xcp -t
XCP: 1080
3-57
3-58
02.07.0000(Current)
02.03.0000(Reserve)
02.03.0000(Reserve)
02.03.0000(Reserve)
02.07.0000(Current)
02.03.0000(Reserve)
02.03.0000(Reserve)
02.03.0000(Reserve)
3-59
2.
3-60
https://IP_Address
Figure 3-5
4.
5.
6.
b.
c.
3-61
3-62
-d
-h
-l
-n
-p proxy
-q
-t proxy-type
-u user
-v
3-63
Date
Fri Jan 30 19:39:02 EST 2009
3-64
-c update
-c sync
-m xcp
-s version
3-65
Note You can update to 1081, 1080, 1072, 1071, 1070, 1061, 1060 firmware
from 1050 firmware. If your service processor is currently running
firmware older then 1050, you must first upgrade to the 1050 firmware
before upgrading to a higher level firmware.
3-66
----
complete
complete
complete
3-67
3-68
Preparation
Your instructor will assign a server to each group. To complete this
exercise, you will need your servers hostname and the network
configuration. Use the Solaris cat command to read the /etc/hosts file
to determine your network settings.
Resource
NTS
IP Address
NTS Port #
Initial User Login installer
Initial User
Password
installer
XSCF0-lan0
IP Address
XSCF0-lan0
netmask
XSCF0-lan1
IP Address
XSCF0-lan1
netmask
Service Processor
host name
Default Route
IP Address
None
Domain 0
IP Address
Domain 0
netmask
Domain 1
IP Address
Domain 1
netmask
3-69
2.
3.
4.
5.
6.
Assign privileges to the newly created user that allow the user to
create other users, perform service processor configuration tasks, and
perform field engineer operations. Record the command:
__________________________________________________
7.
Log out of the current session and log in using the user1 account.
Record your commands:
__________________________________________________
__________________________________________________
8.
2.
3.
4.
a.
b.
5.
Set the current date and time. (Note that the service processor will
reboot).
Which command did you use?__________________________________
6.
7.
3-71
2.
Verify the status and record the information regarding the current
XSCF External Network:
a.
b.
c.
d.
3.
3-72
___________________________________
b.
___________________________________
c.
___________________________________
d.
___________________________________
e.
___________________________________
f.
___________________________________
2.
3.
4.
Verify the status of the ssh and telnet services. Record the
command used:
__________________________________________________
__________________________________________________
5.
b.
3-73
2.
Verify the status and record the information regarding the current
DSCP network:
3.
4.
3-74
a.
b.
c.
d.
e.
f.
b.
b.
2.
b.
c.
d.
e.
3.
4.
Log in to the service processor using the BUI and the user1 account.
5.
6.
7.
8.
9.
10. Verify the current version of firmware that has been imported to the
service processor:
Which command did you use? ________________________
3-75
3-76
Exercise Summary
Exercise Summary
!
?
Experiences
Interpretations
Conclusions
Applications
3-77
Exercise Solutions
Exercise Solutions
This section contains solutions to the exercise.
3-78
Exercise Solutions
2.
3.
4.
5.
6.
Assign privileges to the newly created user that allow the user to
create other users, perform service processor configuration tasks, and
perform field engineer operations. Record the command:
setprivileges user1 platadm useradm fieldeng
7.
Log out of the current session and log in using the user1 account.
Record your commands:
exit
login: user1
8.
3-79
Exercise Solutions
2.
3.
4.
a.
b.
5.
Set the current date and time. (Note that the service processor will
reboot.)
Which command did you use?: setdate -s 0041509002009.00
6.
7.
3-80
Exercise Solutions
2.
Verify the status and record the information regarding the current
XSCF External Network:
a.
b.
c.
d.
3.
shownetwork -a
b.
c.
d.
e.
f.
3-81
Exercise Solutions
2.
3.
4.
Verify the status of the ssh and telnet services. Record the
command used:
showtelnet
showssh
5.
3-82
b.
Exercise Solutions
2.
Verify the status and record the information regarding the current
DSCP network:
3.
4.
a.
b.
c.
d.
e.
f.
b.
b.
3-83
Exercise Solutions
2.
b.
c.
d.
e.
3.
4.
Log in to the service processor using the BUI and the user1 account.
5.
6.
7.
8.
9.
3-84
Exercise Solutions
10. Verify the current version of firmware that has been imported to the
service processor:
Which command did you use? getflashimage -l
11. Perform the firmware update.
Which command did you use?
flashupdate -c update -m xcp -s 1081
12. After the service processor reboots, confirm that the firmware
version has been updated.
Which command did you use? version -c xcp
3-85
Exercise Solutions
3-86
Objectives
Module 4
4-1
Objectives
Relevance
!
?
4-2
What are the requirements for managing the MX000 server platform?
Additional Resources
Additional Resources
Additional resources The following references provide additional
information on the topics described in this module:
4-3
Additional Resources
4-4
SNMP
Platform management
COD
4-5
Result
setpasswordpolicy
showpasswordpolicy
disableuser
enableuser
setautologout
showautologout
who
4-6
-e expiry
-i inactive
-k difok
-l lcredit
-M maxdays
-m minlen
-n mindays
-o ocredit
4-7
-u ucredit
-w warn
-y retry
-h
4-8
4-9
-h
4-10
-h
4-11
-h
4-12
4-13
-h
4-14
TTY
pts/0
IDLE
00:00m
FROM
Feb 25 16:52
HOST
spaceghost.brlg.sunedu.com
Note Do not confuse this with authentication and privilege lookups for
the servers domains, which are provided by the Solaris OS.
Result
setlookup
showlookup
4-15
Result
setldap
showldap
2.
3.
Caution If you use the LDAP service, lookups are first performed
locally, and then through the LDAP server. If no privileges are specified
for a user, the setprivileges command deletes any local privilege data
for that user. Subsequently, if LDAP privilege is enabled, the users
privileges are looked up in LDAP. If the none privilege is specified for a
user, that user does not have any privileges, regardless of privilege data
in LDAP.
4-16
-a ldap
-p local
-p ldap
-h
4-17
-B baseDN
4-18
-p
-s servers
-t user
-T timeout
-h
-h
4-19
4-20
4-21
Description
setsmtp
showsmtp
setemailreport
4-22
SMTP server /
SMTP auth server
POP auth
server
Authenti
cation
Internet
XSCF
Mail terminal
Figure 4-1
System
Parts fault
Unauthorized
access
SMTP Overview
The setsmtp command configures an e-mail server for use on the XSCF.
The showsmtp command displays the current SMTP settings.
Note The setsmtp command requires platadm privileges to execute.
The showsmtp command requires either platadm or platop privileges.
4-23
-s variable
-h
The setsmtp command can also be used without options. This will
invoke an interactive mode that asks you to provide:
4-24
4-25
-d
-r
Replaces an e-mail
recipient
-t
-v
-h
4-26
-h
4-27
Result
setnameserver
shownameserver
Note After the service processor is configured to use the DNS service, it
does not require day-to-day management. However, if you replace a
service processor board, you must reconfigure the new service processor
to use the DNS service.
4-28
address
-h
4-29
4-30
Configuring SNMP
Configuring SNMP
Simple Network Management Protocol (SNMP) is an application-layer
protocol that facilitates the exchange of management information between
network devices. It is a standard part of the TCP/IP protocol suite.
In essence, SNMP is a protocol for managing networks. The SNMP
manager consolidates management of the operating conditions and the
SNMP agent responds with management information from the
Management Information Base (MIB) to requests from the manager.
There is also a function called TRAP which is used by the SNMP agent to
exchange special information in asynchronous communication with the
SNMP manager. The SNMP agent uses the 161 port and the 162 port for
traps by default (see Figure 4-2).
Figure 4-2
SNMP Overview
4-31
Configuring SNMP
SNMP Traps
When an event occurs, the SNMP agent function notifies the SNMP
manager of the event. This function is called a TRAP. The XSCF TRAP
covers the following events (see Figure 4-3):
Trap issued
System
XSCF
Unauthorized access to XSCF SNMP agent
System
SNMP manager
XSCF
Parts fault
System
XSCF
Faulty part replaced
System
XSCF
Event reports.
Figure 4-3
4-32
Configuring SNMP
The service processor can export the following information to any SNMP
manager:
Domain status
Power status
Environmental status
Setup Information
The SNMP agent on the service processor is disabled by default and must
be configured and enabled by an administrator. The SNMP agent that is
bundled in the XSCF software includes the standard version 3 (v3)
protocols for:
User management
4-33
Configuring SNMP
Result
setsnmp
showsnmp
setsnmpvacm
setsnmpusm
setsunmc
showsunmc
4-34
enable
disable
Configuring SNMP
mib_name
addtraphost
remtraphost
-t type
-l location
-p port
-s string
-h
4-35
Configuring SNMP
4-36
Configuring SNMP
delete user
passwd
-c auth | encrypt
-n new_password
-o old_password
-h
4-37
Configuring SNMP
4-38
Configuring SNMP
-r read_viewname
groupname
creategroup
-u username
groupname
createview
-e
-m OID_Mask
-s OID_subtree
viewname
deleteaccess groupname
deletegroup
-u username
groupname
deleteview
-s OID_subtree
viewname
-h
4-39
Configuring SNMP
4-40
Configuring SNMP
disable
-a SNMP_agent_port
-c community_string
-d dmn_agent_port
-e event_port
-p agent_port
-s server
-t trap_port
-z seed
-h
4-41
Configuring SNMP
-h
4-42
Result
setaltitude
showaltitude
showenvironment
setlocator
showlocator
setpowerupdelay
showpowerupdelay
setshutdowndelay
showshutdowndelay
4-43
Note If a value greater than 0m and less then 100m is specified, the
setting will still default to 100m and all values are rounded up to the
nearest 100m.
Note The specified altitude becomes valid when the service processor is
rebooted. The showaltitude man page has yet to be updated to state
this correctly. Refer to the current XCP release notes for more information.
4-44
500m or
less
501 to
1000m
1001 to
1500m
1501 to
3000m
Low speed
(level 1)
20C or less
18C or less
16C or less
14C or less
Low speed
(level 2)
19-22C
17-20C
15-18C
13-16C
Low speed
(level 3)
21-24C
19-22C
17-20C
15-18C
Low speed
(level 4)
23-26C
21-24C
19-22C
17-20C
Middle
speed
(level 5)
25-28C
23-26C
21-24C
19-22C
Middle
speed
(level 6)
27-30C
25-28C
23-26C
21-24C
High speed
(level 7)
29-32C
27-30C
25-28C
23-26C
High speed
(level 8)
31-34C
29-32C
27-30C
25-28C
High speed
(level 9)
More than
33C
More than
31C
More than
29C
More than
27C
4-45
500m or
less
501 to
1000m
1001 to
1500m
1501 to
3000m
Low speed
25C or less
23C or less
21C or less
19C or less
Middle
speed
23-30C
21-28C
19-26C
17-24C
High speed
More than
28C
More than
26C
More than
24C
More than
22C
4-46
500m or
less
501 to
1000m
1001 to
1500m
1501 to
3000m
Low speed
27C or less
25C or less
23C or less
21C or less
High speed
More than
24C
More than
22C
More than
20C
More than
18C
4-47
Fan rotation Fan rotational state and revolutions per unit of time
type
-h
4-48
4-49
-h
4-50
4-51
Wait Time
The air-conditioning wait time is intended to prevent the server from
performing power-on processing until the room temperature environment
is prepared by air-conditioning facilities. Once the air-conditioning wait
time is set, the server will start power-on processing after its input power
supply is turned on and the set air-conditioning time elapses.
Warmup Time
The warm-up time is intended to prevent the PSU and the FAN from
running until the power supply environments of peripheral units are
prepared after the server starts the power-on processing. Once the warmup time is set, the OpenBoot PROM will start after the server power
supply is turned on, the power-on processing starts, and the set warm-up
time elapses.
If the system power has already been turned on and the system is
operating, the setting takes effect at the next startup.
Note The setpowerupdelay command requires either platadm or
fieldeng privileges to execute.
4-52
-c wait
-s time
-h
4-53
4-54
-h
4-55
4-56
Result
showhardconf
showstatus
replacefru
testsb
prtfru
cfgdevice
switchscf
clockboard
4-57
Domain information
IO-Box information
Status States
The status for each FRU may be any of the following states:
4-58
-u
-h
4-59
4-60
352f-0d054027;
0100-d504d386;
352f-0d054820;
0100-d504d38c;
3343-46009f19;
0100-d409db0f;
3343-46009f25;
0100-d409dafb;
3343-46009ec8;
0100-d504d3e0;
3343-46009ec4;
0100-d504d3e4;
3343-46009e62;
0100-d409daf0;
3343-46009e35;
4-61
4-62
4-63
4-64
0100-d409da58;
0100-d409da61;
0100-d409da81;
0100-d409daaa;
0100-d409dadb;
0100-d409da2f;
0100-d409da6b;
0100-d409dab4;
0100-d409dd9d;
0100-d409ddb5;
0100-d409dda4;
0100-d409dd93;
0100-d504d341;
0100-d504d340;
0100-d504d398;
4-65
4-66
;
;
4-67
4-68
-h
4-69
4-70
4-71
4-72
Status
4-73
4-74
4-75
4-76
-n
-q
-v
-y
-h
location
Test
Fault
Normal No errors.
4-77
4-78
-c
-l
-M
-x
container
-h
4-79
4-80
4-81
4-82
-c attach
-c detach
-l
-M
-p port
-y
4-83
4-84
-t Active
-t Standby
-f
-h
4-85
-s 1
-h
4-86
COD Overview
COD Boards
A COD board is a system board that has been configured at the factory for
COD capability. COD boards come in the same configurations as standard
system boards. The number of CPUs per COD board depends on the
server configuration that is purchased.
Headroom Management
Headroom is the capability to use as many as four COD processors per
server before actually purchasing a license. Headroom allows you to
activate a COD board under the following conditions:
4-87
When you intend to purchase a license but need to use the resources
immediately
By default, COD resources arrive with headroom disabled. You can use
the setcod command to enable headroom. However, if all your COD
resources are already licensed, configuring headroom has no effect. In that
case, you must install additional COD boards to retain your headroom
capacity. You can also reduce or disable headroom at any time.
4-88
Command
Result
addcodlicense
deletecodlicense
showcodusage
setcod
showcod
showcodlicense
2.
3.
2.
3.
Note If you need to trade a COD license for example, the license is
corrupted or move licenses from one server to another, use the
deletecodlicense to remove the old license and use the addcodlicense
to install the new license.
4-89
2.
3.
Managing Headroom
Three procedures can be performed when managing headroom. These are:
Increasing headroom
Decreasing headroom
Disabling headroom
2.
3.
4-90
Disabling Headroom
To disable headroom, complete the following steps:
1.
2.
3.
2.
3.
4-91
2.
3.
Ver
--01
Expiration
---------NONE
Count
----8
Status
-----GOOD
2.
4-92
Description
Login page
Menu frame
Main page
Event frame
Status display
4-93
4-94
Basic Page
Description
System/domain
operation
XSCF settings
Utility pages
Log display
Standby side
page (high-end
systems only)
Note This exercise has been written with the assumption that you have
remote access to an MX000 server.
4-95
Preparation
Your instructor will assign a server to each group. To complete this
exercise, you will need your servers hostname and the network
configuration. Use the Solaris cat command to read the /etc/hosts file
to determine your network settings.
Resource
NTS
IP Address
NTS Port #
User Login
user1
User Password
cangetin
XSCF0-lan0
IP Address
XSCF0-lan0
netmask
XSCF0-lan1
IP Address
XSCF0-lan1
netmask
Service Processor
host name
4-96
2.
Telnet to the NTS, chose the port for your assigned server, and log in
as user1.
3.
4.
5.
IP address: _______________________
Netmask: _________________________
6.
7.
8.
From the telnet window, disable the telnet service. Record the
command used. Is your connection still responsive? What about
from the serial connection?
Command: _______________________________________________
Status: __________________________________________________
4-97
From the serial connection, view the status of the telnet protocol.
Record the command used:
Command: _______________________________________________
Status: __________________________
10. From the serial connection, re-enable the telnet service, record the
command used, and verify that telnet is again working.
Command: _______________________________________________
Status: __________________________________________________
4-98
2.
View the current global password policy, and record the command
used:
Command: __________________________________________
3.
4.
Mindays: __________________
Maxdays:__________________
Warn: _____________________
Command: __________________________________________
5.
Create a new user account that will give that user privileges to
power on or off domains 0 and 1. Choose any username you prefer,
within reason. Record the command used:
Command: __________________________________________
6.
7.
8.
4-99
Display the user account information for the user account just
created. Record the command used:
Command: __________________________________________
10. Display the privileges assigned to this user account. Record the
command used:
Command: __________________________________________
11. Configure all user accounts to automatically log out of the XSCF
after two minutes. Record the command used:
Command: __________________________________________
12. Verify the logout setting from step 11. Did the value change? Record
the command used:
Command: __________________________________________
13. Log out and log back in using the same account.
14. Re-verify the previous logout setting Did the value change? Record
the command used:
Command: __________________________________________
15. Allow enough time to pass so that the users session is automatically
logged out.
16. Log in to the XSCFU using the user1 account.
17. Disable the new account you created earlier in this lab. Record the
command used:
Command: __________________________________________
18. Log out of the XSCF.
19. Attempt to log back in to the XSCFU using the account you just
disabled. Was your attempt successful? __________________
20. Log in to the XSCF using the user1 account and re-enable the
disabled account. Record the command used:
Command: _________________________________________
21. Log out of the XSCF and re-login as your new user.
22. Attempt to change the password for this user by only changing two
characters of the original password. Record the command used and
whether you were successful or not and why:
Command: _________________________________________
__________________________________________________
4-100
4-101
2.
Check the current setting for the servers altitude. Record the
command used:
Command: _______________________________________________
Status: _________________________
3.
4.
5.
6.
7.
Temperature: _____________________________
Display the temperature for each of the CPUM boards in the server.
Record the command used:
Command: _______________________________________________
8.
Display the status of the fans within the server. Record the command
used:
Command: _______________________________________________
9.
Display the status of the locator LED on the operator panel of your
assigned server. Record the command used:
Command: _______________________________________________
Status: _________________________
10. Set the locator LED to blink, display the status of the LED and, if
using a local server, visually confirm the LED is blinking. Record the
commands used:
Command: _______________________________________________
Command: _______________________________________________
4-102
13. Change the warmup and wait times to the following values:
Command: _______________________________________________
14. When would these new values take effect? _______________________
15. Reset the warmup and wait times to their previous settings:
Command: _______________________________________________
16. Display the current settings for the servers shutdown delay time.
Record the command used:
Command: _______________________________________________
Status: _________________________
17. Change the shutdown delay to 30 seconds:
Command: _______________________________________________
18. When would this new value take effect? _______________________
19. Reset the shutdown delay to the previous setting:
Command: _______________________________________________
4-103
2.
Command: _______________________________________________
3.
Using the same command that was used in step 2, which specific
PSB set resources are installed in your server?
Resource
PSB#00
CPUM#0-CHIP#0
CPUM#0-CHIP#1
CPUM#1-CHIP#0
CPUM#1-CHIP#1
MEMB#0
MEMB#1
MEMB#2
MEMB#3
IOU#0
PSB#01
CPUM#2-CHIP#0
CPUM#2-CHIP#1
CPUM#3-CHIP#0
CPUM#3-CHIP#1
4-104
Resource
MEMB#4
MEMB#5
MEMB#6
MEMB#7
IOU#1
4.
5.
6.
4-105
8.
Using this command, display the FRU tree for the operator panel of
your assigned server. Record the command used:
Command: _______________________________________________
9.
Manufacturer: _____________________________
2.
3.
Display the current COD usage statistics for your assigned server.
Record the command used:
Command: _______________________________________________
Status: _________________________________
4.
4-106
5.
6.
4-107
Exercise Summary
Exercise Summary
!
?
4-108
Experiences
Interpretations
Conclusions
Applications
Exercise Solutions
Exercise Solutions
This section provides solutions to the exercises.
2.
Telnet to the NTS, chose the port for your assigned server, and log in
as user1.
3.
4.
5.
IP address: varies
Netmask: varies
6.
7.
8.
From the telnet window, disable the telnet service. Record the
command used. Is your connection still responsive? What about
from the serial connection?
4-109
Exercise Solutions
Command: settelnet -c disable
Status: The telnet session should no longer be responsive.
9.
From the serial connection, view the status of the telnet protocol.
Record the command used:
Command: showtelnet
Status: disabled
10. From the serial connection, re-enable the telnet service, record the
command used, and verify that telnet is again working.
Command: settelnet -c enable
Status: showtelnet
4-110
Exercise Solutions
2.
View the current global password policy, and record the command
used:
Command: showpasswordpolicy
3.
4.
Mindays: varies
Maxdays: varies
Warn: varies
Command: setpasswordpolicy -m 8 -k 4 -y 2
5.
Create a new user account that will give that user privileges to
power on or off domains 0 and 1. Choose any username you prefer,
within reason. Record the command used:
Command: adduser joe
Command:setprivileges joe domainadm@0-1
6.
4-111
Exercise Solutions
7.
8.
9.
Display the user account information for the user account just
created. Record the command used:
Command: showuser joe
10. Display the privileges assigned to this user account. Record the
command used:
Command: showuser -p
11. Configure all user accounts to automatically log out of the XSCF
after two minutes. Record the command used:
Command: setautologout -s 2
12. Verify the logout setting from step 11. Record the command used:
Command: showautologout
13. Log out and log back in using the same account.
14. Re-verify the logout setting. Did the value change? Record the
command used:
Command: showautologout
15. Allow enough time to pass so that the users session is automatically
logged out.
16. Log in to the XSCFU using the user1 account.
17. Disable the new account you created earlier in this lab. Record the
command used:
Command: disableuser joe
18. Log out of the XSCF.
19. Attempt to log back in to the XSCFU using the account you just
disabled. Was your attempt successful? No
20. Log in to the XSCF using the user1 account and re-enable the
disabled account. Record the command used:
Command: enableuser joe
21. Log out of the XSCF and re-log in as your new user.
4-112
Exercise Solutions
22. Attempt to change the password for this user by only changing two
characters of the original password. Record the command used and
whether you were successful or not and why:
Command: password -- should not be successful due to the setting earlier in
setpasswordpolicy requiring a minimum of four characters to be changed.
23. As your final step for this task, execute the steps needed to delete
this user from the system. Record your steps:
Command: deleteuser joe -- if successful you are deleting your current account and
may just exit you out. To be safe, run these commands:
1.
exit
2.
3.
deleteuser joe
4-113
Exercise Solutions
2.
Check the current setting for the servers altitude. Record the
command used:
Command: showaltitude
Status: varies; likely 100m
3.
4.
5.
6.
7.
Temperature: varies
Display the temperature for each of the CPUM boards in the server.
Record the command used:
Command: showenvironment temp
8.
9.
Display the status of the locator LED on the operator panel of your
assigned server. Record the command used:
Command: showlocator
Status: varies
10. Set the locator LED to blink, display the status of the LED and, if
using a local server, visually confirm the LED is blinking. Record the
commands used:
Command: setlocator blink
Command: showlocator
11. Display the current settings for the servers power-up wait time and
warm-up time. Record the command used:
4-114
Exercise Solutions
Command: showpowerupdelay
12. Identify the current values for the following:
13. Change the warm-up and wait times to the following values:
4-115
Exercise Solutions
2.
Command: showhardconf
3.
Using the same command that was used in step 2, which specific
PSB set resources are installed in your server?
Resource
PSB#00
CPUM#0-CHIP#0
CPUM#0-CHIP#1
CPUM#1-CHIP#0
CPUM#1-CHIP#1
MEMB#0
MEMB#1
MEMB#2
MEMB#3
IOU#0
PSB#01
CPUM#2-CHIP#0
CPUM#2-CHIP#1
CPUM#3-CHIP#0
CPUM#3-CHIP#1
4-116
Exercise Solutions
Installed and Status of Normal?
(y or n)
Resource
MEMB#4
MEMB#5
MEMB#6
MEMB#7
IOU#1
4.
5.
6.
7.
4-117
Exercise Solutions
Command: prtfru -l
8.
Using this command, display the FRU tree for the operator panel of
your assigned server. Record the command used:
Command: prtfru -c /frutree/chassis/OPNL
9.
4-118
Exercise Solutions
2.
3.
Display the current COD usage statistics for your assigned server.
Record the command used:
Command: showcodusage
Status: varies
4.
5.
6.
4-119
Exercise Solutions
4-120
Objectives
Module 5
Power on a domain
5-1
Objectives
Relevance
!
?
5-2
What is the expected service level for the domain and what resources
are needed to meet the expected service level?
Additional Resources
Additional Resources
Additional resources The following references provide additional
information on the topics described in this module:
5-3
Additional Resources
5-4
Exploring Domains
Exploring Domains
The MX000 mid-range and high-end servers have the ability to run
several instances of the Solaris OS. These separate and independent
instances are called domains.
Note The M3000 is capable of only one domain.
The domain definition requires:
CPU
Memory
I/O
The MX000 mid-range and high-end server domains have the following
characteristics:
A panic in one domain does not affect the other domains running in
the server
Domain Implementation
There are two implementations of domain configuration:
Static (inactive)
Dynamic (active)
5-5
Domain Configuration
Domain Configuration
To configure a domain, you must assign system resources, or Extended
System Boards (XSBs), to each domain that you intend to use.
The service processor supports commands that allow you to group XSBs
into domains.
When the configuration has been set and the domain is initialized, the
initialization process isolates a domains resources. This is referred to as a
Dynamic System Domain (DSD).
5-6
You can also temporarily reconfigure the system into one domain to
run a large job
Domain Configuration
5-7
Domain Configuration
Physical System Board (PSB) set Consists of CPU, memory, and I/O
5-8
Specific boards are associated with specific with each PSB set
Domain Configuration
16 or 32 DIMMs
CMU#0
CPU#0
CPU#1
CPU#2
CPU#3
32 DIMM banks
IOU#0
PCI-E slots 0, 1, 2, 3, 4, 5, 6, 7
5-9
Domain Configuration
Configuring a PSB#00 in quad-mode results in the following XSBs:
CMU#0/CPU#0
CMU#0/CPU#1
CMU#0/CPU#2
CMU#0/CPU#3
Note A uni-mode PSB#15 offers the same amount of resources as a unimode PSB#00. Using PSB#15 in quad-mode results in the same resource
breakout as PSB#00 in quad-mode; only the PSB#s are different.
5-10
Domain Configuration
Domain Configuration
You can create a domain out of any group of XSBs if the following
conditions are met:
The domain must contain at least one XSB with CPU, Memory, and
I/O.
Note The domain should contain enough physical resources to meet the
requirements of the planned workload. Prior to constructing the domain,
a resource needs assessment should be performed to ensure that the assigned
resources meet these requirements.
5-11
5-12
Domain Id (DID)
Assignment states
Power status
Status information
[-v]
showboards
[-v]
Pwr
---n
n
Conn
---n
n
Conf
---n
n
Test
------Unknown
Unknown
Fault
-------Normal
Normal
5-13
In the following example from the M5000, sb 0 is configured into a quadXSB. A configuration error occurred because each processor did not have
an associated memory board.
XSCF> setupfru -x 4 sb 0
Operation has completed. However, a configuration error was detected.
5-14
Conf
---n
n
n
n
n
Test
------Unknown
Unknown
Unknown
Unknown
Unknown
Fault
-------Normal
Normal
Normal
Normal
Normal
5-15
5-16
5-17
System
Powered Off
5-18
5-19
5-20
Pwr
---n
n
n
n
n
Conn
---n
n
n
n
n
Conf
---n
n
n
n
n
Test
------Unknown
Unknown
Unknown
Unknown
Unknown
Fault
-------Normal
Normal
Normal
Normal
Normal
5-21
5-22
Pwr
---n
n
n
n
n
Conn
---n
n
n
n
n
Conf
---n
n
n
n
n
Test
------Unknown
Unknown
Unknown
Unknown
Unknown
Fault
-------Normal
Normal
Normal
Normal
Normal
5-23
secure on or off
autoboot on or off
5-24
5-25
5-26
5-27
Note The power-off command at the OBP can also be used to power off
the domain.
5-28
5-29
{0} ok
5-30
DID Domain ID
escape
#
Date
Wed Feb 25 21:46:04 2009
5-31
5-32
Common:
DID Domain ID
CPU:
ID Processor ID
Memory:
XSCF> showdevices -d 0
CPU:
---DID XSB
00 00-0
00 00-0
00 00-0
00 00-0
id
0
1
2
3
state
on-line
on-line
on-line
on-line
speed
2280
2280
2280
2280
ecache
5
5
5
5
Memory:
------DID XSB
00 00-0
board
mem MB
12288
IO Devices:
---------DID XSB
00 00-0
00 00-0
00 00-0
00 00-0
perm
mem MB
1438
device
sd0
sd0
sd0
bge0
base
address
0x000003c000000000
resource
/dev/dsk/c0t0d0s0
/dev/dsk/c0t0d0s1
/dev/dsk/c0t0d0s1
SUNW_network/bge0
domain
mem MB
12288
usage
mounted filesystem "/"
swap area
dump device (swap)
bge0 hosts IP addresses: 10.6.15.2
5-33
5-34
5-35
'go' to resume
5-36
5-37
Data The initial value of the private data used by the methods
Children Other device nodes attached to a given node and that lie
directly below it in the device tree
A parent The node that lies directly above a given node in the
device tree
5-38
GB
GB
GB
GB
{0} ok show-nets
a) /pci@4,600000/pci@0,1/network@1,1
b) /pci@4,600000/pci@0,1/network@1
c) /pci@0,600000/pci@0,1/network@1,1
d) /pci@0,600000/pci@0,1/network@1
q) NO SELECTION
Enter Selection, q to quit: q
5-39
5-40
/cmp@418,0/core@1
/cmp@418,0/core@0
/cmp@418,0/core@1/cpu@1
/cmp@418,0/core@1/cpu@0
/cmp@418,0/core@0/cpu@1
/cmp@418,0/core@0/cpu@0
/cmp@410,0/core@1
/cmp@410,0/core@0
/cmp@410,0/core@1/cpu@1
/cmp@410,0/core@1/cpu@0
/cmp@410,0/core@0/cpu@1
/cmp@410,0/core@0/cpu@0
/cmp@408,0/core@1
/cmp@408,0/core@0
/cmp@408,0/core@1/cpu@1
/cmp@408,0/core@1/cpu@0
/cmp@408,0/core@0/cpu@1
/cmp@408,0/core@0/cpu@0
/cmp@400,0/core@1
/cmp@400,0/core@0
/cmp@400,0/core@1/cpu@1
/cmp@400,0/core@1/cpu@0
/cmp@400,0/core@0/cpu@1
/cmp@400,0/core@0/cpu@0
/openprom/client-services
/packages/obp-tftp
/packages/terminal-emulator
/packages/disk-label
/packages/deblocker
/packages/SUNW,builtin-drivers
/packages/SUNW,probe-error-handler
5-41
LSB
--00
00
00
00
CPU
Chip
---0
1
2
3
CPU
ID
-------------------------------0,
1,
2,
3
8,
9, 10, 11
16, 17, 18, 19
24, 25, 26, 27
Run
MHz
---2280
2280
2280
2280
L2$
MB
--5.0
5.0
5.0
5.0
LSB
--00
Memory
Group
-----A
Available
Size
---------32768MB
Memory
Status
------okay
DIMM
Size
-----2048MB
# of
DIMMs
----16
Mirror Interleave
Mode
Factor
------- ---------no
8-way
5-42
# cfgadm -a
Ap_Id
SB0
SB0::cpu0
SB0::cpu1
SB0::cpu2
SB0::cpu3
SB0::memory
SB0::pci0
SB0::pci1
SB0::pci2
SB0::pci3
SB0::pci4
SB0::pci5
SB0::pci6
SB0::pci7
SB0::pci8
SB1
SB2
SB3
SB4
SB5
SB6
SB7
SB8
SB9
SB10
SB11
SB12
SB13
SB14
Receptacle
connected
connected
connected
connected
connected
connected
connected
connected
connected
connected
connected
connected
connected
connected
connected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
Occupant
configured
configured
configured
configured
configured
configured
configured
configured
configured
configured
configured
configured
configured
configured
configured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
Condition
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
5-43
5-44
scsi-bus
disk
disk
CD-ROM
tape
smp
smp
scsi-bus
disk
disk
pci-pci/hp
unknown
unknown
unknown
pci-pci/hp
unknown
unknown
unknown
disconnected
connected
connected
connected
connected
connected
connected
connected
connected
connected
connected
connected
empty
empty
empty
connected
empty
empty
empty
unconfigured
configured
configured
configured
configured
configured
configured
configured
configured
configured
configured
configured
unconfigured
unconfigured
unconfigured
configured
unconfigured
unconfigured
unconfigured
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
ok
unknown
unknown
unknown
ok
unknown
unknown
unknown
To OBP and the Solaris OS, a Processor presents four or eight virtual
Processors.
5-45
Processor Numbers
(Decimal in the Solaris
OS)
0-7
8-15
16- 23
24-31
32-39
40-47
48-55
56-63
64-71
72-79
80-87
88-95
96-103
104-111
112-119
120-127
128-135
136-143
144-151
152-159
160-167
168-175
176-183
184-191
192-199
200-207
208-215
216-223
224-231
232-239
240-247
248-255
LSB
5-46
Processor Numbers
(Decimal in the Solaris
OS)
256-263
264-271
272-279
280-287
288-295
296-303
304-311
312-319
10
320-327
328-335
336-343
344-351
11
352-359
360-367
368-375
376-383
12
384-391
392-399
400-407
408-415
13
416-423
424-431
432-439
440-447
14
448-455
456-463
464-472
473-479
15
480-487
488-495
496-503
504-511
LSB
5-47
Agent ID Determines the LSB location and which Sun Fire server
chip
Now, start with the two I/O controller (Oberons in Figure 5-1) and break
down their structure.
Figure 5-1
5-48
Figure 5-2
5-49
Figure 5-3
As with the CPU IDs, the AIDs are going to change for I/O based on your
LSB assignments. In the following example, the device alias is:
/devices/pci@x,y
where x is the portid and y is 600000 for leaf A and 700000 for leaf B.
The portid (x) changes for LSBs 0 through 15 are shown in Table 5-2.
Table 5-2 I/O Mapping Based on LSB
5-50
LSB
Device Path
/pci@0,600000/
/pci@10,600000/
/pci@20,600000/
/pci@30,600000/
Device Path
/pci@40,600000/
/pci@50,600000/
/pci@60,600000/
/pci@70,600000/
/pci@80,600000/
/pci@90,600000/
10
/pci@a0,600000/
11
/pci@b0,600000/
12
/pci@c0,600000/
13
/pci@d0,600000/
14
/pci@e0,600000/
15
/pci@f0,600000/
5-51
Figure 5-4
The OBP device pathing structure for the I/O Expansion Unit PCI-E I/O
Boat is shown in Figure 5-5.
Figure 5-5
5-52
Figure 5-6
The OBP device path structure for the I/O Expansion Unit PCI-X I/O
Boat can be seen in Figure 5-7.
Figure 5-7
5-53
The Solaris OS
The Solaris OS
Remember the following about the Solaris OS running on your server:
5-54
svc:/platform/sun4u/dscp:default
svc:/platform/sun4u/sckmd:default
svc:/platform/sun4u/dcs:default
Use the svcs command to verify the listed services are online. The
svcadm command is used to enable or disable services. Enable the dscp
service first. Check your network configuration using ifconfig. If the
sppp0 interface does not exist, that is an indication that the dscp service is
NOT enabled.
godzilla-dom0 # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2
inet 10.6.15.30 netmask ff000000 broadcast 10.255.255.255
ether 0:b:5d:e0:5:1a
godzilla-dom0 # svcadm -v enable dscp
svc:/platform/sun4u/dscp:default enabled.
godzilla-dom0 # Feb 26 23:06:46 godzilla-dom0 ip:
ipsec_check_inbound_policy: Policy Failure for the incoming packet (not
secure); Source 192.168.224.001, Destination 192.168.224.002.
godzilla-dom0 # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2
inet 10.6.15.30 netmask ff000000 broadcast 10.255.255.255
ether 0:b:5d:e0:5:1a
5-55
5-56
Note This exercise has been written with the assumption that the
student will have remote access to an MX000 server.
Preparation
To prepare for this exercise:
Your instructor will assign a server to each group. Your assigned server is:
_________________________________________________________________
5-57
2.
3.
4.
5.
6.
Verify if a power-up delay has been set. Record the command used:
Command:___________________________________________________
7.
8.
Set the secure parameter to off for domain 0. Record the command
used:
Command:___________________________________________________
9.
10. Run the power-on self-test for domain 0. Record the command used:
Command:___________________________________________________
11. What command will allow you to access you domain? Record the
command used:
Command:___________________________________________________
12. At the obp, determine how many disk devices your domain has and
their target ids. Record the command used:
Command:___________________________________________________
5-58
5-59
2.
3.
4.
5.
Run the power-on self-test for domain 0. Record the command used:
Command:___________________________________________________
6.
What command will allow you to access you domain? Record the
command used:
Command:___________________________________________________
7.
At the obp, determine how many disk devices your domain has and
their target ids. Record the command used:
Command:___________________________________________________
8.
9.
10. How many processors you have for domain 0? Record the command
used:
Command:___________________________________________________
11. Boot to Solaris. Record the command used:
Command:___________________________________________________
12. Verify your LSB #s. Record the command used:
5-60
5-61
2.
Add an LSB# of 0 to XSB 00-0 and a LSB# of 5 to XSB 00-1 for domain
0. Record the command used:
Command:___________________________________________________
3.
Add XSB 00-0 and XSB 00-1 to domain 0. Record the command used:
Command:___________________________________________________
4.
Run the power-on self-test for domain 0. Record the command used:
Command:___________________________________________________
5.
What command will allow you to access you domain? Record the
command used:
Command:___________________________________________________
6.
At the obp, determine how many disk devices your domain has and
their target ids. Record the command used:
Command:___________________________________________________
7.
8.
9.
How many processors you have for domain 0? Record the command
used:
Command:___________________________________________________
10. What are the device paths for PCI-E card slot 3 and 4? Record the
command used and the device path information:
Command:___________________________________________________
Device path card slot 3:________________________________________
Device path card slot 4:________________________________________
5-62
5-63
2.
3.
4.
Boot to Solaris.
Command:___________________________________________________
5.
6.
5-64
Exercise Summary
Exercise Summary
!
?
Experiences
Interpretations
Conclusions
Applications
5-65
Exercise Solutions
Exercise Solutions
This section provides solutions to the exercises.
5-66
Exercise Solutions
2.
Resource
PSB#00
CPUM#0-CHIP#0
CPUM#0-CHIP#1
CPUM#1-CHIP#0
CPUM#1-CHIP#1
MEMB#0
MEMB#1
MEMB#2
MEMB#3
IOU#0
PSB#01
CPUM#2-CHIP#0
CPUM#2-CHIP#1
CPUM#3-CHIP#0
CPUM#3-CHIP#1
MEMB#4
MEMB#5
MEMB#6
5-67
Exercise Solutions
Installed and Status of Normal?
(y or n)
Resource
MEMB#7
IOU#1
3.
4.
5.
6.
Verify if a power-up delay has been set. Record the command used:
Command: showpowerupdelay
7.
8.
Set the secure parameter to off for domain 0. Record the command
used:
Command: setdomainmode -d 0 -m secure=off
9.
10. Run the power-on self-test for domain 0. Record the command used:
Command: poweron -d 0 -y
11. What command will allow you to access you domain? Record the
command used:
Command: console -d 0 -y
12. At the obp, determine how many disk devices your domain has and
their target ids. Record the command used:
Command: probe-scsi-all
13. At the obp, determine how many network interfaces your domain
has. Record the command used:
Command: show-nets
5-68
Exercise Solutions
14. At the obp, determine how many processors your domain has.
Record the command used:
Command: show-devs
15. How many processors you have for domain 0? Record the command
used:
Command: four, show-devs
16. Boot to Solaris. Record the command used:
Command: boot
17. Verify your network interfaces. Record the command used:
Command: ifconfig -a
18. Verify your LSB #s. Record the command used:
Command: prtdiag -v
19. Determine what SBs are connected and configured. Record the
command used:
Command: cfgadm -a
20. Halt your domain. Record the command used:
Command: init 0
21. Return to the service processor XSCF prompt. Record the command
used:
Command: #.
22. Power off domain 0. Record the command used:
Command: poweroff -d 0 -y
23. Delete XSB 00-0. Record the command used:
Command: deleteboard -c unassign 00-0
24. Remove LSB #0. Record the command used:
Command: setdcl -d 0 -r 0
5-69
Exercise Solutions
2.
3.
4.
5.
Run the power-on self-test for domain 0. Record the command used:
Command: poweron -d 0 -y
6.
What command will allow you to access you domain? Record the
command used:
Command: console -d 0 -y
7.
At the obp, determine how many disk devices your domain has and
their target ids. Record the command used:
Command: probe-scsi-all
8.
9.
10. How many processors you have for domain 0? Record the command
used:
Command: one, show-devs
11. Boot to Solaris. Record the command used:
Command: boot
12. Verify your LSB #s. Record the command used:
5-70
Exercise Solutions
Command: prtdiag -v
13. Determine what SBs are connected and configured. Record the
command used:
Command: cfgadm -a
14. Halt your domain. Record the command used:
Command: init 0
15. Return to the service processor XSCF prompt. Record the command
used:
Command: #.
16. Power off domain 0. Record the command used:
Command: poweroff -d 0 -y
17. Delete XSB 00-0. Record the command used:
Command: deleteboard -c unassign 00--0
18. Remove LSB #0. Record the command used:
Command: setdcl -d 0 -r 0
5-71
Exercise Solutions
2.
Add an LSB# of 0 to XSB 00-0 and a LSB# of 5 to XSB 00-1 for domain
0. Record the command used:
Command: setdcl -d 0 -a 0=00-0 5=00-1
3.
Add XSB 00-0 and XSB 00-1 to domain 0. Record the command used:
Command: addboard -d 0 -c assign 00-0 00-1
4.
Run the power-on self-test for domain 0. Record the command used:
Command: poweron -d 0 -y
5.
What command will allow you to access you domain? Record the
command used:
Command: console -d 0 -y
6.
At the obp, determine how many disk devices your domain has and
their target ids. Record the command used:
Command: probe-scsi-all
7.
8.
9.
How many processors you have for domain 0? Record the command
used:
Command: two, show-devs
10. What are the device paths for PCI-E card slot 3 and 4? Record the
command used and the device path information:
Command: show-devs
Device path card slot 3: /pci@52,600000
Device path card slot 4: /pci@53,700000
5-72
Exercise Solutions
5-73
Exercise Solutions
2.
3.
4.
Boot to Solaris.
Command: boot
5.
6.
5-74
Objectives
Module 6
6-1
Objectives
Relevance
!
?
6-2
What are the XSB considerations and what impact do they have in a
Dynamic Reconfiguration operation?
Additional Resources
Additional Resources
Additional resources The following references provide additional
information on the topics described in this module:
6-3
Additional Resources
6-4
Benefits of DR
Dynamic Reconfiguration allows you to:
6-5
DR Operational Locations
DR Operational Locations
DR operations can be performed from two locations:
Domain
The cfgadm command can be run directly from the domain to get
resource status and to dynamically reconfigure PCI adapters only. The
cfgadm command was first introduced for the previous Sun Enterprise
server line of platforms.
Note In the MX000 server line, the cfgadm command does not support
DR operations for XSBs.
6-6
DR Concepts
DR Concepts
DR lets you perform maintenance on an active domain by disconnecting
and then reconnecting XSBs without bringing the domain down. In
addition to maintenance on the high-end servers, DR also provides
enhanced performance by allowing XSB addition (thus more processors,
memory, and I/O) at periods when resource requirements are high.
6-7
DR attach Operation
DR attach Operation
The DR attach operation adds the specified XSB to a domain running the
Solaris OS. When the XSB is added and the XSBs resources and interfaces
are configured to the domain, the domain uses them without any
difficulty. The steps for an attach operation include:
DR attach States
When performing a DR attach operation, two levels of state change are
supported:
If you are attaching an XSB with I/O devices you might still have to run
the devfsadm command manually to create new device files.
Note When attaching XSB to a domain, the existing controllers retain
their original numbering. New disk controllers on a newly attached XSB
are assigned the next available lowest number.
6-8
DR detach Operation
DR detach Operation
A DR detach operation removes the specified XSB from a domain, which
must be already running the Solaris OS.
While attaching an XSB is a straightforward operation, detaching an XSB
can be complex. When removing an XSB from a running domain, the
operating environment must stop using all of the XSBs resources. These
resources fall into three general categories:
Data from the XSBs memory, including the kernel if detaching the
XSB where the kernel resides
8.
9.
6-9
DR detach Operation
DR detach States
When performing a DR detach operation, three levels of state change are
supported:
6-10
Both Sun StorageTek Traffic Manager software and IPMP are key
components of DR operations on XSBs with I/O components. If the
domains vital system resources are multipath configured, then a DR
operation can be performed on one of the physical paths without
interrupting access to the device.
If you are planning to perform DR operations on XSBs with I/O
components, you must first determine whether multipathing is currently
implemented.
6-11
If the driver does not detach or suspend, you must unload the device
driver using the modunload command.
Note While detach-safe and suspend-safe are both characteristics of I/O
device drivers, these issues never arise simultaneously. A device must be
detach-safe only when you are detaching the controller device (I/O unit
or card) itself. A device needs to be suspend-safe when you are detaching
the XSB with the permanent memory.
Run the modinfo command to get the driver ID. The driver ID is the
first number in the modinfo command output; in this case, 307.
6-12
Quiescence
To remove an XSB with non-pageable memory, DR must quiesce the
operating system. All operating system and device activity in the domain
must cease during a critical phase of the operation. Quiesce implies that
all system operations, including I/O operations, are suspended for the
period of time that it takes to move the data from the XSB being detached
to a remaining XSB. All device drivers must be suspended and then
resumed after the kernel memory is moved to another XSB.
Note Permanent memory can only be relocated to another XSB with the
same amount of memory or a greater amount of memory.
6-13
Swap Space
Configure system swap space as multiple partitions or files on disks
attached to controllers owned by different XSBs. This allows any swap
partition or file to be easily replaced with the swap command. It also has a
side benefit of providing better swap performance because any swap load
is spread over several I/O controllers.
When detaching memory or disk swap space, there must be enough
memory and swap disk space remaining in the system to accommodate
all of the currently running programs. The domain must contain enough
remaining configured swap space so it can flush pageable memory from
the XSB being detached. For example, if you want to remove 1 Gbyte of
memory from a 2-Gbyte system, you might need 2 Gbytes of swap space
just for DR.
The amount of additional swap space that you need is equal to the
amount of main storage on two domain XSBs. To be able to handle every
case, you must plan to use the largest memory amount on any domain
XSB.
Insufficient swap space prevents DR from completing the detach of a XSB
that contains memory. If this happens, the memory drain phase of the
detach operation is not able to complete, and you must abort the detach
operation.
Depending on how short of swap space you are, the DR operation might
fill all available swap space and hang the DR operation.
Ensure that you have enough space in the new primary swap partition
(and in the /var directory) to contain a full domain panic dump.
Note DR does not verify whether enough swap space is available before
starting the detach operation. You can use DR to determine how much
memory must be drained from the XSB and then use the swap -l
command to determine if the current amount of system swap space is
sufficient.
6-14
CPU Considerations
CPU Considerations
Two conditions can make it impossible for you to detach an XSB related
to the CPUs themselves:
Bound Threads
Process threads can be programatically or administratively bound to a
particular CPU. That is, they run on only that particular CPU. A CPU that
has any bound threads cannot be removed through a DR operation.
You can use the pbind command to list any processes that have bound
threads and to unbind those threads if you need to remove a particular
CPU:
# pbind
process id 40848: 0
# pbind -u 40848
process id 40848: was 0, now not bound
Processor Sets
Threads can be bound to processor sets rather than individual processors.
By default, no processor sets exist, but they can be created by the root
user.
Removing a CPU that is a member of a processor set is a problem only if
it is the last member of the set. If you need to remove a CPU, you can
remove the processor set, which will also unbind any threads that are
bound to the set:
# psrset -d 1
or you can add another CPU to the set:
# psrset -a 1 320
6-15
CPU Considerations
6-16
Configuration policy
Floating board
Omit-memory
Omit-I/O
6-17
6-18
Omit-Memory Option
When the omit-memory option is enabled, the memory on an XSB cannot
be used in the domain. This option can be used when the domain needs
the XSBs CPU resources and not the memory. It will make the attach
operation much faster because the XSBs memory will not be tested.
Note This option will not allow unmounted XSBs with no associated
memory to be used. The associated memory must exist to be omitted.
The value of this option can be set true to omit memory or false to not
omit memory on the XSB with the setdcl -s no-mem=value LSB#. The
default value is false.
XSCF> setdcl -d 0 -s no-mem=true 1 2 3
Omit-I/O Option
The omit-I/O option disables the PCI cards, disk drives, and network
ports on an XSB to prevent the target domain from using them. You set
the omit-I/O option to true when the target domain only needs to use
the XSBs CPU and memory. Having the option set to false allows the
target domain to use all of the I/O resources on the XSB.
The value of this option can be set to true to omit the I/O units or false
to not omit them with setdcl -s no-io=value LSB#. The default value
is false.
XSCF> setdcl -d 0 -s no-io=true 1 2 3
No-IO
Float
False
True
True
True
False
True
True
True
Cfg-policy
FRU
6-19
XSCF Commands
Before a DR operation can be performed, the administrator must have the
proper privileges to perform the DR operation. The following commands
perform a DR operation from the XSCF softwares CLI:
6-20
Pwr
---y
n
Conn
---y
n
Conf
---y
n
Test
------Passed
Unknown
Fault
-------Normal
Normal
Status
Running
In the next set of examples, XSB 01-0 is added to the domain component
list for domain 0 and its status is verified.
XSCF> setdcl -d 0 -a 1=01-0
XSCF> showdcl -a
DID
LSB
XSB
00
00
00-0
01
01-0
Status
Running
The XSB now has an LSB # but is still not allocated to domain 0.
XSCF> showboards -a
XSB DID(LSB) Assignment
---- -------- ----------00-0 00(00)
Assigned
01-0 SP
Unavailable
Pwr
---y
n
Conn
---y
n
Conf
---y
n
Test
------Passed
Unknown
Fault
-------Normal
Normal
6-21
6-22
Pwr
---y
y
Conn
---y
y
Conf
---y
y
Test
------Passed
Passed
Fault
-------Normal
Normal
Pwr
---y
y
Conn
---y
n
Conf
---y
n
Test
------Passed
Passed
Fault
-------Normal
Normal
Status
Running
6-23
6-24
Pwr
---y
y
y
y
y
y
y
y
Conn
---y
y
n
n
y
y
n
n
Conf
---y
y
n
n
y
y
n
n
Test
------Passed
Passed
Unmount
Unmount
Passed
Passed
Unmount
Unmount
Fault
-------Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
COD
---n
n
n
n
n
n
n
n
Pwr
---y
y
Conn
---y
y
Conf
---y
y
Test
------Passed
Passed
Fault
-------Normal
Normal
To move an XSB between domains, the XSB needs to be part of the DCL
for both the source and destination domains. Below, the XSB is being
added to the DCL for domain 1. Notice that domain 1 (DID 01) is
currently powered off.
XSCF> setdcl -d 1 -a 00=01-0
XSCF> showdcl -a
DID
LSB
XSB
Status
00
Running
00
00-0
01
01-0
--------------------------01
Powered Off
00
01-0
6-25
6-26
Pwr
---y
y
Conn
---y
n
Conf
---y
n
Test
------Passed
Passed
Fault
-------Normal
Normal
Preparation
You will need to know the current system configuration. If your domain
is built with a uni-mode XSB, halt the domain, power off the domain, and
remove the XSB from the domain. Remove all LSB entries that exist.
2.
3.
4.
5.
Assign XSB 00-0 and XSB 00-1 to domain 0. Record the command
used:
Command:___________________________________________________
6.
Run the power-on self-test for domain 0. Record the command used:
Command:___________________________________________________
7.
What command will allow you to access you domain? Record the
command used:
Command:___________________________________________________
6-27
8.
9.
6-28
Exercise Summary
Exercise Summary
!
?
Experiences
Interpretations
Conclusions
Applications
6-29
Exercise Solutions
Exercise Solutions
This section contains solutions for the exercise.
2.
3.
4.
5.
Assign XSB 00-0 and XSB 00-1 to domain 0. Record the command
used:
Command: addboard -d 0 -c assign 00-0 00-1
6.
Run the power-on self-test for domain 0. Record the command used:
Command: poweron -d 0 -y
7.
What command will allow you to access you domain? Record the
command used:
Command: console -d 0 -y
8.
9.
6-30
Exercise Solutions
11. Reserve XSB 00-1 for detachment. Record the command used:
Command: deleteboard -c reserve 00-1
12. Did the reserve of XSB 00-1 succeed? Record the command used to
verify the reservation:
Command: showboards -av
13. Remove XSB 00-1 from domain 0 and assign XSB 00-1 to domain 1
without halting Solaris. Record the command used:
Command: deleteboard -c unassign 00-1
and
Command: addboard -d 1 -c assign 00-1
or
Command: moveboard -d 1 -c assign 00-1
14. Verify XSB 00-0 and 00-1 are assigned to two different domains.
Record the command used:
Command: showboards -a
15. Remove XSB 00-1 from domain 1 and configure XSB 00-1 into
domain 0. Record the command used:
Command: deleteboard -c unassign 00-1
and
Command: addboard -d 0 -c configure 00-1
or
Command: moveboard -d 0 -c configure 00-1
16. Verify XSB 00-0 and 00-1 are assigned to the same domain. Record
the command used:
Command: showboards -a
6-31
Exercise Solutions
6-32
Objectives
Module 7
7-1
Objectives
Relevance
!
?
7-2
Additional Resources
Additional Resources
Additional resources The following references provide additional
information on the topics described in this module:
7-3
Additional Resources
7-4
Basic Features
Log archiving provides the following features:
Audit trails
7-5
Encryption
All connections established through log archiving are encrypted. The log
archiving feature provides the ability to use an RSA public key to
authenticate the archive host. The public key is configured and managed
on the service processor.
7-6
setarchiving
showarchiving
-h
enable |
disable
-k host-key
7-7
-l
audit-limit,
non-auditlimit
-p password
-r
-t
user@host:di
rectory
-v
-y | -n
7-8
-h
-e
-v
OTHER LOGS
---------2000 MB
Not monitored
0
0
7-9
Select a user account on a server that will be used as the archive host
that the service processor will use to log to.
2.
3.
ifconfig -a (10.6.15.50)
mkdir -p /export/home
useradd -u 5001 -g 10 -d /export/home/sam -m -s /bin/ksh sam
passwd sam (cangetin)
mkdir /export/home/sam/logs
chmod 777 /export/home/sam/logs
chown sam:staff /export/home/sam/logs
7-10
Log in to the service processor with a user account that has platadm
privileges.
2.
Note After tests indicate that the archive host is set up correctly, log
archiving is enabled effective immediately. If the tests fail, you receive an
error message that log archiving was not enabled.
XSCF> showarchiving
XSCF> showarchiving -e
7-11
Auditing
Auditing
An MX000 server logs all service processor events that could be relevant
to security, such as system startup and shutdown, user login and logout,
and privilege changes. These events are tracked and implemented
through:
Audit records
Audit trails
Audit events
Audit classes
Audit policy
Audit Records
Audit files are stored in binary format, although you can export them to
XML. The audit file system switches storage between two partitions.
Audit records are stored in one partition until it becomes full, then new
records are stored in the other partition. Records in a full partition can be
moved to a remote location, depending on the audit policy.
If audit policy or network problems impede remote storage, the system
generates an alarm. You can clear space by manually transferring the files
to remote storage or by deleting them. Until you clear space, new records
are dropped.
Audit Trails
A collection of audit records that are linked is called an audit trail. An
audit trail can reveal suspicious or abnormal patterns of system behavior,
in addition to identifying which user was responsible for a particular
event.
7-12
Auditing
Audit Events
Audit events can be any of the following types:
Recorded Data
The data recorded for each event includes:
Type of event
7-13
Auditing
Audit Classes
Audit classes are categories for grouping and sorting audit events. The
MX000 servers provide a predefined set of audit classes for example,
login events and service-related events. You cannot define additional
audit classes or change the events in a class.
Note Refer to the setaudit man page for a list of audit classes.
Audit Policy
The audit policy determines how the auditing feature is implemented by
configuring the follows variables:
7-14
Auditing is enabled.
Records are dropped and counted when the audit trail is full.
Audit warning thresholds are set at 80 percent and 100 percent full.
setaudit
showaudit
viewaudit
enable|disable|archive|delete
[-a users=enable|disable|default]
[-c classes= {enable|disable}]
[-e events=enable|disable]
[-g {enable|disable}] [-t thresholds]
[-p count|suspend] [-m mail-address]
-h
enable|disable
archive
delete
default
-a user
7-15
-c classes
-e events
7-16
-g
-m mailaddress
-p suspend
-p count
-t thresholds
-h
7-17
[all]
[-a users] [-c classes] [-e events] [-g] [-m]
[-p] [-s] [-t]
-h
all
-a user
-c classes
7-18
-e events
-g
-m
-p
-s
-t
-h
7-19
-A date-time
-C
7-20
-c classes
-D date-time
-B date-time
-E end-record
-e events
-l
-n
-p priv-result
-r returnvalue
-u users
-x
-h
7-21
The following example displays user audit records for a user named sam:
XSCF> viewaudit -u sam
file,1,2009-02-19 11:12:24.528 -05:00,20090219151224.0000000000.kong-sp0
header,37,1,login - telnet,kong-sp0,2009-02-19 11:31:09.659 -05:00
subject,1,sam,normal,ssh 45880 kong-sp0
command,showuser
platform access,granted
return,0
7-22
Log in to the XSCF console with a user that has auditadm privileges.
2.
Log in to the XSCF console with a user that has auditadm privileges.
2.
3.
2.
7-23
2.
7-24
Configuration information
Environmental status
Log files
Errors
FRUID information
7-25
-d device
-D directory
-e
-E Time
-h
-k host-key
-L {F|I|R}
7-26
-l
-n
-p password
-q
-s time
-t user@host:
directory
-T
-v
-y
7-27
Operational Overview
The snapshot command transfers collected data to a specified
destination. This is done by:
1.
7-28
2.
3.
4.
5.
Modes of Operation
The snapshot command can be operated in one of the following modes:
7-29
7-30
7-31
showlogs
showmonitorlog
7-32
Log
Keyword
error
Error log
platadm, platop,
fieldeng
event
Event log
platadm, platop,
fieldeng
monitor
platadm, platop,
fieldeng
power
platadm, platop,
fieldeng
env
platadm, platop,
fieldeng
console
platadm, platop,
fieldeng domainadm,
domainop, domainmgr
ipl
platadm, platop,
fieldeng domainadm,
domainop, domainmgr
panic
platadm, platop,
fieldeng domainadm,
domainop, domainmgr
Privileges Required
(Only One Is Required)
[-t time [-T time] | -p timestamp] [-v|-V |-S] [-r] [-M] error
[-t time [-T time]|-p timestamp] [-v] [-r] [-M] event
[-t time [-T time]] [-r] [-M] {power | env}
[-r] [-M] monitor
-d domain_id [-t time [-T time]] [-r] [-M] {console|ipl|panic}
-h
-d domain-id
-h
-M
-p time-stamp
-r
-s
-t time
-T time
-v
-V
7-33
The following example displays an error log in detail for the times of the
specified timestamp (-v).
XSCF> showlogs error -p Feb2211:50:462009 -v
Date: Feb 22 11:50:46 EST 2009
Code: 60000500-ffff00000300000800030000
Status: Warning
Occurred: Feb 22 11:50:45.621 EST 2009
FRU: /UNSPECIFIED
Msg: Externally initiated reset occurred
Diagnostic Code:
ffffffff ffff0000 00000000
58495200 00000000 00000000 00000000
00000000 00000000 00000000 00000000
UUID: 2aa9e7b7-ed1c-44eb-ba93-9d7ba1f2c6fd MSG-ID: SCF-8000-P5
7-34
Cause
DID
SCF Reset
Power On
System Power On Operator
Domain Power On Operator
XIR
Operator
Domain Reset
SW Request
--00
00
00
Switch
Locked
Locked
Locked
Locked
Locked
kong-dom0 # poweroff
Feb 22 13:25:20 kong-dom0 poweroff:
Feb 22 13:25:20 kong-dom0 syslogd: going
ip_create_dl: hw addr length = 0
syncing file systems... done
7-35
7-36
7-37
7-38
Viewing the set of diagnosis engines and agents that are currently
participating in fault management
-q
-h
VERSION
1.0
2.0
1.0
1.10
1.0
1.0
1.19
1.16
1.0
1.0
1.0
STATUS
active
active
active
active
active
active
active
active
active
active
active
DESCRIPTION
Case-Close Agent
Event Transport Module
Gate Reaction Agent for errhandd
Resource Cache Flush Agent
Fault Manager Self-Diagnosis
IO Box Recovery Agent
Reissue Agent
Simple Diagnosis Engine
SNMP Trap Generation Agent
SysEvent Transport Agent
Syslog Messaging Agent
7-39
7-40
-c class
-e
-f
-h
-m
-M
-t time
-T time
-u uuid
-v
-V
7-41
UUID
13a2e58e-bb85-4d7c-ace2-976d8c5918b3
b767065f-cd4f-4618-a8c3-dde8ed4368ad
f219212d-81dd-43be-b381-4e70954b3555
1794e0ad-53b5-4412-8d6c-b7750092fad4
2aa9e7b7-ed1c-44eb-ba93-9d7ba1f2c6fd
MSG-ID
SCF-8005-NE
SCF-8006-YS
SCF-8006-YS
SCF-8006-YS
SCF-8000-P5
Are the error messages spread out over several weeks or months?
7-42
showstatus
fmstat
fmdump -e
7-43
7-44
The fmdump command with the -e (error) option is useful tool that will
show the error messages for problems that has occurred. The error
message itself might not be enough to determine the problem. The
timestamps from fmdump -e will match the timestamps from fmdump.
Use fmdump to discover the UUID and then run fmdump -v -u UUID
for detailed information.
XSCF> fmdump -e
TIME
CLASS
Jan 30 18:32:46.2312 ereport.chassis.SPARC-Enterprise.xscfu.process-down
Jan 30 20:52:13.2032 ereport.chassis.SPARC-Enterprise.xscfu.process-down
7-45
module
ev_recv
ev_acpt
wait
svc_t
%w
%b
open
solve
memsz
bufsz
7-46
-a
-h
-m module
-s
-z
count
interval
7-47
%w
0
0
0
0
0
0
0
0
0
0
1
0
%b
0
0
0
0
0
0
0
0
0
0
0
0
open solve
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
memsz
0
0
5.8K
0
0
0
0
0
162K
0
0
97b
bufsz
0
0
0
0
0
0
0
0
0
0
0
0
7-48
1.
2.
3.
If this is the first occurrence of the fault within a 30-day period, then
replace the first suspected FRU on the list.
If this is the first occurrence of the fault within a 30-day period, then
replace the first suspect on the list.
7-49
7-50
7-51
Caution The instructor does not have remote power control to resolve
power issues.
Caution Running the following commands will END your lab for the
rest of the class.
The operation below retrieves a configuration backup file from the
Anonymous ftp server at 10.6.15.50. The configuration backup file created
with the dumpconfig command must have permissions of 777. The file
name is kong-sp0.backup and is found in the pub directory of the
Anonymous ftp server.
XSCF> restoreconfig -V ftp://10.6.15.50/pub/kong-sp0.backup
transfer from '/scf/firmtmp/hcp/config/config_file.bin' to
'ftp://10.6.15.50/pub/kong-sp0.backup'
* About to connect() to 10.6.15.50 port 21
*
Trying 10.6.15.50... * connected
* Connected to 10.6.15.50 (10.6.15.50) port 21
< 220 ssp0 FTP server ready.
> USER anonymous
< 331 Guest login ok, send your complete e-mail address as password.
> PASS curl_by_daniel@haxx.se
< 230 Guest login ok, access restrictions apply.
* We have successfully logged in
> PWD
< 257 "/" is current directory.
* Entry path is '/'
7-52
7-53
Caution The instructor does not have remote power control to resolve
power issues.
Caution Running the following commands will END your lab for the
rest of the class.
7-54
7-55
You can get Sun Explorer software through the SunSolveSM Online
service.
7-56
2.
3.
Uncompress the Sun Explorer software package, and extract the files.
# gzcat SunExplorer.tar.gz | tar xvf -
4.
Note One of the most important aspects of Sun Explorer software is the
proper entry of information during installation. Sun Explorer software
asks a series of questions about the system serial number, contract ID, and
company name. The answers to these questions should be entered
properly to avoid confusion.
5.
Use the following command when running the Sun Explorer utility
for the first time in a domain:
# /opt/SUNWexplo/bin/explorer -g
6.
Note This process places the snapshot in the /tmp directory of the
archive host.
7-57
Sun
Gary
gary.r@sun.com
explorer.843a9ae1.kong-dom0-2009.02.23.06.17
default,xscfextended
/opt/SUNWexplo/bin/explorer -w default,xscfextended
Sun Feb 22 20:08:11 GMT 2009
7-58
The following info was collected using UNIX tools (hostname, arch, etc)
---------------------------------------------------------------------Date: 2009.02.23.06.17
Finished: 2009.02.23.06.21
Hostname: kong-dom0
Hostid: 843a9ae1
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Domain:
Kernel version: SunOS 5.10 Generic 137137-09
System Type: SUNW,SPARC-Enterprise
Uptime: 1:17am up 9:28, 1 user, load average: 0.29, 0.06, 0.02
Swap-s:
total: 193656k bytes allocated + 30592k reserved = 224248k used, 31011808k
available
Swap-l:
swapfile
dev swaplo blocks
free
/dev/dsk/c0t0d0s1
32,1
16 34801904 34801904
Vmstat:
kthr
memory
page
disk
faults
cpu
r b w
swap free re mf pi po fr de sr s0 s1 s3 s4
in
sy
cs us sy id
0 0 0 30689144 15284992 8 28 5 0 0 0 12 1 -0 1 0 337 174 129 0 0 100
Note For more detailed information regarding the use of Sun Explorer,
see the Sun Explorer Frequently Asked Questions located at:
http://docs.sun.com/app/docs/doc/819-6614
7-59
7-60
Configure auditing
View logs
Note This exercise has been written with the assumption that you have
remote access to an MX000 server.
Preparation
To complete this exercise, you need your assigned non-global zones
hostname and the network configuration.
7-61
2.
View the current archiving status, and record the command used:
Command: __________________________________________
3.
4.
b.
c.
d.
Create a new user account on the archive host to use for logins
and assign the user a password. Record the commands used:
Command:_______________________________________
e.
f.
7-62
5.
b.
c.
6.
View the updated archiving status, and record the command used:
Command: __________________________________________
7.
8.
9.
Log back in to your Non-Global zone and verify if any files have
been created in the archive directory.
7-63
2.
Set the privileges for the user1 account to be platadm, fieldeng, and
useradm. Record the command used:
Command: ________________________________________
3.
4.
5.
6.
If you were not successful in the previous step, this means that you
need a user that has the proper privileges. Create a user called
auditer with appropriate privileges. Record the command(s) used:
Command: __________________________________________
Command: __________________________________________
Command: __________________________________________
7.
8.
9.
10. View the audit information for the user user1. Record the command
used:
Command: __________________________________________
7-64
2.
Host key: no
Command: __________________________________________
3.
7-65
2.
Display all error logs currently available. Record the command used:
Command: __________________________________________
3.
4.
What was the last power event that occurred on your server?
Status: __________________________________________
5.
Display all environmental logs for your server. Record the command
used:
Command: __________________________________________
6.
Display all console messages for your assigned domain. Record the
command used:
Command: __________________________________________
7-66
2.
3.
4.
Uncompress the Sun Explorer software package, and extract the files.
Command: __________________________________________
5.
6.
7.
8.
List the contents of the Sun Explorer directory that has been created:
Command: __________________________________________
9.
Hostname: ___________________________
Hostid: ______________________________
OS Release: __________________________
7-67
Exercise Summary
Exercise Summary
!
?
7-68
Experiences
Interpretations
Conclusions
Applications
Exercise Solutions
Exercise Solutions
This section provides answers to the exercises.
2.
View the current archiving status, and record the command used:
Command: showarchiving
3.
4.
b.
c.
d.
Create a new user account on the archive host to use for logins
and assign the user a password. Record the commands used:
Command: useradd -u 5001 -d /export/home/john -m -s /bin/ksh john
7-69
Exercise Solutions
Command: passwd john (cangetin)
e.
f.
g.
b.
c.
6.
View the updated archiving status, and record the command used:
Command: showarchiving
7.
8.
9.
7-70
Log back in to your Non-Global zone and verify if any files have
been created in the archive directory.
Exercise Solutions
2.
Set the privileges for the user1 account to be platadm, fieldeng, and
useradm. Record the command used:
Command: setprivileges user1 platadm fieldeng useradm
3.
4.
5.
6.
If you were not successful in the previous step, this means that you
need a user that has the proper privileges. Create a user called
auditer with appropriate privileges. Record the command(s) used:
Command: adduser auditer
Command: password auditer
Command: setprivileges auditer auditadm
7.
8.
9.
10. View the audit information for the user user1. Record the command
used:
Command: viewaudit -u user1
7-71
Exercise Solutions
2.
Host key: no
Command: snapshot -T
3.
7-72
Exercise Solutions
2.
Display all error logs currently available. Record the command used:
Command: showlogs error
3.
4.
What was the last power event that occurred on your server?
Status: varies
5.
Display all environmental logs for your server. Record the command
used:
Command: showlogs env
6.
Display all console messages for your assigned domain. Record the
command used:
Command: showlogs console -d 00
7-73
Exercise Solutions
2.
3.
4.
Uncompress the Sun Explorer software package, and extract the files.
Command: gzcat Explorer_5.13.tar.gz | tar xvf -
5.
6.
7.
8.
List the contents of the Sun Explorer directory that has been created:
Command: ls -al /opt/SUNWexplo/output/explorer.xxxxxxxxxx
9.
7-74
Hostname: varies
Hostid: varies
OS Release: varies