HADRDBType XML schema definition for Db2 High Availability Instance Configuration Utility (db2haicu) input files

A HADRDBType element contains a list of High Availability Disaster Recovery (HADR) primary and standby database pairs.

Superelements

The following types of elements contain HADRDBType subelements:

XML schema definition


<xs:complexType name='HADRDBType'> 
 <xs:sequence> 
   <xs:element name='HADRDB' type='HADRDBDefn'  minOccurs='1'  maxOccurs='1'/> 
   <xs:element name='VirtualIPAddress' type='IPAddressType' minOccurs='0' maxOccurs='1'/> 
 </xs:sequence> 
</xs:complexType> 

Subelements

VirtualIPAddress
Type:
IPAddressType

A IPAddressType element contains all the details of an IP address such as: the base address, the subnet mask, and the name of the network to which the IP address belongs.

Occurrence rules:
You can including zero or more VirtualIPAddress elements in your HADRDBType element.
HADRDB
Type:
HADRDBDefn

A HADRDBDefn element contains information about a High Availability Disaster Recovery (HADR) primary and standby database pair.

Occurrence rules:
You can include one or more VirtualIPAddress elements in your HADRDBType element.

Attributes

None.

Usage notes

If you include a HADRDBType element in the specification for a given cluster domain, then you must also include a FailoverPolicy element specifying HADRFailover in the same cluster domain specification.

Restrictions

You cannot use the HADRDBType element in a partitioned database environment.

The following example is of an HADRDBType element:
<HADRDBSet>
 <HADRDB databaseName="HADRDB" localInstance="db2inst1"
  remoteInstance="db2inst1" localHost="linux01" remoteHost="linux02" />
 <VirtualIPAddress baseAddress="9.26.124.22" subnetMask="255.255.245.0"
  networkName="db2_public_network_0"/>
</HADRDBSet>