Ask Your Question
0

How to check the vcpus available for instances on a particular compute node? [closed]

asked 2017-09-26 04:25:17 -0500

ekalder_88 gravatar image

Need to check that how many vcpus are available on a compute node for vm instances.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ekalder_88
close date 2017-10-03 05:49:22.224447

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-09-26 22:29:29 -0500

For example:

$ nova hypervisor-list
+----+------------------------+-------+---------+
| ID | Hypervisor hostname    | State | Status  |
+----+------------------------+-------+---------+
| 1  | hos5-cp1-comp0001-mgmt | up    | enabled |
+----+------------------------+-------+---------+
$ nova hypervisor-show 1
+---------------------------+------------------------------------------+
| Property                  | Value                                    |
+---------------------------+------------------------------------------+
| cpu_info_arch             | x86_64                                   |
| cpu_info_features         | ["pge", "avx", "clflush", "sep",         |
|                           | "syscall", "vme", "dtes64", "invpcid",   |
|                           | "tsc", "fsgsbase", "xsave", "vmx",       |
|                           | "erms", "xtpr", "cmov", "smep", "ssse3", |
|                           | "est", "pat", "monitor", "smx", "pbe",   |
|                           | "lm", "msr", "nx", "fxsr", "tm",         |
|                           | "sse4.1", "pae", "sse4.2", "pclmuldq",   |
|                           | "acpi", "fma", "tsc-deadline", "mmx",    |
|                           | "osxsave", "cx8", "mce", "de", "tm2",    |
|                           | "ht", "dca", "lahf_lm", "abm", "popcnt", |
|                           | "mca", "pdpe1gb", "apic", "sse", "f16c", |
|                           | "pse", "ds", "invtsc", "pni", "rdtscp",  |
|                           | "avx2", "aes", "sse2", "ss", "ds_cpl",   |
|                           | "bmi1", "bmi2", "pcid", "fpu", "cx16",   |
|                           | "pse36", "mtrr", "movbe", "pdcm",        |
|                           | "rdrand", "x2apic"]                      |
| cpu_info_model            | Haswell-noTSX                            |
| cpu_info_topology_cells   | 2                                        |
| cpu_info_topology_cores   | 8                                        |
| cpu_info_topology_sockets | 1                                        |
| cpu_info_topology_threads | 2                                        |
| cpu_info_vendor           | Intel                                    |
| current_workload          | 0                                        |
| disk_available_least      | 74                                       |
| free_disk_gb              | 77                                       |
| free_ram_mb               | 48947                                    |
| host_ip                   | 10.3.3.108                               |
| hypervisor_hostname       | hos5-cp1-comp0001-mgmt                   |
| hypervisor_type           | QEMU                                     |
| hypervisor_version        | 2006000                                  |
| id                        | 1                                        |
| local_gb                  | 191                                      |
| local_gb_used             | 114                                      |
| memory_mb                 | 64051                                    |
| memory_mb_used            | 15104                                    |
| running_vms               | 7                                        |
| service_disabled_reason   | None                                     |
| service_host              | hos5-cp1-comp0001-mgmt                   |
| service_id                | 58                                       |
| state                     | up                                       |
| status                    | enabled                                  |
| vcpus                     | 32                                       |
| vcpus_used                | 7                                        |
+---------------------------+------------------------------------------+
edit flag offensive delete link more

Comments

Thanks Bernd.

ekalder_88 gravatar imageekalder_88 ( 2017-10-03 05:48:39 -0500 )edit
1

answered 2017-10-03 05:21:03 -0500

Deepa gravatar image

You will get those information in Openstack Dashboard,under admin--> system-->hypervisor

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-09-26 04:25:17 -0500

Seen: 741 times

Last updated: Oct 03 '17