Troubleshooting SunFire SFxx00 Systems

CLI / SP commands

showboards -v
-p part shows only a specific part and can be:
board shows the board status.
clock shows the system clock status.
cpu shows CPU type, speed, and Ecache size.
io shows I/O information.
memory shows memory information for each board.
power shows grid information.
version shows version information.
showcomponent -v
showdomain -v
showenvironment -v
-p currents Displays currents (power supplies only)
fans Displays fan states.
faults Displays values that are suspected to be invalid.
temps Displays temperatures only.
voltage Displays voltages only
showlogs -v
showplatform -v

Compare ALOM and ILOM commands

ALOM CMT Command
Comparable ILOM Command
Changes the login password of the current user.
set /SP/users/username password
Restarts the SSH server so that new host keys generated by the ssh-keygen command are reloaded.
set /SP/services/ssh restart_sshd_action=true
setdate [[mmdd]HHMM |mmddHHMM[cc]yy][.SS]
Sets ALOM CMT date and time.
set /SP/clock datetime=value
setdefaults [–a]
Resets all ALOM CMT configuration parameters to their default values. The –a option resets the user information to the default (one admin account only).
set /SP reset_to_defaults=[none|factory|all]
setkeyswitch [normal|stby|diag| locked]
Sets the status of the virtual keyswitch. Setting the virtual keyswitch to standby (stby) powers off the server. Before powering off the host server, ALOM CMT asks for a confirmation.
set /SYS keyswitch_state=value
setsc [param] [value]
Sets the specified ALOM CMT parameter to the assigned value.
set target property=value
Runs the interactive configuration script. This script configures the ALOM CMT configuration variables.
No equivalent in ILOM
showplatform [–v]
Displays information about the host system’s hardware configuration, and whether the hardware is providing service. The –v option displays verbose information about the displayed components.
show /HOST
Displays information about the field-replaceable units (FRUs) in a host server.
Use the ILOM show [FRU] command to display static FRU information. (For dynamic FRU information, use the ALOM CMT showfru command.)
showusers –g lines
Displays a list of users currently logged in to ALOM CMT. The display for this command has a similar format to that of the UNIX command who. The –g option pauses the display after the number of lines you specify for lines.
show –level all –o table /SP/sessionsNo equivalent in ILOM for –g option

showhost version
Displays version information for host-side components. The version option displays the same information as the showhost command with no option.
show /HOST
Displays status of virtual keyswitch.
show /SYS keyswitch_state
showsc [param]
Displays the current nonvolatile random access memory (NVRAM) configuration parameters.
show target property
Displays the ALOM CMT date. ALOM CMT time is expressed in Coordinated Universal Time (UTC) rather than local time. The Solaris OS and ALOM CMT time are not synchronized.
show /SP/clock datetime
ssh-keygen –l ssh-keygen –r

ssh-keygen –t {rsa|dsa}

Generates Secure Shell (SSH) host keys and displays the host key fingerprint on the SC.
show /SP/services/ssh/keys rsa|dsaset /SP/services/ssh generate_new_key_action=true

set /SP/services/ssh generate_new_key_type=[rsa|dsa]

usershow [username]
Displays a list of all user accounts and permission levels, and whether passwords are assigned.
show /SP/users
useradd username
Adds a user account to ALOM CMT.
create /SP/users/username
userdel [–y] username
Deletes a user account from ALOM CMT. The –y option enables you to skip the confirmation question.
delete [–script] /SP/users/username
userpassword [username]
Sets or changes a user password.
set /SP/users/username password
userperm [username] [c] [u] [a] [r] [o] [s]
Sets the permission level for a user account.
set /SP/users/username role=permissions [a|u|c|r|o|s]


ALOM CMT Command
Comparable ILOM Command
showlogs -p [r|p] [–b lines|–e lines|–v] [–g lines]
Displays the history of all events logged in the event log, or major and critical events in the event log. The –p option selects whether to display only major and critical events from the event log (r) or to display all of the events from the event log (p).–g lines specifies the number of lines to display before pausing.

