mod_proxy_balancer not working with ProxyRemote

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm setting up a forward proxy with httpd 2.2.4, and have several
target proxy backends.  I was hoping to be able to use
mod_proxy_balancer to load balance between them.

I'd expect this to work:

ProxyRequests On
ProxyRemote http balancer://mycluster
<Proxy balancer://mycluster>
  BalancerMember http://localhost:8119
  BalancerMember http://localhost:8120
</Proxy>

(localhost:811{8,9} work fine as direct targets of ProxyRemote.)

When making a proxy request for the/any backend http://mysite.com, the
request is proxied successfully - but NOT through the specified
localhost ports, it's requested out through the default route of the
machine.

error_log shows...

[Sat May 13 11:32:52 2007] [error] [client 10.0.0.123] proxy: DNS
lookup failure for: mycluster returned by http://mysite.com/

Which implies something weird going on - with 'mycluster' attempted to
be resolved.

Essentially I'm trying to build a two level balanced http proxy,
using Apache as the first level and load balancer.  The second level
proxy is specialized.

Any ideas?

Thanks-

-R

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux