<OL>
<LI><FONT size="4"> </FONT></LI>
<LI>What is fencing?<BR><FONT size="3">Fencing is the act of forecefully removing a node from a cluster. A node with OCFS2 mounted will fence itself when it realizes that it doesn't have quorum in a degraded cluster. It does this so that other nodes won't get stuck trying to access its resources. Currently OCFS2 will panic the machine when it realizes it has to fence itself off from the cluster. As described above, it will do this when it sees more nodes heartbeating than it has connectivity to and fails the quorum test.<BR></FONT><SPAN style="COLOR: #f00"><FONT size="3">Due to user reports of nodes hanging during fencing, OCFS2 1.2.5 no longer uses "panic" for fencing. Instead, by default, it uses "machine restart". This should not only prevent nodes from hanging during fencing but also allow for nodes to quickly restart and rejoin the cluster. While this change is internal in nature, we are documenting this so as to make users aware that they are no longer going to see the familiar panic stack trace during fencing. Instead they will see the message <I>"*** ocfs2 is very sorry to be fencing this system by restarting ***"</I> and that too probably only as part of the messages captured on the netdump/netconsole server.<BR>If perchance the user wishes to use panic to fence (maybe to see the familiar oops stack trace or on the advise of customer support to diagnose frequent reboots), one can do so by issuing the following command after the O2CB cluster is online. </FONT><PRE>   # echo 1 > /proc/fs/ocfs2_nodemanager/fence_method
</PRE>Please note that this change is local to a node. </SPAN><FONT size="+1"></FONT></LI></OL>
<DIV><BR></DIV>
<DIV></DIV><BR>At 2011-04-10 22:29:01£¬"Meisam Mohammadkhani" <meisam.mohammadkhani@gmail.com> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" id="isReplyContent">
<DIV dir="ltr">Hi All,<BR>
<DIV class="gmail_quote">
<DIV dir="ltr"><BR>I'm new to GFS. I'm searching around a solution for our enterprise application that is responsible to save(and manipulate) historical data of industrial devices. Now, we have two stations that works like hot redundant of each other. Our challenge is in case of failure. For now, our application is responsible to handling fault by synchronizing the files that changed during the fault, by itself. Our application is running on two totally independent machines (one as redundant) and so each one has its own disk.<BR>We are searching around a solution like a "high available transparent file system" that makes the fault transparent to the application, so in case of fault, redundant machine still can access the files even the master machine is down (replica issue or such a thing).<BR>Is there fail-over feature in GFS that satisfy our requirement? Actually, my question is that can GFS help us in our case?<BR><BR>Regards</DIV></DIV><BR></DIV></BLOCKQUOTE><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>