Linux Virtualization Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 5: Line 5:
=Info=
=Info=


* Storage pool status and usage: [[virsh pool-list|virsh pool-list <pool-name> --all --details]], [[virsh pool-info]] and [[virsh pool-dumpxml]].
==Storage Pool==
* Storage volume info: [[virsh vol-info]]
 
* DHCP range of a virtual network: <tt>virsh net-edit <virtual-network-name></tt>. More details: [[virsh net-edit]] and  [[KVM_Virtual_Networking_Concepts#The_DNS_and_DHCP_Server|DNS and DHCP server's (dnsmasq)]].
[[virsh pool-list|virsh pool-list <pool-name> --all [--details] ]]
[[virsh pool-info]]
[[virsh pool-dumpxml]]
 
==Storage Volume==
 
{{Internal|KVM Virtualization Storage Volume Info|Storage Volume Info}}
 
==Network==
 
DHCP range of a virtual network: <tt>virsh net-edit <virtual-network-name></tt>. More details: [[virsh net-edit]] and  [[KVM_Virtual_Networking_Concepts#The_DNS_and_DHCP_Server|DNS and DHCP server's (dnsmasq)]].
 
==Guest Virtual Machine==
 
Dump the guest virtual machine XML definition with:
 
[[virsh dumpxml]] ''<vm-name>''
 
[[Linux_Virtualization_Concepts#KVM_Virtual_Machine_States|State]] of a guest virtual machine:
[[virsh domstate]] ''<vm-name>''

Latest revision as of 19:53, 3 November 2017

Internal

Info

Storage Pool

virsh pool-list <pool-name> --all [--details] 
virsh pool-info
virsh pool-dumpxml

Storage Volume

Storage Volume Info

Network

DHCP range of a virtual network: virsh net-edit <virtual-network-name>. More details: virsh net-edit and DNS and DHCP server's (dnsmasq).

Guest Virtual Machine

Dump the guest virtual machine XML definition with:

virsh dumpxml <vm-name>

State of a guest virtual machine:

virsh domstate <vm-name>