Re: How to run a backup server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Proniewski wrote:
I would like to know if there is a way to have another server somewhere
>  else with the same dynamic content as a "backup" in case the main server
>  is not available then the backup server would serve the pages.
Whatever solution you choose, it's not Apache related.
It's a very complex task, and the solution greatly depends on the price you are willing to pay.
If your problem is power-related, you need a second server far enough so that it won't be hit by the same power outage. The cheapest way is to allow for some downtime, and manually change DNS so that your domain names points toward one server or the other. The shorter your DNS TTL is, the shorter your downtime can be, but the more requests your DNS will have to handle. As for data replication, few shell script should help (mysql dump and rsync files every hour for example).
This is mostly handcrafted solution, but it's the cheapest.

It's not as bad as that makes it sound ;)

One my internet connection here I have a stand alone router which handles the line and acts as firewall. WHICH machine appears as port 80 on the internet is just a matter of switching over an entry in the router. ISP's have a bigger version of that handling many machines ...

Then I have the machines set up to rsync regularly and also rsync to another machine at my ISP. I don't use MySQL myself, Firebird handles replication between machines, and incremental backups for me.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux