Operating System - HP-UX
1834319 Members
2276 Online
110066 Solutions
New Discussion

HA NFS module package to specify client hosts

 
SOLVED
Go to solution
David Her
Occasional Advisor

HA NFS module package to specify client hosts

hi,
In legacy package we can state what client hosts allowed to import/mount in hanfs.sh. How to do that in module package line "XFS" ? don't see example in document. Thank you.


David
4 REPLIES 4
Stephen Doud
Honored Contributor
Solution

Re: HA NFS module package to specify client hosts

I didn't know what version of HP-UX, Serviceguard or HA-NFS toolkit to which you are referring, so I assume 11.31, SG A.11.19 and HA-NFS toolkit v.A.11.31.06.

The A.11.31.06 release notes refer the reader to the A.11.31.05 Admin Guide, which supports the above combination of versions and also supports modular packages.
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02044844/c02044844.pdf

On page 54 step 9, it describes how to implement XFS values and states:

9. Create a separate XFS variable for each NFS directory to be exported. Specify the directory name and any export options. The directories must be defined in the above mounted file system list. An example for this parameter is as follows:
For nfs.conf generated on Serviceguard A.11.18
XFS "-o ro /pkg1a"
XFS "-o ro /pkg1b"
For nfs.conf generated on Serviceguard A.11.19
nfs/hanfs_export/XFS "-o ro /pkg1a"
nfs/hanfs_export/XFS "-o ro /pkg1b"
David Her
Occasional Advisor

Re: HA NFS module package to specify client hosts

It is 11.31 SG 11.19 and NFS toolkit A.11.31.05.
Presumably we can specify nfs clients (hostclienta hostclientb) as below statements ?

nfs/hanfs_export/XFS "-o ro root=hostclienta:hostclientb,access= hostclienta:hostclientb /pkg1a"
nfs/hanfs_export/XFS "-o ro root=hostclienta:hostclientb,access= hostclienta:hostclientb /pkg1b"

Thank you
Cortes Albertino
Trusted Contributor

Re: HA NFS module package to specify client hosts

Or also could be and for example as listed below:

nfs/hanfs_export/XFS "-o anon=65535,nosuid,root=hostclient1:hostclient2:host3:host4:host5,rw=hostclient1:hostclient2:host3:host4:host5,ro=host8:host9 /nfstest"
Stephen Doud
Honored Contributor

Re: HA NFS module package to specify client hosts

For 11.31, it appears that /etc/exports has been obsoleted. I believe XFS parameters follow the same format described in the share(1m) man page.