Sun ILOM Cheatsheet



Published: 2017-08-02 11:14:18 +0000
Categories: BASH,

Language

BASH

Description

Most Sun/Oracle servers have an integrated BMC known as Integrated Lights Out Management (ILOM) or occasionally Advanced Lights Out Management (ALOM)

This page provides a cheat-sheet of commands you might commonly use having connected to the ILOM via SSH

Similar to

Snippet

Virtual Serial Port
--------------------

Start a session:

    start /SP/console

List active sessions:

    show /SP/sessions

Kill existing sessions:

    stop /SP/console

System Power Control
---------------------

Power on the server:

    start /SYS 

Power off the server:

    stop /SYS 

Force power off the server (i.e. disconnect power):

    stop -force /SYS 

Show current power status:

    show /SYS 

Reset power:

    reset /SYS 

Reset ILOM:

    reset /SP 

Send Break action to OS:

    set /HOST send_break_action=break

Reset Central Management Module (blade Chassis only)

    reset /CMM

System hardware Info
----------------------

List CPUs:

    show -level all -output table /SYS type=='Host Processor'

Show DIMMS:

    show -level all -output table /SYS type==DIMM

Show Disks:

    show -l all /SYS type=='Hard Disk' 

LEDs
-----

Enable:

    set /SYS LOCATE=on

Disable:

    set /SYS LOCATE=off

Network Config
---------------

Show Config:

    show /SP/network

Set Network config:

    set pendingipdiscovery=static 
    set pendingipaddress=x.x.x.x
    set pendingipnetmask=x.x.x.x
    set pendingipgateway=x.x.x.x
    set commitpending=true

Show ILOM mac address:

    show /SP/network macaddress

Get Central Mgmt Module IP:

    show /CMM/network

Users
------

List All:

    show /SP/users

Show specific user:

    show /SP/user/admin

Create user:

    create /SP/users/user_name password=PWD role=[administrator|operator]

Delete user:

    delete /SP/users/username

Set user role:

    set /SP/users/newadmin role=administrator

Set/Change user password:

    set /SP/users/newadmin

Logs
-----

ILOM event log:

    show /SP/logs/event/list

Hardware fault list:

    show -level all -output table /SP/faultmgmt

Temperature sensor readings (change the type for other stats):

    show -level all -output table /SYS type==Temperature value

Keywords

SUN, Solaris, Oracle, BMC, ILOM, commands, cheat sheet, SSH, CLI, Server, ALOM,

Latest Posts


Copyright © 2019 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk and snippets.6zdgh5a5e6zpchdz.onion