3.2. Showing Compute Cluster Details and Overview

3.2.1. vinfra service compute cluster show

Display compute cluster details:

usage: vinfra service compute cluster show

Example:

# 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                                          |
+--------------+-------------------------------------------------+

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

3.2.2. vinfra service compute cluster stat

Display compute cluster statistics:

usage: vinfra service compute cluster stat

Example:

# 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: []                   |
+----------+-------------------------------+

This command shows the overview of the compute cluster.