Raoul:<br><br>Right on!  <br><br>root@node-1:/usr/lib/ocf/resource.d/heartbeat# grep OCF_FUNCTIONS_DIR mysql*<br>mysql:: ${OCF_FUNCTIONS_DIR=${OCF_ROOT}/lib/heartbeat}<br>mysql:. ${OCF_FUNCTIONS_DIR}/.ocf-shellfuncs<br>mysql.backup:: ${OCF_FUNCTIONS_DIR=${OCF_ROOT}/resource.d/heartbeat}<br>
mysql.backup:. ${OCF_FUNCTIONS_DIR}/.ocf-shellfuncs<br><br>I reverted the pathnames and no more error :)<br><br>Thanks for the quick tip!<br><br>~Mike<br><br><div class="gmail_quote">On Sat, Oct 22, 2011 at 6:41 AM, Raoul Bhatia [IPAX] <span dir="ltr"><<a href="mailto:r.bhatia@ipax.at">r.bhatia@ipax.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On 22.10.2011 12:35, Michael Marrotte wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What's the correct way to upgrade an RA script, in particular, the MySQL RA?<br>
<br>
I've tried replacing /usr/lib/ocf/resource.d/<u></u>heartbeat/mysql (and chmod<br>
+x) with the latest version found at github, but then get the following:<br>
<br>
lrmadmin[1470]: 2011/10/22_03:08:37 ERROR:<br>
lrm_get_rsc_type_metadata(578)<u></u>: got a return code HA_FAIL from a reply<br>
message of rmetadata with function get_ret_from_msg.<br>
ERROR: ocf:heartbeat:mysql: could not parse meta-data:<br>
ERROR: ocf:heartbeat:mysql: no such resource agent<br>
</blockquote>
<br></div></div>
maybe it is related to the first "includes" of ocf-shellfuncs and the<br>
like. there has been a change in the filenames/include paths which<br>
you might need to revert.<br>
<br>
cheers,<br>
raoul<br>
<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-<u></u>foundation.org/enter_bug.cgi?<u></u>product=Pacemaker</a><br>
</blockquote></div><br>