# Mongrel Cluster help

**URL:** <https://www.ruby-forum.com/t/mongrel-cluster-help/169391>\
**Category:** Deployment\
**Created:** [June 3, 2009, 8:29am UTC](https://www.ruby-forum.com/t/mongrel-cluster-help/169391 "2009-06-03T08:29:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingston](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e8c25b/32.png) [@kingston](https://www.ruby-forum.com/u/kingston)\
**Post date:** [June 3, 2009, 8:29am UTC](https://www.ruby-forum.com/t/mongrel-cluster-help/169391/1 "2009-06-03T08:29:46Z")

</div>

Hello  
i am newbie in rails  
I wanted to know what is mongrel cluster what it is used for

wish some one can help me out  
thanks any way

---

<div class="post-metadata">

**Author:** ![kingston](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e8c25b/32.png) [@kingston](https://www.ruby-forum.com/u/kingston)\
**Post date:** [June 29, 2009, 8:34am UTC](https://www.ruby-forum.com/t/mongrel-cluster-help/169391/2 "2009-06-29T08:34:10Z")

</div>

Ken G. wrote:

> Hello  
> i am newbie in rails  
> I wanted to know what is mongrel cluster what it is used for
> 
> wish some one can help me out  
> thanks any way

Hi,

In RoR to start the app we normally use ‘ruby script/server’, in  
enhancement to these a gem was introduced to do the same work and that  
is mongrel.

the syntax for mongrel is ’ mongrel\_rails start -e -p  
 ’

to create a cluster that is to run the app in multiple ports and work as  
a daemon the mongrel cluster is used.

the syntax for mongrel cluster is ’ mongrel\_rails cluster::start ’

to make this command work first we have to create a mongrel\_cluster.yml  
with all required details

mongrel\_rails cluster::configure -e -p -a  
127.0.0.1 -N -c /path/to/your/app

this command will create a mongrel\_cluster.yml file which will be  
utilised by the mongrel cluster

Hope this info is clear,

Rgds  
TML
