<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Sunil,</DIV>
<DIV> </DIV>
<DIV> I am getting too old for all these cluster stacks! Seems that heartbeat2 is deprecated...</DIV>
<DIV> </DIV>
<DIV>Can ocfs2 be integrated with pacemaker in the same way as it was possible with heartbeat2 on Suse 10? I know that the RedHat cluster stack cannot, so I used to consider this as an additional feature for Suse Linux.</DIV>
<DIV> </DIV>
<DIV>Best Regards,</DIV>
<DIV>Luis Freitas</DIV>
<DIV> </DIV>
<DIV><BR><BR>--- On <B>Mon, 12/14/09, Sunil Mushran <I><sunil.mushran@oracle.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Sunil Mushran <sunil.mushran@oracle.com><BR>Subject: Re: [Ocfs2-users] Combining OCFS2 with Linux software RAID-0?<BR>To: "Luis Freitas" <lfreitas34@yahoo.com><BR>Cc: "Brian Kroth" <bpkroth@gmail.com>, ocfs2-users@oss.oracle.com<BR>Date: Monday, December 14, 2009, 4:20 PM<BR><BR>
<DIV class=plainMail>That's old.<BR><BR>sles11 has added the pacemaker cluster stack that works with clvm.<BR><BR>Luis Freitas wrote:<BR>> Brian,<BR>> <BR>> Hmm, I was not aware of this. Seems Novel uses other volume <BR>> manager, called EVMS, not CLVM (?).<BR>> <BR>> From:<BR>> <A href="http://wiki.novell.com/index.php/Linux_Data_Management" target=_blank>http://wiki.novell.com/index.php/Linux_Data_Management</A><BR>> <BR>><BR>><BR>> Some Open Source OCFS2 Features<BR>><BR>> Oracle Linux Certification matrix <BR>> <<A href="http://www.novell.com/products/server/oracle/matrix.html" target=_blank>http://www.novell.com/products/server/oracle/matrix.html</A>><BR>> OCFS2 project web site <<A href="http://oss.oracle.com/projects/ocfs2/" target=_blank>http://oss.oracle.com/projects/ocfs2/</A>><BR>> OCFS2 Development Roadmap <<A
href="http://oss.oracle.com/osswiki/OCFS2/Roadmap" target=_blank>http://oss.oracle.com/osswiki/OCFS2/Roadmap</A>><BR>> Oracle Cluster File System v2 (OCFS2) is an open source cluster <BR>> management and<BR>> ....<BR>><BR>> * No exclusive write lock capability yet (now every lock request<BR>> returns: successful). This feature is candidate for SLE10 SP2<BR>> (Q1 2008).<BR>> * OCFS2 on top of a software mirror is not supported yet<BR>> * *Can be managed by EVMS *<BR>><BR>> *....*<BR>><BR>> * OCFS2 offers integration with heartbeat2. Heartbeat2 offers a<BR>> Resource Agent 'md group take over'. (which enables fail-over of<BR>> host based mirroring of SAN volumes), but OCFS2 on top of
a<BR>> software mirror is not supported.<BR>><BR>> ...<BR>><BR>> Best Regards,<BR>> Luis Freitas<BR>><BR>> --- On *Fri, 12/11/09, Brian Kroth /<<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=bpkroth@gmail.com" ymailto="mailto:bpkroth@gmail.com">bpkroth@gmail.com</A>>/* wrote:<BR>><BR>><BR>> From: Brian Kroth <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=bpkroth@gmail.com" ymailto="mailto:bpkroth@gmail.com">bpkroth@gmail.com</A>><BR>> Subject: Re: [Ocfs2-users] Combining OCFS2 with Linux software RAID-0?<BR>> To: "Luis Freitas" <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com" ymailto="mailto:lfreitas34@yahoo.com">lfreitas34@yahoo.com</A>><BR>> Cc: "Patrick J. LoPresti" <<A
href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" ymailto="mailto:lopresti@gmail.com">lopresti@gmail.com</A>>,<BR>> <A href="http://us.mc514.mail.yahoo.com/mc/compose?to=ocfs2-users@oss.oracle.com" ymailto="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</A><BR>> Date: Friday, December 11, 2009, 2:09 PM<BR>><BR>> Luis Freitas <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com" ymailto="mailto:lfreitas34@yahoo.com">lfreitas34@yahoo.com</A><BR>> <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com" target=_blank>http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com</A>>><BR>> 2009-12-11 05:40:<BR>> > Patrick,<BR>> ><BR>>
> Depending on what you are using, you could use the volume manager<BR>> > to do the striping, but you need to use CLVM. So if you can,<BR>> go for<BR>> > Heartbeat2+CLVM+OCFS2, all integrated.<BR>> ><BR>> > Not sure but I think Heartbeat2+OCFS2 is only available on the<BR>> > vanilla kernels, not on the enterprise ones. Maybe Suse has<BR>> > support, I don't know, you will have to check.<BR>> ><BR>> > Best Regards,<BR>> > Luis Freitas<BR>><BR>> Just to elaborate on these comments. Last time I checked CLVM<BR>>
required<BR>> the openais/cman cluster stack, which neither heartbeat nor ocfs2 use<BR>> (by default). The userspace stack option for ocfs2 in recent mainline<BR>> kernels added support for the openais stack and pacemaker is<BR>> required to<BR>> make heartbeat work with that rather than use it's own cluster stack.<BR>><BR>> Now, you can do an basic LVM linear span, concatenation, or<BR>> whatever you<BR>> want to call it without any cluster stack, so long as it's not striped<BR>> and so long as you heed Sunil's warning about fat fingering changes to<BR>> the thing while more than one host is using it.<BR>><BR>> That means that if
you want to add another LUN to the span you<BR>> can't do<BR>> it on the fly. You have to do something like this:<BR>><BR>> # On all nodes:<BR>> umount /ocfs2<BR>><BR>> # On all nodes but one:<BR>> vgchange -an ocfs2span<BR>> # Or, to be extra safe:<BR>> halt -p<BR>><BR>> # On the remaining node:<BR>> vgextend ocfs2span /dev/newlun<BR>> lvextend -l+100%FREE /dev/mapper/ocfs2span-lv<BR>> tunefs.ocfs2 -S /dev/mapper/ocfs2span-lv<BR>><BR>> # You might actually need the fs mounted for that last bit, I forget.<BR>> # Probably a fsck somewhere in there would be wise as
well.<BR>><BR>> # Bring the other nodes back up.<BR>><BR>> Brian<BR>><BR>> > --- On Wed, 12/9/09, Patrick J. LoPresti <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" ymailto="mailto:lopresti@gmail.com">lopresti@gmail.com</A><BR>> <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" target=_blank>http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com</A>>><BR>> wrote:<BR>> ><BR>> > From: Patrick J. LoPresti <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" ymailto="mailto:lopresti@gmail.com">lopresti@gmail.com</A><BR>> <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com"
target=_blank>http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com</A>>><BR>> > Subject: [Ocfs2-users] Combining OCFS2 with Linux software RAID-0?<BR>> > To: <A href="http://us.mc514.mail.yahoo.com/mc/compose?to=ocfs2-users@oss.oracle.com" ymailto="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</A><BR>> <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=ocfs2-users@oss.oracle.com" target=_blank>http://us.mc514.mail.yahoo.com/mc/compose?to=ocfs2-users@oss.oracle.com</A>>,<BR>> <A href="http://us.mc514.mail.yahoo.com/mc/compose?to=linux-raid@vger.kernel.org" ymailto="mailto:linux-raid@vger.kernel.org">linux-raid@vger.kernel.org</A><BR>> <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=linux-raid@vger.kernel.org"
target=_blank>http://us.mc514.mail.yahoo.com/mc/compose?to=linux-raid@vger.kernel.org</A>><BR>> > Date: Wednesday, December 9, 2009, 9:03 PM<BR>> ><BR>> > Is it possible to run an OCFS2 file system on top of Linux<BR>> software RAID?<BR>> ><BR>> > Here is my situation. I have four identical disk chassis that<BR>> perform<BR>> > hardware RAID internally. Each chassis has a pair of fiber<BR>> channel<BR>> > ports, and I can assign the same LUN to both ports. I want to<BR>> connect<BR>> > all
of these chassis to two Linux systems. I want the two Linux<BR>> > systems to share a file system that is striped across all four<BR>> chassis<BR>> > for performance.<BR>> ><BR>> > I know I can use software RAID (mdadm) to do RAID-0 striping<BR>> across<BR>> > the four chassis on a single machine; I have tried this, it works<BR>> > fine, and the performance is tremendous. I also know I can<BR>> use OCFS2<BR>> > to create a single filesystem on a single chassis that is shared<BR>> > between my two Linux
systems. What I want is to combine these two<BR>> > things.<BR>> ><BR>> > Suse's documentation<BR>> > ([1]<A href="http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html" target=_blank>http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html</A>)<BR>> > says:<BR>> ><BR>> > "IMPORTANT:Software RAID is not supported underneath clustered<BR>> file<BR>> > systems such as OCFS2, because RAID does not support concurrent<BR>>
> activation. If you want RAID for OCFS2, you need the RAID to be<BR>> > handled by the storage subsystem."<BR>> ><BR>> > Because my disk chassis already perform hardware RAID-5, I<BR>> only need<BR>> > Linux to do the striping (RAID-0) in software. So for me,<BR>> there is no<BR>> > issue about "which node should rebuild the RAID" etc. I<BR>> understand<BR>> > that Linux md stores meta-data on the partitions and is not<BR>> cluster<BR>> > aware, but will this create problems for OCFS2 even
if it is<BR>> just RAID<BR>> > 0?<BR>> ><BR>> > Has anybody tried something like this? Are there alternative<BR>> RAID-0<BR>> > solutions for Linux that would be expected to work?<BR>> ><BR>> > Thank you.<BR>> ><BR>> > - Pat<BR>> ><BR>> > _______________________________________________<BR>> > Ocfs2-users mailing list<BR>> > [2]<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com"
ymailto="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</A><BR>> <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" target=_blank>http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com</A>><BR>> > [3]<A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR>> ><BR>> > References<BR>> ><BR>> > Visible links<BR>> > 1.<BR>> <A href="http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html"
target=_blank>http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html</A><BR>> > 2. file:///mc/compose?to=<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" ymailto="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</A><BR>> <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" target=_blank>http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com</A>><BR>> > 3. <A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR>><BR>> > _______________________________________________<BR>> > Ocfs2-users mailing list<BR>> > <A
href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" ymailto="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</A><BR>> <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" target=_blank>http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com</A>><BR>> > <A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR>><BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> Ocfs2-users mailing list<BR>> <A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" ymailto="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</A><BR>> <A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users"
target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR><BR></DIV></BLOCKQUOTE></td></tr></table><br>