REST Get Cluster
To get information on the cluster (NQN, replicas, etc.), use the following command:
Sample Command
curl -s -X GET --insecure -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $LIGHTOS_JWT" https://localhost:443/api/v2/cluster | jqSample Output
{ "UUID": "519e8b58-2383-4729-9339-dfba0854ae5c", "subsystemNQN": "nqn.2016-01.com.lightbitslabs:uuid:889330f8-86d8-489c-b63f-723838a4a264", "currentMaxReplicas": 1, "supportedMaxReplicas": 1, "statistics": { "installedPhysicalStorage": "32006296240128", "managedPhysicalStorage": "24004722180096", "effectivePhysicalStorage": "17403423473664", "logicalStorage": "2200096997376", "logicalUsedStorage": "0", "physicalUsedStorage": "0", "physicalUsedStorageIncludingParity": "0", "freePhysicalStorage": "17403423473664", "estimatedFreeLogicalStorage": "17403423473664", "estimatedLogicalStorage": "17403423473664", "compressionRatio": 1 }, "ETag": "0", "health": { "state": "OK", "numDegradedVolumes": 0, "numReadOnlyVolumes": 0, "numNotAvailableVolumes": 0, "numInactiveNodes": 0 }, "MinVersionInCluster": "2.1.2", "MinAllowedVersion": "2.1.X", "MaxAllowedVersion": "2.2.X", "apiEndpoints": [ "10.166.14.1:443" ], "discoveryEndpoints": [ "10.166.14.1:8009" ]}Was this page helpful?