[Pacemaker] Problem with function ocf_local_nodename

Michael Böhm dudleyperkins at gmail.com
Thu Dec 12 11:53:49 EST 2013

Hi @all,

i am new to pacemaker and currently setting up a test-environment for
future production-use. Unfortunately i ran into a problem with using the
mysql resource agent and i'm hoping someone here can enlighten me.

Server-Distro is Debian and the resource-agents are far from up-to-date. I
wanted to use the current ra that comes with the master-slave function for
mysql so i pulled it off the git-repo[1].

After changing the path to ocf-shellfuncs (debian obviously uses a
different one) i ran into another problem: the mysql-ra makes use of the
function "ocf_local_nodename" and i think this doesnt exist in the
pacemaker version ( that is installed.

How can i fix this? Its only a simple call in line 142:
> NODENAME=$(ocf_local_nodename)

Is there a way to set this in the pacemaker-version i am using or should i
consider upgrading to Version 1.1.7 or even newer? This would mean i also
had to upgrade the Server i am planning to use this on, but with christmas
coming i may have the (out)time to do this.

Thanks in advance


[1] https://github.com/ClusterLabs/resource-agents
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131212/d85fe369/attachment-0002.html>

More information about the Pacemaker mailing list