On 31/03/2014 5:20 PM, "Sinha, Vikas" <vikas.si...@intergraph.com> wrote:
>
> Hi All,
>
>
>
> I am trying to setup a hot cluster with following configuration.
>
>
>
> <VirtualHost *:8787>
>
> ServerName http://in-g-vsinha4
>
> ServerAlias in-g-vsinha4.com
>
> ProxyPass / balancer://hotcluster/
>
> <Proxy balancer://hotcluster>
>
> BalancerMember http://in-g-vsinha4:80
>
> # The below is the hot standby
>
> BalancerMember
> http://122.160.226.226:80status=+H
>
> ProxySet lbmethod=bytraffic
>
> </Proxy>
>
>
>
> <Location /balancer-manager>
>
> SetHandler balancer-manager
>
> Require all granted
>
> </Location>
>
>
>
> <Directory "/Library/WebServer/Documents">
>
> AllowOverride AuthConfig
>
> </Directory>
>
> </VirtualHost>
>
>
>
> Everything seems well when BalancerMember http://in-g-vsinha4:80 is up
and running.
>
>
>
> When BalancerMember http://in-g-vsinha4:80 is down I get
>
>
>
> Service Temporary Unavailable!
>
> The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.
>
> Jakarta/ISAPI/isapi_redirector/1.2.37
>
> As I understand BalancerMember http://122.160.226.226:80 status=+H which
is a hot standby is not able to respond due to some error in configuration.
>
First your ServerName is wrong, check the documentation to find out why.
Second, are both backend servers identical in configuration? And what are
they actually? The Jakarta in the error makes me think they are Tomcats
maybe?
And third, why dont you check the error and access log on the second server
and make sure the server is running fine and is really not getting the
requests before you post back here?