home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / admin / 6029 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.8 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.153841.26116@pica.army.mil>
  6. Date: 1 Sep 92 15:38:41 GMT
  7. References: <1992Aug31.145450.24666@uunet.uu.net!mercomp> <1992Sep1.145044.25312@pica.army.mil>
  8. Sender: news@pica.army.mil (USENET Special Account <usenet>)
  9. Organization: U.S. Army  Armament Research Development & Engineering Center, Dover NJ
  10. Lines: 35
  11. Nntp-Posting-Host: fsac5
  12.  
  13. In article <1992Sep1.145044.25312@pica.army.mil> I wrote:
  14.  
  15. >In article <1992Aug31.145450.24666@uunet.uu.net!mercomp> blu@uunet.uu.net!mercomp (Brian Utterback) writes:
  16. >>We are in the process of splitting our current network into two, a
  17. >>production network and a test network.  I don't know much about the
  18. >>workinfs of NIS, so bear with me if this is a stupid question, but
  19. >>how do I set up NIS under such a configuration?  Would it be best
  20. >>to have two masters or what?  If I had two masters, how should I keep
  21. >>them in sync?  Any one have a similar setup?
  22. >
  23. >   I have one NIS domain across 12 subnets with no problem.  You only
  24. >only want 1 master server.  You will want at least 2 slave servers on
  25. >each subnet.  The only problem you will have is creating the the first
  26. >slave server on the subnet without the master server to do this do the
  27. >following:
  28. >
  29. >    o Boot the slaver-server-to-be in single user mode.
  30. >    o mv /etc/ypbind /etc/ypbind.dis
  31. >       o go to multi user mode
  32. >    o cd /usr/etc/yp
  33.  
  34.   I forgot to add:
  35.     
  36.     o mv /etc/ypbind.dis /etc/ypbind
  37.     o rehash or for /bin/sh types 'hash -r'
  38.  
  39. >    o execute ypbind -ypset
  40. >    o ./ypset IP_address_of master_server
  41. >    o ypinit -s IP_address_of master_server
  42. >
  43. >   Works for me all the time.
  44. >
  45. >Dennis
  46.  
  47. Dennis
  48.