Skip to main content

Firmware Upgrade Procedure on Oracle M7 server (for version below 9.5.2.g)

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

Popular posts from this blog

Ubuntu Xrdp installation with Mate Desktop

The process for installation of Mate Desktop along with Xrdp on Ubuntu is as follows:  1. Update Repository      sudo apt update 2. Upgrade Ubuntu         Note: If asked to override PAM configuration, select No (and make         sure to select correct boot drive if requested)      sudo apt upgrade 3. Set iptables rules      sudo iptables -A INPUT -p tcp --dport 3389 -j ACCEPT      sudo iptables-save | sudo tee -a /etc/iptables/rules.v4      sudo reboot 4. Install xrdp and Mate Desktop      sudo apt install libgl1-mesa-dri fonts-dejavu mate-session-manager \      mate-panel marco caja mate-terminal mate-applet-brisk-menu \      mate-dock-applet mate-indicator-applet mate-indicator-applet-common \      ubuntu-mate-icon-themes mate-applets-common plank \      mate-hud mate-menu mate-apple...

Solaris Installation From FLAR [FLASH ARCHIVE]

login as: username Password: user@hostname:~$ user@hostname:~$ user@hostname:~$ user@hostname:~$ su - Password: Oracle Corporation       SunOS 5.11       11.2     November 2019 You have new mail. user@hostname:~# bash user@hostname:~# #LIST THE DOMAINS ON BASE MACHINE root@hostname:~# ldm list NAME             STATE       FLAGS   CONS     VCPU   MEMORY   UTIL   NORM   UPTIME primary           active     -n-cv-   UART     32     64G       0.3%   0.3%   139d 13h hostname-AI-REPO active     -n----   5001     16     32G       0.1%   0.1%   139d 13h hostname-LD02 active     -n----   5002     32     32G       0.0%   0.0%   15m hostname-LD03 bound       ------...

Ldom Backup & Restore

1. Login to control Domain and list the current configuration file. bash-3.2# ldm list-spconfig basic_configuration new_configuration [current] 2.To take the complete LDOM configuration backup use below command. # ldm list-constraints -x >config.xml 3.You can also  take the configuration backup for specific LDOM # ldm list-constraints -x ldom_name > ldom_name.xml How to restore the system to factory default  1. Login to the control domain console and remove the spconfig profile. bash-3.2# ldm ls-spconfig basic_configuration new_configuration[current] bash-3.2# ldm  remove-spconfig new_configuration bash-3.2# ldm ls-spconfig basic_configuration [next poweron] 2.Power cycle the server to take the changes effect. bash-3.2# init 5 -> show /SYS   Properties:         type = Host System         ipmi_name = /SYS         keyswitch_state...