• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Most Commonly used LOM commands (Cheat Sheet)

by admin

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.

ilom shell

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.

Platform shell

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 Domain

To 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
Most Commonly used ALOM commands (Cheat Sheet)
Most Commonly used LOM commands (Cheat Sheet)
Most Commonly used ILOM commands (Cheat Sheet)
Most commonly used XSCF commands (Cheat Sheet)
Most Commonly used RSC commands (Cheat sheet)

Hardware consoles Oracle

Filed Under: Hardware

Some more articles you might also be interested in …

  1. Complete Hardware Reference : SPARC T3-1 / T3-2 / T3-4
  2. M8000 / M9000 : How to update XCP firmware (XSCF firmware upgrade)
  3. Most commonly used XSCF commands (Cheat Sheet)
  4. How to login into console from ILOM, ALOM, LOM, ELOM, XSCF, RSC
  5. M4000 / M5000 : How to assign IP address to XSCFU
  6. How to dynamically replace CPU/memory board (dynamic reconfiguration) on SunFire s6800/e12K/e15K/e25K
  7. How to setup RSC console on Sun Fire 280R, V480, V490, V880, V890 servers
  8. Complete hardware reference : T1000 / T2000 / T5120 / T5140 / T5220 / T5240 / T5440
  9. How to create an OBP boot device alias in Solaris [SPARC]
  10. How to collect XSCF snapshot on M-series servers (M3000 / M4000 / M5000 / M8000 / M9000)

You May Also Like

Primary Sidebar

Recent Posts

  • csslint: A linter for CSS code
  • csh: The shell (command interpreter) with C-like syntax (Command Examples)
  • csc: The Microsoft C# Compiler (Command Examples)
  • crystal: Tool for managing Crystal source code

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright