LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2004, 08:40 AM   #1
Gabriel2010
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Red Hat, Suse
Posts: 5

Rep: Reputation: 0
Question Migrating to Another Linux


Dear All,
Hope all is well.
Got a RHL8 box serving as a database server. Another system with just about the exact same settings but different IP address will be replacing it. These two nodes reside on an Active Directory Windows network & the first system has a static IP address. There;s a A host record for this system in the Active Directory DNS server.
In order for a succesful migration from one Linux to another and for the end user to be transparent to it all, how is it possible to automatically redirect connections from 1st Linux server to 2nd new Linux system?
I was thinking in regards to the 2ndLinuxServer, creating an A host record with respective name ( this should not matter) & assigning it the same IP address as the 1stLinuxnode, all this done in the Windows DNS server.
Modify the etc/hosts to reflect DNS servers interacting with the linux systems. Do the same with etc/resolv.conf
What do you guys think?
Thanks in advance (TIA)
Gabriel
 
Old 09-11-2004, 06:42 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
We did a similar migration last week, but with a mail server.

You can't get transparent failover without clustering etc. - existing connections will be terminated when the system goes offline. So it's really a case of reducing the period of unavailability to the minimum.

What we did was give the replacement box a different IP address for the commissioning process but give it the same IP and hostname when it went live. Since changes don't take effect until you restart networking you can change the settings of the replacement to the live configuration, shutdown the existing box and immediately restart the networking on the replacement to bring it into service.

So the downtime became the time taken to replicate any data from the old box to the new and reset permissions etc. (I wrote a small shell script to automate this bit), plus a minute to get the new box to the live network settings.

Any changes to DNS make the exact duration of service unavailability a bit uncertain because of caching and time delays on replication. By keeping the DNS record exactly the same you avoid the issue.

Last edited by hob; 09-11-2004 at 06:44 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
migrating to linux Dios Linux - Newbie 6 06-17-2005 08:36 PM
migrating from novell and nt to linux boucherjd Linux - Networking 1 04-04-2005 03:46 PM
Migrating to linux haluk Linux - General 3 10-30-2004 06:00 PM
Migrating To Linux Permanently jlacroix Linux - Distributions 4 05-20-2004 12:54 PM
Oracle migrating to Linux jeremy Linux - General 0 01-31-2002 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration