I have set-up mongrel clusters by individual steps. What I mean by this
is that I tried to use mongrel_clusters plugin and failed.
Using mongrel clusters I did:
mongrel_rails cluster::configure -e development \ -p 8200 -N 3 -c
C:\a_public_xyz\webside -a 127.0.0.1
This worked but the next step failed:
mongrel_rails cluster::start
I have read on some posts that mongrel clusters is not supported on
windows (Windows 2000 in my case)
So I have done the following individual steps, and everything works.
mongrel_rails service::install -N app_C1 -c C:\a_public_xyz\webside -p
8201 -e development
I did this for a further 2 ports, 8202 and 8203
Then I started the services manually i.e. net start app_C1
then in my apache httpd.conf file I added:
dont worry about my name wibble.com, it is only on my PC, that is not on
the net.
<Proxy balancer://wibblecluster>
BalancerMember http://127.0.0.1:8201
BalancerMember http://127.0.0.1:8202
BalancerMember http://127.0.0.1:8203
<VirtualHost *:80>
ServerName wibble.com
ProxyPass / balancer://wibblecluster/
ProxyPassReverse / balancer://wibblecluster/
ProxyPreserveHost on
<Location /balancer-manager>
SetHandler balancer-manager
I restart apache, and I can run my rails app 100%
My question is what am I missing from not using mongrel cluster plugin.
Is there any downside to what I have done.
I know that I need to start all the mongrel and apache services
automatically when windows starts.
At the moment windows is my only option, I don’t want *nix, unless I am
really forced to it.
I read on a post that mongrel clusters after version 1 will be
deprecated is this correct?
What are the long term plans for having rails served by multiple
servers?
Andrew
