HP Serviceguard Toolkit for Integrity Virtual Servers manual

Page 32

This process:

Disables application monitoring on all node.

Performs a rolling upgrade: the VM or vPar guest applications is stopped when the packages are stopped.

Upgrades cmappserver on all guests.

Re-enables application monitoring.

To apply this process to upgrade:

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 required for HP Serviceguard A.11.20.

2.Edit all of the packages to disable application monitoring (that is, comment out cmappmgr calls).

3.Reapply the packages.

NOTE: Check that the various cmappmgr services have stopped. Else, stop them.

4.Performs a rolling upgrade on each node.

5.Ensure that all the HP Integrity VM or vPar guest packages are running. NOTE: The services in the VM or vPar guests will not be running.

6.Update cmappserver in every guest.

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

Halt the package.

Re-enable all the cmappmgr calls in each package.

Reapply the package.

Start the package.

32 Configuring guest application monitoring service

Image 32
Contents Abstract Page Contents HP Serviceguard Toolkit for Integrity Virtual Servers OverviewAdvantages DependenciesHP Integrity VM Serviceguard toolkit HP Serviceguard Toolkit for Integrity Virtual Servers Supported configuration VM/vPar as Serviceguard packagesFor example, # cmdeployvpkg -m 1 -P vm1 Network componentsStorage considerations Storage considerations #swremove SG-IVS-Toolkit # swinstall -s depot path# swlist -l product SG-IVS-Toolkit Vparreset Ivshpvmutils VswitchmgrK004vswitchmgr S802vswitchmgrCreating packages Using SG IVS toolkitPreconfiguration Change the vgnamecmd to vgchange -a s Hpvmvolumegroup /dev/vgsharedA Check the configuration of the packageCmmakepkg -m tkit/vtn/vpar -n vparname pkg.conf Using Serviceguard commandsCd /etc/cmcluster/vm/vParname Using SG IVS Toolkit commands Cmdeployvpkg commandServicename Cmapplyconf -P pkg.confManaging packages Running packagesMaintaining packages #cmdeployvpkg -m 1 -P vm or vpar nameConverting packages Halting packagesDeleting 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 HP-UX /opt/hp/cmappserver Key generation on the VM or vPar guestCmappserver Rpm -i cmappserverslesia64.rpm for SlesAdd /opt/hp/cmappserver to the path Cmappservertimeoutcmappserver connection timeout seconds #cmdeployvpkg -P vm1 -x merge -x appmon# cmdeployvpkg -P slvm1 -x merge -x appmon HpuxConfiguring guest application monitoring service Lanmon Usr/sbin/cmappmgr -node remo1 -cmappservertimeout LoglevelHostlogfile full Pathof fileonhostHelp Version Adm/vm1npivdiskmon.logUpgrading cmappmgr/cmappserver combination Configuring guest application monitoring service Online VM guest package migration For example # cmmovevpkg -v -P slvm1 -h xyzo2Online VM guest package migration Troubleshooting Service monitor detected a failure in guest vmnameRun cmdeployvpkg command with -m 0 option Etc/cmcluster/scripts Mscripts Mastercontrolscript.shCmcluster/scripts/tkit/vtn/ tkitmodule.sh Limitations Information to collect before contacting HP How to contact HPSupport and other resources Related information Typographic conventions HP authorized resellersDocumentation feedback TIP Page Page Glossary DMPIndex