<div dir="ltr">AIUI your target is to use A & B (Cluster nodes) to provide high availability of nfs service to your client machine C. <br>a) If node A goes down B takes over the nfs service, provided to client C. <br>b) If node B goes down A takes over the nfs service. provided to client C.<br>
c) At any particular time only A node or B node providing service to C.<br>c) Client C, should see the same data independent of A and B, whether A is providing nfs export or B. <br><br>Above thing can be achieved easily. <br>
a) Get the DRBD (distributed redundant block device) and replicate data between A node, B node. RAID1<br>b) You need to create a virtual IP which floats between A node and B node along with startup of nfs service.<br>c) You client C will access the floating virtual IP. <br>
above three things can be achieved by linux-heartbeat as well as RHCS, with RHCS you only have to manage DRBD primary. which can be handled with some small script. <br><br>If in doubt ask how to.<br><br>Anuj Singh.<br><br>
<br><div class="gmail_quote">On Mon, Aug 25, 2008 at 6:52 AM, Singh Raina, Ajeet <span dir="ltr"><<a href="mailto:ajeet.singh.raina@logica.com">ajeet.singh.raina@logica.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for the Entire Movie. But Few doubts on mind and want your<br>
suggestions.<br>
<br>
I have two nodes A and B That's fine.<br>
C is not a cluster node.<br>
<br>
As per the project requirement C has to be always be NFS mounted to A.<br>
When A's application goes down, NFS service wont be able to failover as<br>
lots of users are still mounted and accessing from node c to node A<br>
through NFS.I could see there is one command called umount -a but don't<br>
find it efficient.<br>
<br>
How can I achieve that?<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</a><br>
[mailto:<a href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</a>] On Behalf Of Rajagopal<br>
Swaminathan<br>
Sent: Monday, August 25, 2008 3:37 PM<br>
To: linux clustering<br>
Subject: Re: [Linux-cluster] Want to Setup NFS with redhat Cluster??<br>
<br>
Greetings,<br>
<br>
<br>
<br>
2008/8/20 Singh Raina, Ajeet <<a href="mailto:ajeet.singh.raina@logica.com">ajeet.singh.raina@logica.com</a>><br>
<br>
<br>
        Can anyone Help me in setting up NFS with Red Hat Cluster?<br>
<br>
        I still don't understand what is NFS Mount, NFS Client and NFS<br>
Exports?<br>
<br>
<br>
OK Let us say you have 3 machines A, B, C.<br>
<br>
A, B are Cluster nodes.<br>
<br>
C is a machine which has to make available the data on its local hard<br>
disks to who ever wants it using NFS protocol.<br>
This data is available in file format which are stored under directories<br>
say /XXX, /YYY, /ZZZ<br>
<br>
Now our friends A & B -- the cluster members -- wants to access data<br>
under /XXX located in C. They are not interested in /YYY and /ZZZ<br>
<br>
Now let us bring another player in this love triangle -- a laptop called<br>
as GADDI which wants the /ZZZ available on the NFS server C.<br>
<br>
<br>
In this Scenario, A and B are NFS clients.<br>
<br>
Our GADDI too is an NFS client.<br>
<br>
C is the NFS Server. /XXX, /YYY and /ZZZ are NFS exports.<br>
<br>
When A and/or B mounts C:/XXX on a local mount point, say /NFSXXX, it is<br>
called and NFS mount<br>
<br>
Now the /YYY as yet unused. (like scripts in the whole bollywood<br>
movie....)<br>
<br>
:-)<br>
<br>
<br>
Having explained that can you please rephrase your movie.. err..<br>
scenario again please using the above analogies<br>
<br>
<br>
</div></div><div><div></div><div class="Wj3C7c">This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.<br>

<br>
<br>
<br>
</div></div><font color="#888888">--<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>
</font></blockquote></div><br></div>