Bug in my config or in mod_proxy_balancer?


 
Thread Tools Search this Thread
Operating Systems Linux Bug in my config or in mod_proxy_balancer?
# 1  
Old 08-17-2011
Bug in my config or in mod_proxy_balancer?

Hi,

I have a basic load balancer on two ports (80 and 8080) set up using apache and mod_proxy_balancer.

Code:
<Proxy *>
    Order deny,allow
    Deny from all
    Allow from 10.10.10.
</Proxy>

ProxyPreserveHost On
<Proxy balancer://kiosk80/>
BalancerMember http://10.10.10.1:80 
BalancerMember http://10.10.10.2:80 
</Proxy>


<Proxy balancer://kiosk80v2/>
BalancerMember http://10.10.10.3:80 
BalancerMember http://10.10.10.4:80 
</Proxy>

<Proxy balancer2://kiosk8080:8080/>
BalancerMember http://10.10.10.1:8080 
BalancerMember http://10.10.10.2:8080 
</Proxy>

<Proxy balancer2://kiosk8080v2:8080/>
BalancerMember http://10.10.10.3:8080 
BalancerMember http://10.10.10.4:8080 
</Proxy>

ProxyPass /v2/kiosk/ balancer://kiosk80v2/kiosk/ nocanon
ProxyPass /kiosk/ balancer://kiosk80/kiosk/ nocanon
ProxyPass /v2/kioskService/ balancer2://kiosk8080v2:8080/kioskService/ nocanon
ProxyPass /v2/config balancer2://kiosk8080v2:8080/config nocanon
ProxyPass /kioskService/ balancer2://kiosk8080:8080/kioskService/ nocanon
ProxyPass /config balancer2://kiosk8080:8080/config nocanon


I've enabled /balancer-manager:

<Location /balancer-manager>
SetHandler balancer-manager

Order Deny,Allow
Deny from all
Allow from 10.10.10.123
</Location>

When I go to the IP_OF_LOAD_BALANCER/balancer-manager I can see status etc, but I can't disable nodes in BALANCER2 - on port 8080. Editing nodes operating on port 80 works fine.

Is there anything what I can do to be able to edit nodes which are set on ports 8080?
In meantime we have written a script which does it for us but in long term we'd like to have web-based management.

Many thanks
Chris
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

(VS 2008) New build config looking files from other folder build config

Hi Team, My new build configuration always looking for the files from the build where i copied from. please help me to resolve this. I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies

2. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

3. Programming

is this a bug of g++?

Hello, Im using the g++(g++ Ubuntu/Linaro 4.4.4-14ubuntu5 4.4.5) and im trying to compile a small snippet code and got into an endless loop.I recompiled that in VS2010 under Windows 7 and the answer is as expected.so i wonder is this a bug of g++?here is my code. #include<iostream> using... (5 Replies)
Discussion started by: homeboy
5 Replies

4. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

5. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

6. UNIX for Dummies Questions & Answers

where's the bug?

#!/bin/bash if then #echo "infinite loop" exit 0 fi when I run this file I get the following error: ./test_infinite_loop: line 5: syntax error near unexpected token `fi' ./test_infinite_loop: line 5: `fi' :confused: (4 Replies)
Discussion started by: jon80
4 Replies

7. AIX

bug in 43 ???

xxxxserver# lsattr -El inet0 | grep 255.240.0.0,32.224.0.0,32.78.120.254 | grep '.40' route net,-hopcount,1,-netmask,255.240.0.0,32.224.0.0,32.78.120.254 How this is possible? (1 Reply)
Discussion started by: itik
1 Replies

8. Shell Programming and Scripting

Is it a bug ..?

Hi All, I am using Red Hat Linux on my servers. The problem that I am facing is, sometimes the /opt usage on the server shows used percentage as 100% , when actually it is simply 20%. When I reboot the system, it comes back to 20%.Is this a bug in the system or my settings have gone wrong... (1 Reply)
Discussion started by: nua7
1 Replies
Login or Register to Ask a Question