环境:
两台centos7
10.0.0.41
10.0.0.42
1.下载安装keepalived
41.42虚拟机安装
yum -y install ipvsadm keepalived
2.配置keepalived的文件
vim /etc/keepalived/keepalived.conf
master:
backup:
3.开启keepalived
4.测试
环境:
两台centos7
10.0.0.41
10.0.0.42
1.下载安装keepalived
41.42虚拟机安装
yum -y install ipvsadm keepalived
2.配置keepalived的文件
vim /etc/keepalived/keepalived.conf
master:
backup:
3.开启keepalived
4.测试