Create DB2 MultiNode Instance
This operation is used to create a DB2 MultiNode Instance
- application/json
Request Body
instanceProperties object required
instance object required
instanceId integerinstanceName string requiredName of the DB2 MultiNode Instance to Create
applicationId integer requiredPossible values: [
103
]clientId integer requiredID of the Pseudo Client
commCellId integerplanEntity object
Pass this object if you want to associate a plan to DB2 MultiNode Instance
planId integer requiredPlan ID to associate to DB2 MultiNode Instance
db2Instance object required
homeDirectory string requiredDB2 MultiNode Primary Node Instance Home Directory
pureScale boolean requireddpfpartitionclients object[] required
Pass all physicall and logical nodes of DB2 MultiNode environment
nodenum integer requiredNode Number of the physical / logical Node
nodeClient object required
clientId integer requiredID of the Client for which the Node belongs
clientName stringName of the client for which the node belongs
_type_ integernodeNumber string requireduserAccount object required
userName string requiredDB2 MultiNode Instance user name
password string requiredDB2 MultiNode Instance Password in Base 64 Encoded format
DB2StorageDevice object required
dataBackupStoragePolicy object required
storagePolicyId integer requiredPass 1 to assign the plan given above or else pass the storage policy ID to get associated for GUI data backups
logBackupStoragePolicy object required
storagePolicyId integer requiredPass 1 to associate same plan passed above or else pass storage policy ID to get associated for log backups
commandLineStoragePolicy object required
storagePolicyId integer requiredPass 1 to associate same plan passed above or else pass the storage policy ID to get associated with command line backups
- 200
- 401
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object
warningCode integererrorCode integerwarningMessage stringentity object
subclientId integerclientId integerID of the DB2 MultiNode Pseudo Client
instanceName stringName of the DB2 MultiNode Instance created
instanceId integerID of the DB2 MultiNode Instance created
_type_ integer
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 0,
"clientId": 1483,
"instanceName": "dpfinst",
"instanceId": 5419,
"_type_": 0
}
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Conflict
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
entity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
{
"errorMessage": "An instance by this name already exists.",
"errorCode": 3,
"entity": {
"subclientId": 0,
"clientId": 1489,
"instanceName": "dpfinst",
"instanceId": -1,
"_type_": 0
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
entity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
{
"errorMessage": "Failed to create new instance.",
"errorCode": 1,
"entity": {
"subclientId": 0,
"clientId": 1489111,
"instanceName": "dpfinst",
"instanceId": -1,
"_type_": 0
}
}