Comments on: apache proxy balancer + mongrel clusters and deploying application with capistrano /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/ Its all about Ruby On Rails Thu, 14 Mar 2013 06:19:42 +0000 hourly 1 #/?v= By: Peter Williams - mod_proxy_balancer Is A Two Timing Hussy /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-254 Peter Williams - mod_proxy_balancer Is A Two Timing Hussy Mon, 28 Apr 2008 14:01:39 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-254 [...] To see what I mean lets start with what Google suggests. The reverse proxying gets setup something like this: [...] [...] To see what I mean lets start with what Google suggests. The reverse proxying gets setup something like this: [...]

]]>
By: Akhil Bansal /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-253 Akhil Bansal Tue, 25 Sep 2007 04:44:47 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-253 sorry forgot about 'cap' sorry forgot about ‘cap’

]]>
By: Sebastian Tarcan /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-252 Sebastian Tarcan Mon, 24 Sep 2007 17:37:46 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-252 I found out: instead to write rake it have to by cap. So the commands are now: cap deploy:setup cap deploy:cold cap deploy Important! In the config/deploy.rb file you mast set the correct path to the app dir! The line have to look like this: set :deploy_to, "/path/to/your/ror/app" Thanks for helping! I found out:
instead to write rake it have to by cap. So the commands are now:

cap deploy:setup
cap deploy:cold
cap deploy

Important! In the config/deploy.rb file you mast set the correct path to the app dir!
The line have to look like this:
set :deploy_to, “/path/to/your/ror/app”

Thanks for helping!

]]>
By: Sebastian Tarcan /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-251 Sebastian Tarcan Mon, 24 Sep 2007 12:47:46 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-251 Hmmm, thanks for help, but these commands give me the same error as described. :( Hmmm, thanks for help, but these commands give me the same error as described. :(

]]>
By: Akhil Bansal /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-250 Akhil Bansal Mon, 24 Sep 2007 12:17:56 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-250 Sebastian, It seems that you have installed capistrano 2.0 . Issue 'gem l cap' to know your capistrano version. rake remote:setup works for earlier version of capistrano, For capistrano 2.0 you need to issue: rake deploy:setup rake deploy:cold rake deploy Sebastian,

It seems that you have installed capistrano 2.0 . Issue ‘gem l cap’ to know your capistrano version.
rake remote:setup works for earlier version of capistrano, For capistrano 2.0 you need to issue:

rake deploy:setup
rake deploy:cold
rake deploy

]]>
By: Sebastian Tarcan /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-249 Sebastian Tarcan Mon, 24 Sep 2007 12:07:06 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-249 I have a problem to execute the command "rake remote:setup". I allways get an error like this: rake aborted! Don't know how to build task 'remote:setup' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 /usr/local/bin/rake:16:in `load' /usr/local/bin/rake:16 It seems that rake doesn't know the command "remote:setup". Would be nice for helping! I have a problem to execute the command “rake remote:setup”.
I allways get an error like this:
rake aborted!
Don’t know how to build task ‘remote:setup’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]‘
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/local/bin/rake:16:in `load’
/usr/local/bin/rake:16
It seems that rake doesn’t know the command “remote:setup”.
Would be nice for helping!

]]>
By: Clayton Cottingham /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-248 Clayton Cottingham Wed, 29 Aug 2007 21:59:14 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-248 in order for your machine to reboot properly you will still need to link the /etc/init.d/mongreel to /etc/rcN.d/ scripts in order for your machine to reboot properly you will still need to link the /etc/init.d/mongreel to /etc/rcN.d/ scripts

]]>
By: Akhil Bansal /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-247 Akhil Bansal Sun, 04 Feb 2007 14:59:22 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-247 great, Thanks Jonathan great,
Thanks Jonathan

]]>
By: Jonathan Tron /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/comment-page-1/#comment-246 Jonathan Tron Sun, 04 Feb 2007 14:51:47 +0000 /2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-246 Hi, just some little additions : mongrel_cluster gem include some capistrano extensions to forget abour setting tasks like restart by hand, just add : require 'mongrel_cluster/recipes' at the begining of your deploy.rb. Then, the gem provides a startup script you can use to handle your mongrel clusters, it's /your/gem/path/mongrel_cluster-x.x.x/resources/mongrel_cluster and it reads the mongrel cluster configs in /etc/mongrel_cluster/ which allows you handle the start/restart of many different apps just by symlinking config files to this directory. Hope it can help. Hi,
just some little additions :

mongrel_cluster gem include some capistrano extensions to forget abour setting tasks like restart by hand, just add :

require ‘mongrel_cluster/recipes’

at the begining of your deploy.rb.

Then, the gem provides a startup script you can use to handle your mongrel clusters, it’s /your/gem/path/mongrel_cluster-x.x.x/resources/mongrel_cluster and it reads the mongrel cluster configs in /etc/mongrel_cluster/ which allows you handle the start/restart of many different apps just by symlinking config files to this directory.

Hope it can help.

]]>