Hello
I'm trying to deploy openstack with OVN and HA feature
I have two questions about deploying OVN in HA mode, in controller node
I want to have highly available OVN services in controller nodes, placing them(OVN services) behind HAProxy
Currently I'm using Ubuntu 22.04 + Openstack Yoga version
I'm following this guide: https://docs.openstack.org/networking-ovn/latest/install/manual.html
Q1. How can I run ovsdb-server
and ovn-northd
in active/passive manner?
Seems like controller node should run ovsdb-server and ovn-northd,
but they are stateful, must be run in some kind of cluster mode like mysql/galera cluster
Let's say I have three controller nodes: node0, node1, node2
I started ovsdb-server and ovn-northd on node0, perhaps in active mode by default
then I want to start ovsdb-server and ovn-northd on node1 and node2 as well, but must be in passive mode, following ovsdb-server and ovn-northd of node0
How can I make them(services on node1 and node2) start in passive mode?
Q2. Where can I get pacemaker script for ovsdb-server and ovn-northd ?
When node0 goes down, pacemaker would detect that node0 is dead, then promote services(ovsdb-server, ovn-northd) on either node1 or node2 to active mode
In order to do that, seems like I need pacemaker resource script: ocf:ovsdb-server.ocf and ocf:ovndb-servers.ocf
Where can I get them and how can I add those to my pacemaker?
I can't find them on my ubuntu 22.04 machine when I type "pcs resource list"
Thank you in advance!