<div>Hi Rafael,<br></div><div></div><div>Of course, that is what I was telling you the other day, your script works fine, but I just wanted to twist a little clvm.</div><div></div><div>The prerequisites are already setup (locking type, dm-mp, lvm, etc...).</div>
<div></div><div>The only thing that disturbes me is that you can bypass under certain conditions the locking.</div><div></div><div>Thanks for the help</div><div></div><div>Brem </div><br><div class="gmail_quote">2009/8/1 Rafael Micó Miranda <span dir="ltr"><<a href="mailto:rmicmirregs@gmail.com">rmicmirregs@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Brem,<br>
<br>
El vie, 31-07-2009 a las 06:09 -0400, <a href="mailto:crosa@redhat.com">crosa@redhat.com</a> escribió:<br>
<div class="im">><br>
> --- mensagem original ---<br>
> De: brem belguebli <<a href="mailto:brem.belguebli@gmail.com">brem.belguebli@gmail.com</a>><br>
> Assunto: Re: [Linux-cluster] CLVMD without GFS<br>
> Data: 29 de Julho de 2009<br>
> Hora: 10:1:29<br>
><br>
> Hi Rafael,<br>
><br>
> Just posted the basic tests I'm doing on both linux-cluster and linux-lvm.<br>
><br>
> I can't get exclusive activation to work properly, I may be missing some<br>
> step in my process.<br>
><br>
> Brem<br>
><br>
><br>
<br>
><br>
</div><div class="im">> --<br>
> Linux-cluster mailing list<br>
> <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
<br>
</div>Sorry, i'm not sure if I missed this mail.<br>
<br>
Maybe i need to explain a couple of things first, just to make them<br>
clear.<br>
<br>
As part of the use of the lvm-cluster.sh resource script, you need to:<br>
<br>
1.- Configure properly the lock type into lvm.conf to type 3 (example<br>
into this link:<br>
<br>
<a href="https://www.redhat.com/archives/linux-cluster/2009-July/msg00253.html" target="_blank">https://www.redhat.com/archives/linux-cluster/2009-July/msg00253.html</a><br>
<br>
)<br>
<br>
2.- Configure your multipathing software<br>
<br>
3.- Create your Physical Volumes<br>
<br>
4.- Configure your Volume Groups as clustered Volume Groups<br>
<br>
5.- Create your Logical Volumens into the clustered Volume Groups<br>
<br>
6.- And, and the not so obvious, de-activate all the Logical Volumes you<br>
plan to use as exclusive Logical Volumes (using exclusive flag).<br>
<br>
De-activation can be done with "vgchange -an volgrp01/logvol01" or<br>
similar command.<br>
<br>
If you don't do step 6, you will receive an error message when executing<br>
"lvchange -aey volgrp01/logvol01". This command is executed (with the<br>
proper volume group and logical volume names) internally in the resource<br>
script.<br>
<br>
I designed the lvm-cluster.sh resource script to be verbose, maybe you<br>
can copy here your logs (default to /var/log/messages on RHEL systems).<br>
<br>
Cheers and thanks,<br>
<br>
Rafael<br>
<br>
--<br>
<font color="#888888">Rafael Micó Miranda<br>
</font><div><div class="h5"><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</div></div></blockquote></div><br>