Operating System - HP-UX
1834935 Members
2236 Online
110071 Solutions
New Discussion

Re: NIS configuration question

 
Keith Robillard
Occasional Contributor

NIS configuration question

I currently already have an NIS master pushing out maps to slaves A, B and C. we are consolidating datacenters and I need to migrate another NIS master. Is there anyway to configure NIS on my current master to push out different maps to slaves D, E and F? or do I have to setup another server to be an NIS master for slaves D, E and F?
1 REPLY 1
cl_5
Frequent Advisor

Re: NIS configuration question

Yes you can configure several domains for one NIS-Master Server.
For the second domain do a
# ypinit -m DOM=domain2
This will create the /var/yp/domain2 directory which contain the Maps.
So If you do a ypmake gice the domain parameter.
Maybe you have to modify your Makefile so that ypmake always use the right reference files.
Hope this helps

Kind regards
cl