[CentOS-virt] Best practices on KVM systems

Fri Jan 11 16:04:33 UTC 2013
Dennis Jacobfeuerborn <dennisml at conversis.de>

On 01/11/2013 02:51 PM, Luca Gervasi wrote:
> Hello,
> 
> i'm trying to create some best practices on my centos 6.3 / libvirt /kvm
> hypervisors.
> 
> Actually, i use NFS as shared storage backend for every VM and make
> reasonable use of the KSM (enabling it into qemu.conf).
> 
> Every VM is configured with VirtIO drivers (when possible) and the disks
> use none as cacheing method to allow me live migration.
> 
> I'll be happy to know if there are some more improvements i can implement.
> 
> Please share your knowledge.

Pay attention to /etc/sysconfig/libvirt-guests and make sure that you
either set ON_SHUTDOWN=shutdown or have enough diskspace available on the
host filesystem to suspend all guests.

Regards,
  Dennis