Linux menu

Saturday, September 20, 2014

How to Upgrade Firmware on M series Oracle servers



Last week I have upgraded latest firmware on M series Oracle servers. I just want to share the step by step procedure which will help us lot whenever we getting the same kind of request. This post will explain how to upgrade the firmware from 1080 to firmware 1117 on M series servers (SPARC Enterprise M3000, M4000, M5000, M8000, and M9000)


NOTE: XCP is stands for XSCF(eXtended System Control Facility) Control Package which contains OpenBoot PROM firmware and XSCF firmware.

High Level Plan:
  • Shutdown the domain.
  • Check the Current version ( Current XCP firmware version is 1080).
  • Download the latest Firmware version from Oracle portal.
  • XCP Import and install the firmware.
  • Boot the system with latest firmware version.  (Latest XCP firmware version is 1117).
Before upgrading the firmware we have to ensure that current version by executing below command.
XSCF> version -c xcp
XSCF#0 (Active )
XCP0 (Current): 1080
XCP1 (Reserve): 1080
XSCF>
To check the detailed view
XSCF> version -c xcp -v
XSCF#0 (Active )
XCP0 (Current): 1080
OpenBoot PROM : 02.07.0000
XSCF          : 01.08.0003
XCP1 (Reserve): 1080
OpenBoot PROM : 02.07.0000
XSCF          : 01.08.0003
OpenBoot PROM BACKUP
#0: 02.03.0000
#1: 02.07.0000
XSCF>
Import the XCP firmware by using getflashimage command
XSCF> getflashimage -u rsurendr ftp://192.168.10.21/home/unix/Desktop/firmware/FFXCP1117.tar.gz
Existing versions:
Version                Size  Date
FFXCP1080.tar.gz   51299678  Thu Dec 04 03:02:01 EST 2008
Warning: About to delete existing versions.
Continue? [y|n]: y
Removing FFXCP1080.tar.gz.
Password: 
 0MB received
  1MB received
  2MB received
  3MB received
  4MB received
  5MB received
  6MB received
  7MB received
  8MB received
  9MB received
 10MB received
 11MB received
 12MB received
 13MB received
 14MB received
 15MB received
 16MB received
 17MB received
 18MB received
 19MB received
 20MB received
 21MB received
 22MB received
 23MB received
 24MB received
 25MB received
 26MB received
 27MB received
 28MB received
 29MB received
 30MB received
 31MB received
 32MB received
 33MB received
 34MB received
 35MB received
 36MB received
 37MB received
 38MB received
 39MB received
 40MB received
 41MB received
 42MB received
 43MB received
Download successful: 44711 Kbytes in 46 secs (970.199 Kbytes/sec)
Checking file...
MD5: e8bf7c11500d71e5a50491bcb67f3357
XSCF>
Checking the possibilities of XCP firmware upgrade
XSCF> flashupdate -c check -m xcp -s 1117
XCP update is possible with domains up
XSCF>
Make it sure our domain is powered off status
XSCF> showdomainstatus -a
DID         Domain Status
00          Powered Off
01          -
XSCF>
Updating XCP latest firmware
XSCF> flashupdate -c update -m xcp -s 1117
The XSCF will be reset. Continue? [y|n] :y
Checking the XCP image file, please wait a minute
XCP update is started (XCP version=1117:last version=1080)
OpenBoot PROM update is started (OpenBoot PROM version=02320000)
OpenBoot PROM update has been completed (OpenBoot PROM version=02320000)
XSCF update is started (XSCFU=0,bank=0,XCP version=1117:last version=1080)
XSCF download is started (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=00:version=01110007:last version=01080000)
XSCF download has been completed (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=00:version=01110007:last version=01080000)
XSCF download is started (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=01:version=01110007:last version=01080003)
XSCF download has been completed (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=01:version=01110007:last version=01080003)
XSCF download is started (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=02:version=01100001:last version=01080000)
XSCF download has been completed (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=02:version=01100001:last version=01080000)
XSCF download is started (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=03:version=01110007:last version=01080000)
XSCF download has been completed (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=03:version=01110007:last version=01080000)
XSCF download is started (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=04:version=01110007:last version=01080003)
XSCF download has been completed (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=04:version=01110007:last version=01080003)
XSCF download is started (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=05:version=01110004:last version=01080000)
XSCF download has been completed (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=05:version=01110004:last version=01080000)
XSCF download is started (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=07:version=01090001:last version=01080000)
XSCF download has been completed (XSCFU=0,bank=0,XCP version=1117:last version=1080, Firmware Element ID=07:version=01090001:last version=01080000)
XSCF update has been completed (XSCFU=0,bank=0,XCP version=1117:last version=1080)
XSCF is rebooting to update the reserve bank
XSCF> 
You have to relogin to the console and check the version updates
XSCF> version -c xcp
XSCF#0 (Active )
XCP0 (Current): 1117
XCP1 (Reserve): 1117
XSCF> 
XSCF> 
XSCF> version -c xcp -v
XSCF#0 (Active )
XCP0 (Current): 1117
OpenBoot PROM : 02.32.0000
XSCF          : 01.11.0007
XCP1 (Reserve): 1117
OpenBoot PROM : 02.32.0000
XSCF          : 01.11.0007
OpenBoot PROM BACKUP
#0: 02.32.0000
#1: 02.07.0000
XSCF>
XSCF>
Once firmware upgrade is done, Starting the domain
XSCF> poweron -d 0
DomainIDs to power on:00
Continue? [y|n] :y
00 :Powering on

*Note*
 This command only issues the instruction to power-on.
 The result of the instruction can be checked by the "showlogs power".
XSCF> showdomainstatus -a
DID         Domain Status
00          Initialization Phase
01          -
XSCF>
XSCF> showdomainstatus -a
 DID         Domain Status
 00          Running
 01          -
XSCF>
Yes..We have successfully upgraded the XCP firmware on M series servers

No comments: