A Sample package configuration file for HP Integrity VM guest package
This section provides with a sample package configuration file for HP Integrity VM guest package:
#**********************************************************************
#****** HIGH AVAILABILITY PACKAGE CONFIGURATION FILE (template) *******
#**********************************************************************
#******* Note: This file MUST be edited before it can be used. ********
#* For complete details about package parameters and how to set them, *
#* consult the Serviceguard manual.
#**********************************************************************
package_name | slvm1 |
package_description | "Serviceguard Package" |
module_name | sg/basic |
module_version | 1 |
module_name | tkit/vtn/vtn |
module_version | 1 |
module_name | sg/priority |
module_version | 1 |
module_name | sg/failover |
module_version | 1 |
module_name | sg/external |
module_version | 1 |
module_name | sg/service |
module_version | 1 |
module_name | sg/monitor_subnet |
module_version | 1 |
package_type | failover |
node_name node1 |
|
node_name node2 |
|
auto_run | yes |
node_fail_fast_enabled | no |
run_script_timeout | no_timeout |
halt_script_timeout | no_timeout |
successor_halt_timeout | no_timeout |
script_log_file | $SGRUN/log/$SG_PACKAGE.log |
operation_sequence | $SGCONF/scripts/tkit/vtn/tkit_module.sh |
operation_sequence | $SGCONF/scripts/sg/external.sh |
operation_sequence | $SGCONF/scripts/sg/service.sh |
failover_policy | configured_node |
failback_policy | manual |
dependency_name dependency_condition dependency_location
hpvm_slvm hpvm_slvm = up same_node
#********************** VTN TOOLKIT PARAMETERS**********************
tkit/vtn/vtn/TKIT_DIR/etc/cmcluster/slvm1 tkit/vtn/vtn/MAINTENANCE_FLAG yes tkit/vtn/vtn/MONITOR_INTERVAL 30
priority | no_priority |
#VM Service |
|
service_name | slvm1 |
service_cmd | "$SGCONF/scripts/tkit/vtn/tkit_module.sh guest_monitor" |
service_restart | none |
service_fail_fast_enabled | no |
service_halt_timeout | 300 |
local_lan_failover_allowed | yes |
monitored_subnet | 15.154.112.0 |
#Guest Application Monitor |
|
service_name | ping_mon |
41