Hi,
I have three Xen instances with public IP addresses and I want to install
Haproxy and balance between the two backends, I have done alots of searching
but I can't seem to pin point the issue. Here is the issue when I start it
r...@gp-wpbalance:~# haproxy -d -f /etc/haproxy.cfg
Available polling systems :
select : pref=150, test result OK
sepoll : disabled, test result OK
epoll : disabled, test result OK
poll : disabled, test result OK
Total: 4 (1 usable), will use select.
Using select() as the polling mechanism.
[WARNING] 034/162114 (4357) : Server BALANCE/WP2 is DOWN. 1 active and 0
backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
And it just sits there, I also presume the haproxy server should be
listening on port 80 when specified to but it doesn't?
Here is my configuration file
r...@gp-wpbalance:~# cat /etc/haproxy.cfg
global
maxconn 4096
pidfile /var/run/haproxy.pid
daemon
defaults
mode http
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen BALANCE (public IP address):80
mode http
cookie BALANCE insert
balance roundrobin
option httpclose
option forwardfor
stats enable
stats auth auth:password
server WP1 (public IP address):80 cookie BALANCE_SERVER_01 check
server WP2 (public IP address):80 cookie BALANCE_SERVER_02 check
Any suggestions greatly recieved I have a feeling I am doing something
silly....
Thanks,
Will