1834604 Members
4473 Online
110069 Solutions
New Discussion

Move NIS Master

 
KapilRaj
Honored Contributor

Move NIS Master

Help me out please ..

I want to move my NIS master from node1 to node2. What should be the steps ?

Regds,

Kaps
Nothing is impossible
1 REPLY 1
Elmar P. Kolkman
Honored Contributor

Re: Move NIS Master

move /var/yp/src from node1 to node2
run '/sbin/init.d/nis.server stop'
run ypinit -m on node2
edit /etc/rc.config.d/namesvrs to start master service
run /sbin/init.d/nis.server start'

edit on all nis slaves and clients /etc/rc.config.d/namesvrs to use the newly master and run 'ypset ' to use the new master

on node2, run ypmake

Hope I didn't forgot a step, but this should be it.
Every problem has at least one solution. Only some solutions are harder to find.