Manage VM in console

From vpsget wiki
Revision as of 16:00, 28 March 2013 by Vq (talk | contribs)
Jump to: navigation, search

KVM

Show all Virtual Machines (logical volumes):

lvdisplay

Show state of Virtual Machines:

virsh list --all

Soft shutdown VM. This will sent shutdown command to VMs OS.

virsh shutdown kvm101

Soft reboot VM

virsh reboot kvm101

Hard power off. This will be equal to unplugging power cord from physical machine.

virsh destroy kvm101

Hard power on

virsh start kvm101

OpenVZ

Show all OpenVZ containers

vzlist -a