ZStack SLB配置

2020-04-14  本文已影响0人  Foreally
root@vyos:/home/vyos# cat /home/vyos/zvr/lb/conf/lb-2ae7562461a94d8181880edbefc495ea-listener-cfbd2f7c2f254ad09cca28ef20dfee91.cfg 
global
maxconn 5000         #最大连接数
log 127.0.0.1 local1
user vyos
group users
daemon
stats socket /home/vyos/zvr/lb/sock/cfbd2f7c2f254ad09cca28ef20dfee91.sock user vyos
ulimit-n 10100
defaults
log global
option tcplog
option dontlognull
option http-server-close
listen cfbd2f7c2f254ad09cca28ef20dfee91
mode tcp
timeout client 60s
timeout server 60s
timeout connect 60s

balance roundrobin
bind 172.31.6.11:111

server nic-10.8.219.124 10.8.219.124:80 check port 80 inter 5s rise 2 fall 2
server nic-10.8.219.183 10.8.219.183:80 check port 80 inter 5s rise 2 fall 2
server nic-10.8.219.209 10.8.219.209:80 check port 80 inter 5s rise 2 fall 2
上一篇下一篇

猜你喜欢

热点阅读