Solved

Migrating hosted domains and email accounts between 2 dedicated servers

Posted on 2006-11-13
3
232 Views
Last Modified: 2010-04-20
I hope this is the most appropriate section to ask this;
I am looking for the best method to manage the following situations :
I am hosting domains on an old, obsolete and slow dedicated machine at provider1, and have to migrate those domains with their email accounts to a brand new powerful server at provider2. Both machines run Plesk Linux and the most recent one has a good migration tool that makes transfering data a rather quick and easy process. All my domains are managed by a third-party, very reliable and quick DNS service.
My question however, is how can I make that change as smooth and quick as possible for email users, knowing that ideally those persons should not be aware of the change, only they'll realize current email issues will be gone.
All email servers are in the form "theirname.com" so when the main domain for webhosting is transfered, so is their incoming mail server.
I do have a way to very quickly update the DNS records from the old machine to the new one, once data is transfered, however I am sure some providers will take at least 24 hours to update their own records, so emails directed to the uses during that time would still go to the old machine ?
What would the best method be so that no one can immediately have their email client read from the new machine, while email would still arrive at the old location's pop accounts, that would therefore not be read from anymore ?
Would changing the domains TTL before that migration help ?

Thanks for your attention on what I believe must be quite a common issue among people providing hosting services and having to upgrade hardware ?
Best regards.
0
Comment
Question by:Denisvt
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 125 total points
ID: 17938718
Hi,

- I suggest you to ask your DNS provider to set your minimum TTL value to zero as a firt thing. Normally once a DNS server resolves a domain it will not ask the same domain to the authorized DNS server for a period of MINTTLT seconds. So if your DNS provider sets it to 0 then the servers will not cache it. Do this a least 48 hours before the migration.

- Then do the migration operatin in Provider2's premises and shutdown the SMTP Service. Configure your old server to relay all mail to the new server now active at the provider3.

- Once the New Server is up at Provider 3, and old server at Provider 2 is relaying mail to th new server. Get you DNS modified to the new settings. Since the TTL value is 0 the DNS servers resolving the address won't cache it.

- When you start to get mails directly from the clients getting your address from the new settings. Shutdown the Old Server at provider2.

- Ask your DNS provider to reset your min TTL in your DNSzone file to a reasonable amount such as 86400 seconds or their default.

- Format the Good Old server, setup XP and Play Tetris with it :) (this step is optional)

I hope this helps.

Cheers,
K.
0
 
LVL 3

Author Comment

by:Denisvt
ID: 17998797
Good TTL suggestion it seems, I'm not too sure how to directly relay mail from one machine or shut down SMTP, and I guess you meant provider 1 and 2 ?
Anyway thanks for the reply and suggestions. The old server was not reliable anymore but not enough to punish it with XP ;-)

Thanks.

0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 18085019
Hi,

Yeah : ) I dunno where Provider 2 and 3 came from : ) It is really Provider 1 and 2 :) Anyway the formula is Provider (n-1) :). Yeah it is always a good idea to convert old servers to even powerful with Linux rather than XP (where you need to animate a dog for searching files :) )

Cheers,
K.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now