<div dir="ltr"><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 1:33 PM, Maurits van de Lande <span dir="ltr"><<a href="mailto:M.vandeLande@vdl-fittings.com" target="_blank">M.vandeLande@vdl-fittings.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="NL" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello Zohair,<u></u><u></u></span></p><div class="im">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">>So If I don't have real fencing device, I can't get a cluster?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It depends, I have some clusters without fencing, they are mainly for virtualization. The cluster is configured not to relocate the services in
case of a failure. I do this manually. (all services are redundant) The Virtual Machine configuration files are stored on a GFS2 file system. I configured this file system to be always available (also when quorum is lost). Because I do all the recovering
manually this does not matter, also no data is written to the GFS2 file system.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So, you can have a cluster without fencing if a quorum loss does not corrupt your data. You should also set the cluster timeout’s in such a way
that even with a WAN connection the cluster does not loose quorum during normal operation. (I have not tried this)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">For SAMBA you might need “clustered SAMBA”
<a href="http://ctdb.samba.org/samba.html" target="_blank">http://ctdb.samba.org/samba.html</a></span></p></div></div></blockquote><div><br></div><div>It usually comes later after a clustered file system </div><div><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="NL" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Did you have a look at glusterfs?
<a href="http://www.gluster.org/" target="_blank">http://www.gluster.org/</a> It supports synchronization (I do not know if it also works over a WAN connection) But it has nothing to do with drbd. The drbd 8.3 branch is very mature I do not know if this is the same for glusterfs.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u></span></p></div></div></blockquote><div><br></div><div>I checked that earlier, but wanted to dig more into the problem why I am unable to achieve this with gfs </div>
<div><br></div><div>Now considering glusterfs, lsync and csync2</div><div><br></div><div>Thanks alot for your help so far guys</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="NL" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Maurits<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Van:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:drbd-user-bounces@lists.linbit.com" target="_blank">drbd-user-bounces@lists.linbit.com</a> [mailto:<a href="mailto:drbd-user-bounces@lists.linbit.com" target="_blank">drbd-user-bounces@lists.linbit.com</a>]
<b>Namens </b>Zohair Raza<br>
<b>Verzonden:</b> woensdag 31 oktober 2012 9:51<br>
<b>Aan:</b> Felix Frank<br>
<b>CC:</b> <a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a></span></p><div class="im"><br>
<b>Onderwerp:</b> Re: [DRBD-user] GFS2 freezes<u></u><u></u></div><p></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">So If I don't have real fencing device, I can't get a cluster?<u></u><u></u></p><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">My requirement is to synchronized two Samba boxes between remote locations, I can't use rsync because of bandwidth consumption and system processing each time it will run it will go through each file and see if it is synced or not. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">While GFS seemed to be the right option, but as two servers are distant from each other I can not have fencing device as it may experience power outage or network failures quite often. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">What do you guys suggest in such scenario?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal">Regards,<br>
Zohair Raza<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Oct 31, 2012 at 12:30 PM, Felix Frank <<a href="mailto:ff@mpexnet.de" target="_blank">ff@mpexnet.de</a>> wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">On 10/31/2012 12:02 AM, Lars Ellenberg wrote:<br>
>>> Manual fencing is not in any way supported. You must be able to call<br>
>>> > > 'fence_node <peer>' and have the remote node reset. If this doesn't<br>
>>> > > happen, your fencing is not sufficient.<br>
>> > fence_node <peer> doesn't work for me<br>
>> ><br>
>> > fence_node node2 says<br>
>> ><br>
>> > fence node2 failed<br>
> Which is why you need a *real* fencing device<br>
> for automatic fencing.<u></u><u></u></p>
</div>
<p class="MsoNormal">...which is bound to sound more than a little cryptic to the<br>
uninitiated, I assume.<br>
<br>
An example for a "classical" fencing method is a power distribution unit<br>
with network access. The surviving node accesses the PDU and cuts the<br>
power to its peer.<br>
This is just one example. Similar results can be achieved using<br>
IPMI/ILOM technologies etc.<br>
<br>
HTH,<br>
Felix<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>