# \[ANN\] mongrel\_cluster 0.1: easy mongrel clustering

**URL:** <https://www.ruby-forum.com/t/ann-mongrel-cluster-0-1-easy-mongrel-clustering/58668>\
**Category:** Rails\
**Created:** [April 24, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/ann-mongrel-cluster-0-1-easy-mongrel-clustering/58668 "2006-04-24T17:52:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bktaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@bktaylor](https://www.ruby-forum.com/u/bktaylor)\
**Post date:** [April 24, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/ann-mongrel-cluster-0-1-easy-mongrel-clustering/58668/1 "2006-04-24T17:52:52Z")

</div>

Hi y’all;

A quick note to announce the release of mongrel\_cluster, a gem\_plugin  
for Mongrel. This plugin provides commands for managing multiple  
Mongrel processes behind a reverse-proxy server and load balancer.

To install:  
gem install mongrel\_cluster

Configure (use -h to options):  
mongrel\_rails cluster::configure

Start:  
mongrel\_rails cluster::start

I’ve posted a quick how-to on my blog:  
[http://fluxura.com/articles/2006/04/24/easy-mongrel-clustering-with-](http://fluxura.com/articles/2006/04/24/easy-mongrel-clustering-with-)  
mongrel\_cluster

This is the first of many open source releases to support simplified  
Ruby on Rails application deployment and is an extraction from my  
work on Rails Machine. Stay tuned for Capistrano tasks, rc scripts,  
and other good stuff. Give it a try and let me know how it works.

Thanks,  
Bradley Taylor

* * *

Rails Machine  
Simplified web application deployment  
[http://railsmachine.com](http://railsmachine.com)

Questions on Ruby on Rails deployment? Stop by:  
[http://railsmachine.campfirenow.com/ff0c6](http://railsmachine.campfirenow.com/ff0c6)

---

<div class="post-metadata">

**Author:** ![bktaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@bktaylor](https://www.ruby-forum.com/u/bktaylor)\
**Post date:** [April 25, 2006, 8:16pm UTC](https://www.ruby-forum.com/t/ann-mongrel-cluster-0-1-easy-mongrel-clustering/58668/2 "2006-04-25T20:16:02Z")

</div>

On Apr 24, 2006, at 8:49 AM, bradley taylor wrote:

> Configure (use -h to options):  
> simplified Ruby on Rails application deployment and is an  
> [http://railsmachine.com](http://railsmachine.com)
> 
> Questions on Ruby on Rails deployment? Stop by:  
> [http://railsmachine.campfirenow.com/ff0c6](http://railsmachine.campfirenow.com/ff0c6)

Very nice Bradley. Thanks!

-Ezra

---

<div class="post-metadata">

**Author:** ![bktaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@bktaylor](https://www.ruby-forum.com/u/bktaylor)\
**Post date:** [April 26, 2006, 7:46am UTC](https://www.ruby-forum.com/t/ann-mongrel-cluster-0-1-easy-mongrel-clustering/58668/3 "2006-04-26T07:46:09Z")

</div>

Nice one Bradley!

This seems to get around the problems I was having with mongrel +  
capistrano where a new deployment and symlink update was not picked up  
by the mongrel processes (they were keeping the old symlink target on  
restart)

All I had to do was change in mongrel\_cluster.yml  
  
cwd: /path/to/application/releases/20060411090306  
  
which was automatically inserted by cluster::configure, to  
  
cwd: /path/to/application/current

That’s just from my preliminary testing so let me know if I’ve missed  
something, but failing any major problems this is going into  
production!

Many thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![bktaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@bktaylor](https://www.ruby-forum.com/u/bktaylor)\
**Post date:** [April 26, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/ann-mongrel-cluster-0-1-easy-mongrel-clustering/58668/4 "2006-04-26T22:10:05Z")

</div>

On Apr 26, 2006, at 1:43 AM, Dan S. wrote:

> Nice one Bradley!

Thanks!

> cwd: /path/to/application/current

I’ve found a few bugs with respect to use with Capistrano and I  
should have fixes shortly. The next release, mongrel\_cluster 0.2,  
will fix the bugs and add a Capistrano task library. Thanks for  
trying it out!

## Regards, Bradley Taylor

Rails Machine  
Simplified web application deployment  
[http://railsmachine.com](http://railsmachine.com)

---

<div class="post-metadata">

**Author:** ![bktaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@bktaylor](https://www.ruby-forum.com/u/bktaylor)\
**Post date:** [April 27, 2006, 12:26am UTC](https://www.ruby-forum.com/t/ann-mongrel-cluster-0-1-easy-mongrel-clustering/58668/5 "2006-04-27T00:26:59Z")

</div>

On 4/27/06, bradley taylor [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve found a few bugs with respect to use with Capistrano and I  
> should have fixes shortly. The next release, mongrel\_cluster 0.2,  
> will fix the bugs and add a Capistrano task library. Thanks for  
> trying it out!

I used it last night to deploy mongrel into production for one of my  
sites. I documented the process last night and although I am not the  
best capistrano user out there you might want to have a look at the  
tasks I wrote.  
[http://www.dansketcher.com/2006/04/26/capistrano-mongrel-and-mongrel\_cluster/](http://www.dansketcher.com/2006/04/26/capistrano-mongrel-and-mongrel_cluster/)  
To be honest though, it was an absolute piece of cake thanks to your  
work.

Cheers,  
Dan
