Skip to content

Instantly share code, notes, and snippets.

View nepaul's full-sized avatar
🎯
Focusing

N nepaul

🎯
Focusing
View GitHub Profile
@nepaul
nepaul / keepalived.conf
Last active May 18, 2016 13:39
MySQL HA MHA Configuration
! 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 #同一个集群这个东西是一样的