%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 cloudstack-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 parameters: 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" In order to have the VNC Console work we have to make sure it will bind on 0.0.0.0. We do this by editing /etc/libvirt/qemu.conf Make sure this parameter is set: vnc_listen = "0.0.0.0" Restart libvirt In RHEL or CentOS: $ service libvirtd restart In Ubuntu: $ service libvirt-bin restart