Kelly Dwight Felkins
2006-Feb-07 08:38 UTC
[Rails] inexpensive ways to make a rails application highly available? mysql replication?
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060207/a5d6da06/attachment.html
Mooktakim Ahmed
2006-Feb-07 13:43 UTC
[Rails] Re: inexpensive ways to make a rails application highly avai
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 Felkins 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-- Posted via http://www.ruby-forum.com/.
Mooktakim Ahmed
2006-Feb-07 14:27 UTC
[Rails] Re: inexpensive ways to make a rails application highly avai
I found something that might be more interest to you: http://gentoo-wiki.com/HOWTO_Setup_IP_failover_with_UCARP 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 :) Kelly Dwight Felkins 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-- Posted via http://www.ruby-forum.com/.
Kelly Dwight Felkins
2006-Feb-07 17:33 UTC
[Rails] Re: inexpensive ways to make a rails application highly avai
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, Mooktakim Ahmed <mma@mooktakim.com> wrote:> > I found something that might be more interest to you: > http://gentoo-wiki.com/HOWTO_Setup_IP_failover_with_UCARP > > 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 :) > > Kelly Dwight Felkins 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 > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060207/8b6fcdd0/attachment.html
Peter Fitzgibbons
2006-Feb-07 18:06 UTC
[Rails] Re: inexpensive ways to make a rails application highly avai
On 2/7/06, Kelly Dwight Felkins <railsinator@gmail.com> wrote:> > 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, Mooktakim Ahmed <mma@mooktakim.com> wrote: > > > > I found something that might be more interest to you: > > http://gentoo-wiki.com/HOWTO_Setup_IP_failover_with_UCARP > > > > 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 :) > > > > Kelly Dwight Felkins 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 > > > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >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? -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060207/648a0933/attachment.html