HP Serviceguard Toolkit for Integrity Virtual Servers manual

Page 28

Hit return to confirm this entry:

You have enter the following application monitor values:

Name:

ping_mon

Run command:

/apps/ping_mon

Application timeout:

10

Service restart:

none

Service halt timeout:

300

Hit return to confirm

this entry:

Enter an additional application monitor? (y/n):n

Checking communications with the application monitor server on : slvm1

Merging application monitor service with existing package configuration file

Review and/or modify the package configuration file (optional)? (y/n): y

Invoking editor : vi on file /etc/cmcluster/slvm1/slvm1.conf "/etc/cmcluster/slvm1/slvm1.conf" 637 lines, 26089 characters

.

.

~

:q

Copy the package files to each cluster member? (y/n):y

Configure this virtual machine as a distributed guest? (y/n):y

The virtual machine has been successfully configured as a Serviceguard package.

Use cmcheckconf check the package configuration file (optional)? (y/n):y

cmcheckconf: Verification completed with no errors found. Use the cmapplyconf command to apply the configuration

Apply the package configuration file to the cluster (optional)? (y/n):y

One or more of the specified packages are running. Any error in the proposed configuration change could cause these packages to fail. Ensure configuration changes have been tested before applying them. Modify the package configuration ([y]/n)? y

Completed the cluster update

Please see the HP Serviceguard Toolkit for Integrity Virtual Servers user guide for additional instructions on configuring Virtual Machines as Serviceguard packages.

Before running this package:

1.Review the files located in /etc/cmcluster/slvm1/.

2.Add new LVM Volume Groups to the cluster configuration file, if any.

3.Check the cluster and/or package configuration using the cmcheckconf command.

4.Apply the cluster and/or package configuration using the cmapplyconf command.

5.Unmount file systems and deactivate non-shared volumes used by the virtual machine.

6.Start dependent packages associated with shared LVM, CVM or CFS backingstores.

7.Start the package using: cmrunpkg slvm1

#

Configuring DIO LAN and NPIV disks monitoring using cmappmgr/cmappserver

NOTE: DIO LAN or NPIV disks monitoring capabilities are available with HP Serviceguard version A.11.20, PHSS_42558 patch.

DIO LAN monitoring in VM or vPar guest using the SG IVS toolkit

If you are using DIO LAN, use the application monitoring framework to configure LAN monitoring to detect a DIO LAN failure in VM or vPar guest. When there is a failure in the monitored LAN, the VM or vPar package fails over to the configured alternate node.

Usage of DIO LAN monitoring

cmapp_net_mon.pl

--lan <lan_name> --ip <ip_address>

--[guest_logfile <guest log file>] --[host_logfile <host log file>] --[log_level <logging extent>]

28 Configuring guest application monitoring service

Image 28
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 packagesStorage 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 Vparreset Ivshpvmutils VswitchmgrK004vswitchmgr S802vswitchmgrPreconfiguration Using SG IVS toolkitCreating packages Change the vgnamecmd to vgchange -a s Hpvmvolumegroup /dev/vgsharedA Check the configuration of the packageCd /etc/cmcluster/vm/vParname Using Serviceguard commandsCmmakepkg -m tkit/vtn/vpar -n vparname pkg.conf Using SG IVS Toolkit commands Cmdeployvpkg commandServicename Cmapplyconf -P pkg.confManaging packages Running packagesMaintaining packages #cmdeployvpkg -m 1 -P vm or vpar nameDeleting 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 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 Support and other resources How to contact HPInformation to collect before contacting HP Documentation feedback HP authorized resellersRelated information Typographic conventions TIP Page Page Glossary DMPIndex