home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / admin / 6028 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.6 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!haven.umd.edu!mimsy!afterlife!adm!claudius!drears
  2. From: drears@pica.army.mil (Dennis G Rears <drears>)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: Splitting an NIS domain across a router.
  5. Message-ID: <1992Sep1.145044.25312@pica.army.mil>
  6. Date: 1 Sep 92 14:50:44 GMT
  7. References: <1992Aug31.145450.24666@uunet.uu.net!mercomp>
  8. Sender: news@pica.army.mil (USENET Special Account <usenet>)
  9. Organization: U.S. Army  Armament Research Development & Engineering Center, Dover NJ
  10. Lines: 25
  11. Nntp-Posting-Host: fsac5
  12.  
  13. In article <1992Aug31.145450.24666@uunet.uu.net!mercomp> blu@uunet.uu.net!mercomp (Brian Utterback) writes:
  14. >We are in the process of splitting our current network into two, a
  15. >production network and a test network.  I don't know much about the
  16. >workinfs of NIS, so bear with me if this is a stupid question, but
  17. >how do I set up NIS under such a configuration?  Would it be best
  18. >to have two masters or what?  If I had two masters, how should I keep
  19. >them in sync?  Any one have a similar setup?
  20.  
  21.    I have one NIS domain across 12 subnets with no problem.  You only
  22. only want 1 master server.  You will want at least 2 slave servers on
  23. each subnet.  The only problem you will have is creating the the first
  24. slave server on the subnet without the master server to do this do the
  25. following:
  26.  
  27.     o Boot the slaver-server-to-be in single user mode.
  28.     o mv /etc/ypbind /etc/ypbind.dis
  29.         o go to multi user mode
  30.     o cd /usr/etc/yp
  31.     o execute ypbind -ypset
  32.     o ./ypset IP_address_of master_server
  33.     o ypinit -s IP_address_of master_server
  34.  
  35.    Works for me all the time.
  36.  
  37. Dennis
  38.