2.7. Showing Storage Cluster Overview and Details

2.7.1. vinfra cluster overview

Show storage cluster overview:

usage: vinfra cluster overview

Example:

# vinfra cluster overview
+-------------------+--------------------------+
| Field             | Value                    |
+-------------------+--------------------------+
| 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                  |
| 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           |
| name              | stor1                    |
| repl              | eta: null                |
|                   | reads: 0                 |
|                   | writes: 0                |
| resistance        | to_lose: 0               |
|                   | total: 1                 |
| space_per_service | abgw: null               |
|                   | compute: null            |
|                   | iscsi: null              |
|                   | nfs: null                |
|                   | s3: null                 |
| status            | healthy                  |
| tiers             | - id: 0                  |
|                   |   phys_space:            |
|                   |     free: 2164191700992  |
|                   |     total: 2164203036672 |
|                   |     used: 11335680       |
+-------------------+--------------------------+

This command shows an overview of the cluster.

2.7.2. vinfra cluster show

Show cluster details:

usage: vinfra cluster show

Example:

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

This command shows cluster details.