SUMMARY: NIS domain name change

From: D461-Viet_Q_Hoang (vqh@dwrock.dw.lucent.com)
Date: Tue Oct 01 1996 - 17:09:51 CDT


Content-MD5: tFO8WMsgvmKkjIonG5ptzg==
Precedence: bulk

According to the replies I've received, my plan A should have
worked. Going thru it again I found out that the problem
was I symlink'ed the /var/yp/binding/domain directory on the
slave server that came up but not on the test client machine.
I tried it again on the Solaris client (changing the /etc/defaultdomain
and rename the /var/yp/binding/domain) and rebooted. It's working
fine. One reply said it should have worked even without the
rename in binding directory, it didn't for me though. I still
have to try a SunOS box to be sure before converting
everything but it should work.

Thanks to
Erin Copeland <erin@sam.math.ethz.ch>
Casper Dik <casper@holland.Sun.COM>
emm@nl.tpd.eds.com (Maes_Eric)
Waqar Hafiz <whafiz@london.micrognosis.com>
Anchi Zhang <anchi@Starbase.NeoSoft.COM>
"Louis C. Liao" <liaol@edsug.com>
mrs@cadem.mc.xerox.com ("Michael Salehi x22725")

D461-Viet_Q_Hoang(0)82572 wrote:
>
> Due to company reorg, we will need to change our NIS domain
> name. I was hoping to run both names at the same time to
> avoid having to reboot all machines around the same time.
> I tried symlinking the old domain name to new domain name
> in /var/yp and /var/yp/binding hoping that the servers
> will respond to either name. It almost worked, I changed
> the /etc/defaultdomain on a slave NIS server running NSkit 1.2
> and rebooted, it came up fine binding to another NIS server
> with the new name. It seems to work fine. I then tried to
> change the domain on a client machine (Solaris 2.5.1) and
> when it rebooted it just couldn't bind to anything.
>
> Q1: is there a way to support both NIS domain names from the
> same servers and the same maps?
>
> Q2: if the answer is no, my plan B is as follows:
> - change the domain name on the master server, reboot it
> - change domain name and schedule all clients and all slave
> servers (except one) to reboot after the master server has
> been changed.
> - when all machines have been rebooted, reboot the remaining
> NIS server
>
> anything else I should watch out for? the DNS has already
> been changed and we've changed all sendmail.cf to accept
> both names.

Viet Hoang
Lucent Technologies/ISSC
vhoang@lucent.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:11 CDT