Getting Firmware versions of Sun ALOM, ILOM, ELOM and V20z/V40z systems

Thursday, December 31, 2009

This writing shows the commands to fetch the installed firmware versions on different kinds of Sun servers like ALOM, ILOM, ELOM and other IPMI based service processors (like v20z, v40z), getting the installed firmware versions may be useful for system administrators to upgrade/reinstall firmware manually from the server management console.

Note: You can get the firmware version displayed after logging into the management console (before getting into the management prompt), use the below commands to get more detailed information.

1. Getting installed firmware version on an ALOM systems
2. Getting installed firmware version on an ILOM systems
3. Getting installed firmware version on an ELOM systems
4. Getting installed firmware version on V20z/V40z IPMI based service processors

1. Getting installed firmware version on an ALOM systems (like Sun Fire V125, V210, V240, V245, V250, V440, V445, Netra 210, 240, 440)

Logon to the SC.

ALOM-v125-sp> showsc version -v
Advanced Lights Out Manager v1.6.9
SC Firmware version: 1.6.9
SC Bootmon version: 1.6.9

SC Bootmon Build Release: 01
SC bootmon checksum: B398A9C8
SC Bootmon built Dec 15 2008, 15:12:15

SC Build Release: 01
SC firmware checksum: 100B1E9D

SC firmware built Dec 15 2008, 15:12:46
SC firmware flashupdate DEC 27 2009, 09:34:14

SC System Memory Size: 8 MB

SC NVRAM Version = f

SC hardware type: 0

ALOM-v125-sp>

2. Getting installed firmware version on an ILOM systems (like Sun Fire X4100, X4100 M2, X4140, X4150, X4170, X4200, X4200 M2, X4250, X4270, X4600, X4600 M2, etc)

Logon to SP.

-> version
SP firmware 2.0.2.5
SP firmware build number: 32265
SP firmware date: Fri Apr 25 20:35:59 PDT 2008
SP filesystem version: 0.1.14

->

3. Getting installed firmware version on an ELOM systems (specific ones like Sun Fire X2100, X2100 M2, X2200, X2200 M2)

Logon to SP

/SP -> cd AgentInfo
/SP/AgentInfo

/SP/AgentInfo -> show

/SP/AgentInfo
Targets:
PEF
PET
SEL
console
mail
SNMP

Properties:
HWVersion = 0
FWVersion = 1.10
MacAddress = 00:12:42:70:34:D2
IpAddress = 192.168.1.2
NetMask = 255.255.255.0
Gateway = 192.168.1.1
DhcpConfigured = disable
DateTime = 12/31/2009-00:47:52
Name = SUNSP0016062248D2
Location =
Contact =
ConsoleTimeOut = 180
ConsoleMux = agent

Target Commands:
show
cd
set

/SP/AgentInfo ->

4. Getting installed firmware version on V20z/V40z IPMI based service processors

Logon to the SP.

localhost $ inventory get software
Name Revision Install Date Description
BIOS-V20z V1.33.5.2 Thu Sep 1 12:56:38 2005 Platform BIOS for V20z servers
Operator Panel V1.0.1.1 Fri Mar 25 20:00:57 2005 Operator Panel Firmware
PPCBoot V2.1.0.16 Thu Sep 1 12:45:57 2005 PPCBoot Software
SP Value-Add V2.3.0.11 Mon Apr 3 17:17:09 2006 SP Value-Add Software
SP Base V2.3.0.11 Mon Apr 3 17:17:09 2006 SP Base Software
localhost $ exit

Increasing SWAP space in Solaris

Increasing SWAP space is a common task especially when its a requirement to install and run a new application, though its quite trivial, a handy How-to doc is always useful and hence this one.

Assuming that you need to increase swap size in Solaris by 4GB, follow the below procedure.

1. Get the current swap size.

bash-3.00# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t2d0s1 31,65 8 16787912 16787912

2. Create a file of size 4G (say swapfile4G)

bash-3.00# mkfile 4g /swapfile4G
bash-3.00#

3. Add the specific file as swap

bash-3.00# swap -a /swapfile4G
bash-3.00#

4. Now the swap -l command should show the new file added as swap

bash-3.00# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t2d0s1 31,65 8 16787912 16787912
/swapfile4G - 8 8388600 8388600

Additionally to enable this swap file after system boot, add the following entry in /etc/vfstab.

/swapfile4G - - swap - no -

(Tab after each fields).

Updating Firmware on ILOM based Sun servers

Monday, December 28, 2009

In this post, we will see the steps to update firmware on ILOM based Sun servers, some of the ILOM based Sun systems are Sun Fire X4100, X4100 M2, X4140, X4150, X4170, X4200, X4200 M2, X4600, X4600 M2, etc, a complete list of supported platforms can be found here.

In the below example, we will be updating to the latest ILOM firmware available for the X4100/X4200 servers (version 2.0.2.5 which can be downloaded here) on an X4200 server.

Step 1: Copy the firmware image (say firmware_image_file) to be updated on /tftpboot directory on the server

Step 2: ssh to the ILOM console (SP)

Step 3: load -source tftp://<ServerIP>/<firmware_image_file>

After firmware update, the SP will reboot, login to the SP to verify the firmware update.

Example:

In the below example, IP address 192.168.1.1 corresponds to the server and the IP address 192.168.1.2 corresponds to the ILOM based SP (X4200 in this example).

(From the server 192.168.1.1)

bash-3.00# pwd
/firmware/X4200firmware/v2.0.2.5
bash-3.00# ls -l
total 28688
-rw-r--r-- 1 root root 14680064 Dec 28 07:52 ilom.X4100-2.0.2.5-r37165.ima

bash-3.00# cp ilom.X4100-2.0.2.5-r37165.ima /tftpboot/

