Attribute Name

Value

Example

service_restart

number_of_restart

5

service_halt_timeout

halt_time_out

300

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:

Attribute Name

Value

Example

service_name

<service_name>

npiv_disk_mon

service_cmd

/usr/sbin/cmappmgr -node

/usr/sbin/cmappmgr -node

 

<guest_name>

remo1 -cmappserver_timeout

 

-cmappserver_timeout

240 -service /opt/hp/

 

<time_out_value> -service /

cmappserver/cmapp_disk_mon /

 

opt/hp/cmappserver/

dev/disk/disk12 /dev/rdisk/

 

cmapp_disk_mon <disk1>

disk13 /dev/disk/disk14

 

[<disk2>...<diskn>][--log_file

--log_level 3 –log_file /var/

 

<full_path_on_host>][--log_level

adm/vm1_npiv_disk_mon.log

 

<1-to-7>] [--poll-interval

 

 

<number_of_seconds>]

 

service_restart

number_of_restart

5

service_halt_timeout

halt_time_out

300

NOTE: You must provide the disk names as input for monitoring once you have specified all the options.

30 Configuring guest application monitoring service

Page 30
Image 30
HP Serviceguard Toolkit for Integrity Virtual Servers manual Help Version, Adm/vm1npivdiskmon.log