Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2002

    Technical problem with server, how to avoid downtime?

    I have 2 servers. One server is very busy and second one is for backups only.

    Busy server has some problem with hardware and I need like 8 hours to replace the parts.

    Busy server will be down on Saturday night.

    What I need to do is transfer all data from busy server to backup and run those websites temporary there.

    My question is: How can I make this happen with no downtime?

    Any help is appreciated.


  2. #2
    Join Date
    May 2003
    Copy EVERYTHING to backup server, change DNS ip's to reflect those of backup server, and within 24-36 hours of updating IP's the sites would be at new server with no downtime.

    You would probably lose a little mysql (etc, someone posts on forum while they are resolving to busy server, but you copied the mysql to backup a few hours before, that post wont be on the backup server)

  3. #3
    Join Date
    Jun 2003
    maybe use rsync for data, setup a mysql server on the backup and redirect all queries to it after copying whole content, so the mysql db wont lose too much, then when fixed box is back up, sync the db content (as good as possible) and redirect all mysql queries to it

  4. #4
    Join Date
    Jan 2003
    Lake Arrowhead, CA
    Don't bother with DNS changes if the backup server is right there on the same subnet. Just alias the IP of the server going down on the backup server and remove the alias when the primary server is back online. The switchover will be instant. The only problem is usually a few seconds/minutes of database blackout as sql is copied between servers, but as said above, you can use rsync and change the DB host to virtually eliminate db downtime.

    If your backup is on another network... it'll take some extra time, but you can still keep "downtime" (again, DB only) to a minimum using short DNS TTL.
    Stability, redundancy and peace of mind

  5. #5
    Join Date
    Apr 2003
    If the backup server is identicle to the busy server, move the HDD to the backup server. If not, have similar spec...just re-use the default kernel and recompile the kernel again.

    That wont take you long....

  6. #6
    Join Date
    Nov 2003
    If the servers are in the same Datacenter, you could do some tweaking and transfer IP's after a HD swap. If not, there is 72-96 hours of downtime. The Nameservers have to propogate, then after that - the domain names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts