HP Serviceguard Toolkit for Integrity Virtual Servers manual Storage considerations

Page 9

way. However, the shared storage must be defined as VM or vPar guest storage devices that are exclusively used by a specific VM or vPar guest.

Both standard LVM and VxVM logical volumes are active and available on only one Serviceguard node at a time. Whole disks, Shared LVM logical volumes, and VxVM logical volumes managed by the Cluster Volumes Manager (CVM) and files on a Cluster Files System can be configured to be active and available on multiple Serviceguard nodes simultaneously. When you configure VMs or vPars as Serviceguard packages, ensure that only one guest on one node can access these backing store types.

The easy deployment script, cmdeployvpkg, offered by the toolkit is used to create the Serviceguard package configuration file to deploy high availability solution to VM or vPar guests in Serviceguard environment. This script determines the cluster shared backing store and application data storage used by the VM or vPar guest that is to be packaged. Also, it adds the appropriate logical volume and mount point entries into the package configuration file for VM or vPar guest failover.

When you create a Serviceguard cluster with virtual machines acting as packages, the cmdeployvpkg script correctly identifies CVM logical volumes and CFS files backing stores used by guests, but requires you to verify or provide activation modes, and package dependencies for the backing stores.

For information on setting up the storage for Serviceguard package, see the latest:

Managing Serviceguard manual available at www.hp.com/go/hpux-serviceguard-docsHP Serviceguard

Veritas Storage Foundation 5.0.1 Cluster File System Administrator's Guide Extracts for the

HP Serviceguard Storage Management Suite on HP-UX 11i v3 manual available at www.hp.com/go/hpux-serviceguard-docsHP Serviceguard Storage Management Suite A.03.xx (with 5.0.1 Veritas)

NOTE: If you configure a guest with either DIO LAN or NPIV disks or both, you must use the application monitoring services to configure DIO LAN or NPIV disk monitoring or both.

For more information on configuring DIO LAN and/or NPIV disk monitoring, see “Configuring DIO LAN and NPIV disks monitoring using cmappmgr/cmappserver” (page 28).

Storage considerations

9

Image 9
Contents Abstract Page Contents Overview HP Serviceguard Toolkit for Integrity Virtual ServersAdvantages DependenciesHP Integrity VM Serviceguard toolkit HP Serviceguard Toolkit for Integrity Virtual Servers VM/vPar as Serviceguard packages Supported configurationNetwork components Storage considerationsFor example, # cmdeployvpkg -m 1 -P vm1 Storage considerations # swinstall -s depot path # swlist -l product SG-IVS-Toolkit#swremove SG-IVS-Toolkit Vswitchmgr Vparreset IvshpvmutilsK004vswitchmgr S802vswitchmgrUsing SG IVS toolkit PreconfigurationCreating packages Change the vgnamecmd to vgchange -a s Check the configuration of the package Hpvmvolumegroup /dev/vgsharedAUsing Serviceguard commands Cd /etc/cmcluster/vm/vParnameCmmakepkg -m tkit/vtn/vpar -n vparname pkg.conf Cmdeployvpkg command Using SG IVS Toolkit commandsServicename Cmapplyconf -P pkg.confRunning packages Managing packagesMaintaining packages #cmdeployvpkg -m 1 -P vm or vpar nameHalting packages Deleting 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 Loglevel Lanmon Usr/sbin/cmappmgr -node remo1 -cmappservertimeoutHostlogfile full Pathof fileonhostAdm/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 Service monitor detected a failure in guest vmname TroubleshootingRun cmdeployvpkg command with -m 0 option Etc/cmcluster/scripts Mscripts Mastercontrolscript.shCmcluster/scripts/tkit/vtn/ tkitmodule.sh Limitations How to contact HP Support and other resourcesInformation to collect before contacting HP HP authorized resellers Documentation feedbackRelated information Typographic conventions TIP Page Page DMP GlossaryIndex