View Virtual machine Status

Source: Internet
Author: User

On the COMPUTE node

[Email protected] ~]# Virsh list--all
Id Name State
----------------------------------------------------
instance-00000097 Running
INSTANCE-000000A2 Running
instance-00000099 Running

grep out its ID number according to the sequence number in front of the sequel

[[email protected] ~]# Virsh dumpxml 13 | grep UUID
<uuid>16736724-953f-4879-b4b8-861128f5531e</uuid>
<entry name= ' uuid ' >16736724-953f-4879-b4b8-861128f5531e</entry>

View virtual machines for specific IPs on the control node

[email protected] ~]# Nova List--all-tenant | grep 10.133.5.159
| D183F361-0D11-4594-A6DB-27C1165C8EF1 | BCSE-D183F361-0D11-4594-A6DB-27C1165C8EF1 | shutoff | - | Shutdown | 鍩 Rainbow Network Connection failed 2 (Chen stubble apply Yue 岋 紝 鍕 block €?=10.133.5.159

Depending on the IP, copy its ID number to see the details of the virtual machine (including on which physical machine)

[email protected] ~]# Nova show BCSE-D183F361-0D11-4594-A6DB-27C1165C8EF1

...............................................................................................................................................................

View Virtual machine Status

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.