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/

Hi All, I like to spend time on black and white screen with linux. I love to learn new things in linux specially in virtualization. Currently I am working on OpenStack like to dig deep.

Posted in Openstack

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: