ipvsadm與keepalived整合
1.準備兩臺虛擬服務器(DR),分別安裝ipvsadm和keepalived
yum -y install ipvsadm yum -y install keepalived
2.配置keepalived.conf
#修改IP為192.168.2.137的DR vi /etc/keepalived/keepalived.conf #修改內容如下 ! Configuration File for keepalived global_defs { notification_email { [email protected] } notification_email_from [email protected]