I'm running Suse 11 sp1<br><br><div class="gmail_quote">Il giorno 14 marzo 2012 13:05, David Coulson <span dir="ltr"><<a href="mailto:david@davidcoulson.net">david@davidcoulson.net</a>></span> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you running 'real' RHEL6?<br>
<br>
If so, cman + clvmd + gfs2 is the way to go. You can run pacemaker on top of all of that (without openais) to manage your resources if you don't want to use rgmanager.<br>
<br>
I've never tried to run clvmd out of pacemaker, but there is a init.d script for it in RHEL6, so that might 'just work'.<div class="HOEnZb"><div class="h5"><br>
<br>
On 3/14/12 7:57 AM, Mark Frasa wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hmm:<br>
<br>
ls -l /usr/lib/ocf/resource.d/lvm2/<u></u>clvmd<br>
ls: cannot access /usr/lib/ocf/resource.d/lvm2/<u></u>clvmd: No such file or directory<br>
[root@node0 ~]# yum whatprovides /usr/lib/ocf/resource.d/lvm2/<u></u>clvmd<br>
Loaded plugins: product-id, rhnplugin, subscription-manager<br>
Updating certificate-based repositories.<br>
No Matches found<br>
<br>
Its not there and yum doesn't know where to get it either. Any ideas?<br>
<br>
On Wed, Mar 14, 2012 at 12:46 PM, emmanuel segura<<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Verify if you have the resource<br>
<br>
ls -l /usr/lib/ocf/resource.d/lvm2/<u></u>clvmd<br>
<br>
Il giorno 14 marzo 2012 12:15, Mark Frasa<<a href="mailto:mark@frasa.net" target="_blank">mark@frasa.net</a>> ha scritto:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
op monitor interval="60" timeout="60"<br>
</blockquote>
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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
meta interleave="true"<br>
</blockquote>
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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
params daemon_timeout="30"<br>
</blockquote>
lrmadmin[10127]: 2012/03/14_11:32:53 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: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.<u></u>com/lists/linuxha/pacemaker/<u></u>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:<br>
<a href="http://pastebin.com/2KWMruCT" target="_blank">http://pastebin.com/2KWMruCT</a><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://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</blockquote>
<br>
<br>
--<br>
esta es mi vida e me la vivo hasta que dios quiera<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://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</blockquote>
______________________________<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://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote>
<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://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>