Inexpensive ways to make a rails application highly availabl

I’m interested in making a low volume rails application very available.
This
means that I would like to have
an alternate server for those times when the primary server is
unavailable
for whatever reason.

Virtual private servers are fairly inexpensive so one could have a rails
application on 2 different vps systems (not on the same server, possibly
not
even in the same city). I’ve read a little about mysql replication.

Is there any service that allows rapid fail over from one host to
another?
If so, how do you configure replication such that it fails over
properly.
Then how do you resync when the original server comes back on-line.

Thanks for your help.

-Kelly

I’m in the middle of starting my own company in the UK, which will use
rails as its webbased technology and will provide Xen virtual servers
very cheaply.
The price is the lowest you will find on the internet.
the company is called www.xensolutions.co.uk

It will be open soon.

I guess to answer your question the failover has to be dealt by the
nameserver.
You configure it to change to the secondary server when the primary is
unresponsive.

Kelly Dwight F. wrote:

I’m interested in making a low volume rails application very available.
This
means that I would like to have
an alternate server for those times when the primary server is
unavailable
for whatever reason.

Virtual private servers are fairly inexpensive so one could have a rails
application on 2 different vps systems (not on the same server, possibly
not
even in the same city). I’ve read a little about mysql replication.

Is there any service that allows rapid fail over from one host to
another?
If so, how do you configure replication such that it fails over
properly.
Then how do you resync when the original server comes back on-line.

Thanks for your help.

-Kelly

I found something that might be more interest to you:

If you setup your IP to failover to a different server and use the drbd
technology to sync the file system between 2 hosts then you have the
perfect failover system for your application.

That should be fun to setup :slight_smile:

Kelly Dwight F. wrote:

I’m interested in making a low volume rails application very available.
This
means that I would like to have
an alternate server for those times when the primary server is
unavailable
for whatever reason.

Virtual private servers are fairly inexpensive so one could have a rails
application on 2 different vps systems (not on the same server, possibly
not
even in the same city). I’ve read a little about mysql replication.

Is there any service that allows rapid fail over from one host to
another?
If so, how do you configure replication such that it fails over
properly.
Then how do you resync when the original server comes back on-line.

Thanks for your help.

-Kelly

The dns failover services of companies like zonedit or dnsmadeeasy look
interesting. Has anyone configured a rails application to work with dns
failover? Any suggestions on how to configure the application and
database
so that when one site goes down the other can pick up? And just as
important, when the first site comes back up…

-Kelly

On 2/7/06, Kelly Dwight F. [email protected] wrote:

That should be fun to setup :slight_smile:

Virtual private servers are fairly inexpensive so one could have a
Then how do you resync when the original server comes back on-line.
[email protected]

Hey SwitchTower gurus!!
Isn’t a farm a better solution for this? I’m thinking even a farm of 2
would be easier to maintain/administer than “failover”.

What do you think?