1847456 Members
3166 Online
110265 Solutions
New Discussion

Re: nfs toolkit problem

 
jimmy_39
Advisor

nfs toolkit problem

i have a package with nfs tollkit ...

i want nfs mount the filesystem beetwen two node ..
es
nodo1 nodo2
|---------|
files --> import/files


I want the filesystem to export from a node and import from the other node.
ip address of the server that export I insert the ip address of the virtual packege,
is all correct?
or does nfs try to climb on the filesystem shared on both the nodes?
2 REPLIES 2
John Carr_2
Honored Contributor

Re: nfs toolkit problem

can you let us know what package you have and what h/w and what version of o/s please.

John.
Ashwani Kashyap
Honored Contributor

Re: nfs toolkit problem

when nfs toolkit is installed , it creates the nfs.cntl file in /opt/cmcluster/nfs .
Then there is another file called nfs_xmnt in the same directory .

Copy the nfs.cntl file to /etc/cmcluster/Package_name/package_name.cntl and also nfs_xmnt to the same directory on the exporting node .

nfs.cntl is the same file as your package control script except there is a portion where you can export the directories .

open this file and edit the lines starting with XFS . This is the portion where you export the directories with the required options .

When the cluster starts up it executes the control file and exports the directories with the options configured .

Now on the nodes that mount the nfs directories , edit the nfs_xmnt file and modify the lines beginning with SNFS to mount the exported direcories on the required mount point .

Call this nfs_xmnt script in one of the customer_defined_run_commands in the package control script .
And yes use the virtual package names or Ip addresses .