Monitoring the compute cluster

After you create the compute cluster, you can monitor its status and statistics. Additionally, you can monitor separate compute nodes, virtual machines, and load balancers.

To view the compute cluster status

Click the cluster name at the bottom of the left menu. It can be one of the following:

Healthy
All compute cluster components and nodes operate normally.
Configuring
The compute cluster configuration (the default CPU model for VMs or the number of compute nodes) is changing.
Warning
The compute cluster operates normally but some issues have been detected.
Critical
The compute cluster has encountered a critical problem and is not operational.

To view the compute cluster statistics

Admin panel

Go to the Compute > Overview screen. The charts show the information on CPU, RAM, and storage usage; the number of virtual machines grouped by status and resource consumption; and compute-related alerts.

Command-line interface

Use the following command:

# vinfra service compute stat
+----------+----------------------------------------------+
| Field    | Value                                        |
+----------+----------------------------------------------+
| compute  | block_capacity: 74088185856                  |
|          | block_usage: 143654912                       |
|          | cpu_allocation_ratio: 8                      |
|          | cpu_usage: 0.16                              |
|          | ram_allocation_ratio: 1.0                    |
|          | vcpus: 2                                     |
|          | vcpus_free: 38                               |
|          | vm_mem_capacity: 42177212416                 |
|          | vm_mem_free: 37882245120                     |
|          | vm_mem_reserved: 4294967296                  |
|          | vm_mem_usage: 2773532672                     |
| datetime | 2021-11-08T15:29:23.388823                   |
| fenced   | physical_cpu_cores: 0                        |
|          | physical_cpu_usage: 0                        |
|          | physical_mem_total: 0                        |
|          | reserved_memory: 0                           |
|          | vcpus: 0                                     |
|          | vm_mem_capacity: 0                           |
| physical | block_capacity: 675644723200                 |
|          | block_free: 611533008896                     |
|          | cpu_cores: 12                                |
|          | cpu_usage: 8.56                              |
|          | mem_total: 75331043328                       |
|          | vcpus_total: 96                              |
| reserved | cpus: 7                                      |
|          | memory: 33153830912                          |
|          | vcpus: 56                                    |
| servers  | count: 2                                     |
|          | error: 0                                     |
|          | in_progress: 0                               |
|          | running: 2                                   |
|          | stopped: 0                                   |
|          | top:                                         |
|          |   disk:                                      |
|          |   - id: d634179b-0730-4154-bc96-6fa4eb0cee78 |
|          |     name: vm-qcow                            |
|          |     size: 139460608                          |
|          |   - id: 192a2590-06d4-4c63-a84c-36c9de4e3c97 |
|          |     name: vm-iso                             |
|          |     size: 4194304                            |
|          |   memory:                                    |
|          |   - id: 192a2590-06d4-4c63-a84c-36c9de4e3c97 |
|          |     name: vm-iso                             |
|          |     size: 2244247552                         |
|          |   - id: d634179b-0730-4154-bc96-6fa4eb0cee78 |
|          |     name: vm-qcow                            |
|          |     size: 529285120                          |
|          |   vcpus:                                     |
|          |   - count: 0.01                              |
|          |     id: d634179b-0730-4154-bc96-6fa4eb0cee78 |
|          |     name: vm-qcow                            |
|          |   - count: 0.01                              |
|          |     id: 192a2590-06d4-4c63-a84c-36c9de4e3c97 |
|          |     name: vm-iso                             |
+----------+----------------------------------------------+