Posts Tagged ‘ILOM’

Commonly used ILOM commands

December 27th, 2022, posted in Oracle, Solaris
Share

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)

 

Share

ISSUE WITH UPLOADING FIRMWARE TO THE SERVICE PROCESSOR(Sysfwdownload: Download Failure – Status = 2)

November 27th, 2021, posted in Solaris
Share

ISSUE WITH UPLOADING FIRMWARE TO THE SERVICE PROCESSOR(Sysfwdownload: Download Failure – Status = 2)

 

Tried to load a firmware package from solaris 10 to the Service Processor on a T5240 machine and it failed with status = 2. Most of the time the issue will be due to the service processor being slow, having too many stale connections. There might be few other things which contributes to the issue. Check the solutions below, if this is not the issue you are seeing then you will have to contact oracle support with the snapshot of ilom, server patch level and the commands you are running.

 

ISSUE:
# pwd
/var/tmp/147310-08

ls -ltr
total 31406

-r–r–r– 1 root root 183 Sep 10 2012 LEGAL_LICENSE.TXT
-rwxr-xr-x 1 root root 8196 Jan 21 2013 sysfwdownload.README
-rwxr-xr-x 1 root root 21308 Jan 21 2013 sysfwdownload
-rwxr-xr-x 1 root root 184 Jan 21 2013 license.txt
-rwxr-xr-x 1 root root 11821 Jan 21 2013 Install.info
-rwxr-xr-x 1 root root 72 Jan 21 2013 copyright
-rwxr-xr-x 1 root root 15990784 Jan 21 2013 Sun_System_Firmware-7_4_5-SPARC_Enterprise_T5140+T5240.pkg
-rwxr-xr-x 1 root root 1291 Jan 21 2013 SPARC_Enterprise_T5140+T5240_metadata.xml
-rw-r–r– 1 root root 12781 Feb 10 2013 README.147310-08
-rw-r–r– 1 root root 19426 Feb 10 2013 147310-08.html

./sysfwdownload Sun_System_Firmware-7_4_5-SPARC_Enterprise_T5140+T5240.pkg
sysfwdownload: download failure – status = 2


SOLUTION 1:
Login to the ILOM/SC and reset the service processor.
sc>resetsc
Are you sure you want to reset the SC (y/n)? y
Performing reset on the SC
Once the service processor is up, now try to load the firmware from solaris operating system to the service processor.
#cd /var/tmp/147310-08
./sysfwdownload Sun_System_Firmware-7_4_5-SPARC_Enterprise_T5140+T5240.pkg
If resetting service processor didn’t help then see solution 2 is applicable for you.


SOLUTION 2:
You have to login to the ilom using “sunservice” account and your ilom user password. If the SP is running a 7.1.x based FW release (ILOM 2.0), the sunservice account is present by default and you can login directly (there is no need for getting an escalation mode key)
After you login to the ilom with the “sunservice” account, check the output of df -h and see if /coredump file system is filled up. If its filled up then this might be your issue.
Login: sunservice
Password: <enter your regular ilom user password here>

Copyright 2007 Sun Microsystem, Inc. All rights reserved.
WARNING: The “sunservice” account is provided solely to allow
Sun Services to perform diagnosis and recovery tasks. Customer use of
the “sunservice” account may interfere with the correct operation of
ILOM and is not supported other than to perform recovery procedures as
documented by Sun Microsystems. Normal ILOM operations should always be
performed using the root account. Further usage of the “sunservice”
account implies your agreement with these terms.
[(flash)root@myilom:~]# df -h

Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock4            9.7M      9.7M         0 100% /
sshi                     1.0M    308.0k    716.0k  30% /var
sshimi                   1.0M    372.0k    652.0k  36% /var/log
tmpfs                    62.3M         0     62.3M   0% /dev/shm
/dev/tffsa1              31.0M     29.1M    258.0k  99% /store
/dev/loop0               23.2M      4.9M     17.1M  22% /persist
/dev/loop1                3.9M      1.1M      2.5M  31% /conf
/dev/tffsa3              53.0M     53.0M         0 100% /coredump

cd to the coredump directory and remove the files with *core*. Do Not remove any other files which doesn’t contain *core* in the file name.
After removal:
[(flash)root@myilom:/coredump]# df -h

Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock4            9.7M      9.7M         0 100% /
sshi                     1.0M    308.0k    716.0k  30% /var
sshimi                   1.0M    384.0k    640.0k  38% /var/log
tmpfs                    62.3M         0     62.3M   0% /dev/shm
/dev/tffsa1              31.0M     29.1M    258.0k  99% /store
/dev/loop0               23.2M      4.9M     17.1M  22% /persist
/dev/loop1                3.9M      1.1M      2.5M  31% /conf
/dev/tffsa3              53.0M      4.0M     46.2M   8% /coredump

Now try to load the firmware from the solaris operating system to the service processor.

#cd /var/tmp/147310-08
./sysfwdownload Sun_System_Firmware-7_4_5-SPARC_Enterprise_T5140+T5240.pkg
Share

Capture Snapshot From ILOM

July 25th, 2021, posted in Solaris
Share
1)
-> cd /SP/diag/snapshot
 
2) specify the host and directory where the snapshot will be transferred. 
-> set dump_uri=ftp://<valid_ftpuser>@ip_address//<directory>
Enter remote user password: *******
Set ‘dump_uri’ to ‘ftp://root@<ip_address>//tmp’

3) Check status of “snapshot”
-> show

/SP/diag/snapshot

   Targets:

   Properties:

       dataset = normal
       dump_uri = (Cannot show property)
       encrypt_output = false
       result = Running  <– check for completed status

4) Check for the completion of snapshot
-> show

/SP/diag/snapshot

   Targets:

   Properties:

       dataset = normal
       dump_uri = (Cannot show property)
       encrypt_output = false
       result = Collecting data into
ftp://root@<ip_address>//tmp/v4v-t5120a-sp_<ip_address>_2013-08-10T17-43-27.zip
Snapshot Complete.

Done.
References:
Share

SWITCH BETWEEN ALOM AND ILOM ON SPARC TSERIES SERVER

March 14th, 2021, posted in Solaris
Share

Switching between ALOM and ILOM is applicable on SPARC Servers (T-Series)

SWITCH FROM ILOM TO ALOM :
If you have logged to ilom as a root user (you may be logged in as different user) and you want to switch to ALOM then run this below command, logout and log back in.

->set /SP/users/root cli_mode=alom

SWITCH FROM ALOM TO ILOM :
If you have logged to alom shell as a root user (you may be logged in as different user) and you want to switch to ILOM shell then run the below command, logout and log back in.

sc>userclimode root default
Share