lvs_keepalived_haproxy
lvs_keepalived_haproxy
oToyix
好记性,不如烂笔头。且记且珍惜!!!!!!
展开
-
centos 7 安装配置Keepalived (脚本,实例)
环境:两台NGINX,使用keepalived实现故障漂移MASTER机器脚本内容:#/bin/bash#auto install keepalived#2020年7月31日 12:05:54#by author toyix##########################ETH=ens33yum install -y keepalived*cd /etc/keepalived/cp keepalived.conf{,.bak}sed -i '1,$d' keepalived.c原创 2020-07-31 14:56:54 · 559 阅读 · 0 评论 -
centos7 keepalived lvs 集群案例
环境:[root@0f34df37cdaf keepalived]# cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core)DIP(lvs+keepalived): 172.17.0.5 Vip : 172.17.0.100 SIP1(nginx服务器): 172.17.0.3 lo:1 172.17.0.100 SIP2(nginx服务器): 172.17.0.4 lo:1 172.17.0.100真实服务器配置-原创 2020-08-05 18:29:22 · 202 阅读 · 0 评论 -
Centos7安装配置LVS-DR
LVS DR原理(路由直连):用户请求LVS上的VIP,在LVS中修改报文中的MAC地址为真实服务器的MAC地址,不改源IP与目标IP,源IP为用户IP不变,然后LVS将报文给RS服务器,RS回返时,从真实网关走数据,不再经过LVS环境:VIP: 172.17.0.100DIP: 172.17.0.5RIP: 172.17.0.2RIP: 172.17.0.3端口: 80后端服务: NGINX安装配置安装LVS[root@0f34df37cdaf ansible]# yum原创 2020-08-05 12:09:41 · 993 阅读 · 0 评论