--Interesting. How does a resource on B know which node failed and
--which filesystems the failed node exported?

it is all through resource group and location constraints. 
for example I have group  called home resource in it are  lvm-xfs-nfs-ip.
which is native on nodeA. 

now on location constraints I have set nodeB, nodeC and nodeD in line 

so if nodeA fails resource group home will go on nodeB. if nodeB fails resource 
group now will go on nodeC.


in my original email I have paste both script.


> Date: Tue, 5 Jan 2010 11:48:58 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [Linux-HA] nfs config - help needed
> 
> Hi,
> 
> On Mon, Jan 04, 2010 at 06:41:04PM +0000, sachin patel wrote:
> > 
> > nothing was wrong. it is just we added our need in to it. 
> > We didn't want to fail over nfs server completly. 
> > Basically we have four NFS head A,B,C,D they all sees all
> > disks. They mounts their respective FS and export that out.  if
> > A fails B might picks up A's FS and simple add one more FS in
> > it's export list.
> 
> Interesting. How does a resource on B know which node failed and
> which filesystems the failed node exported?
> 
> > We have also have to put some trick in another resource script
> > called Filesystem (mainly in stop section)  ( to mount/umount
> > xfs filesystem ) without this heartbeat was thinking that FS is
> > active on multiple node and was getting messed up.
> >  
> > here is both codes. 1-NFSserver, 2-Filesystem
> 
> Can't see what you changed unless you attach scripts. At any
> rate, you'll have trouble upgrading the cluster software.
> 
> Thanks,
> 
> Dejan
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
                                          
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to