Summary : NIS+ root master relocate

From: Alan Kong <kkkong_at_ee.cuhk.edu.hk>
Date: Wed Aug 26 2009 - 00:32:45 EDT
Thank you to:

Hendrik Visage
Adrian Koester
Paul Kraus

I ended up by copying the following files:
	/var/nis
	/etc/.rootkey
    	/etc/nsswitch.conf
    	/etc/defaultdomain
from the old master to the new master; shut down the old master, config the new master with same hostname and IP as the old master and reboot.
The "new" master has been running for 2 days without any complaint.

I would consider this to be the efficient way in relocating/upgrade NIS+ master. 

Regards
Alan


On 8/21/2009 4:15 PM, Alan Kong wrote:
> Hi,
> I like to relocate our current NIS+ root master to another server with 
> more memory and faster CPU of same Solaris 2.8. I have done it the 
> traditional way before:
> - Make the new server to be NIS+ client then change it to be the slave 
> server;
> - Promote the slave server to be the root master;
> - go around the clients and make them point to the new server.
>
> When I browse the web, there was another option which perform similar 
> function:
> - copy the following files/directories:
>      /var/nis
>     /etc/.rootkey
>     /etc/nsswitch.conf
>     /etc/defaultdomain
> to the new server with same host name and boot the new server as the 
> master server.
>
> Is this option viable?
>
> Thank you.
>
> regards
> Alan
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Aug 26 00:34:15 2009

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:14 EST