zoukankan      html  css  js  c++  java
  • ubuntu1804 keepalived

    主:

    cat /etc/keepalived/keepalived.conf
    ! Configuration File for keepalived

    global_defs {
    router_id LVS_DEVEL
    }

    vrrp_instance VI_1 {
    state MASTER
    interface ens33
    #garp_master_delay 10
    virtual_router_id 51
    priority 100
    advert_int 1
    authentication {
    auth_type PASS
    auth_pass 1111
    }
    virtual_ipaddress {
    192.168.219.88 label ens33:1
    #192.168.200.17
    #192.168.200.18

    # optional label. should be of the form "realdev:sometext" for
    # compatibility with ifconfig.
    #192.168.200.18 label eth0:1
    }
    }

    备:

    root@kb:~# cat /etc/keepalived/keepalived.conf
    global_defs {
    router_id LVS_DEVEL
    }

    vrrp_instance VI_1 {
    state BACKUP
    interface ens33
    #garp_master_delay 10
    virtual_router_id 51
    priority 100
    advert_int 1
    authentication {
    auth_type PASS
    auth_pass 1111
    }
    virtual_ipaddress {
    192.168.219.88 label ens33:1
    #192.168.200.17
    #192.168.200.18

    # optional label. should be of the form "realdev:sometext" for
    # compatibility with ifconfig.
    #192.168.200.18 label eth0:1
    }
    }

  • 相关阅读:
    jquery 不支持$.browser
    js 双向绑定
    css3 省略号
    js生成txt文件
    Browser-sync
    Generator & yield write in sync way
    Charles
    缓动函数与动画
    让Safari使用Chrome的代理
    React 同构
  • 原文地址:https://www.cnblogs.com/alexhjl/p/12842001.html
Copyright © 2011-2022 走看看