Sun Ilom cheat sheat

Integrated Lights-out Manager (ILOM) helps to manage and troubleshoot the complete hardware of a server. With the help of ILOM we can remotely manage a server. We can power on and power off it remotely. Let us see some of the most commonly used commands in the ILOM shell.

Login related commands

-> start /SP/console        — start the SP-console-> show /SP/sessions        — see the currently active sessions-> stop /SP/console         — to stop any user session

Start and stop system

-> start /SYS                            (start system)  -> stop [-force] /SYS                    (stop system)-> show /SYS                             (shows the power status)-> reset /SYS                            (reset host)-> reset /SP                             (reset ILOM SP)-> set /HOST send_break_action=break     (send break signal to the OS)-> reset /CMM                            (to reset CMM on a blade Chassis)

Locator commands

To set the locator on or off

-> set /SYS LOCATE=on-> set /SYS LOCATE=off

Networking Commands

To see the current network configuration of ILOM

-> show /SP/network

To set an IP address for ILOM

-> set pendingipdiscovery=static -> set pendingipaddress=10.10.10.10-> set pendingipnetmask=255.255.255.0-> set pendingipgateway=10.10.10.1-> set commitpending=true

To show SP MAC address

show /SP/network macaddress

If on a Blade chassis, to check the CMM IP :

-> show /CMM/network

User administration

-> show /SP/users                  (Display all the ILOM users)-> show /SP/user/admin             (Display configuration settings of a specific user)-> create /SP/users/user_name password=PWD role=[administrator|operator]    (create new user)-> delete /SP/users/username       (Delete a user)-> set /SP/users/admin01 role=administrator  (set the role of a user)-> set /SP/users/admin01           (set or change password of user)

Monitoring and logs

-> show /SP/logs/event/list     (ILOM event log)-> show -level all -output table /SP/faultmgmt     (List all hardware faults)-> show -level all -output table /SYS type==Temperature value       (List all temperature sensor readings)

hardware info

-> show -level all -output table /SYS type==DIMM                (show DIMMS)-> show -level all -output table /SYS type==’Host Processor’    (show CPUs)-> show -l all /SYS type==’Hard Disk’  (show disks)