<div dir="ltr">Hi  Folks,<div><br></div><div>  I am working on HA with 3-nodes, which has below configurations:</div><div><br></div><div>&quot;&quot;&quot;</div><div><div>pcs resource create ovndb_servers ocf:ovn:ovndb-servers \</div><div>  master_ip=168.254.101.2 \</div><div>  op monitor interval=&quot;10s&quot; \</div><div>  op monitor interval=&quot;11s&quot; role=Master</div><div>pcs resource master ovndb_servers-master ovndb_servers \</div><div>  meta notify=&quot;true&quot; master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;3&quot; clone-node-max=&quot;1&quot;</div><div>pcs resource create VirtualIP ocf:heartbeat:IPaddr2 ip=168.254.101.2 \</div><div>    op monitor interval=10s</div><div>pcs constraint order promote ovndb_servers-master then VirtualIP</div><div>pcs constraint colocation add VirtualIP with master ovndb_servers-master \</div><div>  score=INFINITY</div><div>&quot;&quot;&quot;</div><div>  However, after setting it as above, the master is not being selected, all are stopped, from pacemaker log, node-1 has been chosen as the master, I am confuse where is wrong, can anybody give a help, it would be very appreciated.</div><div><br></div><div><br></div><div> Master/Slave Set: ovndb_servers-master [ovndb_servers]</div><div>     Stopped: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]</div><div> VirtualIP<span style="white-space:pre">        </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre">        </span>Stopped </div><div><br></div><div><br></div><div># pacemaker log</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++ /cib/configuration/resources:  &lt;primitive class=&quot;ocf&quot; id=&quot;ovndb_servers&quot; provider=&quot;ovn&quot; type=&quot;ovndb-servers&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                  &lt;instance_attributes id=&quot;ovndb_servers-instance_attributes&quot;&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                    &lt;nvpair id=&quot;ovndb_servers-instance_attributes-master_ip&quot; name=&quot;master_ip&quot; value=&quot;168.254.101.2&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                  &lt;/instance_attributes&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                  &lt;operations&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                    &lt;op id=&quot;ovndb_servers-start-timeout-30s&quot; interval=&quot;0s&quot; name=&quot;start&quot; timeout=&quot;30s&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                    &lt;op id=&quot;ovndb_servers-stop-timeout-20s&quot; interval=&quot;0s&quot; name=&quot;stop&quot; timeout=&quot;20s&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                    &lt;op id=&quot;ovndb_servers-promote-timeout-50s&quot; interval=&quot;0s&quot; name=&quot;promote&quot; timeout=&quot;50s&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                    &lt;op id=&quot;ovndb_servers-demote-timeout-50s&quot; interval=&quot;0s&quot; name=&quot;demote&quot; timeout=&quot;50s&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                    &lt;op id=&quot;ovndb_servers-monitor-interval-10s&quot; interval=&quot;10s&quot; name=&quot;monitor&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                    &lt;op id=&quot;ovndb_servers-monitor-interval-11s-role-Master&quot; interval=&quot;11s&quot; name=&quot;monitor&quot; role=&quot;Master&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                  &lt;/operations&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++                                &lt;/primitive&gt;</div><div><br></div><div>Nov 23 23:06:03 [665249] node-1.domain.tld      attrd:     info: attrd_peer_update: <span style="white-space:pre">        </span>Setting master-ovndb_servers[node-1.domain.tld]: (null) -&gt; 5 from node-1.domain.tld</div><div>Nov 23 23:06:03 [665251] node-1.domain.tld       crmd:   notice: process_lrm_event: <span style="white-space:pre">        </span>Operation ovndb_servers_monitor_0: ok (node=node-1.domain.tld, call=185, rc=0, cib-update=88, confirmed=true)</div><div>&lt;29&gt;Nov 23 23:06:03 node-1 crmd[665251]:   notice: process_lrm_event: Operation ovndb_servers_monitor_0: ok (node=node-1.domain.tld, call=185, rc=0, cib-update=88, confirmed=true)</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>Diff: --- 0.630.2 2</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>Diff: +++ 0.630.3 (null)</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>+  /cib:  @num_updates=3</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_perform_op: <span style="white-space:pre">        </span>++ /cib/status/node_state[@id=&#39;1&#39;]/transient_attributes[@id=&#39;1&#39;]/instance_attributes[@id=&#39;status-1&#39;]:  &lt;nvpair id=&quot;status-1-master-ovndb_servers&quot; name=&quot;master-ovndb_servers&quot; value=&quot;5&quot;/&gt;</div><div>Nov 23 23:06:03 [665246] node-1.domain.tld        cib:     info: cib_process_request: <span style="white-space:pre">        </span>Completed cib_modify operation for section status: OK (rc=0, origin=node-3.domain.tld/attrd/80, version=0.630.3)</div></div><div><br></div></div>