首页
Profile
Profile
Profile
Profile
Profile

Keepalived on Ubuntu

2015-06-30 阅读 269
安装 ``` apt-get install keepalived ```

配置

``` vrrp_sync_group VG { group { VG_1 } } vrrp_instance VG_1 { state BACKUP interface em1 virtual_router_id 51 priority 101 advert_int 1 authentication { auth_type PASS auth_pass xxxx } track_interface { em1 em3 } virtual_ipaddress { xxx.xxx.xxx.xxx/24 dev em3 xxx.xxx.xxx.xxx/24 dev em1 } nopreempt } ```

启动

``` /etc/init.d/keepalived start ```

 

keepalived UBUNTU
更新于 2023年03月28日
 
陕ICP备13008705号-1 Chat Gpt Api