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

Page 16
Image 16
HP Serviceguard Toolkit for Integrity Virtual Servers Using SG IVS Toolkit commands, Cmapplyconf -P pkg.conf, Servicename