HP Serviceguard for Linux Advanced Version 12.00.00 Release Notes, May 2014

7.6 Performing rolling upgrades
You can perform online or offline rolling upgrade of HP Serviceguard for Linux across major versions
starting from A.11.20.X and later in the following ways:
“Rolling upgrade from A.11.20.X to A.12.00.00”
“Rolling upgrade from A.11.19.X to A.12.00.00”
“Performing offline rolling upgrade from A.11.18.X to A.12.00.00”
You can also upgrade from HP Serviceguard for Linux Advanced to HP Serviceguard for Linux
Enterprise, in which case the additional components are installed. For more information on how
to upgrade, see “Upgrading HP Serviceguard for Linux packages.
7.6.1 Rolling upgrade from A.11.20.X to A.12.00.00
You can perform rolling upgrade of HP Serviceguard for Linux from A.11.20.X to A.12.00.00 in
the following ways:
“Upgrading HP Serviceguard for Linux using cmupgrade tool”
“Upgrading HP Serviceguard for Linux the traditional way”
“Upgrading HP Serviceguard for Linux using YUM or Zypper
Upgrading HP Serviceguard for Linux using cmupgrade tool
The cmupgrade is the new tool introduced in HP Serviceguard for Linux A.12.00.00 which helps
you in upgrading HP Serviceguard and its components, such as Serviceguard Manager, Toolkits,
Extended Distance Cluster and Metrocluster except for SGeSAP.
The cmupgrade tool can be used to perform the previously mentioned upgrades on all Linux distros
supported by Serviceguard. For information about supported versions, see HP Serviceguard for
Linux Certification Matrix available at http://www.hp.com/go/sglx/info.
Prerequisites
Before you begin to use the cmupgrade tool, ensure that the following prerequisites are met:
You must be a root user to run the cmupgrade tool.
You must have execute permission to run the cmupgrade tool.
Ensure that PERL is installed on the system to run the cmupgrade tool.
Ensure that you run the cmupgrade tool on all the nodes that are part of the cluster.
Ensure that the Jetty server and Java are installed on the nodes before you run the cmupgrade
tool. Also, ensure that java -version command displays the version greater than or equal
to 1.7.0 in the output.
To perform the rolling upgrade from A.11.20.X to A.12.00.00 using cmupgrade tool:
1. Enable global switching for packages running on node 1.
The cmmodpkg command enables switching of the package.
For example, #cmmodpkg -e pkg1
2. Halt first node.
Halt the node you want to upgrade. This results in the node's packages to start up on an
adoptive node. The Serviceguard daemon on node 1 is halted.
For example, #cmhaltnode -f node1
3. You can upgrade node as follows:
7 Rolling software upgrade 19