HP Serviceguard Toolkit for Integrity Virtual Servers User Guide (June 2013)

ExampleValueAttribute Name
5number_of_restartservice_restart
300halt_time_outservice_halt_timeout
NPIV Disk monitoring in VM or vPar guest using the SG IVS toolkit
If you are using NPIV Disk, use the application monitoring framework to configure disk monitoring
to detect a failure of NPIV Disks in VM or vPar guest. When there is a failure in any one of the
monitored disks, the VM or vPar package fails over to the configured alternate node.
Usage of NPIV Disks monitoring
cmapp_disk_mon
[-h, --help]
[-v, --version]
[-O, --log-file <log_file>]
[-D, --log-level <1-7>]
[-t, --poll-interval <seconds>]
<disk_drive_path> [<disk_drive_path>...]
where:
[-h/--help]:
[-v/--version]:
[-O, --log-file <log_file>]: It is the full path of the file on VM or vPar host.
[-D, --log-level <0-7>]: The logging information is set into the log, based on the
level of criticality, (0 through 7). The default value is 0.
[-t, --poll-interval <seconds>]: It is the frequency of monitoring or polling the
disk to check its correctness. The default value is 60 seconds. This value must be greater than
0.
<disk_drive_path>.. [<disk_drive_path>]: It is the number of NPIV disks to be
monitored by this service.
Multiple NPIV Disks can be simultaneously monitored by creating a service for the specified disks
in the VM or vPar guest configuration file.
To monitor the NPIV disks in the guest, manually edit the package configuration file as described
in the following table:
ExampleValueAttribute Name
npiv_disk_mon<service_name>service_name
/usr/sbin/cmappmgr -node
remo1 -cmappserver_timeout
/usr/sbin/cmappmgr -node
<guest_name>
service_cmd
240 -service /opt/hp/-cmappserver_timeout
cmappserver/cmapp_disk_mon /<time_out_value> -service /
dev/disk/disk12 /dev/rdisk/opt/hp/cmappserver/
disk13 /dev/disk/disk14cmapp_disk_mon <disk1>
--log_level 3 log_file /var/
adm/vm1_npiv_disk_mon.log
[<disk2>...<diskn>][--log_file
<full_path_on_host>][--log_level
<1-to-7>] [--poll-interval
<number_of_seconds>]
5number_of_restartservice_restart
300halt_time_outservice_halt_timeout
NOTE: You must provide the disk names as input for monitoring once you have specified all the
options.
30 Configuring guest application monitoring service