–e lines displays n lines from the end of the buffer.

–b lines displays n lines from the beginning of the buffer.

–v displays the entire buffer.

show /SP/logs/event/listNo equivalent in ILOM

consolehistory [–b lines|–e lines|–v] [–g lines] [boot|run]
Displays the host server console output buffers.–g lines specifies the number of lines to display before pausing.

–e lines displays n lines from the end of the buffer.

–b lines displays n lines from the beginning of the buffer.

–v displays the entire buffer.

set /SP/console/history property=value[set /SP/console/history property=value][set /SP/console/history property=value]

show /SP/console/history

where property can be:

line_count=[lines] default value is “” (none), meaning there is no limit to the total number of lines retrieved from the buffer.

pause_count=[count] default value is “” (none), meaning there is no limit to the count of lines displayed per pause.

start_from=[end|beginning] default value is end.


ALOM CMT Command
Comparable ILOM Command
Displays the environmental status of the host server. This information includes system temperatures, power supply status, front panel LED status, hard disk drive status, fan status, voltage, and current sensor status.
show –o table –level all /SYS
showpower [–v]
Displays power metrics for the host server.
show /SP/powermgmt
shownetwork [–v]
Displays the current network configuration information. The –v option shows additional information about your network, including information about your DHCP server.
show /SP/network
console [–f]
Connects to the host system console. The –f option forces the console write lock from one user to another.In ILOM, the –force option terminates the console, permitting you to start a new console.

start [–force] /SP/console
break [–D][–c]
Drops the host server from running the Solaris OS software into OpenBoot PROM or kmdb depending upon the mode in which the Solaris software was booted.
set /HOST send_break_action=[break|dumpcore][start /SP/console]

bootmode [normal] [reset_nvram] [config=configname][bootscript =string]
Controls the host server OpenBoot PROM firmware method of booting.
set /HOST/bootmode property=value(where property is state, config, or script)

flashupdate –s IPaddr –f pathname [–v] [–y] [–c]
Downloads and updates system firmware (both host firmware and ALOM CMT firmware). For ILOM, ipaddr must be a TFTP server. If you use DHCP, you can replace ipaddr with the name of the TFTP host.The –y option enables you to skip the confirmation question.

The –c option enables you to update system firmware on your server without preserving configuration information.

After configuration information has been deleted (by having used the –c option or the set /SP reset_to_defaults=factory command), you must use the –c option when replacing system firmware that includes ILOM 3.0 with firmware that includes ILOM 2.0. If you omit the –c option, the flashupdate command attempts to restore preserved configuration information, halting the firmware downgrade because that configuration information is absent.

load –source tftp://ipaddr/pathname
reset [–y] [–f] [–c]reset –d [–n] [–y] [–f] [–c]

Generates a hardware reset on the host server.The –y option enables you to skip the confirmation question.

The –f option forces a hardware reset.The –c option starts the console.

The –d option gracefully resets the control domain.The –n option sets the auto-boot variable to disable (lasts for one reset).The –y option enables you to skip the confirmation question.The –f option forces a hardware reset.The –c option starts the console.

reset [-script][–force] /SYS[start /SP/console]

[set /HOST/domain/control auto-boot=disable]

reset [–script] [–force] /HOST/domain/control

[start /SP/console]

powercycle [–y] [–f]
poweroff followed by poweron. The –f option forces an immediate poweroff, otherwise the command attempts a graceful shutdown.
stop [–script] [–force] /SYSstart [–script] [–force] /SYS

poweroff [–y][–f]
Removes the main power from the host server. The –y option enables you to skip the confirmation question. ALOM CMT attempts to shut the server down gracefully. The –f option forces an immediate shutdown.
stop [–script][–force] /SYS
Applies the main power to the host server or FRU.
start /SYS
setlocator [on/off]
Turns the Locator LED on the server on or off.
set /SYS/LOCATE value=value
showfaults [–v]
Displays current valid system faults.
show faulty
clearfault UUID
Manually repairs system faults. Use the ILOM show faulty command to identify faulted components.
set /SYS/component clear_fault_action=true
Displays the current state of the Locator LED as either on or off.


