[SUMMARY] Moving NIS master server

From: Walse Chen <walsec_at_hotmail.com>
Date: Thu Oct 31 2002 - 10:52:51 EST
Thank you  to
David Foster, Bruce Newcomer, Bucky J, Swider.

David email me a great detailed instuctions he's done the similar project. 
All of them mentioned the O'Reilly book. Yes, it is good book.
As we only has one master server, without many slave servers, I simply 
copied all map files from old master server to new master server, domainname 
<domainname>, run "ypinit -m", answered the questions, then run 
"/usr/lib/netsvc/yp/ypstart", the new master were ready. Went to every 
client, change the ypserver name in /var/yp/binding/`domainname`/ypservers, 
stop and start ypbind.
Went to old master server, changed the directory name /var/yp/hpt (hpt is 
our yp domain name) to /var/yp/hpt.disable, modify 
/var/yp/binding/hpt/ypservers to point new master, ypstop, ypstart.

Thanks again.


Unlimited Internet access -- and 2 months free!  Try MSN. 
sunmanagers mailing list
Received on Thu Oct 31 11:13:06 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:57 EST