HP Serviceguard Toolkit for Integrity Virtual Servers Upgrading cmappmgr/cmappserver combination

Page 31

Upgrading cmappmgr/cmappserver combination

You can upgrade the VM or vPar guest monitoring functionality while upgrading HP Serviceguard, in two ways. The difference between these two ways is the number of live migrations compared to the VM or vPar guest application downtime.

Process 1: This process takes advantage of how cmappserver works. If cmappserver loses communication with cmappmgr, it does not halt the applications that were being monitored, but there is loss of the monitoring function.

This process:

Disables application monitoring on all nodes.

Performs a rolling upgrade.

Upgrades cmappserver on all VM or vPar guests.

Re-enables application monitoring.

To apply this process to upgrade VM or vPar guest monitoring functionality:

1.Optional: If this is an upgrade from HP Serviceguard A.11.19 to HP Serviceguard A.11.20, ensure that all service calls to the VM or vPar guest are unique, even if it means adding extra spaces.

NOTE: This is a requirement of HP Serviceguard A.11.20.

2.To disable application monitoring (that is, comment out cmappmgr calls), edit all the packages.

3.Reapply the packages.

Application monitoring is not used while reapplying, therefore, these VM or vPar guests can now be live-migrated.

NOTE: Check and ensure that the various cmappmgr services are stopped.

4.Live-migrate all the VM or vPar guests from one node and upgrade the HP Serviceguard on that node. After a node is upgraded, the other HP Integrity VM or vPar guest packages can be live-migrated to this node.

NOTE: Packages can be moved if there are issues with live migration, but the services stop and cannot be restarted until the last step is performed.

5.Live-migrate the packages from each node that must be upgraded, and then upgrade that node.

6.Optional: Live-migrate the packages between nodes to balance the cluster and VM or vPar guests.

7.Update cmappserver in every VM or vPar guest

8.For each HP Integrity VM or vPar guest package that used guest monitoring, do the following:

a.Halt the package.

b.Re-enable all of the cmappmgr calls in each package.

c.Reapply the package.

d.Start the package.

NOTE: The applications on the VM or vPar guests are not available for a short period, during the live migration and between halting and restarting the package.

Process 2: In this process VM or vPar guests can reboot rather than use live migration. After the first reboot, the services in the VM or vPar guests are stopped and are not restarted until the upgrade is complete.

Upgrading cmappmgr/cmappserver combination 31

Image 31
Contents Abstract Page Contents Dependencies HP Serviceguard Toolkit for Integrity Virtual ServersOverview AdvantagesHP Integrity VM Serviceguard toolkit HP Serviceguard Toolkit for Integrity Virtual Servers VM/vPar as Serviceguard packages Supported configurationStorage considerations Network componentsFor example, # cmdeployvpkg -m 1 -P vm1 Storage considerations # swlist -l product SG-IVS-Toolkit # swinstall -s depot path#swremove SG-IVS-Toolkit S802vswitchmgr Vparreset IvshpvmutilsVswitchmgr K004vswitchmgrPreconfiguration Using SG IVS toolkitCreating packages Change the vgnamecmd to vgchange -a s Check the configuration of the package Hpvmvolumegroup /dev/vgsharedACd /etc/cmcluster/vm/vParname Using Serviceguard commandsCmmakepkg -m tkit/vtn/vpar -n vparname pkg.conf Cmapplyconf -P pkg.conf Using SG IVS Toolkit commandsCmdeployvpkg command Servicename#cmdeployvpkg -m 1 -P vm or vpar name Managing packagesRunning packages Maintaining packagesDeleting packages Halting packagesConverting packages Run cmdeployvpkg -C -P vmname Configuring guest application monitoring service Failure of a monitored VM or vPar guest application Configuring guest application monitoring service Key generation on the VM or vPar guest HP-UX /opt/hp/cmappserverRpm -i cmappserverslesia64.rpm for Sles CmappserverAdd /opt/hp/cmappserver to the path #cmdeployvpkg -P vm1 -x merge -x appmon Cmappservertimeoutcmappserver connection timeout secondsHpux # cmdeployvpkg -P slvm1 -x merge -x appmonConfiguring guest application monitoring service Pathof fileonhost Lanmon Usr/sbin/cmappmgr -node remo1 -cmappservertimeoutLoglevel Hostlogfile fullAdm/vm1npivdiskmon.log Help VersionUpgrading cmappmgr/cmappserver combination Configuring guest application monitoring service For example # cmmovevpkg -v -P slvm1 -h xyzo2 Online VM guest package migrationOnline VM guest package migration Etc/cmcluster/scripts Mscripts Mastercontrolscript.sh TroubleshootingService monitor detected a failure in guest vmname Run cmdeployvpkg command with -m 0 optionCmcluster/scripts/tkit/vtn/ tkitmodule.sh Limitations Support and other resources How to contact HPInformation to collect before contacting HP Documentation feedback HP authorized resellersRelated information Typographic conventions TIP Page Page DMP GlossaryIndex