ALOM CMT Command
Comparable ILOM Command
setfru –c data
The –c option enables you to store information (such as inventory codes) on all FRUs in a system.
set /SYS customer_frudata=data
showfru –g lines [–s|–d] [FRU]
Displays information about the FRUs in a host server.
show [FRU]
removefru [–y] [FRU]
Prepares a FRU (for example, a power supply) for removal. The –y option enables you to skip the confirmation question.
set /SYS/PS0 prepare_to_remove_action=true


ALOM CMT Command
Comparable ILOM Command
enablecomponent component
Re-enables a component that has been disabled using the disablecomponent command.
set /SYS/component component_state=enabled
disablecomponent component
Disables a component.
set /SYS/component component_state=disabled
showcomponent component
Displays system components and their test status.
show /SYS/component component_state
Removes all entries from the list of disabled components.
No equivalent in ILOM

Table 29 ALOM CMT Shell Miscellaneous Commands

ALOM CMT Command
Comparable ILOM Command
help [command]
Displays a list of all ALOM CMT commands with their syntax and a brief description of how each command works. Specifying a command name as an option enables you to view the help for that command.
resetsc [–y]
Reboots ALOM CMT. The –y option enables you to skip the confirmation question.
reset [–script] /SP
userclimode username shelltype
Sets the type of shell to shelltype, where shelltype is default or alom.
set /SP/users/username cli_mode=shelltype
Logs out from an ALOM CMT shell session.


XSCF Cheat Sheet

adduser – Creates an XSCF user account.
deleteuser – Deletes an XSCF user account.
disableuser – Disables an XSCF user account
enableuser – Enables an XSCF user account.
showuser – Displays XSCF user account information
password – Changes an XSCF user account password.
setpasswordpolicy – Configures the XSCF password policy.
showpasswordpolicy – Displays the XSCF password policy.
setprivileges – Assigns user privileges.
setloginlockout – Configures the lockout of user accounts.
showloginlockout – Displays the lockout setting of user accounts.
setnetwork – Configures the XSCF network.
shownetwork – Displays the XSCF network settings and XSCF-LAN network status.
setroute – Configures the XSCF-LAN route.
showroute – Displays XSCF-LAN route settings.
sethostname – Specifies the XSCF-LAN host name and domain name.
showhostname – Displays the XSCF-LAN host name and domain name.
setnameserver – Sets a name server (DNS) with XSCF.
shownameserver – Displays the XSCF name server(s).
applynetwork – Applies the network settings.
setdscp – Configures DSCP.
showdscp – Displays the DSCP settings.
nslookup – Checks for the name resolution of a host name.
ping – Checks the response for a host.
traceroute – Displays the network path to the host by list.
settimezone – Specifies the time zone.
showtimezone – Displays the time zone setting.
setdate – Sets the XSCF time.
showdate – Displays the XSCF time.
setntp – Configures the NTP server.
showntp – Displays the SSH settings and fingerprint.
resetdateoffset – Resets the time subtraction between the XSCF and the domain.
showdateoffset – Displays the time subtraction between the XSCF and the domain.
setssh – Configures SSH, Generates RSA and DSA keys for SSH2 host authentication.
showssh – Displays the SSH settings.
settelnet – Configures telnet.
showtelnet – Displays the telnet settings.
setautologout – Sets the session timeout time of the XSCF Shell.
showautologout – Displays the session timeout time of the XSCF Shell.
setsmtp – Configures the SMTP server.
showsmtp – Displays the the SMTP server settings.
setemailreport – Configures mail notification.
showemailreport – Displays the mail notification settings.
setlookup – Enables or disables the use of an LDAP server.
showlookup – Displays information about whether an LDAP server is used.
setldap – Configures LDAP client settings.
showldap – Displays LDAP client settings.
sethttps – Configures the https settings.
showhttps – Displays the https settings.
setupplatform – Configures the log archiving function of XSCF.
showarchiving – Displays the settings of the log archiving function of XSCF.
setaudit – Configures the auditing of XSCF.
showaudit – Displays the settings of the audit of XSCF.
viewaudit – Displays the audit records (Audit trail) of XSCF.
setsnmp – Configures the SNMP Agent.
showsnmp – Displays the SNMP Agent settings.
setsnmpusm – Configures the USM management information for the SNMP agent.
showsnmpusm – Displays the USM management information for the SNMP agent.
setsnmpvacm – Configures the VACM management information for the SNMP agent.
showsnmpvacm – Displays the VACM management information for the SNMP agent.
setsunmc – Start or stop the Sun Management Center agent and make changes to its configuration.
showsunmc – Show setup information and status of Sun Management Center agent.
setdcl – Specifies the domain configuration information (DCL).
showdcl – Displays the domain configuration information.
showboards – Displays the component information and the COD information about a system board.
showdevices – Displays the domain information specified for a system board.
showdomainstatus – Displays the domain status.
setupfru – Specifies the number of XSB partitions of the system board and sets the memory mirror mode.
showfru – Displays the specified number of XSB partitions of the system board and the memory mirror mode that is set.



        Displays the settings of all PSBs.


        XSCF> showfru -a sb


        Device Location XSB Mode Memory Mirror Mode


    • sb 00 Quad no

