# Cluster 3 mongrel servers residing in different machines (Wi

**URL:** <https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668>\
**Category:** Rails\
**Created:** [January 29, 2007, 5:02pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668 "2007-01-29T17:02:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![santhu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@santhu](https://www.ruby-forum.com/u/santhu)\
**Post date:** [January 29, 2007, 5:02pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668/1 "2007-01-29T17:02:54Z")

</div>

Hi All,

Machine A: has Apache 2.2 doing load balancing, also has DB and 8  
mongrel processes I’m using mongrel\_cluster . Now, I want to run  
Mongrels on Machine’s B and C (ie Cluster 3 Mongrels in three  
different machines). Is this possible? If possible then, please  
describe me the steps required (I’m using windows machines, and  
already losdt one week ☹ )

Best regards,  
Santhu

---

<div class="post-metadata">

**Author:** ![santhu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@santhu](https://www.ruby-forum.com/u/santhu)\
**Post date:** [January 29, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668/2 "2007-01-29T17:10:01Z")

</div>

Hi Santhu,

You might want to signup for the Rails-deploy group on google. It’s a  
new  
group formed to address just this kind of question.

hth,  
Bill

---

<div class="post-metadata">

**Author:** ![santhu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@santhu](https://www.ruby-forum.com/u/santhu)\
**Post date:** [January 29, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668/3 "2007-01-29T17:41:15Z")

</div>

Hi Santhu,

I think what Darushin explained would be the most common setup.

Quick search turned this up:  
[http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-](http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-)  
apache-2-2-mod\_proxy\_balancer-and-mongrel

We have a hw load balancer and are load balancing apache processes and  
will soon load balance all the monrels using this too. Outside request  
 → LB → [Apache 1, Apache 2, etc] → LB → [Machine 1 Mongrel 1,  
Machine 2 Mongrel 1, etc].

Fredrik

---

<div class="post-metadata">

**Author:** ![santhu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@santhu](https://www.ruby-forum.com/u/santhu)\
**Post date:** [January 29, 2007, 5:48pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668/4 "2007-01-29T17:48:17Z")

</div>

Hi Darushin/Bill ,

First of all thanks for the valuble information. I’m looking for some  
explicit steps required to set up a distributed “mongrel cluster [I mean a multi machine set up]” (I’m not not using capastrino ☹ for  
the time being) . Please help me  
Best regards,  
Santhu

---

<div class="post-metadata">

**Author:** ![santhu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@santhu](https://www.ruby-forum.com/u/santhu)\
**Post date:** [January 29, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668/5 "2007-01-29T18:07:24Z")

</div>

Hi Santhu,

I’m replying just so you don’t think I’m ignoring you. There are folks  
here  
on this list, like Darushin, who can help. It’s way over my head,  
though.  
If you don’t find the help you need here, the experts are at  
rails-deploy.

Best regards, and good luck,  
Bill

---

<div class="post-metadata">

**Author:** ![santhu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@santhu](https://www.ruby-forum.com/u/santhu)\
**Post date:** [January 29, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668/6 "2007-01-29T19:26:39Z")

</div>

santhu wrote:

> Hi All,
> 
> Machine A: has Apache 2.2 doing load balancing, also has DB and 8  
> mongrel processes I’m using mongrel\_cluster . Now, I want to run  
> Mongrels on Machine’s B and C (ie Cluster 3 Mongrels in three  
> different machines). Is this possible? If possible then, please  
> describe me the steps required (I’m using windows machines, and  
> already losdt one week ☹ )
> 
> Best regards,  
> Santhu

[http://mongrel.rubyforge.org/docs/apache.html](http://mongrel.rubyforge.org/docs/apache.html)

I think that guide should help you get your hardware going. If you have  
issues post them and we will see what we can do.

Ben

---

<div class="post-metadata">

**Author:** ![santhu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@santhu](https://www.ruby-forum.com/u/santhu)\
**Post date:** [January 29, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668/7 "2007-01-29T18:38:41Z")

</div>

Hi Fredrik,

Thanks for the great help, it started working for me. Now its too late  
here, will continue tommorrow.  
Looking forward for more help…

best regards,  
Santhosh .TR
