Create Cluster
Select
SaaS
Customer Managed
This operation is used to create a Cluster Setup for DB2 nodes
- application/json
Request Body
clientInfo object required
clientType string requiredUNIX_CLUSTER_CLIENT
plan object
Pass this object to associate a plan to cluster
planId integer requiredID of the plan to associate
planName stringentity object required
hostName string requiredHostname of cluster
displayName string requiredDisplay name of cluster
clientId integerclientName string requiredPseudo client name for representing cluster
entityTypeName string requiredCLIENT_ENTITY
_type_ string requiredCLIENT_ENTITY
clusterClientsInfo object required
clusterClientProperties object required
clusterGroupAssociation object[] required
clientId integer requiredID of the pyhsical client to associate with cluster
clientName stringconfiguredAgents object[] required
ComponentId integer required1101 for Unix File System
ComponentName stringNoApplicationRequired boolean requiredTrue
osType string requiredUnix
clusterGroupAssociationOperationType string requiredADD
configuredAgentsOperationType string requiredADD
forceSyncConfigOnRemoteNodes boolean requiredTrue if you want to enable force sync config else False
jobResultsDir object required
path string requiredPath to job results directory
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object
errorString stringerrorCode integerentity object
clientId integerclientName string_type_ integer
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"errorString": "string",
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"errorString": "Cluster Group [db2hadr-vikramhadr] configuration was saved on CommServe successfully.\nRemote nodes updated successfully:[vikramhadr1] [vikramhadr2] \n",
"errorCode": 2,
"entity": {
"clientId": 1506,
"clientName": "db2hadr-vikramhadr",
"_type_": 3
}
}
}
Bad Request
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "XML error: please refer to logs for more details.",
"errorCode": 1
}
Loading...