Openstack Block Level Live Migration Configuration Ubuntu 18.04

Nova configuration on compute nodes only

root@compute1#vim /etc/libvirt/libvirtd.conf

Add lines end of file

listen_tls = 0
listen_tcp = 1
auth_tcp = “none”

root@compute1#vim /etc/nova/nova.conf

Add line under [default] section

live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE

Add line under [libvirt] section

live_migration_uri=qemu+tcp://%s/system

root@compute1#vim /etc/default/libvirtd

Add line

libvirtd_opts=”-l”

root@compute1#service libvirt-bin restart; service nova-compute restart
root@compute1# netstat -an | grep 16509

tcp        0      0 0.0.0.0:16509           0.0.0.0:*               LISTEN

tcp6       0      0 :::16509                :::*                    LISTEN

https://www.mirantis.com/blog/block-live-migration-openstack-environment/

Advertisements
Posted in Openstack