[ClusterLabs] Struggling to get "crm_mon -E ... " to do anything
riley at on.net.nz
Sun May 10 18:52:16 EDT 2015
I have set up a virtual test environment of three nodes running CentOS
6.6 and am having trouble getting a "crm_mon -E " script called *at all*
when anything changes in the cluster (resource killed, node killed,
resource moved, etc.).
After looking at the sources and adding in some debugging it would
appear that the routine tools/crm_mon.c/crm_diff_update() fails to
identify any of the xml passing through it using xpath_search(msg,"//"
F_CIB_UPDATE_RESULT "//" XML_TAG_DIFF_ADDED "//" XML_LRM_TAG_RSC_OP),
which I believe should identify
I have never seen "diff-added" in the xml, the only things that I see
which seem to be close are messages
containing"<cib_update_result>...<diff format="2">...<lrm_rsc_op ...>".
The basic install was made using the instructions from
http://clusterlabs.org/quickstart-redhat-6.html, but with three nodes I
have enabled quorum. Fencing is not enabled, could this be the cause of
Many thanks for any pointers you can give me.
More information about the Users