testsb – Diagnoses the system board.
addboard – Adds a system board to a domain.
deleteboard – Deletes a system board from a domain.
moveboard – Moves a system board to another domain.
replacefru – Replaces a CPU/Memory Board unit, I/O unit, fan unit, PSU, or XSCFi.
addfru – Installs a CPU/Memory Board unit, I/O unit, fan unit, or PSU.
deletefru – Removes a CPU/Memory Board unit or I/O unit.
setdomainmode – Sets a hardware initial diagnostic level (No, standard, maximum).
Enables or disables break signal sending, host watchdog, automatic boot, and sets CPU operation mode.
showdomainmode – Displays the domain host ID, the hardware initial diagnostic level, information of enabled or disabled status on break signal sending, Host watchdog, automatic boot, and displays CPU operation mode, ethernet address, mac address.
sendbreak – Sends a break signal to the server.
showresult – Displays the exit status of the most recently executed command.
setlocale – Sets locale.
showlocale – Displays locale.
setaltitude – Sets altitude.
showaltitude – Displays altitude.
cfgdevice – Sets/Displays the connection destination/status of the DVD drive, tape drive.
addcodlicense – Applies the obtained COD license key to the system.
deletecodlicense – Deletes the license key applied to the system.
showcodlicense – Displays the license keys applied to the system.
showcodusage – Displays license usage information.
setcod – Configures COD settings.
showcod – Displays COD settings.
console – Connects to a domain console.
showconsolepath – Displays the operating status of the main console.
showenvironment – Displays the temperature, humidity, voltage, fan rotation speed, power consumption, and exhaust airflow.
showstatus – Lists degraded components.
showhardconf – Displays all components mounted in the server.
poweron – Turns on power to all domains or the specified domain.
poweroff – Turns off power to all domains or the specified domain.
reset – Resets the specified domain.
The following three reset modes are available:

        por: Domain system reset


        request: Domain panic instruction


    • xir: Domain CPU reset

