3.2. Showing Compute Cluster Details and Overview

3.2.1. Showing Compute Cluster Details

3.2.1.1. Syntax

usage: vinfra service compute cluster show [-h] [-f {json,table,value,yaml}]
                                           [-c COLUMN]

Display compute cluster details.
...

3.2.1.2. Sample Output

This command shows the status and capabilities of the compute cluster.

# vinfra service compute cluster show
+--------------+-------------------------------------------------+
| Field        | Value                                           |
+--------------+-------------------------------------------------+
| capabilities | cpu_models:                                     |
|              | - SandyBridge                                   |
|              | - IvyBridge                                     |
|              | - Haswell                                       |
|              | - Haswell-noTSX                                 |
|              | - Broadwell                                     |
|              | - Broadwell-noTSX                               |
|              | - Skylake-Client                                |
|              | - Skylake-Server                                |
|              | - HostPassthrough                               |
|              | os_distributions:                               |
|              |   linux:                                        |
|              |     centos6: Centos 6                           |
|              |     centos7: Centos 7                           |
|              |     debian9: Debian 9 (Stretch)                 |
|              |     linux: Generic Linux                        |
|              |     rhel7: Red Hat Enterprise Linux             |
|              |     ubuntu16.04: Ubuntu 16.04 LTS               |
|              |     ubuntu18.04: Ubuntu 18.04 LTS               |
|              |   windows:                                      |
|              |     win10: Microsoft Windows 10                 |
|              |     win2k12: Microsoft Windows Server 2012      |
|              |     win2k12r2: Microsoft Windows Server 2012 R2 |
|              |     win2k16: Microsoft Windows Server 2016      |
|              |     win2k8r2: Microsoft Windows Server 2008 R2  |
|              |     win7: Microsoft Windows 7                   |
|              |     win8.1: Microsoft Windows 8.1               |
|              |     windows: Generic Windows                    |
| options      | cpu_model: null                                 |
| status       | active                                          |
+--------------+-------------------------------------------------+

3.2.2. Showing Compute Cluster Overview

3.2.2.1. Syntax

usage: vinfra service compute cluster stat [-h] [-f {json,table,value,yaml}]
                                           [-c COLUMN]

Display compute cluster statistics
...

3.2.2.2. Sample Output

This command shows the overview of the compute cluster.

# vinfra service compute cluster stat
+----------+-------------------------------+
| Field    | Value                         |
+----------+-------------------------------+
| compute  | block_capacity: 0             |
|          | block_usage: 0                |
|          | cpu_usage: 0.0                |
|          | mem_total: 0                  |
|          | mem_usage: 0                  |
|          | vcpus: 0                      |
| datetime | 2018-09-11T15:50:18.758258    |
| physical | block_capacity: 1099511627776 |
|          | block_free: 1099498911464     |
|          | cpu_cores: 10                 |
|          | mem_total: 41006247936        |
| reserved | cpus: 5                       |
|          | memory: 17721982976           |
| servers  | count: 0                      |
|          | error: 0                      |
|          | in_progress: 0                |
|          | running: 0                    |
|          | stopped: 0                    |
|          | top:                          |
|          |   disk: []                    |
|          |   memory: []                  |
|          |   vcpus: []                   |
+----------+-------------------------------+