Notes‎ > ‎


Quick start

Create a logical volume for the virtual machine where vg_xen is the volume group reserved for xen volumes
# lvcreate -L 35G -n lv_virtualmachine vg_xen

Kickstart install from command line
# virt-install -p -s 12 –vnc -r 1500 –nonsparse -n the-master-v2 -f /dev/vg_01/lv_xen_the_master_v2 -l -x “cmdline 0 ks=nfs: ksdevice=eth0 ip= netmask= gateway= dns=″

List virtual machines
# xm list

Login to console
# xm console <domid>

Start up a virtual machine
# xm create -c /etc/xen/virtual_machine

Shutdown a virtual machine
# xm destroy /etc/xen/virtual_machine

Load the GUI to manage virtual machines (requires x11 forwarding)
# virt-manager