Hot Standby keepalived

Overview keepalived high availability cluster
     keepalived originally to LVS, because LVS node status can not automatically detect the server (can automatically deploy LVS)
    keeplived later joined VRRP to function, but also to prevent single point of failure
 
Keepalives run
keepalived detect each server node status
when abnormal server node fails, the failed node keepalived excluded from the cluster system
after the failed node recovery, keepalived then automatically added to the repaired node server cluster
all faults automatically, without human intervention
 
 
 
keepalived configuration file
/ etc / keepalived /keepalived.conf
 
State primary server mASTER, the secondary server to the BACKUP
priority 100 server priority
interface eth0 network interface specified
auth_pass 123 primary server and secondary server password must be the same service area
 
 
will open automatically restart after keepalived service iptables firewall default deny everything
flush command
iptabled -F

Guess you like

Origin www.cnblogs.com/liujiab/p/11411410.html