您好,登錄后才能下訂單哦!
1.keepalive只需在/etc 目錄下建一個文件 keepalived.conf
vrrp_instance VI_1 {
state BACKUP
nopreempt
interface eth0
virtual_router_id 20
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 123456
}
virtual_ipaddress {
172.16.231.210/25 dev eth0 label eth0:0
}
track_interface {
eth0
}
#notify_master "/opt/nsfocus/controller/ncsp/ha/ha_vrrp_notify.py master"
#notify_backup "/opt/nsfocus/controller/ncsp/ha/ha_vrrp_notify.py backup"
}
然后啟動: sudo keepalived
2.rsync配置參考(已測試)
http://www.linuxidc.com/Linux/2014-03/97592.htm
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。