HP Serviceguard Toolkit for Integrity Virtual Servers Network components, Storage considerations

Page 8

NOTE:

The SG IVS toolkit can only control the startup of the VM or vPar. Therefore, applications within the VM or vPar guest must be started through the defined initialization sequence, by using cmappmgr and cmappserver appropriately, or by using the native operating system commands.

After a VM or vPar is configured as a Serviceguard package, you must not use HP Integrity VM or HP-UX vPars commands, such as hpvmstart or vparboot, and hpvmstop or vparreset to start or stop the VM or vPars directly from the VM or vPars Host. Run the script cmdeployvpkg with “-m 1” option to enable maintenance mode, and then you can use HP Integrity VM or HP-UX vPars commands.

For example, # cmdeployvpkg -m 1 -P vm1.

Network components

In all VM or vPar configurations, you must create vswitches on the VM or vPar Host to enable guests to access network devices. When you configure vswitches in VMs or vPars as Serviceguard packages configuration, configure vswitches only on the pNICs associated with the primary LANs. You must not configure a vswitch on the pNIC associated with the Serviceguard Heartbeat network or the pNIC associated with the standby LAN.

When the Serviceguard network monitor detects a network failure on the pNIC associated with a primary LAN, it fails over the LAN to the pNIC associated with the standby LAN. When this occurs, the vswitch monitor, which is responsible for monitoring the activities of the Serviceguard network monitor, automatically moves the vswitch configuration from the pNIC associated with the primary LAN to the pNIC associated with the standby LAN.

All VLAN configurations supported by Integrity Virtual Machines, Serviceguard, or vPars are supported in VMs or vPars as Serviceguard packages configurations.

NOTE:

Ensure that you configure the vswitches on the adoptive node. If you are using the VLAN feature of Integrity VM or vPars vswitches, make sure that appropriate VLAN IDs are assigned to each port.

If you have configured a guest with DIO LAN and want to package it in the Serviceguard cluster, you must set the parameter HPVMDIOSGPKG=1 in the /etc/rc.config.d/hpvmconf file on all the cluster nodes, before creating guest package in the cluster.

Storage considerations

VM or vPars-as-Serviceguard-package configurations support VM or vPar guests backing stores. The package configurations support files on the following storage types:

Whole Disks

CFS

SLVM

VxVM Logical Volumes

NFS

cDSF

DMP

HP recommends that you place the VM or vPar guest backing stores on the shared storage, so that they are accessible to all VM or vPar Hosts in the Serviceguard cluster and allows failover of the VM or vPar guests. The shared storage for VM or vPar Hosts which runs this package and enables failover of the VM or vPar guests, and a standard Serviceguard cluster is configured in the same

8Supported configuration

Image 8
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