![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Link type between working machine and server machine | palash2k | UNIX for Dummies Questions & Answers | 1 | 05-22-2008 03:43 AM |
| nim master | manoj.solaris | AIX | 0 | 04-22-2008 11:43 AM |
| Become a Master | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 02:10 AM |
| Moving machine to other site | spacewalker | UNIX for Advanced & Expert Users | 1 | 03-20-2006 07:48 AM |
| PHP for ASP-master | Silver | Shell Programming and Scripting | 1 | 11-28-2002 09:45 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Moving NIS master to new machine
I am running a DNS/NIS server on and older 2.6 system. I would like to move it to a newer system running Sol9. I have not found a good HOWTO and was looking for some advice.
Thanks in advance. Dave |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Check out this link:
System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP) Basically, you build the new NIS master then move the stuff to it. The next time you push maps out after that the clients should pick up the change. Details are in the doc. Good luck. |
|
#3
|
|||
|
|||
|
Thanks. I did see that and I think I have a plan. I only have one question at the moment...
The plan is to build the new server and once it is ready, I want to rename it to be the same name and IP as the server that I am replacing. Can you think of any issues with that? I'll have to look for files that may have the host name hard set. Dave |
|
#4
|
|||
|
|||
|
I think that would work fine, although I've not done it for a NIS master.
To do the rename Search Sun's doc site and google. I know for sure there is a how-to on changing the IP and Name of a Solaris server. I've used it in the past. There are about 6 total files you need to touch but I don't remember them all off the top of my head. |
|
#5
|
||||
|
||||
|
i've upgraded my sol 2.5.1 nis+ server to sol 8 and then later on moved it from an ultra-2 to v240 ... here's what i did ...
1. build new server 2. tar up the following files/directories and then move the tar file to new server: Quote:
4. sys-unconfig new server and then rename and re-ip with old server's settings after booting 5. untar the tar file and then reboot the box 6. continue life if you run into issues, turn off the new server and bring the old server back online for troubleshooting btw --- make sure you don't have any changes happening to the nis+ environment (i.e., password resets, new accounts, etc.) when you do the changeover aside from the hardware ... you might want to do this off-hours so you don't mess up your users by accident ... i'm not that intimately familiar with nis+ so i can't tell you what would happen if you make a mistake ... however, having the old server intact until after the transition is deemed successful will help you out big time ... good luck! |
||||
| Google The UNIX and Linux Forums |