Contents Using This Documentation ix Communicating With the System 1 ILOM Overview 1 ▼ Log In to ILOM 2 ▼ Log In to the System Console 3 ▼ Display the ok Prompt 3 ▼ Display the ILOM ->Prompt 4 ▼ Use a Local Graphics Monitor 5 Performing Common Tasks 7 ▼...
Page 6
Clear a Fault 49 Managing Logical Domains Software 51 Logical Domains Software Overview 51 Logical Domain Configurations 52 View OpenBoot Configuration Variables 53 OpenBoot Configuration Variables on the SCC 53 SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Using This Documentation This document includes general information about Oracle’s Sun SPARC Enterprise T5120 and T5220 servers as well as detailed instructions for configuring and administering the servers. This section contains the following topics: “UNIX Commands” on page ix ■...
Getting Started SPARC Enterprise T5220 Server Getting Started Guide (DC) 820-5839 Printed Ships with system Planning SPARC Enterprise T5120 and T5220 Servers Site Planning Guide 820-2177 PDF Online HTML Installation SPARC Enterprise T5120 and T5220 Servers Installation Guide 820-2178 PDF...
(http://www.sun.com/training) Documentation Feedback Submit comments about this document by clicking the Feedback[+] link at(http://docs.sun.com). Include the title and part number of your document with your feedback: SPARC Enterprise T5120 and T5220 Server Administration Guide, part number 820-2179-14. Using This Documentation...
Page 12
SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Communicating With the System This section includes information on low-level communication with the system, using the Integrated Lights Out Manager (ILOM) tool andthe system console. This section contains the following topics: “ILOM Overview” on page 1 ■ “Log In to ILOM” on page 2 ■...
Related Information “Log In to ILOM” on page 2 ■ Integrated Lights Out Manager (ILOM) Supplement for SPARC Enterprise T5120 and ■ T5140 Servers (http://docs.sun.com/app/docs/prod/int.lights.mgr) ▼ Log In to ILOM This procedure assumes the default configuration of the service processor as described in your server’s installation guide.
“Log In to the System Console” on page 3 ■ ▼ Log In to the System Console “Log In to ILOM” on page 2. To access the system console from ILOM, type: -> start /SP/console Are you sure you want to start /SP/console (y/n) ? y Serial console started.
▼ Display the ILOM ->Prompt ● Use one of the following ways to get to the ILOM -> prompt: From the system console, type the ILOM escape sequence (#.). ■ SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
4. Connect the USB keyboard cable to one USB port. 5. Connect the USB mouse cable to another USB port on the Sun SPARC Enterprise T5120 or T5220 server. “Display the ok Prompt” on page 3 Communicating With the System...
Page 18
You can now type system commands and view system messages using your local graphics monitor. Continue with your installation or diagnostic procedure, as needed. Related Information “Display the ok Prompt” on page ■ SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Performing Common Tasks This section includes procedures for some common tasks performed on the servers: “Power On the System” on page 7 ■ “Power Off the System” on page 8 ■ “Reset the System” on page 9 ■ “Update the Firmware” on page 9 ■...
Note – To perform an immediate shutdown, use the stop -force -script /SYS command. Ensure that all data is saved before entering this command. Related Information “Power On the System” on page 7 ■ “Reset the System” on page 9 ■ SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
▼ Reset the System It is not necessary to power the system off and on to perform a reset. ● To reset the system, from the Solaris prompt, type: # shutdown -g0 -i6 -y Related Information “Power Off the System” on page 8 ■...
Page 22
U-Boot 1.1.1 (May 23 2008 - 21:30:12) POST cpu PASSED POST ethernet PASSED Hit any key to stop autoboot: 0 SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 23
## Booting image at fe080000 IP Protocols: ICMP, UDP, TCP, IGMP Checking all file systems... fsck 1.37 (21-Mar-2005) Setting kernel variable ..done. Mounting local filesystems... Cleaning /tmp /var/run /var/lock. Identifying DOC Device Type(G3/G4/H3) ... Configuring network interfaces..Internet Systems Consortium DHCP Client V3.0.1 Copyright 2007 Internet Systems Consortium All rights reserved.
Page 24
SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
RAID 0 (striping) and RAID 1 (mirroring) volumes using the Solaris OS raidctl utility. To configure and use RAID disk volumes on the Sun SPARC Enterprise T5120 and T5220 servers, you must install the appropriate patches. For the latest information about patches, see the product notes for your system.
“Create a Hardware Mirrored Volume of the Default Boot Device” on page 19 ■ “Create a Hardware Striped Volume” on page 20 ■ “Configure a Hardware RAID Volume for the Solaris OS” on page 22 ■ SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Disk: 0.7.0 In this example, a single volume (c1t0d0) has been enabled. The Sun SPARC Enterprise T5120 or T5220 server’s on-board SAS controller can configure as many as two RAID volumes. Prior to volume creation, ensure that the member disks are available and that there are not two volumes already created.
Page 28
See the raidctl(1M) man page for additional details regarding volume and disk status. Note – The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed. SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 29
2. Type the following command: # raidctl -c primary secondary The creation of the RAID volume is interactive, by default. For example: # raidctl -c c1t0d0 c1t1d0 Creating RAID volume c1t0d0 will destroy all data on member disks, proceed (yes/no)? yes Volume c1t0d0 is created successfully! As an alternative, you can use the –f option to force the creation if you are sure of the member disks and sure that the data on both member disks can be lost.
For more information about the raidctl utility, see the raidctl(1M) man page. Related Information “Disk Slot Numbers” on page 35 ■ “Delete a Hardware RAID Volume” on page 25 ■ SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
▼ Create a Hardware Mirrored Volume of the Default Boot Device Due to the volume initialization that occurs on the disk controller when a new volume is created, the volume must be configured and labeled using the format(1M) utility prior to use with the Solaris Operating System (see “Configure a Hardware RAID Volume for the Solaris OS”...
# raidctl Controller: 1 Disk: 0.0.0 Disk: 0.1.0 Disk: 0.2.0 Disk: 0.3.0 Disk: 0.4.0 Disk: 0.5.0 Disk: 0.6.0 Disk: 0.7.0 The preceding example indicates that no RAID volume exists. SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 33
2. Type the following command: # raidctl -c –r 0 disk1 disk2 ... The creation of the RAID volume is interactive, by default. For example: # raidctl -c -r 0 c1t1d0 c1t2d0 c1t3d0 Creating RAID volume will destroy all data on spare space of member disks, proceed (yes/no)? yes May 16 16:33:30 wgs57-06 scsi: /pci@0/pci@0/pci@2/scsi@0 (mpt0): May 16 16:33:30 wgs57-06...
▼ Configure a Hardware RAID Volume for the Solaris OS After a creating a RAID volume using raidctl, use format(1M) to configure and label the volume before attempting to use it in the Solaris Operating System. SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 35
1. Start the format utility: # format The format utility might generate messages about corruption of the current label on the volume, which you are going to change. You can safely ignore these messages. 2. Select the disk name that represents the RAID volume that you have configured. In this example, c1t2d0 is the logical name of the volume.
Page 36
<SUN146G cyl 14087 alt 2 hd 24 sec 848> selecting c1t2d0 [disk formatted] 4. Use the partition command to partition, or slice, the volume according to your desired configuration. See the format(1M) man page for additional details. SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
5. Write the new label to the disk using the label command format> label Ready to label disk, continue? yes 6. Verify that the new label has been written by printing the disk list using the disk command. format> disk AVAILABLE DISK SELECTIONS: 0.
Page 38
In this example, the RAID volume is c1t0d0. Note – The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed. SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 39
3. To delete the volume, type the following command: # raidctl -d mirrored-volume For example: # raidctl -d c1t0d0 Deleting RAID volume c1t0d0 will destroy all data it contains, proceed (yes/no)? yes /pci@0/pci@0/pci@2/scsi@0 (mpt0): Volume 0 deleted. /pci@0/pci@0/pci@2/scsi@0 (mpt0): Physical disk 0 deleted. /pci@0/pci@0/pci@2/scsi@0 (mpt0): Physical disk 1 deleted.
“Creating Hardware RAID Volumes” on page 14 ■ ▼ Hot-Plug a Mirrored Disk 1. Verify which hard drive corresponds with which logical device name and physical device name. “Disk Slot Numbers” on page SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 41
2. To confirm a failed disk, type the following command: # raidctl If the Disk Status is FAILED, then the drive can be removed and a new drive inserted. Upon insertion, the new disk should be GOOD and the volume should be SYNC.
1. Verify which hard drive corresponds with which logical device name and physical device name. “Disk Slot Numbers” on page Ensure that no applications or processes are accessing the hard drive. SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 43
2. Type the following command: # cfgadm –al For example: # cfgadm –al Ap_Id Type Receptacle Occupant Condition scsi-bus connected configured unknown c1::dsk/c1t0d0 disk connected configured unknown c1::dsk/c1t1d0 disk connected configured unknown c1::dsk/c1t2d0 disk connected configured unknown c1::dsk/c1t3d0 disk connected configured unknown c1::dsk/c1t4d0 disk...
Page 44
This warning is issued because these commands attempt to quiesce the (SAS) SCSI bus, but the server firmware prevents it. This warning message can be safely ignored in the Sun SPARC Enterprise T5120 or T5220 server, but the following step avoids this warning message altogether.
Page 45
4. Verify that the device has been removed from the device tree. Type the following command: # cfgadm -al Ap_Id Type Receptacle Occupant Condition scsi-bus connected configured unknown c1::dsk/c1t0d0 disk connected configured unknown c1::dsk/c1t1d0 disk connected configured unknown c1::dsk/c1t2d0 disk connected configured unknown...
Page 46
Note that c1t3d0 is now listed as configured. SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Related Information “Disk Slot Numbers” on page 35 ■ “Hot-Plug a Mirrored Disk” on page 28 ■ Disk Slot Numbers To perform a disk hot-plug procedure, you must know the physical or logical device name for the drive that you want to install or remove. If your system encounters a disk error, often you can find messages about failing or failed disks in the system console.
Page 48
SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Managing Devices This section contains information about managing devices in the servers, and the multipathing software supported: “Unconfigure a Device Manually” on page 37 ■ “Reconfigure a Device Manually” on page 38 ■ “Devices and Device Identifiers” on page 38 ■...
/SYS/MB/GBEcontroller_number • GBE0 controls NET0 and NET1 • GBE1 controls NET2 and NET3 PCIe root complex /SYS/MB/PCIE USB ports (0-1, located on rear of /SYS/MB/USBnumber chassis) (0-3) /SYS/MB/CMP0/L2_BANKnumber /SYS/DVD SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
“Devices and Device Identifiers” on page 38 ■ Sun SPARC Enterprise T5x20 Device Tree The following table shows the correspondence of the Sun SPARC Enterprise T5120 and T5220 server devices to the Solaris Operating System device tree. Device (as Indicated on...
For the Sun SPARC Enterprise T5120 or T5220 servers, three different types of multipathing software are available: Solaris IP Network Multipathing software provides multipathing and ■...
Page 53
VERITAS Volume Manager (VVM) software includes a feature called Dynamic ■ Multipathing (DMP), which provides disk multipathing as well as disk load balancing to optimize I/O throughput. Sun StorageTek Traffic Manager is an architecture fully integrated within the ■ Solaris OS (beginning with the Solaris 8 release) that enables I/O devices to be accessed through multiple host controller interfaces from a single instance of the I/O device.
Page 54
SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Handling Faults The Sun SPARC Enterprise T5120 and T5220 servers provide many ways to find faults, including LEDs, ILOM and POST. For specific information about LEDs, and additional troubleshooting information, refer to the service manual for your server. This section contains the following topics: “Discovering Faults”...
The virtual keyswitch can be used to run full POST diagnostics without having to modify the diagnostic property settings. Note that POST diagnostics can take a significant amount of time to run at system reset. “Log In to ILOM” on page 2 SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
2. At the ILOM -> prompt, type: -> set /SYS keyswitch_state=diag The system is set to run full POST diagnostics on system reset. 3. To return to your normal diagnostic settings after running POST, type: -> set /SYS keyswitch_state=normal Related Information “Discover Faults Using ILOM”...
For more information about ASR, refer to the service manual for your server. Related Information “Enable ASR” on page 47 ■ “Disable ASR” on page 47 ■ “View Information on Components Affected by ASR” on page 48 ■ SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
▼ Enable ASR 1. At the -> prompt, type: -> set /HOST/diag mode=normal -> set /HOST/diag level=max -> set /HOST/diag trigger=power-on-reset 2. At the ok prompt, type: ok setenv auto-boot true ok setenv auto-boot-on-error? true Note – For more information about OpenBoot configuration variables, refer to the service manual for your server.
■ “Enable ASR” on page 47 ■ “Disable ASR” on page 47 ■ “Unconfigure a Device Manually” on page 37 ■ “Reconfigure a Device Manually” on page 38 ■ SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
▼ Clear a Fault ● At the -> prompt, type: -> set /SYS/component clear_fault_action=true Setting clear_fault_action to true clears the fault at the component and all levels below it in the /SYS tree. Related Information “Discover Faults Using ILOM” on page 44 ■...
Page 62
SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Managing Logical Domains Software Oracle’s Sun SPARC Enterprise servers support Oracle’s Logical Domains (LDoms) software that is used to create and manage logical domains. The software comprises LDoms-enabling code in the Solaris OS, LDoms-enabling code in System Firmware, and the Logical Domains Manager, which is the command-line interface. See your LDoms documentation for the latest information.
ILOM set /HOST/bootmode config=configfile command to specify an LDoms boot configuration. For further information about /HOST/bootmode, see your server’s ILOM supplement. Related Information “Logical Domains Software Overview” on page 51 ■ SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
View OpenBoot Configuration Variables This section supplies information about variables storing configuration on the SCC: “OpenBoot Configuration Variables on the SCC” on page 53 ■ OpenBoot Configuration Variables on the SCC The following table describes the OpenBoot firmware configuration variables stored in non-volatile memory on the system.
Page 66
Firmware security password if security-password none security-mode is not none (never displayed). Do not set this directly. variable-name Number of incorrect security security-#badlogins none password attempts. SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 67
OpenBoot Configuration Variables Stored on the System Configuration Card (Continued) TABLE: Variable Possible Values Default Value Description If true, OpenBoot verbosity is set to diag-switch? true, false false maximum. If false, OpenBoot verbosity is set to minimum. Command to execute following a error-reset-recovery boot, sync, none boot...
Page 68
SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Page 69
Index Symbols devicee, unconfigure manually, 37 devices, managing, 37 -> commands set /SYS/LOCATE, 45 disk drives show /SYS/LOCATE, 45 LEDs Activity, 34 -> prompt OK-to-Remove, 32, 33 about, 1 logical device names, table, 35 -> prompt disk slot number, reference, 35 ways to access, 4 disk slot numbers, 35 disk volumes...
Page 70
4 OpenBoot configuration variables described, table, 53 system console input-device, 6 log in, 3 output-device, 6 system, communicating with, 1 OpenBoot variables, 53 output-device (OpenBoot configuration variable), 6 SPARC Enterprise T5120 and T5220 Server Administration Guide • October 2010...
Need help?
Do you have a question about the SPARC Enterprise T5120 and is the answer not in the manual?
Questions and answers