%BOOK_ENTITIES; ]>
Install and Configure libvirt &PRODUCT; uses libvirt for managing virtual machines. Therefore it is vital that libvirt is configured correctly. Libvirt is a dependency of cloud-agent and should already be installed. In order to have live migration working libvirt has to listen for unsecured TCP connections. We also need to turn off libvirts attempt to use Multicast DNS advertising. Both of these settings are in /etc/libvirt/libvirtd.conf Set the following paramaters: listen_tls = 0 listen_tcp = 1 tcp_port = "16509" auth_tcp = "none" mdns_adv = 0 Turning on "listen_tcp" in libvirtd.conf is not enough, we have to change the parameters as well: On RHEL or CentOS modify /etc/sysconfig/libvirtd: Uncomment the following line: #LIBVIRTD_ARGS="--listen" On Ubuntu: modify /etc/default/libvirt-bin Add "-l" to the following line:: libvirtd_opts="-d" so it looks like: libvirtd_opts="-d -l" Restart libvirt In RHEL or CentOS: $ service libvirtd restart In Ubuntu: $ service libvirt-bin restart