<html><body bgcolor="#FFFFFF"><div>In sles11, ocfs2 works with pacemaker. <br><br>On Dec 14, 2009, at 11:46 PM, Luis Freitas <<a href="mailto:lfreitas34@yahoo.com">lfreitas34@yahoo.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><table cellspacing="0" cellpadding="0" border="0"><tbody><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><<a href="mailto:sunil.mushran@oracle.com">sunil.mushran@oracle.com</a>></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 <<a href="mailto:sunil.mushran@oracle.com">sunil.mushran@oracle.com</a>><br>Subject: Re: [Ocfs2-users] Combining OCFS2 with Linux software RAID-0?<br>To: "Luis Freitas" <<a href="mailto:lfreitas34@yahoo.com">lfreitas34@yahoo.com</a>><br>Cc: "Brian Kroth" <<a href="mailto:bpkroth@gmail.com">bpkroth@gmail.com</a>>, <a href="mailto:ocfs2-users@oss.oracle.com"><a href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a></a><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"><a href="http://wiki.novell.com/index.php/Linux_Data_Management">http://wiki.novell.com/index.php/Linux_Data_Management</a></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"><a href="http://www.novell.com/products/server/oracle/matrix.html">http://www.novell.com/products/server/oracle/matrix.html</a></a>><br>> OCFS2 project web site <<a href="http://oss.oracle.com/projects/ocfs2/" target="_blank"><a href="http://oss.oracle.com/projects/ocfs2/">http://oss.oracle.com/projects/ocfs2/</a></a>><br>> OCFS2 Development Roadmap <<a href="http://oss.oracle.com/osswiki/OCFS2/Roadmap" target="_blank"><a href="http://oss.oracle.com/osswiki/OCFS2/Roadmap">http://oss.oracle.com/osswiki/OCFS2/Roadmap</a></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"><a href="mailto:bpkroth@gmail.com">bpkroth@gmail.com</a></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"><a href="mailto:bpkroth@gmail.com">bpkroth@gmail.com</a></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"><a href="mailto:lfreitas34@yahoo.com">lfreitas34@yahoo.com</a></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"><a href="mailto:lopresti@gmail.com">lopresti@gmail.com</a></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"><a href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a></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"><a href="mailto:lfreitas34@yahoo.com">lfreitas34@yahoo.com</a></a><br>> <<a href="http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com" target="_blank"><a href="http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com">http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com</a></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"><a href="mailto:lopresti@gmail.com">lopresti@gmail.com</a></a><br>> <<a href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" target="_blank"><a href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com">http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com</a></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"><a href="mailto:lopresti@gmail.com">lopresti@gmail.com</a></a><br>> <<a href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" target="_blank"><a href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com">http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com</a></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"><a href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a></a><br>> <<a href="http://us.mc514.mail.yahoo.com/mc/compose?to=ocfs2-users@oss.oracle.com" target="_blank"><a href="http://us.mc514.mail.yahoo.com/mc/compose?to=ocfs2-users@oss.oracle.com">http://us.mc514.mail.yahoo.com/mc/compose?to=ocfs2-users@oss.oracle.com</a></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"><a href="mailto:linux-raid@vger.kernel.org">linux-raid@vger.kernel.org</a></a><br>> <<a href="http://us.mc514.mail.yahoo.com/mc/compose?to=linux-raid@vger.kernel.org" target="_blank"><a href="http://us.mc514.mail.yahoo.com/mc/compose?to=linux-raid@vger.kernel.org">http://us.mc514.mail.yahoo.com/mc/compose?to=linux-raid@vger.kernel.org</a></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"><a href="http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html">http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html</a></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"><a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a></a><br>> <<a href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" target="_blank"><a href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com">http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com</a></a>><br>> > [3]<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank"><a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></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"><a href="http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html">http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html</a></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"><a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a></a><br>> <<a href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" target="_blank"><a href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com">http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com</a></a>><br>> > 3. <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank"><a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></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"><a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a></a><br>> <<a href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" target="_blank"><a href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com">http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com</a></a>><br>> > <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank"><a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></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"><a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a></a><br>> <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank"><a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></a><br><br></div></blockquote></td></tr></tbody></table><br>
</div></blockquote></body></html>