Verify if you have the resource<br><br> ls -l /usr/lib/ocf/resource.d/lvm2/clvmd<br><br><div class="gmail_quote">Il giorno 14 marzo 2012 12:15, Mark Frasa <span dir="ltr"><<a href="mailto:mark@frasa.net">mark@frasa.net</a>></span> ha scritto:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
We are trying to build 3-node cluster with shared-storage (FC-SAN). On<br>
this cluster we need clustered-lvm2 to provide storage to our vm's.<br>
Now we have seems a few tutorials on howto setup clvmd and all of them<br>
are trying to include ocfs2 (which i guess we don't have on RHEL6):<br>
<br>
configure DLM:<br>
<br>
crm(live)configure# primitive dlm ocf:pacemaker:controld \<br>
> op monitor interval="60" timeout="60"<br>
WARNING: dlm: default timeout 20s for start is smaller than the advised 90<br>
WARNING: dlm: default timeout 20s for stop is smaller than the advised 100<br>
crm(live)configure# group base-group dlm<br>
crm(live)configure# clone base-clone base-group \<br>
> meta interleave="true"<br>
crm(live)configure#<br>
crm(live)configure# commit<br>
WARNING: dlm: default timeout 20s for start is smaller than the advised 90<br>
WARNING: dlm: default timeout 20s for stop is smaller than the advised 100<br>
<br>
configure CLVMD:<br>
<br>
crm(live)configure# primitive clvm ocf:lvm2:clvmd \<br>
> params daemon_timeout="30"<br>
lrmadmin[10127]: 2012/03/14_11:32:53 ERROR:<br>
lrm_get_rsc_type_metadata(578): got a return code HA_FAIL from a reply<br>
message of rmetadata with function get_ret_from_msg.<br>
ERROR: ocf:lvm2:clvmd: could not parse meta-data:<br>
ERROR: ocf:lvm2:clvmd: no such resource agent<br>
<br>
So it seems like we are missing a resource-agent named: clvmd, OR it<br>
could have to do something with my setup (referring to the HA_FAIL<br>
message)?<br>
Also i have found a thread where Andrew Beekhof recommends fetching<br>
the o2cb script if you are missing ocf:lvm2:clvmd resource agent:<br>
<br>
<a href="http://www.gossamer-threads.com/lists/linuxha/pacemaker/59480" target="_blank">http://www.gossamer-threads.com/lists/linuxha/pacemaker/59480</a><br>
<br>
It seems i am kinda lost here and i have no idea where to look for the<br>
clmvd resource-agent. Does anyone have this kind of setup running in<br>
RHEL6 (or CentOS for that matter) and is willing to point me in the<br>
right direction?<br>
<br>
Any help is highly appreciated!<br>
<br>
<br>
Kind Regards,<br>
Mark Frasa.<br>
<br>
Ps: here is the base crm config we currently use: <a href="http://pastebin.com/2KWMruCT" target="_blank">http://pastebin.com/2KWMruCT</a><br>
<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/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/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>