<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: apache proxy balancer + mongrel clusters and deploying application with capistrano</title>
	<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/</link>
	<description>Exploring RubyOnRails</description>
	<pubDate>Fri, 08 Aug 2008 00:35:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Peter Williams - mod_proxy_balancer Is A Two Timing Hussy</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-19972</link>
		<pubDate>Mon, 28 Apr 2008 14:01:39 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-19972</guid>
					<description>[...] To see what I mean lets start with what Google suggests. The reverse proxying gets setup something like this: [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] To see what I mean lets start with what Google suggests. The reverse proxying gets setup something like this: [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Akhil Bansal</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4049</link>
		<pubDate>Tue, 25 Sep 2007 04:44:47 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4049</guid>
					<description>sorry forgot about 'cap'</description>
		<content:encoded><![CDATA[<p>sorry forgot about &#8216;cap&#8217;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Sebastian Tarcan</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4031</link>
		<pubDate>Mon, 24 Sep 2007 17:37:46 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4031</guid>
					<description>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!</description>
		<content:encoded><![CDATA[<p>I found out:<br />
instead to write rake it have to by cap. So the commands are now:</p>
<p>cap deploy:setup<br />
cap deploy:cold<br />
cap deploy</p>
<p>Important! In the config/deploy.rb file you mast set the correct path to the app dir!<br />
The line have to look like this:<br />
set :deploy_to, &#8220;/path/to/your/ror/app&#8221;</p>
<p>Thanks for helping!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Sebastian Tarcan</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4023</link>
		<pubDate>Mon, 24 Sep 2007 12:47:46 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4023</guid>
					<description>Hmmm, thanks for help, but these commands give me the same error as described. :(</description>
		<content:encoded><![CDATA[<p>Hmmm, thanks for help, but these commands give me the same error as described. :(
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Akhil Bansal</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4022</link>
		<pubDate>Mon, 24 Sep 2007 12:17:56 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4022</guid>
					<description>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</description>
		<content:encoded><![CDATA[<p>Sebastian,</p>
<p>It seems that you have installed capistrano 2.0 . Issue &#8216;gem l cap&#8217; to know your capistrano version.<br />
rake remote:setup works for earlier version of capistrano, For capistrano 2.0 you need to issue:</p>
<p>rake deploy:setup<br />
rake deploy:cold<br />
rake deploy
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Sebastian Tarcan</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4021</link>
		<pubDate>Mon, 24 Sep 2007 12:07:06 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-4021</guid>
					<description>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!</description>
		<content:encoded><![CDATA[<p>I have a problem to execute the command &#8220;rake remote:setup&#8221;.<br />
I allways get an error like this:<br />
rake aborted!<br />
Don&#8217;t know how to build task &#8216;remote:setup&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7<br />
/usr/local/bin/rake:16:in `load&#8217;<br />
/usr/local/bin/rake:16<br />
It seems that rake doesn&#8217;t know the command &#8220;remote:setup&#8221;.<br />
Would be nice for helping!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Clayton Cottingham</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-3447</link>
		<pubDate>Wed, 29 Aug 2007 21:59:14 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-3447</guid>
					<description>in order for your machine to reboot properly you will still need to link the /etc/init.d/mongreel to  /etc/rcN.d/ scripts</description>
		<content:encoded><![CDATA[<p>in order for your machine to reboot properly you will still need to link the /etc/init.d/mongreel to  /etc/rcN.d/ scripts
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Akhil Bansal</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-97</link>
		<pubDate>Sun, 04 Feb 2007 14:59:22 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-97</guid>
					<description>great,
Thanks Jonathan</description>
		<content:encoded><![CDATA[<p>great,<br />
Thanks Jonathan
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jonathan Tron</title>
		<link>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-96</link>
		<pubDate>Sun, 04 Feb 2007 14:51:47 +0000</pubDate>
		<guid>http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/#comment-96</guid>
					<description>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.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
just some little additions :</p>
<p>mongrel_cluster gem include some capistrano extensions to forget abour setting tasks like restart by hand, just add :</p>
<p>require &#8216;mongrel_cluster/recipes&#8217; </p>
<p>at the begining of your deploy.rb.</p>
<p>Then, the gem provides a startup script you can use to handle your mongrel clusters, it&#8217;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.</p>
<p>Hope it can help.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
