1832856 Members
2972 Online
110047 Solutions
New Discussion

NFS vs Local mount

 
Sean OB_1
Honored Contributor

NFS vs Local mount

Hello,

If a cluster has packages that normally run on different nodes and NFS mount directories from another package, is there an easy way to tell the package to use the locally mounted directory in the event that the packages have failed over to the same node?

6 REPLIES 6
Brian Vance
Advisor

Re: NFS vs Local mount

How does it access the files when the other packages are not failed to this node (NFS?)
Alan Meyer_4
Respected Contributor

Re: NFS vs Local mount

in a script, grab the package location from the cmviewcl command and if the location matches the local machine, utilize the local disks


but you are going to run into difficulties if the other package switches independant of the one being configured
" I may not be certified, but I am certifiable... "
generic_1
Respected Contributor

Re: NFS vs Local mount

If you can, move away from NFS. IT will save you outages in your cluster. Move the package across the san if at all possible, by activating the other volume group. Also keep all your NFS stuff in one package if you do use it. Only one /etc/xtab.
Devender Khatana
Honored Contributor

Re: NFS vs Local mount

Hi,

What you are trying to achive is not a recomended configuration in my opinion. You should always club all NFS mounts within a package to avoid such problems.

HTH,
Devender
Impossible itself mentions "I m possible"
Devesh Pant_1
Esteemed Contributor

Re: NFS vs Local mount

You can have action scripts called from the package startup in place to check the hostname and act accordinly for the nfs mounts when the package fails over.

thanks
DP
Brian Vance
Advisor

Re: NFS vs Local mount

In your monitor script you can have the system look for those packages to be running on this node. You can then umount the appropriate NFS mount and then use the local file systems. I would recommend mounting the the NFS file system to the same place as the local file system. (mounting over it)