home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!haven.umd.edu!mimsy!afterlife!adm!claudius!drears
- From: drears@pica.army.mil (Dennis G Rears <drears>)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Splitting an NIS domain across a router.
- Message-ID: <1992Sep1.153841.26116@pica.army.mil>
- Date: 1 Sep 92 15:38:41 GMT
- References: <1992Aug31.145450.24666@uunet.uu.net!mercomp> <1992Sep1.145044.25312@pica.army.mil>
- Sender: news@pica.army.mil (USENET Special Account <usenet>)
- Organization: U.S. Army Armament Research Development & Engineering Center, Dover NJ
- Lines: 35
- Nntp-Posting-Host: fsac5
-
- In article <1992Sep1.145044.25312@pica.army.mil> I wrote:
-
- >In article <1992Aug31.145450.24666@uunet.uu.net!mercomp> blu@uunet.uu.net!mercomp (Brian Utterback) writes:
- >>We are in the process of splitting our current network into two, a
- >>production network and a test network. I don't know much about the
- >>workinfs of NIS, so bear with me if this is a stupid question, but
- >>how do I set up NIS under such a configuration? Would it be best
- >>to have two masters or what? If I had two masters, how should I keep
- >>them in sync? Any one have a similar setup?
- >
- > I have one NIS domain across 12 subnets with no problem. You only
- >only want 1 master server. You will want at least 2 slave servers on
- >each subnet. The only problem you will have is creating the the first
- >slave server on the subnet without the master server to do this do the
- >following:
- >
- > o Boot the slaver-server-to-be in single user mode.
- > o mv /etc/ypbind /etc/ypbind.dis
- > o go to multi user mode
- > o cd /usr/etc/yp
-
- I forgot to add:
-
- o mv /etc/ypbind.dis /etc/ypbind
- o rehash or for /bin/sh types 'hash -r'
-
- > o execute ypbind -ypset
- > o ./ypset IP_address_of master_server
- > o ypinit -s IP_address_of master_server
- >
- > Works for me all the time.
- >
- >Dennis
-
- Dennis
-