lvs

lvs keepalived

introduction lvs: lvs is a kind of L4 load balancer. some references here: howto keepalived: keepalived is a facilitator for lvs configuration topology: DIP: 192.168.2.172 RIP[1]: 192.168.2.173 RIP[2]: 192.168.2.174 VIP: 192.168.2.175 lvs only director side #install ipvsadm yum -y install ipvsadm echo 'net.ipv4.ip_forward = 1' >> /etc/sysctl.conf sysctl -p touch /etc/sysconfig/ipvsadm systemctl start ipvsadm systemctl enable ipvsadm # add vip ifconfig em1:0 192.