Changes between Version 5 and Version 6 of LibVirt


Ignore:
Timestamp:
06/30/11 16:57:48 (7 years ago)
Author:
joshuadf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LibVirt

    v5 v6  
    11== LibVirt == 
    22 
    3 [http://libvirt.org/ LibVirt] is a virtualization API used extensively in Red Hat Enterprise Linux and other Linux variants. In particular LibVirt is used to create and manage the KVM hypervisor built into Red Hat Enterprise Linux 6 (and on EL5, both KVM and Xen).  
     3[http://libvirt.org/ LibVirt] is a virtualization API used extensively in Red Hat Enterprise Linux and other Linux variants including [https://help.ubuntu.com/10.04/serverguide/C/libvirt.html Ubuntu LTS]. In particular LibVirt is used to manage the KVM hypervisor built into the Linux kernel since 2.6.20 (and on Red Hat Enterprise Linux 5, both KVM and Xen).  
    44 
    55In some ways KVM/LibVirt offer an alternative to VmwareEsxi though at least as of 2011 it's a little rougher around the edges, for example you must manually create your own network bridge interface. LibVirt does includes features such as live migration and load balancing that are not in the free VmwareEsxi, and of course it is better integrated into the Linux ecosystem.  
     
    3535usermod -G myvirtgroup myuser1 
    3636usermod -G myvirtgroup myuser2 
     37# needed for virt-install  
     38setfacl -m u:qemu:x /home/myuser1 
     39setfacl -m u:qemu:x /home/myuser2 
     40# optional 
     41mkdir /data/virt 
     42chmod 775 /data/virt/ 
     43chgrp myvirtgroup /data/virt 
    3744}}} 
    3845 
     
    5360 
    5461 
    55 You can fully script VM creation (note: the first time I ran this as a normal user it failed; after using the virt-manager GUI once added some ACLs to my home  
    56  
     62You can fully script VM creation (note: the first time I ran this as a normal user it failed; after using the virt-manager GUI once added an ACL to my home dir (see `setfacl -m u:qemu:x` above). 
    5763 
    5864From the [http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-Virtualized_guest_installation_overview.html Virtualized Guest Overview]: 
     
    102108 * http://fedoraproject.org/wiki/Getting_started_with_virtualization 
    103109 * http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/index.html 
     110 * https://help.ubuntu.com/10.04/serverguide/C/libvirt.html 
    104111 * http://libvirt.org/ 
    105112 * http://libguestfs.org/