The tasks that you need to perform when upgrading the Solaris operating system include the following:
To stop VCS
Make the VCS configuration writable. On the first system, type:
# haconf -makerw
Move all service groups from the node you are plan to upgrade to another system. Keep services from failing over to this server. On the system where you plan to upgrade, type:
# hasys -freeze -persistent -evacuate upgrade_server
Check if all service groups and resources are offline on the system and online on the other system. Type:
# hastatus -summary
Close the configuration and unload the VCS services on the system that you plan to upgrade. On the system that you plan to upgrade, type:
# haconf -dump -makero # hastop -local
Confirm that VCS has stopped. On the upgrading system, type:
# gabconfig -a
GAB Port Memberships ======================================= Port a gen 23dc0001 membership 01
To reinstall fencing, GAB, and LLT from the software disc and restart
In single-user mode, log on as superuser on the system that you have upgraded.
Check whether the /tmp directory is mounted.
# mount
If the /tmp directory is not mounted, then enter:
# mount /tmp
Create a directory for installation:
# mkdir /tmp/install
Insert the software disc with the VCS software into a system drive where you have upgraded. The Solaris volume-management software automatically mounts the disc as /cdrom/cdrom0. Type the command:
# cd /cdrom/cdrom0
Copy the package files from the software disc to the temporary directory:
# cp -r pkgs/VRTSllt.pkg /tmp/install # cp -r pkgs/VRTSgab.pkg /tmp/install # cp -r pkgs/VRTSvxfen.pkg /tmp/install
Bring up the system in multi-user mode:
# cd / # init 3
To restart VCS
Verify that VCS services are running on the upgraded server. On the upgraded server, type:
# ps -ef | grep ha root 576 1 0 16:54:12 ? 0:02 /opt/VRTSvcs/bin/had root 578 1 0 16:54:13 ? 0:00 /opt/VRTSvcs/bin/hashadow
If the VCS services are not running, reload the VCS services. Type:
# hastart
Make the configuration writable.
# haconf -makerw
Unfreeze the upgraded server and save the configuration. On the upgraded server, type:
# hasys -unfreeze -persistent upgraded_server # haconf -dump -makero