Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Managing Serviceguard Fifteenth Edition > Appendix E Software Upgrades

Example of a Rolling Upgrade

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

NOTE: Warning messages may appear during a rolling upgrade while the node is determining what version of software is running. This is a normal occurrence and not a cause for concern.

The following example shows a simple rolling upgrade on two nodes running one package each, as shown in Figure E-1 “Running Cluster Before Rolling Upgrade ”. (This and the following figures show the starting point of the upgrade as “SG (old)” and “HP-UX (old)”, with a roll to “SG (new)” and “HP-UX (new)”. Substitute the actual release numbers of your rolling upgrade path.)

Figure E-1 Running Cluster Before Rolling Upgrade

Running Cluster Before Rolling Upgrade

Step 1.

Halt the first node, as follows

cmhaltnode -f node1 

This will cause pkg1 to be halted cleanly and moved to node 2. The Serviceguard daemon on node 1 is halted, and the result is shown in Figure E-2 “Running Cluster with Packages Moved to Node 2 ”.

Figure E-2 Running Cluster with Packages Moved to Node 2

Running Cluster with Packages Moved to Node 2

Step 2.

Upgrade node 1 to the next operating system release (“HP-UX (new)”), and install the next version of Serviceguard (“SG (new)”).

Figure E-3 Node 1 Upgraded to new HP-UX version

Node 1 Upgraded to new HP-UX version

Step 3.

When upgrading is finished, enter the following command on node 1 to restart the cluster on node 1.

cmrunnode -n node1 

At this point, different versions of the Serviceguard daemon (cmcld) are running on the two nodes, as shown in Figure E-4 “Node 1 Rejoining the Cluster ”.

Figure E-4 Node 1 Rejoining the Cluster

Node 1 Rejoining the Cluster

Step 4.

Repeat the process on node 2. Halt the node, as follows:

cmhaltnode -f node2 

This causes both packages to move to node 1. Then upgrade node 2 to the new versions of HP-UX and Serviceguard.

Figure E-5 Running Cluster with Packages Moved to Node 1

Running Cluster with Packages Moved to Node 1

Step 5.

Move pkg2 back to its original node. Use the following commands:

cmhaltpkg pkg2 
cmrunpkg -n node2 pkg2 
cmmodpkg -e pkg2 

The cmmodpkg command re-enables switching of the package, which was disabled by the cmhaltpkg command. The final running cluster is shown in Figure E-6 “Running Cluster After Upgrades ”.

Figure E-6 Running Cluster After Upgrades

Running Cluster After Upgrades
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.