Description | Used to retrieve cluster details of a specific cluster |
URL |
|
HTTP Method | GET |
Request/Response Format |
|
Use case: Get cluster details of a specific cluster. The example request is as follows:
curl -X GET -H "Content-Type:application/json" -k -v -u admin:admin https://<SM_HOST>:9443/stratos/admin/cluster/clusterId/<CLUSTER_ID>
{ "cluster": { "serviceName": "php", "clusterId": "manula.php.domain", "member": [ { "serviceName": "php", "clusterId": "manula.php.domain", "networkPartitionId": "np1", "partitionId": "P1", "memberId": "manula.php.domain99cf42b1-a7e1-4296-aa89-32241276bee7", "status": "Created", "memberIp": "10.4.128.6", "lbClusterId": "lb635062286.lb.domain", "memberPublicIp": "NULL" }, { "serviceName": "php", "clusterId": "manula.php.domain", "networkPartitionId": "np1", "partitionId": "P1", "memberId": "manula.php.domain7e7a13e3-d4dd-476e-9d08-3c7562e386b2", "status": "Created", "memberIp": "10.4.128.10", "lbClusterId": "lb635062286.lb.domain", "memberPublicIp": "NULL" }, { "serviceName": "php", "clusterId": "manula.php.domain", "networkPartitionId": "np1", "partitionId": "P1", "memberId": "manula.php.domain9ccc3f19-18da-4cc1-aea9-e30f7b1b7d6f", "status": "Created", "memberIp": "10.4.128.13", "lbClusterId": "lb635062286.lb.domain", "memberPublicIp": "NULL" }, { "serviceName": "php", "clusterId": "manula.php.domain", "networkPartitionId": "np1", "partitionId": "P1", "memberId": "manula.php.domaina14f* Connection #0 to host localhost left intact c579-6af9-4cc0-a3e1-5af774128f58", "status": "Created", "memberIp": "10.4.128.15", "lbClusterId": "lb635062286.lb.domain", "memberPublicIp": "NULL" }, { "serviceName": "php", "clusterId": "manula.php.domain", "networkPartitionId": "np1", "partitionId": "P1", "memberId": "manula.php.domain44a016ae-5595-491e-a196-f0aec841d1f2", "status": "Created", "memberIp": "10.4.128.16", "lbClusterId": "lb635062286.lb.domain", "memberPublicIp": "NULL" } ], "hostNames": [ "manula.stratos.com" ], "isLbCluster": false } }