[ovs-dev] [PATCH V2] Fix ovndb_servers master and VirtualIP are not on the same node.

Guoshuai Li ligs at dtdream.com
Sat Dec 3 07:38:12 UTC 2016


PCS man page says role=Stopped/Started/Master/Slave.
A role can be master or slave (if no role is specified, it defaults to 'started').

Command line "$pcs constraint colocation add ovndb_servers-master with master VirtualIP"
means that the Started role node of ovsdb follows the master node of VirtualIP.
But we actually want the ovsdb master node to follow the VirtualIP's Started node.
---
 IntegrationGuide.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/IntegrationGuide.rst b/IntegrationGuide.rst
index 8c3cca7..1a8e82c 100644
--- a/IntegrationGuide.rst
+++ b/IntegrationGuide.rst
@@ -259,5 +259,5 @@ with the active server.
 
     pcs constraint order VirtualIP then ovndb_servers-master
 
-    pcs constraint colocation add ovndb_servers-master with master VirtualIP \
+    pcs constraint colocation add master ovndb_servers-master with VirtualIP \
         score=INFINITY
-- 
2.10.1.windows.1



More information about the dev mailing list