This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Configuration File for keepalived | |
global_defs { | |
router_id LVS_DEVEL | |
} | |
vrrp_instance VI_1 { | |
state MASTER #candidate master则写BACKUP | |
interface eth2 | |
virtual_router_id 51 #同一个集群这个东西是一样的 |