config
admin@whp-lbl01:~# /etc/init.d/haproxy restart
* Restarting haproxy haproxy Available polling systems :
sepoll : pref=400, test result OK
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 4 (4 usable), will use sepoll.
Using sepoll() as the polling mechanism.
[ALERT] 048/093150 (1156) : Starting proxy webfarm: cannot bind socket
Config:
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
debug
quiet
user haproxy
group haproxy
defaults
log global
mode http
option httplog
option dontlognull
retries 3
redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen webfarm 10.7.1.4:80
mode http
stats enable
stats auth someuser:somepassword
balance roundrobin
cookie JSESSIONID prefix
option httpclose
option forwardfor
option httpchk HEAD /check.txt HTTP/1.0
server webA 10.7.1.7:80 cookie A check
server webB 10.7.1.8:80 cookie B check
Thanks!!!!
|
Recent comments
4 hours 38 min ago
5 hours 37 min ago
9 hours 24 min ago
10 hours 38 min ago
14 hours 15 min ago
21 hours 30 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 22 hours ago
2 days 1 hour ago