load balancing problem
Mohamed HADROUJ (Gmail)
hadrouj at gmail.com
Mon May 21 13:25:30 UTC 2007
Hi All,
I have some load balancing troubles using lvs/piranha, here is the
description :
when i use the ipvsadm command to view the statistics here what i get :
IP Virtual Server version 1.0.8 (size=65536)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
UDP 10.11.11.230:radius wrr
-> 10.11.11.20:radius Masq 1 0 0
-> 10.11.11.19:radius Masq 1 0 1
the load balancer keeps forwarding the request to only one server. in
addition of that the counter of the connection established is always equal
to 1.
i've checked also in /var/log/messages, both servers are seen as available.
here is my config file :
backup_active = 1
backup = 10.11.11.229
backup_private = 10.11.11.121
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 10.11.11.122 bond0.499:1
debug_level = NONE
virtual gw_radius {
active = 1
address = 10.11.11.230 bond0.498:1
port = 1812
send_program = "radpwtst -s %h -noacct -noauth -auth_port 1812
-secret mysecret -status"
expect = "OK"
use_regex = "0"
#load_monitor = uptime
scheduler = wrr
protocol = udp
timeout = 6
reentry = 15
quiesce_server = 0
server GW_1 {
address = 10.11.11.19
active = 1
weight = 1
}
server GW_2 {
address = 10.11.11.20
active = 1
weight = 1
}
server GW_3 {
address = 10.11.11.21
active = 0
weight = 1
}
}
Thank you for your help
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/piranha-list/attachments/20070521/2c029e8c/attachment.htm>
More information about the Piranha-list
mailing list