Thanks a bunch for the reply, which could give me some inside view
without going through the code. It'd have been great, if you had
written a doc mentioning all these details and rolled it out :)<br><br>
There are some ocfs2_wq, ocfs2_vote and ocfs2_cmt threads created, when I mount a shared volume. Any details about them?<br>
<br>
Moreover, as you said that OCFS2 has shorter timings than that of CRS,
so do we solely depend on this fact (shorter timings) to prevent CRS
from intruding into racing during crash and split-brain situations. I
was just trying to understand how it works. I think CRS misscount is 60
for Linux. Do we believe that by this time, OCFS2 would have taken all
the decisions and completed the recovery before CRS (or rather CSSD)
starts its ejection mechanism? Without ASM, how do we ensure that
underlying Volume Manager's recovery has been completed before OCFS2
starts its recovery. And how does it happen when we use ASM?<br>
<br>
Sorry, if I am going out of the context, but just wanted to get some information how they co-ordinate.<br>
<br>
Thanks.<br>
Sumsha.<br><div><span class="gmail_quote">On 5/2/06, <b class="gmail_sendername">Sunil Mushran</b> &lt;<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The modules don't map one on one. The idea is to keep the<br>number of modules at a minimum while retaining some sense<br>modularity.<br><br>For e.g., ocfs2_nodemanager.ko&nbsp;&nbsp;encompasses nm, heartbeat and net/tcp.<br><br>The various kernel/worker threads may change over time.
<br>For e.g., we added dlm_wq in the last drop. Again, the idea is to<br>keep the threads at a minimum while still functioning. :)<br><br>o2cb (ocfs2 cluster stack) and crs have nothing in common. No, they<br>don't talk to each other. o2cb is almost entirely implemented in kernel
<br>space while crs in userspace.<br><br>ocfs2 default timings are much shorter than crs. The idea is to recover<br>dead nodes before crs times out.<br><br>Sum Sha wrote:<br>&gt; Thanks Sunil for this information. I tried going through the docs
<br>&gt; mentioned there, they are useful, but there are details which I wanted<br>&gt; for my&nbsp;&nbsp;learning purpose which are not in those docs. It would be<br>&gt; great if anyone can share any good doc mentioning details about
<br>&gt; Clustering Services which OCFS2 uses. I know that clustering services<br>&gt; which OCFS2 uses has the following components:<br>&gt;<br>&gt; 1. Node manager<br>&gt; 2. Heartbeat module<br>&gt; 3. TCP Protocol module
<br>&gt; 4. DLM<br>&gt;<br>&gt; But once I install and configure OCFS2, I can see the following<br>&gt; modules getting loaded:<br>&gt;<br>&gt; 1. configfs (with filesystem mounted)<br>&gt; 2. ocfs2_nodemanger<br>&gt; 3. ocfs2_dlm
<br>&gt; 4. ocfs2_dlmfs (with filesystem mounted)<br>&gt;<br>&gt; and the following threads created:<br>&gt; 1. ocfs2_wq (perhaps it's the kernel worker thread)<br>&gt; 2. ocfs2_vote (for voting requests. Is this the listener thread?)
<br>&gt; 3. ocfs2_cmt (perhaps this is the node monitoring thread?)<br>&gt;<br>&gt; Can't think of OCFS2 in 10g environment where we have another required<br>&gt; and reliable clustering service CRS (with 10g) running and managing
<br>&gt; Oracle's resources. Do CRS and OCFS's clustering services co-ordinate<br>&gt; in some manner or do they take actions independently on their own<br>&gt; during crash and other conditions?<br>&gt;<br>&gt; Any help would be highly appreciated!!
<br>&gt;<br>&gt; Thanks.<br>&gt; Sumsha.<br>&gt;<br>&gt; On 4/28/06, *<a href="mailto:ocfs2-devel-request@oss.oracle.com">ocfs2-devel-request@oss.oracle.com</a><br>&gt; &lt;mailto:<a href="mailto:ocfs2-devel-request@oss.oracle.com">
ocfs2-devel-request@oss.oracle.com</a>&gt;* &lt;<br>&gt; <a href="mailto:ocfs2-devel-request@oss.oracle.com">ocfs2-devel-request@oss.oracle.com</a><br>&gt; &lt;mailto:<a href="mailto:ocfs2-devel-request@oss.oracle.com">ocfs2-devel-request@oss.oracle.com
</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Send Ocfs2-devel mailing list submissions to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailto:ocfs2-devel@oss.oracle.com">ocfs2-devel@oss.oracle.com</a> &lt;mailto:<a href="mailto:ocfs2-devel@oss.oracle.com">ocfs2-devel@oss.oracle.com</a>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; To subscribe or unsubscribe via the World Wide Web, visit
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-devel</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; or, via email, send a message with subject or body 'help' to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<a href="mailto:ocfs2-devel-request@oss.oracle.com">ocfs2-devel-request@oss.oracle.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:ocfs2-devel-request@oss.oracle.com">ocfs2-devel-request@oss.oracle.com</a>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; You can reach the person managing the list at
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:ocfs2-devel-owner@oss.oracle.com">ocfs2-devel-owner@oss.oracle.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:ocfs2-devel-owner@oss.oracle.com">ocfs2-devel-owner@oss.oracle.com</a>&gt;
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; When replying, please edit your Subject line so it is more specific<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; than &quot;Re: Contents of Ocfs2-devel digest...&quot;<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Today's Topics:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. Re: Please help me in getting OCFS2 design doc. (Sunil Mushran)
<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ----------------------------------------------------------------------<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Message: 1<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Date: Thu, 27 Apr 2006 10:03:23 -0700<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; From: Sunil Mushran &lt;
<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com</a>&gt;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Subject: Re: [Ocfs2-devel] Please help me in getting OCFS2 design
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; doc.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; To: Sum Sha &lt;<a href="mailto:sumsha.matrixreloaded@gmail.com">sumsha.matrixreloaded@gmail.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:sumsha.matrixreloaded@gmail.com">sumsha.matrixreloaded@gmail.com
</a>&gt;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Cc: <a href="mailto:ocfs2-devel@oss.oracle.com">ocfs2-devel@oss.oracle.com</a> &lt;mailto:<a href="mailto:ocfs2-devel@oss.oracle.com">ocfs2-devel@oss.oracle.com</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Message-ID: &lt; 
<a href="mailto:4450F95B.8000704@oracle.com">4450F95B.8000704@oracle.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:4450F95B.8000704@oracle.com">4450F95B.8000704@oracle.com</a>&gt;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Look into docs in ocfs2 projects page. While there<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; is no design doc, there is a presentation which lists<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; out the changes.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://oss.oracle.com/projects/ocfs2/documentation/">
http://oss.oracle.com/projects/ocfs2/documentation/</a><br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Sum Sha wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hi all,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Could someone point me to design doc for OCFS2? I could get OCFS<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; V-1<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; design doc, but could not find any design doc for OCFS2. I read
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; somewhere that OCFS2 has got lots of design changes as comapared to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; OCFS1.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Thanks in advance.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; _______________________________________________
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Ocfs2-devel mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; <a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a> &lt;mailto:<a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a>&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-devel</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-devel
</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ------------------------------<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Ocfs2-devel mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:Ocfs2-devel@oss.oracle.com">
Ocfs2-devel@oss.oracle.com</a> &lt;mailto:<a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-devel
</a><br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; End of Ocfs2-devel Digest, Vol 25, Issue 10<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *******************************************<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; Ocfs2-devel mailing list<br>&gt; <a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a><br>&gt; <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">
http://oss.oracle.com/mailman/listinfo/ocfs2-devel</a><br>&gt;<br></blockquote></div><br>