The original posting was :
> what's the best way to swap the role of 2 NIS servers so that the
slave
> server becomes the master server and the former master server becomes
a
> slave server ?
>
Thank you to :
"MacDonell, Dennis" <DennisMacDonell_at_auslig.gov.au>
Well what I would do is something like this
1) copy the directory /var/yp from the old master to the new master
2) run ypsetup on the new master, to make it the master
3) clean out the directory /var/yp on the old master
4) run ypsetup on the old master to make it a slave
5) change the NIS_ARGS entry in /etc/rc.config on all the client
machines to
reflect the change.
6) you may want to restart ypbind on all the client machines, but it may
not
be necessary.
-------------------------------------------------------------
You have also to stop the current servers between 1 and 2.
Daniel
Received on Mon Mar 15 1999 - 14:48:26 NZDT