Monday, March 27, 2017

RHEL7 - Vritual machine management


Start and stop virtual machines
virsh [reboot/reset/screenshot/shutdown/start] myvm
List virtual machine on the system.
virsh list
Get KVM version info
# virsh -v
Start VM 
# virsh autostart myvm
Get VM (domain) info
# virsh dominfo myvm
Run top on VM
# virt-top  

To access the virtual machine console,
1. At the prompt, type
# virt-manager

2. Open VM console
# virt-viewer myvm


No comments:

Post a Comment