home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!rutgers!igor.rutgers.edu!romulus.rutgers.edu!rauscher
- From: rauscher@romulus.rutgers.edu (Rich Rauscher)
- Newsgroups: comp.unix.wizards
- Subject: NIS question
- Keywords: ypyuk
- Message-ID: <Aug.22.10.04.26.1992.5528@romulus.rutgers.edu>
- Date: 22 Aug 92 14:04:26 GMT
- Organization: Center for Discrete Math. and Theor. Comp. Sci.
- Lines: 38
-
-
- Recently, I was moving all the machines of one yp domain
- to another new yp domain.
-
- 1) First, I set up the new yp master (ypinit -m)
- Than I went into a couple of clients and said
- "domainname NEW_DOMAIN". I changed /etc/defaultdomain
- (that's where rc.local looks when rebooting) to the new
- domain.
- I did a ypwhich -m and found that they were getting all their maps
- from the new master.
-
- 2) I set up a few slave servers. Eventually I had moved the
- entire network over to the new domain with the exception
- of the former master and slave servers.
-
- 3) I moved over the old slave-servers to the new domain (and
- killed ypserv).
-
- 4) I killed ypserv and moved the old master server over.
-
- Then every machine on the network started complaining that
- they couldn't find the old NIS domain. Huh? Ok...I thought
- there may have been some risidual data structure in ypbind.
- So I killed and restarted and ypbinds that were running on
- a suffering machine. Nothing...it still cried about not
- being able to find the old domain. Eventually, every machine
- had to be rebooted. Blah.
-
- If anybody in netland can tell me why this didn't work, I would
- be most apreciative.
-
- Thanks,
- Rich
- --
- Rich Rauscher, Systems Analyst, Federal Reserve Board of Governors
- "In the long run, the computers will win."
- rauscher@dimacs.rutgers.edu uunet!fed!rauscher rauscher@NJIN.bitnet
-