From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079038515678.tru64-unix-managers.marc@archive.invalid> From: Daniel Clar Date: Mon, 15 Mar 1999 14:46:00 +0000 To: tru64-unix-managers Subject: SUMMARY: Swapping the NIS master server and a NIS slave server X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079038515678 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" 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