HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

serviceguard and netgroup

 
andrea carrettoni
Occasional Contributor

serviceguard and netgroup

Hi there is anyone who are using SG linux A.11.16 + NFS toolkit for sharing to remote host with access limited to a netgroup host of client ?
hanfs.sh use exportfs -i " *:/filesystem" sintax meaning * as world, other manual example use "hostname:/filesystem" , try to use "MYNETGROUP:/filesystem" sintax without any result other than errors.

cartoons
4 REPLIES
renarios
Trusted Contributor

Re: serviceguard and netgroup

Hi Andrea,

Can you be a bit more specific?

Cheers,

Renarios
Nothing is more successfull as failure
andrea carrettoni
Occasional Contributor

Re: serviceguard and netgroup

Our enviroment is :
Cluster SG linux A.11.16+ NFS toolkit named LEM, phisical host LEM1 and LEM2

LEM1 and LEM2 are NIS client, in NIS maps exist a NETGROUP map containing MYHOST: hostA hostB hostC.

we woult like to export from LEM cluster file system : /mnt/oss_1 /mnt/oss_A only to client hostA hostB hostC using NIS map MYHOST defined in NETGROUP.

what is the right sintax for exportfs command in hanfs.sh script of NFS toolkit ?

Thanks
cartoons
Steven E. Protter
Exalted Contributor

Re: serviceguard and netgroup

exportfs -av

will handle the export

You need to have /etc/exports have hostname directives to prevent it hosts not authorized from mounting the shares.

example /etc/exports
/share/web 192.168.0.40(rw,no_root_squash,async) 192.168.0.35(rw,no_root_squash,async) 192.168.0.70(rw,no_root_squash,async) 192.168.0.41(rw,no_root_squash,async) /share 192.168.0.40(rw,no_root_squash,async) 192.168.0.70(rw,no_root_squash,async) 192.168.0.41(rw,no_root_squash,async)



SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
andrea carrettoni
Occasional Contributor

Re: serviceguard and netgroup

Thanks for your assistence


cartoons