<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=181022712-20072007><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=181022712-20072007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=181022712-20072007><FONT face=Arial 
color=#0000ff size=2>A fence device is a device that can "build a fence" around 
a node, and thus keep it from corrupting a shared 
filesystem.</FONT></SPAN></DIV>
<DIV><SPAN class=181022712-20072007></SPAN><FONT face=Arial color=#0000ff 
size=2>Most commonly i think a powerswitch is used. It simply<SPAN 
class=181022712-20072007> cuts the power 
to</SPAN> the decfunct server.</FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007></SPAN></FONT></FONT></FONT><SPAN 
class=181022712-20072007></SPAN><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>I<SPAN class=181022712-20072007>t looks and works like 
this:</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007><A 
href="http://www.wti.com/guides/rpb115ug.htm">http://www.wti.com/guides/rpb115ug.htm</A></SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007></SPAN></FONT></FONT></FONT><SPAN 
class=181022712-20072007></SPAN><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>(<SPAN class=181022712-20072007>but there are ofcourse loads of brands 
avaliabel - No, I don't work for WTI ;-)</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007>Alternatively there is the option of "cutting" the 
network from the server (that would be the network between server and disks), 
using a switch. I have not tried that method of fencing, so someone else might 
be able to fill in. </SPAN></FONT></FONT></FONT></DIV><FONT><FONT><SPAN 
class=181022712-20072007>
<DIV><BR><FONT face=Arial color=#0000ff size=2>Depending on the topology of your 
cluster (are your disks connected thrugh a dedicated fiber net or for 
instance iscsi.) the need to "cut" the <SPAN 
class=181022712-20072007>defective server off from the disks</SPAN> will be 
different.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>S<SPAN 
class=181022712-20072007>o in short, A fence device can be many things. 
:-)</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007>Hope it make sence</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007>/Kristoffer</SPAN></FONT></FONT></FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=181022712-20072007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=da dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Fra:</B> linux-cluster-bounces@redhat.com 
[mailto:linux-cluster-bounces@redhat.com] <B>På vegne af 
</B>Dan.Askew@jmsmucker.com<BR><B>Sendt:</B> 20. juli 2007 14:26<BR><B>Til:</B> 
linux clustering<BR><B>Emne:</B> Re: SV: [Linux-cluster] Linux Clustering 
Newbe<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=sans-serif size=2>Could you elaborate on the fence 
device.  What would suggest using ?</FONT> <BR><BR><FONT face=sans-serif 
size=2><BR></FONT><BR><BR><BR>
<TABLE width="100%">
  <TBODY>
  <TR vAlign=top>
    <TD width="40%"><FONT face=sans-serif size=1><B>"Kristoffer Lippert" 
      <kristoffer.lippert@jppol.dk></B> </FONT><BR><FONT face=sans-serif 
      size=1>Sent by: linux-cluster-bounces@redhat.com</FONT> 
      <P><FONT face=sans-serif size=1>07/20/2007 08:13 AM</FONT> 
      <TABLE border=1>
        <TBODY>
        <TR vAlign=top>
          <TD bgColor=white>
            <DIV align=center><FONT face=sans-serif size=1>Please respond 
            to<BR>linux clustering 
        <linux-cluster@redhat.com></FONT></DIV></TR></TBODY></TABLE><BR></P>
    <TD width="59%">
      <TABLE width="100%">
        <TBODY>
        <TR vAlign=top>
          <TD>
            <DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
          <TD><FONT face=sans-serif size=1>"linux clustering" 
            <linux-cluster@redhat.com></FONT> 
        <TR vAlign=top>
          <TD>
            <DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
          <TD>
        <TR vAlign=top>
          <TD>
            <DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
          <TD><FONT face=sans-serif size=1>SV: [Linux-cluster] Linux 
            Clustering Newbe</FONT></TR></TBODY></TABLE><BR>
      <TABLE>
        <TBODY>
        <TR vAlign=top>
          <TD>
          <TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT face=Arial 