setpowerupdelay – Sets the warm-up time and the air-conditioning wait time.
showpowerupdelay – Displays the warm-up time and the air-conditioning wait time settings.
setshutdowndelay – Sets the UPS shutdown delay time at power failure.
showshutdowndelay – Displays the UPS shutdown delay time at power failure.
setdualpowerfeed – Sets the dual power feed.
showdualpowerfeed – Displays the dual power feed.
setlocator – Enables or disables the CHECK LED blinking.
showlocator – Displays the LED status.
switchscf – Switches the XSCF Unit state (Active/Standby).
ioxadm – Configures/Displays the External I/O Expansion Unit settings(IOBOX).
clockboard – Sets/Displays the number of clock unit (CLKU) used when the next platform is powered on.
setdomparam – Rewrites the OpenBoot PROM environment variable that is compulsory.
getflashimage – Gets the firmware update program.
flashupdate – Updates the firmware program.
version – Displays XCP, XSCF, and OpenBoot versions.
prtfru – Displays the FRU-ROM data.
dumpconfig – Saves XSCF configuration information to the specified destination.
restoreconfig – Restores XSCF configuration information from the specified destination.
restoredefaults – Initialises the server or XSCF to the factory defaults.
snapshot – Saves log information to the specified destination.
showmonitorlog – Displays the XSCF monitoring messages on console in real time.
showlogs – Displays the error log, power log, event log, console log, panic log, IPL log, temperature/humidity log, and monitor message log.
fmadm – Monitors/controls the Fault Management Diagnosis Engines (FMDE).
fmdump – Dumps the fault event log containing FM diagnosis results.
fmstat – Displays the FMDE status.
unlockmaintenance – Forcibly release the locked status of the XSCF.
rebootxscf – Reboots/Resets the XSCF.
who – Displays users who login to the XSCF.
man – Displays the man page of the specified command.
You can see this list of commands by executing man intro.
exit – Ends the XSCF Shell.

EMC SP Collect through CLI

Open a command prompt on the management workstation.
Type cd c:\program files\emc\navisphere cli

Type naviseccli -h <SP_IP_address> spcollect – This starts the SPcollect script.

Type navicli -h <SP_IP_address> managefiles -list This will list the files created by SPcollect.

Type navicli -h <SP_IP_address> managefiles -retrieve This will display the files that can be moved
from the SP to the management station.

Index Size in KB Last Modified Filename
0 3 06/14/04 11:02:15 DeletedVolume.txt
1 515 05/26/04 10:44:16 ktdump-040526-144415.txt
2 532 05/26/04 11:20:33 ktdump-040526-152033.txt
3 431 05/26/04 12:37:12 ktdump-040526-163711.txt
4 415 05/26/04 16:12:46 ktdump-040526-201246.txt
5 737 06/14/04 17:35:41 ktdump-040614-213541.txt
6 727 06/17/04 14:52:34 ktdump-040617-185234.txt
7 468 06/17/04 17:08:01 ktdump-040617-210801.txt
8 0 06/17/04 17:08:50 ktdump_log.txt
9 0 06/14/04 11:26:41 naviagent_Jun-14-04_15-26-37.log
10 0 06/14/04 17:38:28 naviagent_Jun-14-04_21-38-22.log
11 0 06/17/04 17:08:01 naviagent_Jun-17-04_18-55-16.log
12 0 06/25/04 07:05:16 naviagent_Jun-17-04_21-08-46.log
13 996 05/27/04 15:25:54
14 1029 05/27/04 15:39:33
15 1489 06/25/04 06:47:00
16 1205 07/01/04 14:33:52
17 1 06/25/04 07:05:13
Enter files to be retrieved with index separated by comma (1,2,3,4,5) OR by a range (1-3)
OR enter ‘all’ to retrieve all file OR ‘quit’ to quit> 13.

This will pull the index number 13 from the corresponding SP and copy it to
the c:\program files\emc\navisphere cli directory with a filename of

Posted in EMC

Restart management services

Restart Management Process on SPs
Open the setup page on BOTH Storage Processors



scroll down to the “Restart Management Server” button and simultaneously click on the box for the Management Server to restart,
Log back into Navisphere/Unisphere and check the status;
note: it can take a several minutes before the array can be managed again.

Posted in EMC

Troubleshooting ILOM

show faulty
fmadm faulty
show -d properties -level all /
show -o table -level all /SYS
show /SP/logs/event/list
show /SP/faultmgmt