美文网首页
ZStack SLB配置

ZStack SLB配置

作者: Foreally | 来源:发表于2020-04-14 15:53 被阅读0次
    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
    

    相关文章

      网友评论

          本文标题:ZStack SLB配置

          本文链接:https://www.haomeiwen.com/subject/avdtvhtx.html