Skip to content

Instantly share code, notes, and snippets.

@ctaloi
Created September 5, 2014 03:22
Show Gist options
  • Save ctaloi/49194c5bb63398b989c5 to your computer and use it in GitHub Desktop.
Save ctaloi/49194c5bb63398b989c5 to your computer and use it in GitHub Desktop.
ILOM

ILOM ( Integrated Lights out Manager)

The Sun Fire X64 family of servers implement a technology called ILOM - Integrated Lights Out Manager

ILOM uses a hierarchical namespace It contains a predefined tree /SP namespace manages the ILOM.
e.g. to manage users and clock settings.
The SP namespace is generic over all platforms using the ILOM.

The /SYS namespace manages the host system.
e.g. change the host state, read sensor information, and access other information for managed system hardware.
The SYS namespace is unique to each platform.

ILOM Commands

The below commands can be used for collecting ILOM Logs

-> show /HOST
-> show /SYS ( to view Serial Number )
-> show /SP/users
-> show /HOST
-> show /SYS keyswitch_state
-> show /SP/network

Error logs

-> show /SP/faultmgmt
-> show /SP/logs/event/list
-> set /SP/logs/event clear=true

All Information

-> show -l all
-> show -o table -level all /SYS
-> start -force /SP/console

Commands related to Power

-> set /HOST send_break_action=break
-> set /HOST send_break_action=dumpcore
-> stop /SYS
-> stop -force /SYS
-> start /SYS

Some Useful ILOM Commands

Display SP firmware version:

-> version

Show available CLI commands:

-> show /SP/cli/commands

Connect to host serial console (host COM0):

-> start /SP/console

Power on host:
-> start /SYS

Power off host:
-> stop /SYS

Reset host:
-> reset /SYS

Reset ILOM:
-> reset /SP

Resetting the ILOM and BIOS Passwords:
Requires changing a hardware jumper within the server enclosure

Exit the ILOM CLI:
-> exit

Send break to the host:
Escape + B (press the Escape key and type upper case B)

Start the server console:
-> start /SP/console

Exit the server console (escape key plus an opening bracket '(' ):
-> (

List users with open sessions to the system console (who is using the console?):
-> show /SP/sessions

Terminate a server console session started by another user:
-> stop /SP/console

Display SEL (System Event Log)
-> show /SP/logs/event/list

Clear all System Event logs:
-> set /SP/logs/event clear=true

Locate LED - a white LED to help find a server.

Enable locate LED:
**-> set /SYS LOCATE=on
**
Disable locate LED:
-> set /SYS LOCATE=off

Specify a static Ethernet configuration:

-> set pendingipdiscovery=static
-> set pendingipaddress=xxx.xxx.xx.xx
-> set pendingipnetmask=yyy.yyy.yyy.y
-> set pendingipgateway=zzz.zzz.zz.zzz
-> set commitpending=true

Add a local user account:
-> create /SP/users/username password=password role=[administrator|operator]

Delete a User:
-> delete /SP/users/username

Displaying Users:
-> show /SP/users

Change the role of user1 to operator
-> set /SP/users/user1 role=operator

Display the role of username 'user1′ (the role will clearly impact which command functionality is available for a user):
-> show /SP/users/user1

Change user1′s password:
-> set /SP/users/user1
password Changing password for user /SP/users/user1/password…
Enter new password:
******
Enter new password again:********
New password was successfully set for user /SP/users/user1**

Display network settings:
-> show /SP/network

Change the IP address of ILOM:
-> set /SP/network ipaddress=nnn.nn.nn.nn commitpending=true

From http://quickreference.weebly.com/ilom.html:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment