如果要查看所在物理点,需在执行该命令前,先source 管理员openrc文件 [root@controller ~]# . admin-openrc
[root@controller ~]# nova list | |||||
---|---|---|---|---|---|
ID | Name | Status | Task State | Power State | Networks |
1fef3e0d-c640-4164-b868-6b9dbcdcc7df | Ke'Hu-1 | ACTIVE | - | Running | public=42.51.77.20; private=10.0.0.17 |
b4500423-62fc-455e-b0f5-13fa4c4f5d58 | Ke'Hu-2 | ACTIVE | - | Running | public=42.51.77.12; private=10.0.0.10 |
3b7120d9-579b-4910-9301-6e6364656e53 | Ke'Hu-3 | ACTIVE | - | Running | public=42.51.77.15; private=10.0.0.20 |
7b383073-5f0c-43ab-8991-421eb2bac3e8 | Ke'Hu-4 | ACTIVE | - | Running | public=42.51.77.4; private=10.0.0.9 |
748a2e6d-083b-4965-a616-170d1a2bc0d4 | Ke'Hu-5 | ACTIVE | - | Running | public=42.51.77.21; private=10.0.0.26 |
cb2d19fa-c214-4782-b5be-95e565f35bd5 | ROLY-1 | PAUSED | - | Paused | public=42.51.77.5; private=10.0.0.19 |
b8095ceb-005c-4ca8-88be-dbdd7bec39ac | ROLY-3 | ACTIVE | - | Running | public=42.51.77.16; private=10.0.0.3 |
0a6a2d71-38d0-4a30-8f36-92886dcf980c | ROLY-5 | ACTIVE | - | Running | public=42.51.77.3; private=10.0.0.16 |
439fa0e0-c747-42e5-9abd-80c8e1e20776 | ROLY-7 | ACTIVE | - | Running | public=42.51.77.19; private=10.0.0.11 |
8a425d87-f53a-4a37-9365-b98daae062bb | ROLY-9 | ACTIVE | - | Running | public=42.51.77.18; private=10.0.0.38 |
[root@controller ~]# nova show 1fef3e0d-c640-4164-b868-6b9dbcdcc7df | |
---|---|
Property | Value |
OS-DCF:diskConfig | AUTO |
OS-EXT-AZ:availability_zone | nova |
OS-EXT-SRV-ATTR:host | node1 |
OS-EXT-SRV-ATTR:hostname | kehu-1 |
OS-EXT-SRV-ATTR:hypervisor_hostname | node1 |
OS-EXT-SRV-ATTR:instance_name | instance-0000004c |
OS-EXT-SRV-ATTR:kernel_id | |
OS-EXT-SRV-ATTR:launch_index | 0 |
OS-EXT-SRV-ATTR:ramdisk_id | |
OS-EXT-SRV-ATTR:reservation_id | r-dmw9moi7 |
OS-EXT-SRV-ATTR:root_device_name | /dev/vda |
OS-EXT-SRV-ATTR:user_data | - |
OS-EXT-STS:power_state | 1 |
OS-EXT-STS:task_state | - |
OS-EXT-STS:vm_state | active |
OS-SRV-USG:launched_at | 2019-05-11T04:58:55.000000 |
OS-SRV-USG:terminated_at | - |
accessIPv4 | |
accessIPv6 | |
config_drive | |
created | 2019-05-11T04:56:09Z |
description | - |
flavor:disk | 50 |
flavor:ephemeral | 50 |
flavor:extra_specs | {} |
flavor:original_name | 基础型 |
flavor:ram | 1024 |
flavor:swap | 0 |
flavor:vcpus | 1 |
hostId | 55c2fa1781fcad130bef73c86fa7ad90a76b2188271da28f83e031d0 |
host_status | UP |
id | 1fef3e0d-c640-4164-b868-6b9dbcdcc7df |
image | Attempt to boot from volume - no image supplied |
key_name | - |
locked | False |
metadata | {} |
name | Ke'Hu-1 |
os-extended-volumes:volumes_attached | [{"id": "71ced72c-9fb9-411b-b530-4a18215a9e04", "delete_on_termination": false}] |
private network | 10.0.0.17 |
progress | 0 |
public network | 42.51.77.20 |
security_groups | default |
status | ACTIVE |
tags | [] |
tenant_id | b03aac1f6ae94f7bada2afa8f2064312 |
trusted_image_certificates | - |
updated | 2019-05-11T04:58:52Z |
user_id | 06a72bdd76d247fca8328ee17360449e |