T- Series Firmware Upgrade

We need to update the system firmware periodically to stay away from the bugs.Oracle hardware firmware can be download from the oracle website after logging with the support id. By upgrading the system firmware,system can support new devices,better performance,better availability and add more security  to the system. In a order to upgrade the system firmware,y ou need to halt the server before upgrading the system firmware.Here we will see how to upgrade the system firmware on SUN T server.

Method – 1

1. Download the new firmware image from oracle site and upload to the server unser /var/tmp by any method

2. cd /var/tmp

3. unzip xxxxx.zip

4. cd xxxxx

For getting present version

5. ./sysfwdownload -g Sun_System_Firmware-7_4_9-SPARC_Enterprise_T5120+T5220.pkg

After that we can directly execute below command to install the new version of firmware, it will automatically do everything background finally server will reboot with latest firmware version

6. ./sysfwdownlaod -u Sun_System_Firmware-7_4_9-SPARC_Enterprise_T5120+T5220.pkg

Method – 2 (Recommended way if Solaris is running if not use Method 3)

1. Download the new firmware image and upload to server under /var/tmp .You can use Wincp or any other method for upload to server.

#cd /var/run
#ls -l 147307-13*
-rw-r--r-- 1 root root 14837135 Aug 17 20:25 147307-13.zip
#unzip 147307-13.zip
Archive: 147307-13.zip
creating: 147307-13/
inflating: 147307-13/README.147307-13
inflating: 147307-13/sysfwdownload
inflating: 147307-13/copyright

--------------------------

--------------------------

#cd 147307-13
#ls -l
total 31430
-rw-r--r-- 1 root root 25856 Aug 17 17:18 147307-13.html
-rwxr-xr-x 1 root root 11821 Aug 6 2015 Install.info
-r--r--r-- 1 root root 725 Apr 16 2014 LEGAL_LICENSE.TXT
-rw-r--r-- 1 root root 17433 Aug 17 17:18 README.147307-13
-rwxr-xr-x 1 root root 15990784 Aug 6 2015 Sun_System_Firmware-7_4_9-SPARC_Enterprise_T5120+T5220.pkg
-rwxr-xr-x 1 root root 72 Aug 6 2015 copyright
-rwxr-xr-x 1 root root 713 Aug 6 2015 license.txt
-rwxr-xr-x 1 root root 21308 Aug 6 2015 sysfwdownload
-rwxr-xr-x 1 root root 8235 Aug 6 2015 sysfwdownload.README
# pwd
/var/tmp/147307-13
root@bsprd486: ./sysfwdownload Sun_System_Firmware-7_4_9-SPARC_Enterprise_T5120+T5220.pkg

.......... (6%).......... (12%).......... (19%).......... (25%).......... (32%).%).......... (83%).......... (89%).......... (96%)....... (100%)

Download completed successfully.

#shutdown -i0 -g0 -y

connect to the Service Processor via ssh/telnet orr using the
Serial Console port – use a ALOM compatible shell
Below is the command to create user admin with ALOM compatible shell from ILOM

-> create /SP/users/admin role=Administrator cli_mode=alom
Creating user...
Enter new password: ********
Enter new password again: ********
Created /SP/users/admin

Now login Service Processor with admin user

sc> showplatform
SUNW,SPARC-Enterprise-T5220
Chassis Serial Number: xyz

Domain Status

S0 OpenBoot Running
sc> poweroff
Are you sure you want to power off the system [y/n]? y
sc> Chassis | critical: Host has been powered off
sc> showkeyswitch
Keyswitch is in the NORMAL position.

Make sure that your virtual keyswitch setting is not in the LOCKED position.If not set it to normal usin below command.

sc> setkeyswitch -y normal

sc> showsc -v
SP firmware version: 3.0.12.4.zd

Parameter Value
--------- -----
if_network true
if_connection ssh

....
....

Firmware update is in process

sc> flashupdate -s 127.0.0.1

