HP Serviceguard Toolkits for Database Replication Solutions User Guide, March 2012

DescriptionAttributes
Set the IP address used for performing the role switch.
Provide IP address from the subnet that is monitored by
Serviceguard
NOTE: This IP address should not be used to configure
HADR and the HADR must not use this IP for any
purpose. The format of this value should be as follows:
<IP_ADDRESS>:<SUBNET_ADDRESS>
For example: tkit/db2hadr/db2hadr/HADR_IP
10.76.1.200:10.76.1.0, where:
10.76.1.200 is the IP address
10.76.1.0 is the network subnet.
Suppose there are multiple subnets in the network,
HADR_IP must be defined for all the subnets.
For example: tkit/db2hadr/db2hadr/HADR_IP -
10.76.1.200:10.76.1.0
HADR_IP
tkit/db2hadr/db2hadr/HADR_IP -
10.10.1.50:10.10.1.0
Set it either to [yes ]or [no]. The value must be same for
both the primary and standby packages. If it is set to
RESTORE_ROLE
[yes], the toolkit performs a role switch when both
primary and standby databases are in “peer” state but
the current role of the HADR is different from the
configured role of the package (HADR_ROLE package
attribute) on both nodes. This can happen when the
original primary goes down and a forced role takeover
is done by the standby, and later the primary comes up
as standby. The default value is [no].
This attribute should be set if the database is on a
volume group. Configure this attribute, if the database
is on a local disk.
vg
These attributes are assigned if the package is
configured to failover to another node. Also, when the
ip_address and ip_subnet
package fails over from one node to another node,
client traffic IP and interconnect IP must be moved to the
new node. Both the IPs must be defined in the package.
For a sample package configuration file, see “Sample
package configuration file for the DB2 HADR standby
package created using the combined method of
packaging” (page 59)
It is a unique identifier for the dependency. It is used to
describe the relationship between two packages. The
default value is hadr4p_dep.
dependency_name
It describes the condition that must be true to satisfy the
dependency. The value must be pkg = up.
dependency_condition
The syntax is: <package name> = <package status>
It describes the location where the condition must be
satisfied. This is an optional parameter. If it is not
specified, the value must be "same_node".
dependency_location
It specifies the priority of the package. This is an optional
parameter. Valid value is a number from 1 to 3000.
priority
The default value is no_priority. A lower number
(for priority) indicates a higher priority.
If priority is not configured, the package is assigned the
default priority value, no_priority.
46 Serviceguard toolkit for DB2 High Availability Disaster Recovery