tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Swapping the NIS master server and a NIS slave server
@ 1999-03-15 14:46 Daniel Clar
  0 siblings, 0 replies; only message in thread
From: Daniel Clar @ 1999-03-15 14:46 UTC (permalink / raw)
  To: tru64-unix-managers

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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-15 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-15 14:46 SUMMARY: Swapping the NIS master server and a NIS slave server Daniel Clar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox