DB2PartitionType XML schema element for Db2 High Availability Instance Configuration Utility (db2haicu) input files
A DB2PartitionType
element specifies a
database partition including the Db2® database manager
instance to which the database partition belongs and the database partition number.
Superelements
InterfaceType
is
a subelement of:
XML schema definition
<xs:complexType name='DB2PartitionType'>
<xs:sequence>
<xs:element name='VirtualIPAddress'
type='IPAddressType'
minOccurs='0'
maxOccurs='unbounded'/>
<xs:element name='Mount'
type='MountType'
minOccurs='0'
maxOccurs='unbounded'/>
<xs:element name='HADRDB'
type='HADRDBType'
minOccurs='0'
maxOccurs='unbounded'/>
<xs:element name='MutualPair'
type='MutualPolicyType'
minOccurs='0'
maxOccurs='1'/>
<xs:element name='NPlusMNode'
type='NPlusMPolicyType'
minOccurs='0'
maxOccurs='unbounded'/>
<xs:element name='CustomNode'
type='CustomPolicyType'
minOccurs='0'
maxOccurs='unbounded'/>
</xs:sequence>
<xs:attribute name='instanceName' type='xs:string' use='required'/>
<xs:attribute name='dbpartitionnum' type='xs:integer' use='required'/>
</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.You can omit including
VirtualIPAddress
; or you can include an unbounded number ofVirtualIPAddress
elements in yourDB2PartitionType
element. - Mount
- Type:
MountType
A
MountType
element contains information about a mount point such as the file path that identifies the location of the mounted files.You can omit including
Mount
; or you can include an unbounded number ofMount
elements in yourDB2PartitionType
element.There is no XML element to specify non-critical mount points in DPF/single-partition setup. If the user intends to set up non-critical mount points, they would need to specify all critical mount points using the
MountType
element. Any element not included in this list will be considered non-critical. If this element is not specified, then no mount points will be considered as non-critical. - HADRDB
- Type:
HADRDBType
A
HADRDBType
element contains a list of High Availability Disaster Recovery (HADR) primary and standby database pairs.You can omit including
HADRDB
; or you can include an unbounded number ofHADRDB
elements in yourDB2PartitionType
element. - MutualPair
- Type:
MutualPolicyType
A
MutualPolicyType
element contains information about a pair of cluster domain nodes that can failover for each other.You can omit including
MutualPair
; or you can include exactly oneMutualPair
elements in yourDB2PartitionType
element. - NPlusMNode
- Type:
NPlusMPolicyType
You can omit including
NPlusMNode
; or you can include an unbounded number ofNPlusMNode
elements in yourDB2PartitionType
element. - CustomNode
- Type:
CustomPolicyType
You can omit including
CustomNode
; or you can include an unbounded number ofCustomNode
elements in yourDB2PartitionType
element.
Attributes
- instanceName (required)
- In the
instanceName
attribute you must specify the Db2 database manager instance with which thisDB2PartitionType
element is associated. - dbpartitionnum (required)
- In the
dbpartitionnum
attribute you must specify the database partition number that uniquely identifies the database partition (thedbpartitionnum
number specified in thedb2nodes.cfg
file, for example.)