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 of VirtualIPAddress elements in your DB2PartitionType 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 of Mount elements in your DB2PartitionType 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 of HADRDB elements in your DB2PartitionType 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 one MutualPair elements in your DB2PartitionType element.

NPlusMNode
Type: NPlusMPolicyType

You can omit including NPlusMNode; or you can include an unbounded number of NPlusMNode elements in your DB2PartitionType element.

CustomNode
Type: CustomPolicyType

You can omit including CustomNode; or you can include an unbounded number of CustomNode elements in your DB2PartitionType element.

Attributes

instanceName (required)
In the instanceName attribute you must specify the Db2 database manager instance with which this DB2PartitionType element is associated.
dbpartitionnum (required)
In the dbpartitionnum attribute you must specify the database partition number that uniquely identifies the database partition (the dbpartitionnum number specified in the db2nodes.cfg file, for example.)