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