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.
Erin Copeland <firstname.lastname@example.org>
Casper Dik <casper@holland.Sun.COM>
Waqar Hafiz <email@example.com>
Anchi Zhang <anchi@Starbase.NeoSoft.COM>
"Louis C. Liao" <firstname.lastname@example.org>
email@example.com ("Michael Salehi x22725")
> 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.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:11 CDT