oh yeah sorry :)
#---------------------------------------------------------------------
# Global settings
#---------------------------------------------------------------------
global
log 127.0.0.1 local2
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
maxconn 4000
user haproxy
group haproxy
daemon
nbproc 4
# turn on stats unix socket
stats socket /var/lib/haproxy/stats
stats socket /var/run/haproxy/haproxy.sock
stats bind-process 4
stats timeout 2m
#------------------------------------------------------------------
# defining Load Balancers for HA
#---------------------------------------------------------------------
peers LB
peer rw61d00im-dfs035.me.com 17.199.146.183:1024
peer rw61d00im-dfs036.me.com 17.199.146.184:1024
#---------------------------------------------------------------------
# common defaults that all the 'listen' and 'backend' sections will
# use if not designated in their block
#---------------------------------------------------------------------
defaults
mode tcp
log global
option dontlognull
option redispatch
retries 3
timeout http-request 20
timeout queue 86400
timeout connect 86400
timeout client 86400
timeout server 86400
timeout http-keep-alive 30
timeout check 20
maxconn 50000
#---------------------------------------------------------------------
# main frontend which proxys to the backends
#---------------------------------------------------------------------
frontend nfs 17.199.146.191:2049
mode tcp
default_backend gluster_nfs
frontend portmapper 17.199.146.191:111
mode tcp
default_backend gluster_portmapper
#—#---------------------------------------------------------------------
# round robin balancing between the various backends
#---------------------------------------------------------------------
backend gluster_nfs
balance roundrobin
mode tcp
server rw61d00im-dfs033.me.com 17.199.146.181:2049 maxconn
check
server rw61d00im-dfs034.me.com 17.199.146.182:2049 maxconn
check
backend gluster_portmapper
balance roundrobin
mode tcp
server rw61d00im-dfs033.me.com 17.199.146.181:111 maxconn check
server rw61d00im-dfs034.me.com 17.199.146.182:111 maxconn check
listen admin
bind 17.199.146.184:80
mode http
stats enable
stats uri /stats
————————————————————————————————
On May 19, 2015, at 12:14 PM, Tim <[email protected]> wrote:
> maybe you want to share your configs?
>
> On 19.05.2015 21:00, Alex wrote:
>> using haproxy getting connection refused on portmaper
>>
>> any suggestion
>>
>> thanks
>>
>> Alex
>>
>