lbcli list nodes
lbcli -J $JWT list cluster-config# List all nodes that belong to a specific failure domain in yaml format:lbcli -J $JWT list nodes --failure-domain=lab02_rack12 --output-format=yamlLists information for the nodes in the cluster.
lbcli list nodes [flags]Examples:
# List all nodes that belong to a specific failure domain in yaml format:lbcli list nodes --failure-domain=lab02_rack12 --output-format=yamllbcli -J $JWT list nodes| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --name | String | Filter out a node with a matching node name (optional). | ||
| --uuid | String | Filter out a node with a matching node UUID (optional). | ||
| --failure-domain | String | List only nodes that belong to a specific failure domain. | ||
| --help | Bool | Help for nodes. |
This command returns the following fields for each node. The default output format is human-readable. The human-readable output only shows some of these fields. The json/yaml output format is also supported and includes additional fields.
| Field | Type | Description |
|---|---|---|
| Name | string | The name that is given during cluster initialization. |
| UUID | string | The node UUID. |
| State | string | The current node states are:
|
| NVMe Endpoint | IP address : port | Endpoint for data path between the Lightbits server and the application server. |
| Failure Domains | List of strings | Failure domains that the node belongs to. |
| In Local Rebuild | boolean | |
| Local Rebuild Progress | integer | Percentage |
| Replication Edpoint | IP address: port | Endpoint for the replication data path (only included in json/yaml outputs). |
| Host Name | Host name (only included in json/yaml outputs). | |
| Failure Info | string | Additional failure information (only included in json/yaml outputs). |
| Max Number of NVMe Devices | integer | Maximum number of NVMe devices (SSDs) that the node can support (only included in json/yaml outputs). |
| Num of Managed Devices | integer | Current number of NVMe managed devices (only included in json/yaml outputs). |
| EC | bool | Indicates if erasure coding is enabled or not (only included in json/yaml outputs). |
| Statistics | List of integers |
See more info in Appendix A: Common Statistics. |
| Read Only | bool | Volume access state (only included in json/yaml outputs). |
Was this page helpful?