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
Tag: sp
Compare ALOM and ILOM commands
ALOM CMT Command
|
Summary
|
Comparable ILOM Command
|
---|---|---|
password
|
Changes the login password of the current user.
|
set /SP/users/username password
|
restartssh
|
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
|
setupsc
|
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
|
showfru
|
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
|
showkeyswitch
|
Displays status of virtual keyswitch.
|
show /SYS keyswitch_state
|
showsc [param]
|
Displays the current nonvolatile random access memory (NVRAM) configuration parameters.
|
show target property
|
showdate
|
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]
|
|
|
|
|
TableΒ 29 ALOM CMT Shell Miscellaneous Commands
|
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.
- Example:
- 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.
Example:
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 SPA__APM00023000437_9c773_05-27-2004_46_data.zip
14 1029 05/27/04 15:39:33 SPA__APM00023000437_9c773_05-27-2004_26_data.zip
15 1489 06/25/04 06:47:00 SPA__APM00023000437_9c773_06-25-2004_33_data.zip
16 1205 07/01/04 14:33:52 SPA__APM00023000437_9c773_07-01-2004_35_data.zip
17 1 06/25/04 07:05:13 em_logs.zip
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 SPA__APM00023000437_9c773_05-27-2004_46_data.zip.
Restart management services
Restart Management Process on SPs
Open the setup page on BOTH Storage Processors
https://IP_address_SPA/setup
https://IP_address_SPB/setup
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.
Troubleshooting ILOM
ILOM : |
show faulty |
fmadm faulty |
show -d properties -level all / |
show -o table -level all /SYS |
show /SP/logs/event/list |
show /SP/faultmgmt |