易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 4970|回复: 2
收起左侧

nova hypervisor-show openstack hypervisor查看计算节点vcpu等信息

[复制链接]
发表于 2019-2-20 12:02:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
nova hypervisor-show JD-PC-EC-YW-SV63
9 \0 x: Q+ d6 o+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+- x7 w6 E8 Q  {( W2 A; W! K8 L  X
| Property                  | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |& e) P+ }" {2 t5 B* x
+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
* J* z1 x" p1 ]3 T  i| cpu_info_arch             | x86_64                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+ G) w/ C& C4 V( x: u( u. i| cpu_info_features         | ["smap", "avx", "clflush", "sep", "rtm", "vme", "dtes64", "invpcid", "tsc", "fsgsbase", "xsave", "pge", "vmx", "erms", "xtpr", "cmov", "hle", "smep", "ssse3", "est", "pat", "monitor", "smx", "pbe", "lm", "msr", "adx", "3dnowprefetch", "nx", "fxsr", "syscall", "tm", "sse4.1", "pae", "sse4.2", "pclmuldq", "acpi", "fma", "tsc-deadline", "mmx", "osxsave", "cx8", "mce", "de", "tm2", "ht", "dca", "lahf_lm", "abm", "rdseed", "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"] |7 s3 y1 L7 e/ g8 v
| cpu_info_model            | Broadwell                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |/ O4 e- Q. o6 F/ b% L
| cpu_info_topology_cores   | 12                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
# ^; l/ b# e2 r( Z, t) {| cpu_info_topology_sockets | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
( ?" E  b' |6 k6 x7 C6 y| cpu_info_topology_threads | 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |; ?: J# G9 k2 T% c  O
| cpu_info_vendor           | Intel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
2 F5 }% D8 [- ]4 E| current_workload          | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
) d$ d+ h& y. K/ H& f) s( z| disk_available_least      | 808                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
; `) F" ~- i2 V  F3 ?8 T| free_disk_gb              | 872                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
& B8 ?$ Y6 ]: M9 b# m8 }| free_ram_mb               | 47740                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |! }9 z% q) [' Q2 `# }0 o1 @
| host_ip                   | 10.32.96.31                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |, T3 _# H8 y% ~) h* ^" K5 f( V
| hypervisor_hostname       | JD-PC-EC-YW-SV63                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |. }6 N1 u) `" R8 p) b/ {
| hypervisor_type           | QEMU                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |# a5 G2 ]) \0 |
| hypervisor_version        | 2006000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |/ I; W' ?! d; Z9 c  N
| id                        | 1336                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
+ U2 a* I8 L! r" a- b" j| local_gb                  | 1612                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
/ z/ ]; X) ]. a' E: t2 [+ m| local_gb_used             | 740                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |3 F6 ]8 r* `6 f& @, R5 Z1 a" C' {$ u
| memory_mb                 | 257660                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
# A$ L& `) N' `3 H# _| memory_mb_used            | 209920                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
2 Z* e) R4 W1 X3 Q$ O) [  t| running_vms               | 38                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
' E" w' v! k0 }4 V7 _| service_disabled_reason   | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
1 b: l, Q' U: D) F| service_host              | JD-PC-EC-YW-SV63                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
6 Z7 ~& M. j( R# N9 a6 R& L| service_id                | 1387                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |! Q1 ?" w! @% S9 ?
| state                     | up                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |6 \+ x& ?5 l; i1 ]# M
| status                    | enabled                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |# T. f3 f+ M4 S& A* h
| vcpus                     | 48                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |5 I8 i  u6 r& k; [1 X! ?8 e0 V
| vcpus_used                | 80                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |' ~- w  J; ?6 G/ K  ], j/ v+ c
+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
# P3 R3 D1 K) ?3 O- nYou have new mail in /var/spool/mail/deployer- w) C6 Z; l: q5 V
 楼主| 发表于 2019-2-20 12:03:05 | 显示全部楼层
[root@JD-PSC-DN-S1 deyer]# nova hypervisor-list
' k$ b% R5 u  c0 P: p# `- a| 2735   | JD-PSC-EC-YW-SV91               | up    | enabled  |. Y1 r% ~3 i" P' g' X$ J1 c1 l
| 2738   | JD-PSC-EC-YW-SV36               | down  | disabled |
) f, w% c3 ~3 l9 o/ m' F! l| 39992  | JD-PSC-EC-YW-SV63               | up    | disabled |
* X1 Q" \" K$ _| 148682 | d3226a91-9761-4606-9bdd-2fc3664b65d5 | up    | enabled  |9 v6 k8 D; f  I8 I' D
| 148685 | 95e523b1-402a-44ad-8c04-c6ecabe625e1 | up    | enabled  |6 ?4 z( \; Y( h, m( {
| 148688 | 8135d4ba-fa39-4905-b444-9f643c30cfdc | up    | enabled  |
5 c3 r) Z4 G( v0 @| 148691 | 8f51e73c-0b71-45cf-ad6c-8d0dab21a698 | up    | enabled  |
: B0 `4 U6 G0 y. e5 R  Z| 148694 | d42021f1-2563-4770-8ebd-b5a41cc71350 | up    | enabled  |8 d; U/ v/ X  t' ~
| 148697 | 5cb0c76d-91ee-4597-b928-05dffe5b5df5 | up    | enabled  |
0 K; z9 U% p5 r, s5 a+ o| 148700 | 3cdc0def-d995-4694-9c79-fe97a7155936 | up    | enabled  |
$ M9 E7 x/ c1 J* \9 Z* x) v5 B7 ^| 148703 | ce9ae9b6-7b1c-4786-94e3-94ccbcac3bfb | up    | enabled  |. {+ T& c/ ~, P2 x
| 148706 | 2216abbc-efea-4e81-9345-e8b7f7d544ec | up    | enabled  |( N4 d4 I6 |4 C. z6 ^4 Y
| 148709 | f7624343-f779-419d-a3db-6fbe3ca13cfc | up    | enabled  |, E; _: H8 u  u( G. e
| 148712 | 01be960c-f3c5-4e3d-b856-c879aa4fd0df | up    | enabled  |
9 G; I: g2 u7 _! ?2 y9 W, E| 148715 | 441334f2-5c59-43ed-87a3-2af7ea2fe678 | up    | enabled  |
" x& S2 E' g# q: u| 148718 | d4ae977e-3a1c-4ecf-8187-4b36f7f8eff5 | up    | enabled  |" @; U5 V2 U/ C3 z  d
| 148721 | 1873e9e6-dc62-4c2a-96e3-c8d1c46b16ed | up    | enabled  |
8 ^$ k4 [( M7 d8 z7 Y1 ]2 K| 148724 | d5b9b383-b0aa-423f-8ab8-ca4d73a504ed | up    | enabled  |9 ^; w* I0 r# I, ^  R
| 148727 | 5f3212d4-7d95-4591-bc1e-37b35041c351 | up    | enabled  |5 W* t# Z1 y" p( f
| 148730 | 411143b2-4907-4647-8a95-d1f06b20d002 | up    | enabled  |% q7 K8 X' K) h
| 148733 | 0137482e-09e5-4142-813c-55181296b400 | up    | enabled  |, B# k7 H3 f9 t# J  d1 X- I
| 148736 | 760c3bc9-ccad-467b-96c7-df86c524462d | up    | enabled  |
: `# R" ?9 c% T0 P/ S| 148739 | 46c0d6c4-32cf-4e5e-870d-07531f9018fe | up    | enabled  |
  s. V- g6 v7 f+--------+--------------------------------------+-------+----------+
: m- i, F$ _! M9 A8 n2 ~: d0 M9 {2 S
 楼主| 发表于 2025-1-16 15:01:21 | 显示全部楼层
[root@controller03 ~]# nova  hypervisor-show b50bdc78-f0a6-44b2-aa2b-27625815139e8 s$ o# F4 H( H" A/ J- N
nova CLI is deprecated and will be a removed in a future release
9 J- D! G3 T+ C  F# C# U. y9 n+-------------------------+---------------------------------------+1 V: u6 a  \4 t+ V4 @; s" t5 X
| Property                | Value                                 |
% _+ t0 Z* [3 }! L+ w, l& D+-------------------------+---------------------------------------+
6 Z' Z8 K2 J) f2 o1 H8 k| host_ip                 | 172.27.11.11                        |
  t$ ^7 x" |$ e  d| hypervisor_hostname     | compute01              |2 b' _) n. L0 {6 j: @( m; i5 l: x
| hypervisor_type         | QEMU                                  |% b2 P; B' ~' h- q. s- U
| hypervisor_version      | 7002013                               |
8 b; E! t# O! y4 C  e| id                      | b50bdc78-f0a6-44b2-aa2b-27625815139e  |' h2 d, F" o! G8 P! U- q
| service_disabled_reason | None                                  |% Y7 y3 y1 j' N
| service_host            | compute01              |  L/ M! @5 ^! j9 F; o6 p
| service_id              | 84ae9c6e-073a-4ce8-87b0-3abfec4d29c1  |' H: N% b) Z0 T4 C% o+ N) f/ a
| state                   | up                                    |
0 T5 [2 S9 d8 i( k3 T| status                  | enabled                               |
6 s# N0 @3 s9 m: v8 i( d* K4 F; A4 h| uptime                  |  14:53:37 up 50 days, 22:39,  0 user, |
% E( q  p; K2 F7 I. G; L/ X|                         | load average: 16.55, 13.86, 12.48     |. q; m6 m  w# @/ ]* q* ~
+-------------------------+---------------------------------------+
" R3 C+ b9 z! _  N0 e$ y
! @! b5 L' {9 \/ e4 I* J新版本2024年第二版: K. V) L; K! K5 ~1 j
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-10 17:57 , Processed in 0.049109 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表