The firmware upgrade can be performed via Oracle ILOM CLI or
web interface.While the activity is in process we should ideally
have a serial connection to both the SP’s. This can be performed
even remotely , the only thing is that you will lose connectivity for
a while when the SP’s go for a reboot.
The procedure to upgrade firmware from CLI is as follows:
1. We check the SP status and the current Firmware version.
->show /SP/redundancy status
/SP/redundancy
Properties:
status = Active
->show /System/firmware
/System/Firmware
Targets:
Other_Firmware
Properties:
system_fw_version = Sun System Firmware 9.x.x.a 2015/03/11 14:26
2. Now we will stop the system and wait till the power_off property sets to off.
-> stop /System
Are you sure you want to stop all of the configured hosts on the system (y/n)? y
Stopping /System
stop:
/HOST0: Stopping
/HOST1: Stopping
...
-> show /System power_state
Properties:
power_state = Off
3. Now go ahead and take a note/backup of current network configuration .
-> show /SP/network
/SP/network
...
Properties:
commitpending = (Cannot show property)
ipdiscovery = static
ipgateway = 10.xxx.x9.x
ipnetmask = 255.255.255.0
pendingipdiscovery = static
pendingipgateway = 10.xxx.x9.1
pendingipnetmask = 255.255.255.0
...
-> show -o table -level 2 /SP/network ipaddress
Target | Property | Value
------------------------------+-----------------------------------+------------------------
/SP/network/ACTIVE_SP | ipaddress | 10.xxx.x9.49
/SP/network/HOST0 | ipaddress | 0.0.0.0
/SP/network/HOST1 | ipaddress | 0.0.0.0
/SP/network/HOST2 | ipaddress | 0.0.0.0
/SP/network/HOST3 | ipaddress | 0.0.0.0
/SP/network/SP0 | ipaddress | 10.xxx.x9.50
/SP/network/SP1 | ipaddress | 10.xxx.x9.51
-> show /SP hostname
...
hostname = m7-8-xxxxxx-a-sp0
...
-> show /HOST0/diag hw_change_level
...
hw_change_level = off
...
-> show /HOST1/diag hw_change_level
...
...
4. Now back up the existing SP configuration
We can use a remote server here to copy the backed up configuration
So that it could be retrieved in case of any failure and it could be secured
with a passphrase.
-> set /SP/config passphrase=passphrase
-> set /SP/config dump_uri=scp://user@IP-address/file-name.xml
The firmware package can be downloaded from here :visit here
5. Now we will load the firmware package to which the system is to
Be upgraded.
For this too we can use the same server as in step 4.
-> load -source http://IP-address/Sun_System_Firmware-9_x_x_a-SPARC_M7-Systems.pkg
6. Now Restore the SP network settings from the serial console for the Active SP.
-> set /SP/network pendingipgateway=IP-address pendingipnetmask=netmask
-> set /SP/network/ACTIVE_SP pendingipaddress=IP-address
-> set /SP/network commitpending=true
Set 'commitpending' to 'true'
7. SP configuration restore
This step will use the backup that we took before starting the upgrade.
Use the same passphrase that was set earlier and the IP address to
Which the configuration was backed up as an xml file.
-> set /SP/config passphrase=passphrase
-> set /SP/config load_uri=scp://user@IP-address/filename.xml
Now you can reboot the SP’s immediately or one by one as per the
Firmware loading step.
8. Load the fallback image.
Use the IP address where you downloaded the Oracle Solaris mini root
Fallback image.
-> load -source http://IP-address/sol-11_3_2_4_0-fallback_boot-sparc.pkg
9. The Firmware package can now be loaded.
-> load -source http://IP-address/Sun_System_Firmware-9_x_x_a-SPARC_M7-Systems.pkg
Once both the SP’s reboot you can confirm all the settings and the new firmware version installed.
REFERENCES: Check for the Oracle DOC reference here: visit here
Comments
Post a Comment