OpenStack Подсказки по коммандам: различия между версиями
Материал из noname.com.ua
Перейти к навигацииПерейти к поискуSirmax (обсуждение | вклад) |
Sirmax (обсуждение | вклад) |
||
Строка 30: | Строка 30: | ||
ID: 429689e2-72fc-46e4-9cda-d49a8565b1e3 |
ID: 429689e2-72fc-46e4-9cda-d49a8565b1e3 |
||
State: up |
State: up |
||
+ | </PRE> |
||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <PRE> |
||
+ | openstack resource provider list -f yaml --name r710.kaas-kubernetes-6cc8b15ec3394936acdca2cd3a0bf0a6 |
||
+ | - generation: 200 |
||
+ | name: r710.kaas-kubernetes-6cc8b15ec3394936acdca2cd3a0bf0a6 |
||
+ | parent_provider_uuid: null |
||
+ | root_provider_uuid: 429689e2-72fc-46e4-9cda-d49a8565b1e3 |
||
+ | uuid: 429689e2-72fc-46e4-9cda-d49a8565b1e3 |
||
+ | </PRE> |
||
+ | |||
+ | |||
+ | <PRE> |
||
+ | openstack resource provider inventory list 429689e2-72fc-46e4-9cda-d49a8565b1e3 -f yaml |
||
+ | </PRE> |
||
+ | <PRE> |
||
+ | - allocation_ratio: 4.0 |
||
+ | max_unit: 24 |
||
+ | min_unit: 1 |
||
+ | reserved: 0 |
||
+ | resource_class: VCPU |
||
+ | step_size: 1 |
||
+ | total: 24 |
||
+ | used: 48 |
||
+ | - allocation_ratio: 1.0 |
||
+ | max_unit: 386939 |
||
+ | min_unit: 1 |
||
+ | reserved: 512 |
||
+ | resource_class: MEMORY_MB |
||
+ | step_size: 1 |
||
+ | total: 386939 |
||
+ | used: 49152 |
||
+ | - allocation_ratio: 1.6 |
||
+ | max_unit: 1049 |
||
+ | min_unit: 1 |
||
+ | reserved: 0 |
||
+ | resource_class: DISK_GB |
||
+ | step_size: 1 |
||
+ | total: 1049 |
||
+ | used: 240 |
||
</PRE> |
</PRE> |
Версия 13:23, 26 февраля 2024
Подсказки по командам
Hypervisor
Список гипервизоров
openstack hypervisor list -f yaml
- Host IP: 10.80.6.51 Hypervisor Hostname: os-worker-1.kaas-kubernetes-6cc8b15ec3394936acdca2cd3a0bf0a6 Hypervisor Type: QEMU ID: f276c0ae-4632-47c3-b76f-daa3b66ea7a4 State: up - Host IP: 10.80.6.52 Hypervisor Hostname: srv3.kaas-kubernetes-6cc8b15ec3394936acdca2cd3a0bf0a6 Hypervisor Type: QEMU ID: 17b1ac54-a564-4b29-b1f5-b595727c0753 State: up - Host IP: 10.80.6.53 Hypervisor Hostname: donec.kaas-kubernetes-6cc8b15ec3394936acdca2cd3a0bf0a6 Hypervisor Type: QEMU ID: 5467a71e-baad-4d0d-88ff-163a39994b30 State: up - Host IP: 10.80.6.54 Hypervisor Hostname: r710.kaas-kubernetes-6cc8b15ec3394936acdca2cd3a0bf0a6 Hypervisor Type: QEMU ID: 429689e2-72fc-46e4-9cda-d49a8565b1e3 State: up
openstack resource provider list -f yaml --name r710.kaas-kubernetes-6cc8b15ec3394936acdca2cd3a0bf0a6 - generation: 200 name: r710.kaas-kubernetes-6cc8b15ec3394936acdca2cd3a0bf0a6 parent_provider_uuid: null root_provider_uuid: 429689e2-72fc-46e4-9cda-d49a8565b1e3 uuid: 429689e2-72fc-46e4-9cda-d49a8565b1e3
openstack resource provider inventory list 429689e2-72fc-46e4-9cda-d49a8565b1e3 -f yaml
- allocation_ratio: 4.0 max_unit: 24 min_unit: 1 reserved: 0 resource_class: VCPU step_size: 1 total: 24 used: 48 - allocation_ratio: 1.0 max_unit: 386939 min_unit: 1 reserved: 512 resource_class: MEMORY_MB step_size: 1 total: 386939 used: 49152 - allocation_ratio: 1.6 max_unit: 1049 min_unit: 1 reserved: 0 resource_class: DISK_GB step_size: 1 total: 1049 used: 240