<br><br><div class="gmail_quote">2009/9/1 Kaloyan Kovachev <span dir="ltr"><<a href="mailto:kkovachev@varna.net">kkovachev@varna.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Tue, 1 Sep 2009 14:21:47 +0200, ESGLinux wrote<br>
<div class="im">><br>
><br>
><br>
><br>
><br>
> You should use one iscsi lun shared by both cluster nodes. You can mount a<br>
GFS filesystem without locking (lock=nolock) with (correct me if I am wrong)<br>
the node not being part of a cluster, but only in one node at a time.<br>
> You can mount a GFS filesystem created for a certain cluster without having<br>
the filesystem configured as a resource, the only requisite is that the nodes<br>
mounting the filesystem have to be part of that certain cluster.<br>
><br>
><br>
> If I have understand you ok, I need to create a cluster, for example,<br>
MYCLUSTER, then create a resource of type GFS filesystem. After that I must<br>
create 2 nodes in the cluster, access de iscsi lun from this nodes and finally<br>
mount the gfs filesystem.<br>
><br>
> With these I can share this directory between the nodes without the risk of<br>
file corruption?<br>
><br>
</div>> Well, in the case I canґt use this approach, is there any way to do this?<br>
><br>
<br>
if you don't have shared storage, but you have local disks - you may use DRBD<br>
instead of iSCSI.</blockquote><div><br></div><div>this looks interesting, any good manual about using DRBD?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 About the cluster - you don't need to define any resources -<br>
just have a cluster which is quorate to avoid data corruption while accessing<br>
the GFS on DRBD<br>
<div class="im"><br></div></blockquote><div><br></div><div>ok, so I only need the cluster with the 2 nodes and the gfs filesystem formated, for example like this:</div><div><br></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";
mso-ansi-language:EN-US">gfs_mkfs -p lock_dlm -t MyCLUSTER:mydata -j 8
/dev/sda1</span></p><p class="MsoNormal">When  I have done this I can mount /dev/sda1 in both nodes as use it </p><p class="MsoNormal">isn´t it?</p><p class="MsoNormal">Thanks, </p><p class="MsoNormal">ESG</p><p class="MsoNormal">
<br></p></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> Thanks for your time,<br>
><br>
> ESG<br>
><br>
><br>
><br>
> Regards,<br>
> Juanra<br>
><br>
><br>
><br>
<br>
</div><div><div></div><div class="h5">--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</div></div></blockquote></div><br>