各位好 lvs配置转发多端口应该如何配置keepalived.conf文件? 现有一个转发80端口的配置如下: virtual_server xxx.xxx.xxx.xxx 80 { delay_loop 6 lb_algo lc lb_kind DR persistence_timeout 180 protocol TCP real_server xxx.xxx.xxx.123 80 { weight 3 TCP_CHECK { connect_port 80 connect_timeout 10 nb_get_retry 3 delay_...
by kplsq - 集群和高可用 - 2014-09-29 14:38:55 阅读(4065) 回复(4)
我在网上看到的lvs/dr均衡基本都是 ipvsadm -a -t $vip:80 -r $rip1:80 -g ipvsadm -a -t $vip:80 -r $rip1:80 -g 那么能不能实现这么一种情况 ipvsadm -a -t $vip:9999 -r $rip1:9999 -g ipvsadm -a -t $vip:9999 -r $rip1:9998 -g ipvsadm -a -t $vip:9999 -r $rip2:9999 -g ...
lvs能转发给真机多个端口吗? 已经做好了两台 lvs, 两台web真机, 运行时lvs转发给其中的一台真机的80端口, 现在想问的是: 真机上的两个80端口怕不够用,想再多加个88端口也来做web lvs有没有办法设置成即l转发到真机1上的80端口 88端口,也转发到真机2的80端口 88端口 这样可以4个web端口来接收转发任务 哪位帮忙回答一下,谢谢
keepalived.conf配置如下: ! Configuration File for keepalived global_defs { notification_email { [email]acassen@firewall.loc[/email] [email]failover@firewall.loc[/email] [email]sysadmin@firewall.loc[/email] } notification_email_from [email]Alexandre.Cassen@firewall.loc[/email] smtp_server 127.0.0.1 smtp_connect_timeout 30 router_id lvs_DEVEL } vrrp_instance VI_1 ...
原文地址:http://www.sapub.net/html/y2010/use-keepalived-nginx-proxy-multiple-https.html 需求1:CDN小节点使用尽可能少的资源实现高可用和负载均衡 需求2:需要支持10多个HTTPS站点的反向代理 后端环境:nginx在前端做url_hash,后端缓存服务器使用squid和lighttpd分别处理动静态内容,服务器证书在nginx上 解决方案: 使用keepalived来实现前端3台nginx的高可用,DNS轮询来均摊负载。 每个https站点使用一个独立IP,非htt...
文件: lvs多端口服务配置.rar 大小: 658KB 下载: 下载 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/65250/showart_1099383.html