Upgrading
VCS 4.1 requires the HP-UX 11iv2 operating system. You must uninstall previous versions of VCS before performing the upgrade.
All custom agents must have their types defined in files named *.cf, located in /etc/VRTSvcs/conf/config. All files that the custom agent needs must be located in /opt/VRTSvcs/bin/AgentName directory.
-
Log on as root user on a node where VCS is running with the old configuration.
-
Backup all system configuration files, triggers, and custom agents (main.cf and custom agent types files) in a safe location before upgrading. For example:
# cp /etc/VRTSvcs/conf/config/main.cf /path/to/stored/config/file/main.cf
-
Uninstall previous versions of VCS. Perform the uninstallation according to the Installation Guide for the version of VCS that you currently use.
-
Perform the operating system upgrade to HP-UX 11iv2 according to the appropriate HP-UX operating system documentation.
Caution
In the next step, you are asked to start the VCS installation. During installation do not start VCS.
-
Perform the VCS installation to version 4.1 and restore the VCS configuration information.
At the following prompt, do not proceed:
Do you want to start VCS processes now ? (Y/n):
Stop and switch to another window. Do not close the window from where you ran the installer. See VCS Installation Utility.
-
If there are any binary custom agents, they will need a recompile. See VERITAS Cluster Server Agent Developer's Guide (vcs_adg.pdf), for more information.
-
Save the main.cf generated by the installer program.
# cp /etc/VRTSvcs/conf/config/main.cf /etc/VRTSvcs/conf/config/main.cf.generated.for.4.1
-
Restore the following files, agents, and triggers:
- Restore the saved main.cf file to the /etc/VRTSvcs/conf/config directory.
# cp /path/to/stored/config/file/main.cf /etc/VRTSvcs/conf/config/
- Restore the saved custom agent config files to the /etc/VRTSvcs/conf/config directory
# cp /path/to/stored/custom/agents/files/*.cf /etc/VRTSvcs/conf/config/
- Restore all custom triggers to triggers directory.
# cp /path/to/stored/triggers/* /opt/VRTSvcs/bin/triggers/
# cp /path/to/stored/internal_triggers/* /opt/VRTSvcs/bin/internal_triggers/
-
Remove the definition of the ClusterServiceGroup if it exists in the main.cf.
-
Copy the definition of the ClusterServiceGroup, with all the resources in that group, from the main.cf.generated.for.4.1 and paste it into /etc/VRTSvcs/conf/config/main.cf.
-
Refer to enterprise and custom agent's documentation for the upgrade procedure. Complete the upgrades for these agents before proceeding.
-
Verify that the configuration. Run the hacf -verify config command to check for errors.
-
Return to the window where you ran the installer in step 5.
-
Answer Y when prompted to start VCS.
|