Get zone cluster configuration
Returns the zone cluster configuration.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getZoneConfiguration --host https://$OZ_PANEL_HOST:9443Responses
The zone cluster configuration.
cluster object (ZoneClusterConfigurationDetails) The cluster configuration.
The cluster configuration.
Host responsible for deploying cluster and coordinating cluster restarts.
List of hosts belonging to the Onepanel cluster.
databases required object (DatabaseHosts) The cluster database service hosts configuration.
The cluster database service hosts configuration.
The list of service hosts.
managers required object (ManagerHosts) The cluster manager service hosts configuration.
The cluster manager service hosts configuration.
The main cluster manager host. Main cluster manager node is responsible for monitoring cluster worker nodes. Other nodes, which are redundant, are suspended. In case of main cluster manager node failure one of redundant nodes is resumed and takes over main node responsibilities.
The list of service hosts.
workers required object (WorkerHosts) The cluster worker service hosts configuration.
The cluster worker service hosts configuration.
The list of service hosts.
onezone object The zone custom configuration.
The zone custom configuration.
Onezone's domain.
The name of a zone.
True if all steps of cluster deployment and configuration have been performed.
Example
{
"cluster": {
"master": "node1.onezone.onedata.example.com",
"managers": {
"mainHost": "node1.onezone.onedata.example.com",
"hosts": [
"node1.onezone.onedata.example.com"
]
},
"workers": {
"hosts": [
"node1.onezone.onedata.example.com"
]
},
"databases": {
"hosts": [
"node1.onezone.onedata.example.com"
]
}
},
"onezone": {
"domainName": "example.com",
"name": "example",
"configured": true
}
}Invalid request.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Forbidden request.
Cluster already deployed.
Internal server error.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}