[SUMMARY] Moving NIS master server

From: Walse Chen (walsec@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.

Walse

_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN.
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:11 EDT