NOTE: A flashupdate takes about 6 minutes to load a new file.
 Some commands are disabled until the file load is complete.
 The SC will be reset to complete the upgrade. ------IF SC did not reset after update please reset SC

Are you sure you want to load the specified file (y/n)? y
 ................................................................................
New firmware images were loaded. The SC will reset now to complete the upgrade.
 INIT: Switching to runlevel: 6

Stopping portmap daemon: portmap.signal
 Stopping Network Interface Plugging Daemon: eth0.
 Stopping the Health Monitor Daemon...
 Stopping Serial Server: seriald.
 Stopping IPMI Stack...... Done.
 Stopping OpenBSD Secure Shell server: sshd.
 Stopping bbrd...
 ……………
 ……………
 ……………
 INIT: Entering runlevel: 3
 Preparsing sensor.xml...
 Starting system log daemon: syslogd and klogd.
 Starting capidirect daemon: Done
 Starting Boot Timer.
 Starting user mgmt upgrade program: usrmgt_upgrade.
 Starting the Health Monitor Daemon...
 Starting portmap daemon: portmap.
 Starting capidirectd: Done.
 Starting Network Interface Plugging Daemon: eth0.
 Starting IPMI Stack...... Done.
 SSH RSA Host Key Files already exist. Skipping key creation ...
 SSH DSA Host Key Files already exist. Skipping key creation ...
 Starting sshd.
 Starting BBR daemon...
 bbrd started after 1 seconds.
 Starting periodic command scheduler: cron.
 Starting Serial Server :seriald .
 Starting Servicetags discoverer: stdiscoverer.
 Starting Servicetags listener: stlistener.
xyz-mgmt login: admin
 Password:
 Waiting for daemons to initialize...

Daemons ready

Oracle(R) Integrated Lights Out Manager

Version 3.0.12.4.ze r101136

Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.

sc>
 sc> showplatform -v
 SUNW,SPARC-Enterprise-T5220
 Chassis Serial Number: xyz

Domain Status
—— ——
S0 Powered off

sc> showsc -v
 SP firmware version: 3.0.12.4.ze

Parameter Value
 --------- -----
 ……….
 ……….
 sc>
 sc>
 sc> showplatform -v
 SUNW,SPARC-Enterprise-T5220
 Chassis Serial Number: xyz
Domain Status
 ------ ------
 S0 Powered off
 sc> poweron
 c0:0:0>Scrub Memory....Done
 0:0:0>SPU CWQ Tests...Done
 0:0:0>MAU Tests...Done
 0:0:0>Network Interface Unit Port 0 Tests ..Done
 0:0:0>Network Interface Unit Port 1 Tests ..Done
 0:0:0>Functional CPU Tests....Done
 0:0:0>Extended Memory Tests....Done
 2016-02-03 02:25:35.062 0:0:0>INFO:
 2016-02-03 02:25:35.115 0:0:0> POST Passed all devices.
 2016-02-03 02:25:35.169 0:0:0>POST: Return to VBSC.
 2016-02-03 02:25:35.222 0:0:0>Master set ACK for vbsc runpost command and spin..
 Chassis | major: Host is running
 SPARC Enterprise T5220, No Keyboard
 Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
 OpenBoot 4.33.6.f, 65408 MB memory available, Serial #85281950.
 Ethernet address 0:21:28:15:4c:9e, Host ID: 85154c9e.
Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@1,0:a File and args:
 SunOS Release 5.10 Version Generic_150400-27 64-bit

Method 3 - If Solaris is not running
Download the new firmware image.

Copy the image to a TFTP server .

Now Login to SP/ILOM

-> show /HOST
-> version
SP firmware 3.0.12.4.zd
SP firmware build number: 93313
SP firmware date: Sun Oct 12 08:04:18 PDT 2014
SP filesystem version: 0.1.22

-> load -source tftp://IP/<DIR>/Sun_System_Firmware-7_4_9-SPARC_Enterprise_T5120+T5220.pkg

NOTE: An upgrade takes several 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.
Login to ILOM Again , check firmware version and poweron the server.
t-publication