bash-3.00# ls -l /tftpboot/ilom.X4100-2.0.2.5-r37165.ima
-rw-r--r-- 1 root root 14680064 Dec 28 07:54 /tftpboot/ilom.X4100-2.0.2.5-r37165.ima

bash-3.00# ssh -l root 192.168.1.2
Password:

Sun(TM) Integrated Lights Out Manager

Version 2.0.2.1

Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

Warning: password is set to factory default.

-> version
SP firmware 2.0.2.1
SP firmware build number: 26075
SP firmware date: Wed Dec 26 05:28:55 EST 2007
SP filesystem version: 0.1.14

-> load -source tftp://192.168.1.1/ilom.X4100-2.0.2.5-r37165.ima

NOTE: A firmware upgrade will cause the server and ILOM to
be reset. It is recommended that a clean shutdown of
the server be done prior to the upgrade procedure.
An upgrade takes about 6 minutes to complete. ILOM
will enter a special mode to load new firmware. No
other tasks can be performed in ILOM until the
firmware upgrade is complete and ILOM is reset.

Are you sure you want to load the specified file (y/n)? y
Do you want to preserve the configuration (y/n)? y
...............................................................................................................
Preserving configuration. Please wait.
Done preserving configuration.


Firmware update is complete.
ILOM will now be restarted with the new firmware.

->
Broadcast message from root (pts/0) (Tue Dec 29 01:13:01 2009):

The system is going down for reboot NOW!
Connection to 192.168.1.2 closed by remote host.
Connection to 192.168.1.2 closed.

bash-3.00# ssh -l root 192.168.1.2
Password:

Sun(TM) Integrated Lights Out Manager

Version 2.0.2.5

Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

Warning: password is set to factory default.

-> version
SP firmware 2.0.2.5
SP firmware build number: 37165
SP firmware date: Fri Sep 19 23:35:10 EDT 2008
SP filesystem version: 0.1.14

-
Related Post: Updating Firmware on ALOM based Sun servers.

Updating Firmware on ALOM based Sun servers

Sunday, December 27, 2009

Updating firmware is a routine system administration task and at times it helps if there is a quick reference to do it, in this blog we will see how to update an ALOM firmware on Sun systems.

Some of the ALOM based Sun servers are Sun Fire V125, V210, V240, V245, V250, V440, V445, Netra 210, 240, 440. We will see how to manually update the firmware on these systems.

In the below example, we will be updating to the latest ALOM firmware (version 1.6.9 which can be downloaded from the Sun website) on a Sun ALOM based hardware (an SF-V125 server used in the below example).

Step 1: telnet or ssh to the ALOM Management console (SC)

Step 2: Use the flashupdate command from the SC to fetch the firmware image from the server and update it.
(flashupdate -s <serverIP> -f <firmware_file_location_in_server> )

Step 3: After update is successful, use resetsc command to reset the SC, once the reset is complete, you can verify the latest firmware updated on the system by logging into the SC.

Example:

In the below example, IP address 192.168.1.1 corresponds to the server and the IP address 192.168.1.2 corresponds to the ALOM based SC.

(From the server 192.168.1.1)

bash-3.00# pwd
/firmware/ALOM-1.6.9
bash-3.00# ls
ALOM_1.6.9_fw_hw0.tar README alommainfw
Legal alombootfw copyright

bash-3.00# telnet 192.168.1.2
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.

Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.


Sun(tm) Advanced Lights Out Manager 1.6.8 (v125-sp)

Please login: admin
Please Enter password: *****


v125-sp> flashupdate -s 192.168.1.1 -f /firmware/ALOM-1.6.9/alommainfw
Username: root
Password: **********

................................................................
Update complete. Reset device to use new image.
v125-sp>
SC Alert: SC firmware was reloaded

v125-sp> resetsc
Are you sure you want to reset the SC [y/n]? y
User Requested SC Shutdown
v125-sp> Connection to 192.168.1.2 closed by foreign host.
bash-3.00# telnet 192.168.1.2
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.

Copyright 2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.


Sun(tm) Advanced Lights Out Manager 1.6.9 (v125-sp)

Please login: admin
Please Enter password: *****


v125-sp>
)

Step 3: After update is successful, use resetsc command to reset the SC, once the reset is complete, you can verify the latest firmware updated on the system by logging into the SC.

Example:

In the below example, IP address 192.168.1.1 corresponds to the server and the IP address 192.168.1.2 corresponds to the ALOM based SC.

(From the server 192.168.1.1)

bash-3.00# pwd
/firmware/ALOM-1.6.9
bash-3.00# ls
ALOM_1.6.9_fw_hw0.tar README alommainfw
Legal alombootfw copyright

bash-3.00# telnet 192.168.1.2
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.

Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.


Sun(tm) Advanced Lights Out Manager 1.6.8 (v125-sp)

Please login: admin
Please Enter password: *****


v125-sp> flashupdate -s 192.168.1.1 -f /firmware/ALOM-1.6.9/alommainfw
Username: root
Password: **********

................................................................
Update complete. Reset device to use new image.
v125-sp>
SC Alert: SC firmware was reloaded

v125-sp> resetsc
Are you sure you want to reset the SC [y/n]? y
User Requested SC Shutdown
v125-sp> Connection to 192.168.1.2 closed by foreign host.
bash-3.00# telnet 192.168.1.2
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.

Copyright 2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.


Sun(tm) Advanced Lights Out Manager 1.6.9 (v125-sp)

Please login: admin
Please Enter password: *****


v125-sp>
In future posts, we will see more useful information related to Sun systems/administration.


Copyright © 2016 Prasanna Seshadri, www.prasannatech.net, All Rights Reserved.
No part of the content or this site may be reproduced without prior written permission of the author.