Question about round-robin method

3 views
Skip to first unread message

myabdemon

unread,
Oct 26, 2010, 10:06:23 AM10/26/10
to perlbal
Hi,

For balance method, does the option "SET balance_method = round-robin"
work in debian squeeze?
I tried, but failed.
Is there anyone who tried the round robin method?

Here is my configuration file:
CREATE SERVICE mgmt
SET role = management
SET listen = 127.0.0.1:8065
ENABLE mgmt

CREATE POOL webfarm
POOL webfarm ADD 10.0.0.2:80
POOL webfarm ADD 10.0.0.3:80

CREATE SERVICE balancer
SET listen = 192.168.0.46:80
SET role = reverse_proxy
SET pool = webfarm

SET persist_backend = on
SET max_backend_uses = 0
SET backend_persist_cache = 2
SET verify_backend = on
SET balance_method = round-robin
SET enable_reproxy = on
SET buffer_uploads = off
SET persist_client = on
ENABLE balancer


But when I ran, I got the error.

root@gatewaypb:/etc/perlbal# perlbal -d
ERROR: Unknown balance method
Error starting up.

Is there any solutions about this?
Random method works, but I want to use round robin.


Best regards,

Percy
Reply all
Reply to author
Forward
0 new messages