Jose <br><br>If i understand you looking for lvm snapshot<br><br><a href="http://www.drbd.org/users-guide/s-lvm-snapshots.html">http://www.drbd.org/users-guide/s-lvm-snapshots.html</a><br><br><div class="gmail_quote">2012/2/2 Redding, Erik <span dir="ltr"><<a href="mailto:erik.redding@txstate.edu">erik.redding@txstate.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Jose - Ignore the DRBD+LVM aspect - act like it's / in LVM because I'm not concerned about that part.  I describe it because it directly effects the LVM configuration if I turn on tagging.  Here's the info on LVM+DRBD: <a href="http://www.drbd.org/users-guide/s-lvm-lv-as-drbd-backing-dev.html" target="_blank">http://www.drbd.org/users-guide/s-lvm-lv-as-drbd-backing-dev.html</a>  - it lets you gain a "roll back" technique if the DRBD sync breaks somehow because it snaps the underlying LV before it starts a sync.<div>
<br></div><div><br><div><br></div><div>Emmanuel - Thanks for the insightful comment but I would appreciate it if you'd elaborate on how you'd solve for the situation.  I'm open to other solutions if Red Hat has something better (and not CLVM because I require snapshots) but I don't see that there is one. As far as I can tell, this is the best solution for the requirements. </div>
<div><br></div><div><br></div><div><br></div><div>Thanks, </div><div><div><div><div style="word-wrap:break-word"><div>Erik Redding</div><div>Core Systems </div><div>Texas State University-San Marcos</div><div><br></div><div>
<br></div></div><br><br>
</div>
<br><div><div>On Feb 2, 2012, at 3:19 AM, emmanuel segura wrote:</div><br><blockquote type="cite">HA-LVM it's deprecated on redhat cluster <br><br><div class="gmail_quote">2012/2/2 jose nuno neto <span dir="ltr"><<a href="mailto:jose.neto@liber4e.com" target="_blank">jose.neto@liber4e.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
I have used LVM-HA on a previous project and for Failover Cluster works fine.<br>
Didn't use DRBD with it, have tested DRBD for concurrent access to<br>
devices/filesystems<br>
<br>
For volume_list I would use something like this<br>
"@rhel-01"<br>
if you put<br>
"@*"<br>
think it will allow all tags<br>
so guess you should remove it<br>
<br>
anyway, didn't fully understand the DRDB here, you provide this LVM-HA has<br>
DRBD resources? If so you dont need LVM tags for this. just normal LVM<br>
LVM tags in redhat cluster are used to allow switching access to the Vgs<br>
from one node to others<br>
<br>
Regards<br>
Jose<br>
<br>
> I'm having a dialog with RH support about configuring HA-LVM within RHCS<br>
> and I'm trying to see if there are some limitations and thought I'd ping<br>
> the mailing list on the same subject.<br>
><br>
> Is an HA-LVM configuration that only uses LVM tags useful beyond a single<br>
> volume group?<br>
><br>
> I'm attempting to provide a database service along side a pair of HA-NFS<br>
> services that utilize DRBD and LVM (but drbd isn't the issue).<br>
><br>
> on two nodes, rhel-01 and rhel-02, I currently I have three volume groups:<br>
>  vgTest0, vgTest1, vgTestCluster<br>
><br>
> vgTest0 and vgTest1 are volume groups that exist on each node, and they<br>
> provide a single back-end LVM volume to a DRBD resource, so DRBD can<br>
> leverage the snapshotting technique  during syncs.  Both nodes in the<br>
> cluster have the same configuration, and DRBD is working fine.  This has<br>
> been in production for about a month.<br>
><br>
> I recently got the SAN resource that is presented to both hosts that I<br>
> want to roll in LVM so I can utilize snapshots on the volume data.  I<br>
> don't want to bother with CLVM because I have a use case for snapshotting,<br>
> so HA-LVM as described: <a href="https://access.redhat.com/kb/docs/DOC-3068" target="_blank">https://access.redhat.com/kb/docs/DOC-3068</a>, I'm<br>
> doing the second method.  The goal is a failover cluster.<br>
><br>
> I've been struggling with how to configure my /etc/lvm/lvm.conf because of<br>
> the volume_list parameter:<br>
><br>
><br>
> # If volume_list is defined, each LV is only activated if there is a<br>
> # match against the list.<br>
> #   "vgname" and "vgname/lvname" are matched exactly.<br>
> #   "@tag" matches any tag set in the LV or VG.<br>
> #   "@*" matches if any tag defined on the host is also set in the LV or<br>
> VG<br>
> #<br>
> # volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]<br>
><br>
> would I go with something like:<br>
> volume_list = [ "vgTest0", "vgTestCluster/lvTest0", "@rhel-01", "@*" ]<br>
><br>
> I don't get why I need to state a persistent volume group - and if I do,<br>
> which one?  I've got two persistent groups on each node.  I don't use LVM<br>
> on the root disk.<br>
><br>
> Could I somehow expand this out to two HA-LVM volume groups? I don't see a<br>
> way but thought I'd ask.<br>
><br>
><br>
><br>
> Erik Redding<br>
> Systems Programmer, RHCE<br>
> Core Systems<br>
> Texas State University-San Marcos<br>
><br>
><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><br>
><br>
> --<br>
> This message has been scanned for viruses and<br>
> dangerous content by MailScanner, and is<br>
> believed to be clean.<br>
><br>
<span><font color="#888888"><br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<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><br>
</font></span></blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<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></font></span></blockquote>
</div><br></div></div></div></div><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></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>