color=blue size=2>Hi,</FONT> <BR><FONT size=3> </FONT> <BR><FONT face=Arial 
color=blue size=2>You need gfs for the changes to appear on both servers. With 
GFS, when one server changes a file, the other server is made aware of the 
changes. Also GFS takes care of file locking. Also you need a fencedevice, so 
the cluster can shutdown a "defective" server, and make sure it dosn't corrupt 
the GFS. </FONT><BR><FONT size=3> </FONT> <BR><FONT face=Arial color=blue 
size=2>For your current setup:</FONT> <BR><FONT face=Arial color=blue 
size=2>When you have both servers running, you could mount the ext3 fs on both 
servers, but only the server that writes a file, will be aware of it. The other 
server will be aware of the new file when you remount the fs. </FONT><BR><FONT 
size=3> </FONT> <BR><FONT face=Arial color=blue size=2>Hope this helps a 
bit.</FONT> <BR><FONT size=3> </FONT> <BR><FONT face=Arial color=blue 
size=2>Kind Regards</FONT> <BR><FONT face=Arial color=blue 
size=2>Kristoffer</FONT> <BR><FONT size=3> </FONT> <BR><FONT 
size=3> </FONT> <BR><BR>
<HR>
<FONT face=Tahoma size=2><B>Fra:</B> linux-cluster-bounces@redhat.com 
[mailto:linux-cluster-bounces@redhat.com] <B>På vegne af 
</B>Dan.Askew@jmsmucker.com<B><BR>Sendt:</B> 20. juli 2007 14:01<B><BR>Til:</B> 
linux clustering<B><BR>Emne:</B> [Linux-cluster] Linux Clustering 
Newbe</FONT><FONT size=3><BR></FONT><BR><FONT face=sans-serif 
size=2><BR>Greetings all,</FONT><FONT size=3> <BR></FONT><FONT face=sans-serif 
size=2><BR>I am an old veteran of HP-UX Service Guard. I am trying to get a NFS 
linux Cluster working and need some advise.</FONT><FONT size=3> <BR></FONT><FONT 
face=sans-serif size=2><BR>I have read the NFS Cookbook from Redhat and have a 
the following working</FONT><FONT size=3> <BR></FONT><FONT face=sans-serif 
size=2><BR>2 Node Linux Cluster  (RHEL AS 4.0 update 5)</FONT><FONT size=3> 
<BR></FONT><FONT face=sans-serif size=2><BR>one test disk LVM formated ext3 
(have not decided onGFS or not)</FONT><FONT size=3> <BR></FONT><FONT 
face=sans-serif size=2><BR>Use Vitual IPAddress to access the disks via 
NFS</FONT><FONT size=3> <BR></FONT><FONT face=sans-serif size=2><BR>When SYSTEMA 
 runs the service and the client machine access the disk and makes changes. 
Then I fail over to SYSTEMB these changes made by the client are not present. 
</FONT><FONT size=3><BR></FONT><FONT face=sans-serif size=2><BR>I am runing 
CLVMD deamon <BR>The LVM disks are mounted on both systems</FONT><FONT size=3> 
</FONT><FONT face=sans-serif size=2><BR>I have made the following changes to 
LVM.CONF</FONT><FONT size=3> <BR></FONT><FONT face=sans-serif size=2><BR>(I have 
tried locking_type = 2 and locking_type = 3) both have he same results. (as 
above)</FONT><FONT size=3> <BR></FONT><FONT face=sans-serif size=2><BR>Sorry for 
my ignorance but can anyone tell me what I am doing wrong...would GFS solve the 
syncing problem? </FONT><FONT size=3><BR><BR><BR></FONT><FONT face=sans-serif 
size=2><BR><BR></FONT><TT><FONT size=2>--<BR>Linux-cluster mailing 
list<BR>Linux-cluster@redhat.com<BR>https://www.redhat.com/mailman/listinfo/linux-cluster</FONT></TT> 
<BR></BODY></HTML>