OVSDB resource is multi-state resource, pacemaker monitor actions are 
insufficient to monitor a multi-state resource.
the usual one will cover the slave role, so it is need to configure monitoring 
for the master.

http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Pacemaker_Explained/_monitoring_multi_state_resources.html
---
 IntegrationGuide.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/IntegrationGuide.rst b/IntegrationGuide.rst
index 8c3cca7..16c3d14 100644
--- a/IntegrationGuide.rst
+++ b/IntegrationGuide.rst
@@ -225,7 +225,8 @@ one active and multiple backup servers for OVN databases.
     pcs resource create ovndb_servers ocf:ovn:ovndb-servers \
          master_ip=x.x.x.x \
          ovn_ctl=<path of the ovn-ctl script> \
-         op monitor interval="10s"
+         op monitor interval="10s" \
+         op monitor role=Master interval="15s"
 
     pcs resource master ovndb_servers-master ovndb_servers \
         meta notify="true"
-- 
2.10.1.windows.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to