[Pacemaker] pacemaker-1.1.10 results in Failed to sign on to the LRM 7

Andrew Beekhof andrew at beekhof.net
Wed May 22 23:35:43 EDT 2013

On 17/05/2013, at 1:15 PM, Andrew Widdersheim <awiddersheim at hotmail.com> wrote:

> I'm attaching 3 patches I made fairly quickly to fix the installation issues and also an issue I noticed with the ping ocf from the latest pacemaker. 
> One is for cluster-glue to prevent lrmd from building and later installing. May also want to modify this patch to take lrmd out of both spec files included when you download the source if you plan to build an rpm. I'm not sure if what I did here is the best way to approach this problem so if anyone has anything better please let me know.
> One is for pacemaker to create the lrmd symlink when building with heartbeat support.

I can't apply this one until the cluster-glue one is in common use.
Otherwise rpm will instead refuse to install pacemaker because both it and cluster-glue contain the "same" file.

> Note the spec does not need anything changed here.
> Finally, saw the following errors in messages with the latest ping ocf and the attached patch seems to fix the issue.

This is a slightly better fix:

diff --git a/extra/resources/ping b/extra/resources/ping
index abb631e..b9a69b8 100755
--- a/extra/resources/ping
+++ b/extra/resources/ping
@@ -305,6 +305,7 @@ ping_update() {
 : ${OCF_RESKEY_attempts:="3"}
 : ${OCF_RESKEY_multiplier:="1"}
 : ${OCF_RESKEY_debug:="false"}
+: ${OCF_RESKEY_failure_score:="0"}
 : ${OCF_RESKEY_CRM_meta_timeout:="20000"}
 : ${OCF_RESKEY_CRM_meta_globally_unique:="true"}

> May 16 01:10:13 node2 lrmd[16133]:   notice: operation_finished: p_ping_monitor_5000:17758 [ /usr/lib/ocf/resource.d/pacemaker/ping: line 296: [: : integer expression expected ] 		 	   		  <cluster-glue-no-lrmd.patch><pacemaker-lrmd-hb.patch><pacemaker-ping-failure.patch>_______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

More information about the Pacemaker mailing list