disclaimer: Please refer vendor provided instructions and follow carefully.
- cd /tmp/patch/
- unzip 148822-05.zip
- cd 148822-05
- ./sysfwdownload Sun_System_Firmware-8_2_2_c-SPARC_T4-1.pkg
- /usr/sbin/shutdown -i0 -g0 -yOK> type #. to go to ILOM mode in console
- show /HOST/boodmode (note config parameter value for LDOM servers to set after upgrade)
- show /HOST/ (will display the current versions of Hypervisor, OpenBoot, Post and sysfw_version)
- stop /SYS
- set /SYS keyswitch_state=Normal
- show /SP/firmware/localimage (This will display upload date and version, if by mistake wrong image uploaded, it will display invalid image)
- load -source /SP/firmware/localimage (show progress in … and will reboot ILOM on completion)
- set /HOST/bootmode=”config-name”” (This is important for the LDOM servers)
- start the system “start /SYS”
- console /HOST/console….
Detailed explanation, have patience and read below steps
Go to this Oracle site and find the suitable firmware level for your server or refer your internal engineering documents to know upgrade level.
I need upgrade to SysFW 8.2.2.c, this comes with Oracle Patch “148822-05”
Step2: Login to oracle site with valid support id and download the patch. (Most of the enterprise organizations have engineering team, who test these patches and upload to internal repositories)
Step3: copy the “148822-05.zip” to the servers, where you need upgrade the firmware and unzip it.
Step4: Pre tasks
- This firmware upgrade require down time. If you are planning on Production/Live servers, take proper down time from application teams.
- Firmware upgrade require console, hence check your console access.
- Take all LDOM guest configuration backup. Refer my previous article on saving and restoring Ldom guest configuration.
- Check current configuration stored in Service Processor(SP). When you upgrade the firmware, it will reset SP bootmode configuration to default-factory. If you save the config name, it will be easy for you to reset. You can also check this from ILOM using “show /HOST/bootmode” save the config property value.
Step5: Load the firmware to System Processor (SP). ILOM has the mechanism to copy the image from OS using sysfwdownload tool. This tool always comes with your firmware patch and it’s recommended to use the same tool.
./sysfwdownload [image].pkg (in my case the image name “Sun_System_Firmware-8_2_2_c-SPARC_T4-1.pkg
(if you observer image file name has all information like this firmware is for Sun Sparc hardware,it’s version is 8.2.2.c and it’s for Sparc T4-1 model. This is first level of defense to avoid loading wrong firmware image)
When downloading it will show progress in format “….(10%)….” it ends with download completed successfully
shutdown -i0 -g0 -y
OK> type #. to go to ILOM mode in console
show /HOST/boodmode (note config parameter value for LDOM servers)
show /HOST/ will display the current versions of Hypervisor, OpenBoot, Post and sysfw_version
(sysfw_version is the one we mentioned above)
Verify downloaded image is correct or not with “show /SP/firmware/localimage” and verify upload date and Version. (Here second level of defense comes, if valid image is not uploaded instead of version it will show invalid image).
stop the system to poweroff competely “stop /SYS”
Verify the key_switch state “show /SYS keyswitch_state” it should be in normal state. If it’s in locked state change to normal
“set /SYS keyswitch_state=Normal” Check if value set properly.
After completing all pre checks now we are ready to upgrade the firmware
load -source /SP/firmware/localimage
This will show progress in … and once it complete, it will reboot the ILOM.
Once it’s completed, change the bootmode “set /HOST/bootmode=”config-name”” (This is important for the LDOM servers)
start the system “start /SYS”
go to console to see the server boot progress