Friday, 15 July 2011

FIRMWARE UPGRADATION ON T2K SERVER

Today i have upgraded the firmware for 2 T2000 server which seems a bit interesting.I have done it both from terminal and also from serial console(sc>)

A firmware is something that we can't touch like a hardware or something that we can't see like a software.Its something that drives the hardware for supporting the software.If the firmware upgradation is not done in a proper way or if it gets aborted, the hardware you can sell it for scrap value.ie. the hardware cant be used again.
In a T2k server the firmware uprades the following modules:
a) Open boot prom(OBP) version.
b)Hypervisor layer that provides a platform for LDOMS

Below i have mentioned it in step by step method

FROM SC


Prior to upgradation put the firmware patch in some server and ftp share it

1)Bring the machine to Ok prompt and from there login to sc prompt pressing  "#." What i did was i took tip conection and i directly went to sc prompt once  after bringing down the server


bash-3.00#init 0
ok>#.
sc>poweroff -y

-------------------------------------------------------------
2)Once after the server is down,check the status of sc> and then connect a lan cable to etwork management port.
sc> showhost
Host flash versions:
   Reset V1.0.0
   Hypervisor 1.0.1 2005/11/14 14:31
   OBP 4.19.0 2005/10/27 17:24
   MPT SAS FCode Version 1.00.37 (2005.06.13)>R
    Integrated POST 4.19.1 2005/11/15 11:10
sc> showsc
Advanced Lights Out Manager CMT v1.0.2

parameter                value
---------                -----
if_network               false
if_modem                 false
if_emailalerts           false
netsc_tpelinktest        true
netsc_dhcp               false
netsc_ipaddr             0.0.0.0
netsc_ipnetmask          0.0.0.0
netsc_ipgateway          0.0.0.0
mgt_mailhost
mgt_mailalert
sc_customerinfo          chicken
sc_escapechars           #.
sc_powerondelay          true
sc_powerstatememory      false
sc_clipasswdecho         true
sc_cliprompt             sc
sc_clitimeout            0

---------------------------------------------------------------
3)Asign IP address for sc prompt as metioned in the below
sc> setsc netsc_ipaddr 10.1.18.20
sc> setsc netsc_ipnetmask 255.255.255.0
sc> setsc netsc_ipgateway 10.1.18.1
sc> showsc
Advanced Lights Out Manager CMT v1.0.2

parameter                value
---------                -----
if_network               false
if_modem                 false
if_emailalerts           false
netsc_tpelinktest        true
netsc_dhcp               false
netsc_ipaddr             10.1.18.20
netsc_ipnetmask          255.255.255.0
netsc_ipgateway          10.1.18.1
mgt_mailhost
mgt_mailalert
sc_customerinfo          chicken
sc_escapechars           #.
sc_powerondelay          true
sc_powerstatememory      false
sc_clipasswdecho         true
sc_cliprompt             sc
sc_clitimeout            0
Check whether this assigned IP is pinging or not.
------------------------------------------------------
4)Now there is a utility called flashupdate in the sc prompt from which we can download the firmware patch from another server and install here.Here i have put the patch in a server with IP 10.1.18.132.When you run the command it will ask for root password of the server where we have kept the firmware patch
sc> flashupdate -s 10.1.18.132 -f /firmware_patch/139434-08/Sun_System_Firmware-6_7_11-Sun_Fire_T2000.bin -v
mention -s as server name where the patch is present
-f as the path where the patch is kept in
-v will display te output in a verbose mode
SC Alert: System poweron is disabled.
Username: root
Password: *******

.....................................................................................................................................................................................................................................................
--------------------------------------------------------------------------
5) Once its done type the command resetsc
sc> resetsc
Are you sure you want to reset the SC [y/n]?y
----------------------------------------------------------------------------


6)check for the status of server using below command where you can see the hypervisor and OBP prompt are upgraded.Then power on the machine
sc> showhost
Host flash versions:
   OBP 4.30.4.b 2010/07/09 13:48
   Hypervisor 1.7.3.c 2010/07/09 15:14
sc> poweron
----------------------------------------------------------------------------
----------------------------------------------------------------------------
FROM TERMIAL
1)We can also upgrade the firmware from terminal using an utiliy called 'sysfwdownload' which will download the firmware to sc> and upgrade there.
bash-3.00# ./sysfwdownload Sun_System_Firmware-6_7_11-Sun_Fire_T2000.bin
...........................................................................
...........................................................................
-----------------------------------------------------------
2)After that reboot the machine and you will find the firmware upgraded.Check for OBP version and you can see that the verson is changed.
bash-3.00#prtconf -V

OBP 4.30.4.b 2010/07/09 13:48

No comments:

Post a Comment