[LRUG] What's the best way to go from 1 server to 2?

Olly Headey olly at freeagent.com
Tue Apr 16 04:37:38 PDT 2013


On a somewhat-related note, this is a fascinating read

http://highscalability.com/blog/2013/4/15/scaling-pinterest-from-0-to-10s-of-billions-of-page-views-a.html




On Tue, Apr 16, 2013 at 11:50 AM, Andrew Stewart
<boss at airbladesoftware.com>wrote:

> Good afternoon El Rug,
>
> What's the best way to increase from one server to two?
>
> Currently I have everything for my webapp – code, database, background
> jobs, etc – on one server.  Performance is fine but it's a single point of
> failure (see this morning's email thread).  Off the top of my head I'm
> thinking:
>
> - Use a different host in a different city from my current server.
> - Install same operating system as current server and set up identically
> via Chef/whatever.
> - Deploy all code changes to both servers with Capistrano but have second
> server serving Rails maintenance page (just in case anybody finds it).
> - Ideally set up live (mysql) replication...somehow.
> - If/when first server croaks, manually fail over to second server via
> changing DNS.
>
> I'm sure it's more complicated than that, particularly the switching from
> one server to the other (and back).  Does anybody have any tips?
>
> Thanks again,
>
> Andy Stewart
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20130416/01986c40/attachment.html>


More information about the Chat mailing list