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:
IPAddressTypeA
IPAddressTypeelement 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 ofVirtualIPAddresselements in yourDB2PartitionTypeelement. - Mount
- Type:
MountTypeA
MountTypeelement 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 ofMountelements in yourDB2PartitionTypeelement.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
MountTypeelement. 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:
HADRDBTypeA
HADRDBTypeelement 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 ofHADRDBelements in yourDB2PartitionTypeelement. - MutualPair
- Type:
MutualPolicyTypeA
MutualPolicyTypeelement 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 oneMutualPairelements in yourDB2PartitionTypeelement. - NPlusMNode
- Type:
NPlusMPolicyTypeYou can omit including
NPlusMNode; or you can include an unbounded number ofNPlusMNodeelements in yourDB2PartitionTypeelement. - CustomNode
- Type:
CustomPolicyTypeYou can omit including
CustomNode; or you can include an unbounded number ofCustomNodeelements in yourDB2PartitionTypeelement.
Attributes
- instanceName (required)
- In the
instanceNameattribute you must specify the Db2 database manager instance with which thisDB2PartitionTypeelement is associated. - dbpartitionnum (required)
- In the
dbpartitionnumattribute you must specify the database partition number that uniquely identifies the database partition (thedbpartitionnumnumber specified in thedb2nodes.cfgfile, for example.)