Ruby on Rails applications with Mongrel cluster

Hello All

I am trying to install 5 mongrel servers against my app. i am using
Vista. I found this article on a website… but am stuck on one point.

here are some notes from article:

Now enable the needed modules (url rewriting, proxy, proxy_balancer e
proxy_http) by editing the httpd.conf file (under c:
\Apache_Software_Foundation\Apache2.2\conf, if you installed Apache in
its standard path). You just need to uncomment the following lines
(remove the #):

LoadModule rewrite_module modules/
LoadModule proxy_module modules/
LoadModule proxy_balancer_module modules/
LoadModule proxy_http_module modules/

gem install mongrel (pick last version for win32)
gem install mongrel_service (pick last version for win32)

Now we will create a mongrel cluster of 2 windows services responding
at on ports 3010, 3011 serving a rail application at
the path c:\www\ror\myapp that will be started from the windows system
user. The two windows services will be respectively named
mongrel_myapp1 and mongrel_myapp2. Open the command prompt and type:

mongrel_rails service::install -N mongrel_myapp1 -p 3010 -e production
-c c:\www\ror\myapp
mongrel_rails service::install -N mongrel_myapp2 -p 3011 -e production
-c c:\www\ror\myapp

Now open the windows services tool, make the 2 new services have an
automatic startup type (so they will still be started when you
Test if your application is now running at the two ports:


… i am not getting any results when connecting to localhost:3010

instead its looking for

Please advice

I wrote about what I did on Click on the mongrel
tagvas itvis currently the only thing under that topic.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs