tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Daniel Clar <Daniel.Clar () supelec ! fr>
To: tru64-unix-managers
Subject: SUMMARY: Swapping the NIS master server and a NIS slave server
Date: Mon, 15 Mar 1999 14:46:00 +0000	[thread overview]
Message-ID: <96079038515678.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1999-03-15 14:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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