[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 354
  • Last Modified:

NIS questions

I am attempting to set up NIS for a network of about 80 HP-UX systems (mostly running 10.x) and have a few questions.

All I want to do is to distribute a core group of about 7 user accounts to all systems, but retain the remainder of the /etc/passwd and /etc/group files.  Is it possible to distribute only a part of the map without clobbering unique id's on the client systems?

I read that NIS will not operate over a gateway or router.  Furthermore, I read that an NIS slave server must be dedicated to each subnet.  Does this mean that 147.237.35 and 147.237.88 must have separate NIS slave servers?  if so, then i am looking at about 20 different subnets.  Having a master NIS and about 20 slave NIS servers seems to be defeating the advantage of the system.  What I think would be ideal is to have 1 master and 2 slaves.

Our bandwidth is quite good, with private T1 lines, and the systems are mostly modern.  Can someone please give a little perspective on what I'm up against?
0
ragnar
Asked:
ragnar
  • 2
1 Solution
 
ahoffmannCommented:
> Is it possible to distribute only a part of the map without
   clobbering unique id's on the client systems?
Yes. define the NIS part after all uniq UIDs in passwd, for example:

root:passwd:0:3::/:/bin/csh
+::0:0:::


> Having a master NIS and about 20 slave NIS servers seems to be
  defeating the advantage of the system.
What's your problem about that? Net-performance?
NIS uses a push method to notify slaves (clients) about changes, it does not produce any other traffic.
You just have to manage anyhow (cron, rsh, etc.) that all slaves push their database if it was refreshed by the master.

0
 
ragnarAuthor Commented:
Thanks ahoffman.  My concern about having a bunch of NIS slave servers was long term administration.  The people I'm setting this up for are phobic about anything they have to do much support on.  For the info you gave, you can call it an answer and i'll award points.
0
 
ahoffmannCommented:
feel free to ask for details ;-)

This hint for free:
  keep in mind that HP-UX has its own syntax in passwd, group files for NIS (see +::0:0:::  above), which differs from most UNIXs.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now