1836444 Members
2357 Online
110100 Solutions
New Discussion

NFS in MCSG environment

 
shasha_1
Super Advisor

NFS in MCSG environment

We would like to configure an NFS package using MCSG. Unfortunately, we don't have the NFS toolkit license. Setup is this:

1. One NFS Server (HP-UX11i) with two locally mounted directories that will be exported to the NFS client (HPUX 11i).

2. NFS client mounts the NFS directories using the same mount points (e.g. in NFS server - /mount1 and /mount1/work1; client nfs mounts - /mount1 and /mount1/work1).

3. When the NFS server goes down (e.g., no more nfsd processes running), the package should failover to the NFS client. In short, the NFS client now locally mounts the two directories and exports them using the same mount points.

Question:

Is this a valid configuration?
"Edited to comply with ITRC Guidelines"

Thanks in advance.
5 REPLIES 5
melvyn burnard
Honored Contributor

Re: NFS in MCSG environment

Well it may work, depending on how you set your scripts up.
I would be careful here as you appear to be cross mounting the devices, and this may lead to issues when moving the package from the failed node to the backup node.
The Toolkit is the better way to go.
If you have the MCOE, these toolkits should be included.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
shasha_1
Super Advisor

Re: NFS in MCSG environment

Unfortunately, we don't have a license for that and I think the company has no plans of buying either so I have to resort to manual creation of everything.

What issues will possibly occur when having such setup? Also, will it be better if I have this setup:

1. NFS Server - Locally mount directories as /mount and mount/work, nfs export as /mount1 and /mount1/work1 respectively.

2. NFS client - NFS mount using /mount1 and /mount1/work1

Would this setup be easier than the first one and will there be any performance implications if I use this?
generic_1
Respected Contributor

Re: NFS in MCSG environment

Make sure all your nfs stuff is in one package on this cluster. The /etc/mnttab will not like it otherwise.


I am not a big fan of NFS and clusters, because people mix highly available with NFS which is not highly available. :)
shasha_1
Super Advisor

Re: NFS in MCSG environment

I have created one package for this. My other question is, how do I tell MCSG to run the nfs package first before running the other package? The second package requires that the nfs directories be properly mounted first because the user profile requires this directory, otherwise the second package fails.

Mahadev Pednekar
Frequent Advisor

Re: NFS in MCSG environment

Hi,
If you have created two packages then in second package incorporate the delay parameter so that second package will start after specified delay.
In first package under custom defined run cmd incorporate the script which will start nfs server, export filesystem and in custom defined halt incoporate the script which will unexport the filesystem and stop the nfs server.

regds,
MP