Message ID | 20161206123508.18880-1-ligs@dtdream.com |
---|---|
State | Accepted |
Headers | show |
On Tue, Dec 6, 2016 at 4:35 AM, Guoshuai Li <ligs@dtdream.com> wrote: > 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(-) > Thanks for the patch. Pushed to master.
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"