OVN and a LXD cluster

preview_player
Показать описание
Let's build a 4 servers LXD cluster and setup OVN alongside it for a very flexible SDN experience. This enables full use of LXD's advanced networking features, including per-project networking, network ACLs, network peering and even advanced setups like BGP.

TIMESTAMPS:
0:00 Introduction
2:07 Setting up the OVN cluster
9:58 Setting up the LXD cluster
11:31 Configuring LXD for OVN
14:15 Running LXD instances on OVN
20:53 Conclusion

RESOURCES:
Рекомендации по теме
Комментарии
Автор

This is very helpful, thank you! Don't forget to have openvswitch installed. Below are the config strings if you want to simply cut and paste them (and replace with your IPs).

--db-sb-addr=SERVER1 --ovn-northd-nb-db=tcp:SERVER1:6641, tcp:SERVER2:6641, tcp:SERVER3:6641 --ovn-northd-sb-db=tcp:SERVER1:6642, tcp:SERVER2:6642, tcp:SERVER3:6642"

ovs-vsctl set open_vswitch . external_ids:ovn-remote=tcp:SERVER1:6642, tcp:SERVER2:6642, tcp:SERVER3:6642

ericgelinas
Автор

I'm starting to love LXD more and more everyday!

cheebadigga
Автор

Totally appreciate you creating this video! I spent some time looking, and I could not find anything. Great job!

ChuckBoecking
Автор

Dear Stephane - you are truly a remarkable person - like Mark Shuttleworth. You have build a remarkable cloud etc.. solution and your videos are truly informative. Can I ask you to please make a video on how to maintain a lxd cluster i.e how to upgrade the hosts, in what order etc.. OR point me to a website where I can find this information. I am planning to use lxd clustering in production mode and am currently busy developing a business plan for one our customers, hence I need the information. Merci

mikegrellmann
Автор

@LXD: The /etc/default/ovn-central configurations shown at 5:54 (after replacing =LOCAL by =SERVER1 in the topmost window and copying this) differ from those shown in section "Creating a clustered db on 3 nodes with IPs x.x.x.x, y.y.y.y and z.z.z.z" in the manual for ovn-ctl. I tried to use the IP address for SERVER1 as shown in the video, and the ovsdb-server-sb.log files of the second and third cluster node show "bind: Cannot assign requested address" errors. I wonder how this could have worked…

anonymous
Автор

Is that possible with WAN public IP interface? I am trying this configuration and the server(s) get disconnected

felipemateo
Автор

Thanks for sharing this. Have you ever installed ovn on centos? Centos has no config files in /etc/default/ovn* unfortunately. I have no idea how to configure it.

nikolaynikolaev