HP Serviceguard Toolkits for Database Replication Solutions User Guide, March 2012
DescriptionAttributes
Name of the service that Serviceguard monitors while
the package is up. This name must be unique for both
service_name
primary and standby packages in a Serviceguard
cluster. The default value for DB2 and DB2 HADR service
is db2_service and db2hadr_service,
respectively.
It is the command line to start the service.service_cmd
For DB2 service:$SGCONF/scripts/ecmt/db2/
tkit_module.sh db2_monitor.
For DB2 HADR service:$SGCONF/scripts/tkit/
db2hadr/tkit_module.sh db2hadr_monitor.
This attribute specifies the number of times the service
was restarted before failing. The default value is [none].
service_restart
This attribute enables Serviceguard to halt the node if
the service fails on that node. The default value is set to
[no].
service_fail_fast_enabled
It is used to determine the duration for which
Serviceguard waits for the service to halt before a
SIGKILL signal. The default value is [300 seconds].
service_halt_timeout
For DB2 HADR Service
Name of the service that Serviceguard monitors while
the package is up. This name must be unique for both
service_name
primary and standby packages in a Serviceguard
cluster. The default value is db2hadr_service.
$SGCONF/scripts/tkit/db2hadr/
tkit_module.sh db2hadr_monitor
service_cmd
This attribute specifies the number of times the service
was restarted before failing. The default value is [none].
service_restart
This attribute enables Serviceguard to halt the node if
the service fails on that node. The default value is set to
[no].
service_fail_fast_enabled
It is used to determine the duration for which
Serviceguard waits for the service to halt before a
SIGKILL signal. The default value is [300 seconds].
service_halt_timeout
NOTE:
• If you are using separate packaging method to create the DB2 HADR package, specify
a package dependency for the corresponding ECMT DB2 package.
• If separate packaging method is used to create a package, set the dependency and
priority attributes for the package while setting up the package for failover. All the HADR
packages are dependent on the ECMT DB2 package and the priority of the ECMT DB2
package must be lower than the HADR packages. Also, specify the dependency between
HADR packages so that the HADR package with higher priority must depend on the other
HADR package with lower priority. This ensures that if one package fails, all the packages
configured for that instance are moved to the alternate node.
For more information on package dependencies and priorities, see the latest Managing
Serviceguard manual at www.hp.com/go/hpux-serviceguard-docs → HP Serviceguard.
For additional information, see Dragging Rules for Simple Dependencies in the latest Managing
Serviceguard manual at www.hp.com/go/hpux-serviceguard-docs → HP Serviceguard.
Using the DB2 HADR toolkit 47