Operating System - HP-UX
1826639 Members
3078 Online
109695 Solutions
New Discussion

Re: NIS SERVER upgrade Procedure

 
SOLVED
Go to solution
prasathc_1
Frequent Advisor

NIS SERVER upgrade Procedure

Hi All

I need a hlep from you guys.

Like, i want to move our existing nis server from 9000/715/E (10.20 OS) to new 9000/800/R380 (10.20 OS)
due to the space constrain as well as load problem.
Because this Existing server act as NIS Server, WEB server, Application Sever.

My plan is as follows

1) Take a full backup of the existing NIS server[with help of OMNIBACK].

2) Install OS on the new "R" calss machine with same OS in existing NIS [10.20].

3) Restore the full contents from the backup.

4) After finishing everything i'll rename the existing NIS server.

5) Put same hostname in the NEW NIS server.

Apart from this steps, anything else to take any necessary precaution
to improve & reduce my work.

In the same way can you pls provide the PDF or link for "how to configure NIS & NIS+"
it would be very help full for me also.

I think this is the best way move the NIS server as per my knowledge

Can any one pls validate my steps, and give some valuable
suggestion it would be appreciate.


Thanks in Advance
Prasath C
If u fail to plan, U plan to fail
4 REPLIES 4
Leif Halvarsson_2
Honored Contributor

Re: NIS SERVER upgrade Procedure

Hi
I had a look in the manual "Installing and Administrating NFS Services" but ther seems not to be any description how to move a NIS master server to another host. I think there is only one safe method.
- Install the OS on the new machine.
- Copy /etc/hosts,passwd,group,services and what other files you have in your NIS maps.
- Shut down the old NIS master

- Create a new NIS master on new machine.

- If you have any slave servers add them to the new server.

If you will try with copy DONT try to restore the whole backup, your machines are not identical.
prasathc_1
Frequent Advisor

Re: NIS SERVER upgrade Procedure

hi Leif

My existing NIS server has lot of information like
purify license string, clear-case string, testing license etc,.
I don't know where all the strings / datas are hide. That's why we planned to take a full backup of the existing server and restore the same in the new one.

What's your view.

Regards
Prasath C

If u fail to plan, U plan to fail
eran maor
Honored Contributor
Solution

Re: NIS SERVER upgrade Procedure

 
love computers
prasathc_1
Frequent Advisor

Re: NIS SERVER upgrade Procedure

Hello eran maor

Let me apologize first for late replay.
Thanks for the procedure.
Still i have confusion, like you have mentioned that move existing NIS Slave Server as Master Server and Vice Versa.
For example
I am having the NIS Master Server as "sun"[715 existing , 15.70.175.120], and Slave Server as "moon" [15.70.175.121]. My new NIS Server is
["mars" R class machine,15.70.175.122] i am planning to maintain the same domain.

According to your statement
1) I have to move my slave server as master server. which means i have to rename the host also or else
change /etc/rc.config.d/namesvrscofig flie is enough.
2)Then what is the purpose to add "+::-2:60001:::
in /etc/passwd, and purpose to add "+:*:*" in /etc/group.

3) Then how to revert back to new master i.e R class machine as master server.
because you have given the command ypinit -s .

copy is enough to create R class machine as master server.

Can you pls explaing.
Thanks in Advance
If u fail to plan, U plan to fail