<p><img src="https://mail.dgist.ac.kr:443/mail/dsn/LNwnI+GeZJERtLosNvINkdfyvB6rdRlsjl7sRVFWE1atR6XqCEU-ElQIsocqXzP0XzVM7YfjeLMkfc3lUqGeKbph3k4g" border="0"></p>
<div style="font-family: none; font-size: 11pt;"><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">Hello</span></p><p><br></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">I'm trying to deploy openstack with OVN</span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;"> and</span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;"> HA feature</span></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">I have two questions about deploying OVN in HA mode, in contr</span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">oller node</span></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">I want to have highly available OVN services in controller nodes, placing them(OVN services) behind HAProxy</span></p><p><br></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">Currently I'm using Ubuntu 22.04 + Openstack Yoga version</span></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">I'm following this guide: https://docs.openstack.org/networking-ovn/latest/install/manual.html</span></p><p><br></p><p><br></p><p><br></p><p><br></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">Q1. How can I run </span><code class="docutils literal notranslate" style="box-sizing: border-box; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px; padding: 0px; border-radius: 0px; font-weight: bold;"><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">ovsdb-server</span></code><span style="color: rgb(51, 51, 51); font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;"> and </span><code class="docutils literal notranslate" style="box-sizing: border-box; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px; padding: 0px; border-radius: 0px; font-weight: bold;"><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">ovn-northd</span></code><span style="color: rgb(51, 51, 51); font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;">  in active/passive manner?</span></p><p><span style="color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px;"><br></span></p><p><span style="color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px;"><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">S</span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">eems like controller node should run </span></span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;">ovsdb-server</span><span style="color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px;"><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;"> </span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">and </span></span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;">ovn-northd</span><span style="color: rgb(51, 51, 51); font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;">,</span></p><p><span style="color: rgb(51, 51, 51); font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;">but they are stateful, must be run in some kind of cluster mode like mysql/galera cluster</span></p><p><span style="color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px;"><br></span></p><p><span style="color: rgb(51, 51, 51); font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;">Let's say I have three controller nodes: node0, node1, node2</span></p><p><span style="color: rgb(51, 51, 51); font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;">I started </span><span style="font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px;"><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">ovsdb-server</span><b><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;"> </span></b></span><span style="color: rgb(51, 51, 51); font-family: Gulim, 굴림, AppleGothic, sans-serif; font-size: 14px;">and ovn-northd on node0, perhaps in active mode by default</span></p><p><span style="color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px;"><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">then I want to start ovsdb-server</span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;"> and ovn-northd on node1 and node2 as well, but must be in passive mode, following ovsdb-server and ovn-northd of node0</span></span></p><p><span style="color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px;"><br></span></p><p><span style="color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px;"><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">How can I make them(services on node1 and node2)</span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;"> start</span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;"> in passive mode?</span></span></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">Q2. Where can I get pacemaker script for ovsdb-server and ovn-northd ?</span></p><p><br></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">When node0 goes down, pacemaker would detect that node0 is dead, then promote services(ovsdb-server, ovn-northd) on </span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">either node1 or node2 to active mode</span></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">In order to do that, seems like I need pacemaker resource script: ocf:ovsdb-server</span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">.ocf and </span><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">ocf:ovndb-servers.ocf</span></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">Where can I get them and how can I add those to my pacemaker?</span></p><p><br></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">I can't find them on my ubuntu 22.04 machine when I type "pcs resource list"</span></p><p><br></p><p><br></p><p><span style="font-family: Gulim, 굴림, AppleGothic, sans-serif;">Thank you in advance!</span></p></div>