I'm in trouble, I have a running server with the usual services (httpd, mail, sql), and looks like I must be really fast to prevent total data loss (my RAID array failed, so I'm depending on a single hdd now).
The whole system built on HowtoForge's howto's and as I read the one on Squeeze, looks like I can easily? migrate my (virtual) users onto the new box.
I really know this is very specific problem but could you tell me some important point of the whole migrating process. Which things can be tricky where should I need to focus at most? How would you start the process?
Some background infos:
- The two server is 200kms far from each other, so the migrating should be happen over internet
- Both server will be Debian, the old one is Etch, the new will be Squeeze
- The critical service is mail, websites can be suspended for some time
- RAID means two disks in RAID 1 (both machine)
- The old box is the DNS1 for all hosted domains
My (really) basic outline:
- Building a similar system like the old one (similar virtual mail structure, passwords stored with the same encryption type, because i cannot tell the old ones)
- create one domain where i can check everything is fine (dns, email, www are okay)
- Migrate domain after domain until the old one is doing nothing
My blind spots:
- Can't find a brief description about how to do a RAID-1 on Squeeze (a Lenny howto will be enough?)
- How to copy specific folders (e.g. users' mail folders) with specific user rights when needed? (rsync will do this?)
- How to setup DNS on the new machine (old one is DNS1) (new machine should be DNS too and migrated domains should use itself as DNS1?)
- How can i prevent e-mail loss (because of DNS refresh time) (i need to set up the new machine as MX?)