Revision history [back]

click to hide/show revision 1
initial version

Enable true live migration

By default, the Compute service does not use the libvirt live migration functionality. To enable this functionality, add the following line to the nova.conf file:


And also make sure following changes are done in compute nodes.

sed -i "s/#listen_tls.*/listen_tls=0/g" /etc/libvirt/libvirtd.conf

sed -i "s/#tcp_port.*/tcp_port =\"16509\"/g" /etc/libvirt/libvirtd.conf

sed -i "s/#tls_port.*/tls_port =\"16514\"/g" /etc/libvirt/libvirtd.conf

sed -i "s/#listen_tcp.*/listen_tcp=1/g" /etc/libvirt/libvirtd.conf

echo "auth_tcp=\"none\" " >> /etc/libvirt/libvirtd.conf

sed -i "s/#LIBVIRTD_ARGS.*/LIBVIRTD_ARGS=\"--listen\"/g" /etc/sysconfig/libvirtd

Restart the service

/etc/init.d/libvirtd restart

openstack-service restart