User's Manual
DescriptionAttributes
This is the time interval (in seconds) between the monitor
cycles and the default value is 30 seconds. The toolkit
MONITOR_INTERVAL
monitors the health of the package every
[MONITOR_INTERVAL ]seconds.
This attribute must be assigned to the volume group
name, if the VM guest or VM guest application is using
the volume group for the backing store.
vg
Name of the service that Serviceguard monitors while
the package is up. This name must be unique for VM
service_name
guest package in a HP Serviceguard cluster. The default
value is “vm_name”. When you use the cmdeployvpkg
command, <vm_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
8. Confirm if you want to modify the package configuration. The default value is [yes]
9. 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>
10. To check the status of the package, run the command: cmviewcl.
Using easy deployment
The cmdeployvpkg command assists you to create and manage Serviceguard package
configurations for HP Integrity VM. This command automates the configuration steps performed
using the Serviceguard commands.
Run cmdeployvpkg -P <vm_name> [....] to package the virtual machine 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 virtual machine environment.
• Identifies the Serviceguard modules and attribute values.
• Creates a Serviceguard package configuration file.
• Configures a set of HP Integrity VM servers grouped into an HP Integrity VM multi server
environment.
After you run the cmdeployvpkg command, to package a VM guest containing CVM or CFS
backing store entries, review and modify the package configuration. Add either CVM or CFS or
both backing store entries to these files.
For more information on cmdeployvpkg command, see the “cmdeployvpkg(1)” manpage.
Creating packages 11