<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EstiloCorreo20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Yes, I understand that. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>However, what I meant is that, from a
configuration simplicity point of view, it could be convenient to add the
functionality into a only resource that take care of the entire cycle, logical
volume activation in exclusive mode and mounting it. I think this is the most
common usage of the fs resource. In this way, I don’t need to create two
resources for each filesystem (one for the logical volume and one other for the
fs) and I can be sure a filesystem can not be mounted by hand in another node (as
it has been activate exclusively in the node running the service).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Best regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Alfredo<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=ES style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=ES style='font-size:
10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=ES style='font-size:10.0pt;font-family:Tahoma'>
linux-cluster-bounces@redhat.com [mailto:linux-cluster-bounces@redhat.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>brem belguebli<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, August 18, 2009
11:36 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">linux
 clustering</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Linux-cluster] CLVMD
without GFS</span></font><span lang=ES><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Alfredo,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>The resource Rafael created operates at <st1:City w:st="on"><st1:place
 w:st="on">LV</st1:place></st1:City> level not FS.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>As far as I understand, a FS exclusive tag would be efficient
only under rgmanager control, but it wouldn't if an admin decided to mount the
FS by hand on another cluster node.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Brem  <br>
<br>
 <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2009/8/18, Moralejo, Alfredo <<a
href="mailto:alfredo.moralejo@roche.com">alfredo.moralejo@roche.com</a>>:</span></font></span>
<o:p></o:p></p>

<div vlink=blue link=blue>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Hi Brem,</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Maybe I did not explain it properly.</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>What I mean is that fs resource should activate the
filesystems in <b><span style='font-weight:bold'>exclusive</span></b> mode as
the resource created by Rafael does (lvm-cluster.sh) as I far as I understand
to ensure the filesystem can not be mounted in other nodes accidentally.</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Best regards,</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Alfredo</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=ES style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span lang=ES style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span lang=ES style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:linux-cluster-bounces@redhat.com" target="_blank">linux-cluster-bounces@redhat.com</a>
[mailto:<a href="mailto:linux-cluster-bounces@redhat.com" target="_blank">linux-cluster-bounces@redhat.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>brem belguebli<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, August 18, 2009
11:10 AM <o:p></o:p></span></font></p>

<div><span id="q_1232ccbbd75ba9ea_1">

<p class=MsoNormal><font size=2 face=Tahoma><span lang=ES style='font-size:
10.0pt;font-family:Tahoma'><br>
<span class=e><b><span style='font-weight:bold'>To:</span></b> <st1:PersonName
w:st="on">linux clustering</st1:PersonName></span><br>
<span class=e><b><span style='font-weight:bold'>Subject:</span></b> Re:
[Linux-cluster] CLVMD without GFS</span></span><o:p></o:p></span></font></p>

</div>

</div>

<div><span id="q_1232ccbbd75ba9ea_3">

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hello
Alfredo,<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>For the
exclusive bypass, I have opened a bugzilla ticket. Hopefully it'll
be fixed (enhanced)0<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>For your
second point, I'm not sure to ubndestand what you're saying.<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>My
concern is to avoid manual activation on the wrong node, not an accidental
rgmanager activation.<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Even if
you configure your FS resource as exclusive, if it is possible, this won't be
of any effect with ext3 outside of rgmanager control as it is not
cluster aware. <br>
<br>
Brem<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>2009/8/18,
Moralejo, Alfredo <<a href="mailto:alfredo.moralejo@roche.com"
target="_blank">alfredo.moralejo@roche.com</a>>: <o:p></o:p></span></font></p>

<div vlink=blue link=blue>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Hi,</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>I have the same concern with the activation of non-GFS file
systems and I agree with the idea of using exclusive activation (keeping in
mind that the strange behavior of exclusive tag being bypassed should be
fixed). However, from my point of view, the best way is not to create a new
resource but adding a new “exclusive” option to the regular fs resource or
something like that, as I think it’s the desired behavior most times the fs
resource is used.</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Best regards,</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Alfredo</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=ES style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span lang=ES style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span lang=ES style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:linux-cluster-bounces@redhat.com" target="_blank">linux-cluster-bounces@redhat.com</a>
[mailto:<a href="mailto:linux-cluster-bounces@redhat.com" target="_blank">linux-cluster-bounces@redhat.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>brem belguebli<br>
<b><span style='font-weight:bold'>Sent:</span></b> Saturday, August 01, 2009
2:25 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">linux
 clustering</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Linux-cluster] CLVMD
without GFS</span></font><o:p></o:p></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi
Rafael,<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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.<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>The
prerequisites are already setup (locking type, dm-mp, lvm, etc...).<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>The only
thing that disturbes me is that you can bypass under certain conditions the
locking.<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Thanks
for the help<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Brem <o:p></o:p></span></font></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>2009/8/1
Rafael Micó Miranda <<a href="mailto:rmicmirregs@gmail.com" target="_blank">rmicmirregs@gmail.com</a>><o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi Brem,<br>
<br>
El vie, 31-07-2009 a las 06:09 -0400, <a href="mailto:crosa@redhat.com"
target="_blank">crosa@redhat.com</a> escribió:<o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>><br>
> --- mensagem original ---<br>
> De: brem belguebli <<a href="mailto:brem.belguebli@gmail.com"
target="_blank">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>
><o:p></o:p></span></font></p>

</div>

<div>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>> --<br>
> Linux-cluster mailing list<br>
> <a href="mailto:Linux-cluster@redhat.com" target="_blank">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><o:p></o:p></span></font></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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"><span style='color:#888888'>Rafael Micó Miranda</span></font><o:p></o:p></span></font></p>

<div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com" target="_blank">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><o:p></o:p></span></font></p>

</div>

</div>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

</div>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com" target="_blank">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><o:p></o:p></span></font></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

</div>

</div>

</span>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><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><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>