HP Serviceguard Toolkit for Integrity Virtual Servers Using SG IVS Toolkit commands, Servicename

Page 16

Attributes

Description

MAINTENANCE_FLAG

This attribute is used to indicate if the VM or vPar guest

 

package can run in maintenance mode. The default

 

value is [yes].

MONITOR_INTERVAL

This is the time interval (in seconds) between the monitor

 

cycles and the default value is 30 seconds. The toolkit

 

monitors the health of the package every

 

[MONITOR_INTERVAL ]seconds.

service_name

Name of the service that Serviceguard monitors while

 

the package is up. This name must be unique for VM

 

or vPar guest package in a Serviceguard cluster. The

 

default name for a VM and vPar package is vm_name

 

and vpar_name, respectively. When you use the

 

cmdeployvpkg command, <vm_name> or

 

<vpar_name> is added as the value of this attribute.

5.After the package configuration file is edited, save the file.

6.To validate the package configuration file, run the command: cmcheckconf –P pkg.conf

7.To apply the package configuration file if the cmcheckconf command succeeds, run the command:

cmapplyconf -P pkg.conf

Confirm if you want to modify the package configuration. The default value is [yes]

8.To enable auto run and package failover, run the following commands:

$ cmmodpkg -e -n <node_1>...-n <node_n> <package name>

$ cmmodpkg -e <package name>

9.To check the status of the package, run the command: cmviewcl.

Using SG IVS Toolkit commands

The cmdeployvpkg command assists you to create and manage Serviceguard package configurations for HP Integrity VM and HP-UX vPars. This command automates the configuration steps performed using the Serviceguard commands.

Run cmdeployvpkg -P <vm/vpar_name> [....] to configure the VM or vPar as a

Serviceguard package.

Before applying the configuration, you must review the generated package configuration file, to ensure that correct logical volumes, mount points are identified and included in the package configuration files.

The cmdeployvpkg command:

Verifies the Serviceguard cluster environment.

Verifies the VM or vPar environment.

Identifies the Serviceguard modules and attribute values.

Creates a Serviceguard package configuration file.

Configures a set of HP Integrity servers grouped into a VM or vPar multi server environment.

After you run the cmdeployvpkg command, to package a guest containing CVM or CFS backing store entries, review and modify the package configuration file.

For more information on cmdeployvpkg command, see the cmdeployvpkg(1) manpage.

16 Using SG IVS toolkit

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