Sun lom cheat sheat

Most Commonly used LOM commands (Cheat Sheet)

LOM commands (V1280/E2900)

The hardware models V1280/E2900 etc uses the Lights-out management to manage the hardware. LOM is a set of software tools on the Sun Fire V1280/E2900 servers. LOM is used to perform user maintenance and administrative activities.

Picture

 

Network Related Commands

Show the current network configuration

lom> shownetwork -v

To assign an IP address to ILOM

lom> setupnetwork

Network Configuration
———————
Is the system controller on a network? [no]: yes
Use DHCP or static network settings? [DHCP]: static
Hostname []: somename
IP Address []: 129.xxx.xxx.xxx
Netmask [255.255.255.0]: 255.255.255.0
Gateway []: 129.xxx.xxx.xxx
DNS Domain []: somewhere.nowhere.com
Primary DNS Server []: 129.xxx.xxx.xxx
Secondary DNS Server []: 129.xxx.xxx.xxx
Rebooting the SC is required for changes in network settings to take effect.

Login and logout

To login to the OS console from ILOM

lom> console

To logout from the ILOM

lom> logout

To check the current escape character

lom> showescape
#.

To set a new escape character

lom> setescape ~.

To set/reset password of the current user

lom> password
Enter new password: admin
Enter new password again: admin

LOM Hardware Info

To see all the hardware

lom> showboards

To only see the CPUs

lom> showboards -p cpu

To only see the memory modules

lom> showboards -p memory

To only see the power supply units

lom> showboards -p power

To see the version of each individual component

lom> showboards -p version

To see individual component status of a system board

lom> showcomponent sb0

To check the various sensors

lom> showenvironment

To see the logs

lom> showlogs

Poweron/poweroff

To poweron the system and boot solaris OS

lom> poweron

To poweron only a specific component

lom> poweron sb2

To shutdown Solaris OS and poweroff the system to standby mode

lom> shutdown

To poweroff the entire system

lom> poweroff

To poweroff a specific hardware component

lom> poweroff sb2

SF 6800/E6900, 3800, 4800/E4900 SC commands

The hardware models Sun Fire 3800, 4800/E4900, 4810, and 6800/E6900 uses the system controller to manage the hardware components of individual domains that may have been created. So we have 2 login to a specific domain system controller from platform shell in order to manage the hardware of that domain. The showplatform command shows all the configured domains on the system.

Picture

 

To check all the domain and platform related information

schostname:SC> showplatform -v

To view system controller details

schostname:SC> showsc -v

To view SC logs

schostname:SC> showlogs -v

To view current SC connections

schostname:SC> connections

To reboot a system controller

schostname:SC> reboot

Hardware Related commands

To see all the hardware details of a domain

schostname:SC> showboards

To see only the CPUs in a specific domain

schostname:SC> showboards -p cpu

To see only the memory in a specific domain

schostname:SC> showboards -p memory

To see only the power supply unit in a specific domain

schostname:SC> showboards -p power

To see the version of each individual component

schostname:SC> showboards -p version

To see individual component status of a system board

schostname:SC> showcomponent sb0

Start/stop and power cycle a DomainTo start a domain (Domain A)

schostname:A> setkeyswitch on

To stop a domain (Domain A)

schostname:A> setkeyswitch off

To see the logs of a specific domain (Domain A)

schostname:A> showlogs

To test a CPU/memory board SB0 in domain A

schostname:A> testboard sb0

To reset a domain

schostname:A> reset

To send break to the OS from Domain SC

schostname:A> send break

To flash update the system

schostname:SC> flashupdate -y -f ftp://root:password@192.168.1.10/firmware scapp rtos