lbcli get clusterinfo (2.2 and above)
Gets clusterinfo information. Note that this is available to users that have both tenant-specific credentials or sysadmin credentials. However, it returns more limited information than lbcli get cluster.
lbcli get clusterinfo [flags]
Examples:
x
# Get information of clusterinfo :
lbcli -J $JWT get clusterinfo
# Get information of clusterinfo in json format:
lbcli -J $JWT get clusterinfo --output-format=json
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for clusterinfo. |
This command returns the following fields for the cluster. The default output format is yaml. The JSON output format is also supported. The human-readable output only shows some of these fields.
Field | Description |
---|---|
UUID | The cluster ID. |
Subsystem NQN | The Subsystem NQN that should be used by the hosts to connect to volumes on this server. |
Supported Max Replicas | The maximum number of replicas that a volume can have, given the cluster’s installation parameters. |
Current Max Replicas | The maximum number of replicas that a new volume can have, given the current state and healthiness of the nodes. |
apiEndpoints | A list of REST/gRPC endpoints - <ip>:<port> pairs that the API listen on. Example entries:- 192.168.16.16:80- 192.168.16.17:80 |
discoveryEndpoints | A list of TCP endpoints - <ip>:<port> pairs that the Discovery Service listens on. Example entries:- 192.168.16.16:8009- 192.168.16.17:8009 |
nvmeEndpoints | A list of TCP endpoints - <ip>:<port> pairs that the NVMe targets listens on. Example entries:- 192.168.16 |
clusterName | The name of the cluster. |
Last Upgrade/Status | 3.3.1 and above Current status of the upgrade. The possible values are:
For a healthy upgrade flow, the upgrade should cycle through the following statuses: None >Upgrading >None |
LastUpgrade/StartTime | Start time of the upgrade on this cluster. |
LastUpgrade/EndTime | End time of the upgrade on this cluster. |
LastUpgrade/TargetVersion | Lightbits version the cluster is being upgraded to. |
LastUpgrade/ErrorMessage | Detailed error message if the upgrade operation failed. Note: ErrorMessage is limited to 40 characters, so in some cases long error messages will be concatenated. |
LastUpgrade/ProgressStep | Progress of the upgrade operation (progress steps and total take into account the number of steps run on each server and the total number of servers for this upgrade operation). |
LastUpgrade/ProgressTotal | Total steps in the upgrade operation (progress steps and total take into account the number of steps run on each server and the total number of servers for this upgrade operation). |
LastUpgrade/StartTime | Start time of the upgrade on this cluster. |
Was this page helpful?