Hi<br><br> In drbd resource-agents of linbit, resource-agents does not seem to support 1.0.4.<br> I don't move at the following points.<br> . ${OCF_FUNCTIONS_DIR}/.ocf-<div id=":13f">shellfuncs<br><br> I am as follows definitely.<br>
. ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs<br><br> The ocf-shellfunc file changed from 1.0.4.<br><br>Regards,<br>Tomo<br></div><br><div class="gmail_quote">2011/9/21 Jake Smith <span dir="ltr"><<a href="mailto:jsmith@argotec.com">jsmith@argotec.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">----- Original Message -----<br>
> From: "Nick Khamis" <<a href="mailto:symack@gmail.com">symack@gmail.com</a>><br>
> To: "drbd-user" <<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>><br>
> Sent: Tuesday, September 20, 2011 1:36:07 PM<br>
> Subject: [DRBD-user] DRBD RA Error<br>
><br>
> Hello Everyone,<br>
><br>
> I appologize if you are recieving this message again. I am recieving<br>
> an error when trying to load the DRBD RA within Pacemaker:<br>
><br>
> primitive drbd_mysql ocf:linbitt:drbd \<br>
> params drbd_resource="r0.res" \<br>
> op monitor interval="15s"<br>
<br>
</div>I assume the "linbitt" above is just a typo when you put it in the messages (should be "ocf:linbit:drbd")?<br>
<div><div></div><div class="h5"><br>
><br>
> lrmadmin[4153]: 2011/09/20_10:51:25 ERROR:<br>
> lrm_get_rsc_type_metadata(578): got a return code HA_FAIL from a<br>
> reply<br>
> message of rmetadata with function get_ret_from_msg.<br>
> ERROR: ocf:linbit:drbd: could not parse meta-data:<br>
> ERROR: ocf:linbit:drbd: no such resource agent<br>
><br>
> Warnings in Log:<br>
><br>
> Sep 20 10:51:25 mydrbd1 lrmd: [3560]: WARN: on_msg_get_metadata:<br>
> empty<br>
> metadata for ocf::linbit::drbd.<br>
><br>
> /dev/drbd/by-res/r0.res<br>
> /usr/lib/ocf/resource.d/<br>
> /usr/lib/ocf/resource.d/linbit/drbd<br>
><br>
> crm(live)ra# classes<br>
> heartbeat<br>
> lsb<br>
> ocf / heartbeat linbit pacemaker<br>
> stonith<br>
><br>
> crm(live)ra# list ocf linbit<br>
> drbd<br>
><br>
> DRBD is installed and working as expected manually.<br>
><br>
> Only "drbd" is in /usr/lib/ocf/resource.d/linbit/. No other files<br>
><br>
> /etc/init.d/drbd status<br>
> drbd driver loaded OK; device status:<br>
> version: 8.3.7 (api:88/proto:86-91)<br>
> srcversion: EE47D8BF18AC166BE219757<br>
> m:res cs ro ds p mounted<br>
> fstype<br>
> 0:r0_res Connected Primary/Secondary UpToDate/UpToDate C<br>
> /service ext3<br>
<br>
</div></div>Is your resource named r0.res or r0_res? Above the output of status looks like its "r0_res" but in the primitive above you have "r0.res"? The pacemaker line "params drbd_resource="r0.res"" expects the name of the resource you used in the drbd resource definition - resource xxxx { } - not the name of the resource definition file in /etc/drbd.d/<br>
<div><div></div><div class="h5"><br>
><br>
><br>
> Obeservations:<br>
> When running the drbd "/usr/lib/ocf/resource.d/linbit/drbd" sript<br>
> from<br>
> console, I get:<br>
> line 45: /resource.d/heartbeat/.ocf-shellfuncs: No such file or<br>
> directory<br>
> line 801: usage: command not found<br>
><br>
> When I use the deprecated ocf:heartbeat:drbd, I get no errors....<br>
><br>
> DRBD: version: 8.3.7<br>
> Pacemaker: 1.1.6<br>
> RA: 1.0.4<br>
> Glue: 1.0.7<br>
><br>
> Thanks in Advance,<br>
><br>
> Nick<br>
> _______________________________________________<br>
> drbd-user mailing list<br>
> <a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
> <a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
><br>
><br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</div></div></blockquote></div><br>