[Pacemaker] Upgrading the MySQL RA

Michael Marrotte marrotte at gmail.com
Sat Oct 22 06:57:05 EDT 2011


Raoul:

Right on!

root at 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.bhatia at 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 at 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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111022/5f93af63/attachment-0003.html>


More information about the Pacemaker mailing list