文档详情

负载均衡开源解决方案精要.ppt

发布:2016-03-17约1.07万字共29页下载文档
文本预览下载声明
confidential Layer 4-7 Schedule Basically Hardware/GUI/CLI (Configure method)/HA (Config Sync) Load balance related virtual server/node/pool/pool member Monitors Sorry server Maintenance Mode Load balance method Persistence SNAT/RNAT Server Protection ACL/Content Switch GSLB Performance We are here Hardware/GUI/CLI/HA HAProxy Hot Reconfiguration We are here Concepts Monitor Availability requirement SNAT/NAT Priority-based member activation ACTION of service down Slow Ramp Time Pool/pool member statistics Monitors Monitor类型 HAProxy Monitor HAProxy Sorry Server HAProxy Maintenance Mode Load balancing algorithm? Round Robin Wrr(Ratio(member), Ratio(Node)) Dynamic Ratio:根据对服务器性能的观察来动态设置weight,观察点包括连接数、响应时间等。 Fastest(node) Fastest(application): 服务器/应用的最快响应时间 LC(Member) LC(node) Observed(member) Observed(node) Predictive(member) Predictive(node) Source URL HASH URL Param We are here Persistence SNAT RNAT We are here Server Protection Attack (SYN Flood) Connection Limit Timeout Surge Queue Slow Start Timeout We are here HAProxy ACL Content Switch (UIE/iRule/ACL) We are here GSLB Performance Keep-Alive Compression In-memory Cache Server Offload TCP Buffering Logging HTTP Header Manipulation HAProxy – The Reliable, High Performance TCP/HTTP Load Balancer 简介 功能 性能 安全 Bibliography */29 负载均衡开源解决方案 Load Balancing Using Open Source Softwares MSN: finalbsd@ MAIL: finalbsd@ CUID: FinalBSD Layer4-7 Switch 4-7 HAProxy 4 LVS 4-7 NetScaler 4-7 F5 工作层 软件 Basically LB related Persistence SNAT/RNAT Server Protection ACL/CS GSLB HA CLI GUI Hardware HAProxy LVS NetScaler F5 Open Source Commercial mv /etc/haproxy/config /etc/haproxy/config.old mv /var/run/haproxy.pid /var/run/haproxy.pid.old mv /etc/haproxy/config.new /etc/haproxy/config kill -TTOU $(cat /var/run/haproxy.pid.old) if haproxy -p /var/run/haproxy.pid -f /etc/haproxy/config; then echo New instance successfully loaded, stopping previous one. kill -USR1 $(cat /var/ru
显示全部
相似文档