2.10. Showing storage cluster overview and details

2.10.1. vinfra cluster overview

Show storage cluster overview:

usage: vinfra cluster overview

Example:

# vinfra cluster overview
+-------------------+--------------------------+
| Field             | Value                    |
+-------------------+--------------------------+
| active_cses       | '0': 5                   |
| active_nodes      | '0': 5                   |
| chunks            | blocked: 0               |
|                   | degraded: 0              |
|                   | deleting: 0              |
|                   | healthy: 2               |
|                   | offline: 0               |
|                   | overcommitted: 0         |
|                   | pending: 0               |
|                   | replicating: 0           |
|                   | standby: 0               |
|                   | total: 2                 |
|                   | unique: 2                |
|                   | urgent: 0                |
|                   | void: 0                  |
| cs                | failed: 0                |
|                   | total: 5                 |
| fs_stat           | chunk_maps: 2            |
|                   | chunk_nodes: 2           |
|                   | file_maps: 2             |
|                   | files: 9                 |
|                   | inodes: 9                |
|                   | used_size: 11335680      |
| id                | 1                        |
| license           | capacity: 1099511627776  |
|                   | expiration_ts: null      |
|                   | keynumber: null          |
|                   | status: 0                |
|                   | used_size: 11335680      |
| logic_space       | free: 1099500292096      |
|                   | total: 1099511627776     |
|                   | used: 11335680           |
| mds               | failed: 0                |
|                   | total: 5                 |
| name              | cluster1                 |
| repl              | eta: null                |
|                   | reads: 0                 |
|                   | writes: 0                |
| resistance        | to_lose: 0               |
|                   | total: 1                 |
| space_per_service | abgw: null               |
|                   | compute: null            |
|                   | iscsi: null              |
|                   | nfs: null                |
|                   | other: 11335680          |
|                   | s3: null                 |
| status            | healthy                  |
| tiers             | - id: 0                  |
|                   |   phys_space:            |
|                   |     free: 2164191700992  |
|                   |     total: 2164203036672 |
|                   |     used: 11335680       |
+-------------------+--------------------------+

This command shows an overview of the cluster.

2.10.2. vinfra cluster show

Show cluster details:

usage: vinfra cluster show

Example:

# vinfra cluster show
+-------+--------------------------------------------+
| Field | Value                                      |
+-------+--------------------------------------------+
| id    | 1                                          |
| name  | stor1                                      |
| nodes | - host: node004.vstoragedomain             |
|       |   id: 4b83a87d-9adf-472c-91f0-782c47b2d5f1 |
|       |   is_installing: false                     |
|       |   is_releasing: false                      |
|       | - host: node003.vstoragedomain             |
|       |   id: 7d7d37b8-4c06-4f1a-b3a6-4b54257d70ce |
|       |   is_installing: false                     |
|       |   is_releasing: false                      |
|       | - host: node005.vstoragedomain             |
|       |   id: fd1e46de-6e17-4571-bf6b-1ac34ec1c225 |
|       |   is_installing: false                     |
|       |   is_releasing: false                      |
|       | - host: node001.vstoragedomain             |
|       |   id: 94d58604-6f30-4339-8578-adb7903b7277 |
|       |   is_installing: false                     |
|       |   is_releasing: false                      |
|       | - host: node001.vstoragedomain             |
|       |   id: f59dabdb-bd1c-4944-8af2-26b8fe9ff8d4 |
|       |   is_installing: false                     |
|       |   is_releasing: false                      |
+-------+--------------------------------------------+

This command shows cluster details.