ImageVerifierCode 换一换
格式:PPT , 页数:29 ,大小:3.15MB ,
资源ID:13180461      下载积分:10 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/13180461.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(负载均衡开源解决方案.ppt)为本站上传会员【pc****0】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

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

1、主标题,Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,*,/29,Layer 4-7,Layer4-7,Switch,软件,工作层,F5,4-7,NetScaler,4-7,LVS,4,HAProxy,4-7,Schedule,Basically,Hardware/GUI/CLI(Configure method)/HA(,Config,Sync),Load balance related,virtual server/node/pool

2、/pool member,Monitors,Sorry server,Maintenance Mode,Load balance method,Persistence,SNAT/RNAT,Server Protection,ACL/Content Switch,GSLB,Performance,We are here,Basically,LB related,Persistence,SNAT/RNAT,Server Protection,ACL/CS,GSLB,Hardware/GUI/CLI/HA,Commercial,Open Source,F5,NetScaler,LVS,HAProxy

3、Hardware,GUI,CLI,HA,HAProxy Hot Reconfiguration,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,;t

4、hen,echo New instance successfully loaded,stopping previous one.,kill-USR1$(cat/,var/run/haproxy.pid.old,),rm,-f/,var/run/haproxy.pid.old,exit 1,else,echo New instance failed to start,resuming previous one.,kill-TTIN$(cat/,var/run/haproxy.pid.old,),rm,-f/,var/run/haproxy.pid,mv,/,var/run/haproxy.pid

5、old,/,var/run/haproxy.pid,mv,/etc/,haproxy/config,/etc/,haproxy/config.new,mv,/etc/,haproxy/config.old,/etc/,haproxy/config,exit 0,fi,保存之前状态,停止老的监听,成功,清理老的连接和,pid,失败,恢复老的配置,We are here,Basically,LB related,Persistence,SNAT/RNAT,Server Protection,ACL/CS,GSLB,Concepts,virtual server,192.168.101.1:80,

6、pool,(name=,cgi_boxes,),member,(server=,10.1.1.3:80),member,(server=,10.1.1.2:80),member,(server=,10.1.1.1:80),pool,(name=,asp_boxes),member,(server=,10.1.1.6:80),member,(server=,10.1.1.5:80),member,(server=,10.1.1.4:80),VIP,192.168.101.1,virtual server,192.168.101.1:443,pool,(name=,ssl_boxes,),memb

7、er,(server=,10.1.1.6:443),member,(server=,10.1.1.2:443),member,(server=,10.1.1.1:443),VIP,192.168.101.2,LoadBalancing,Intelligent Traffic Control,(look at URL,client IP,addr,.,etc.),Port-basedTraffic Direction,IP,Addr,.-basedTraffic Direction,Incoming request,Monitor,Availability requirement,SNAT/NA

8、T,Priority-based member activation,ACTION of servicedown,Slow Ramp Time,Pool/pool member,statistics,Monitors,Monitor,类型,Simple,ECV,EAV,ICMP/GW ICMP/TCP ECHO,TCP/HTTP/HTTPS,外部程序,/FTP,下载一个文件到,LTM,系统上,看是否下载成功,/IMAP/LDAP/MSSQL/NNTP/Oracle/POP3/RADIUS/Real Server/SIP/SMTP/SOAP/WMI,自定义,monitor,HAProxy Mon

9、itor,listen,webfarm,192.168.1.1:80,mode http,balance,roundrobin,cookie SERVERID insert indirect,option,httpchk,HEAD/,index.html,HTTP/1.0,server,webA,192.168.1.11:80 cookie A,check,server,webB,192.168.1.12:80 cookie B,check port 81 inter 2000,server,webC,192.168.1.13:80 cookie C check,server,webD,192

10、168.1.14:80 cookie D check,,HAProxy Sorry Server,listen,webfarm,192.168.1.1:80,mode http,balance,roundrobin,cookie SERVERID insert indirect,option,httpchk,HEAD/,index.html,HTTP/1.0,server,webA,192.168.1.11:80 cookie A check,server,webB,192.168.1.12:80 cookie B check port 81 inter 2000,server,webC,1

11、92.168.1.13:80 cookie C check,server,webD,192.168.1.14:80 cookie D check,server,bkpA,192.168.1.15:80 cookie A check,backup,server,bkpB,192.168.1.16:80 cookie B check,backup,,HAProxy Maintenance Mode,,Updating.,503 Service Unavailable,No server is available to handle this request.,Load balancing,algo

12、rithm,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,Bas

13、ically,LB related,Persistence,SNAT/RNAT,Server Protection,ACL/CS,GSLB,Persistence,Client,Server A,GET/URI1 HTTP/1.1,HTTP request(no cookie),TCP handshake,TCP handshake,GET/URI1 HTTP/1.1,HTTP request(no cookie),HTTP/1.1 200 OK,HTTP reply(no cookie),HTTP/1.1 200 OK,HTTP reply(with inserted cookie),pic

14、kserver,GET/URI2 HTTP/1.1,HTTP request(with same cookie),TCP handshake,TCP handshake,GET/URI2 HTTP/1.1,HTTP request(with same cookie),HTTP/1.1 200 OK,HTTP reply(,no cookie,),HTTP/1.1 200 OK,HTTP reply(updated cookie),cookiespecifiesserver,First Hit,Second Hit,Set-Cookie:SERVERID=A,Cookie:SERVERID=A,

15、Cookie persistence,1.1 HTTP Cookie Insert,1.2 HTTP Cookie Rewrite,1.3 HTTP Cookie Passive,1.4 Cookie Hash,Destination Address affinity persistence,Hash persistence,MSRDP persistence,SIP,persistence(session,Initiation protocol),Souce,address,affnity,persistence,SSL persistence,Universal persistence,i

16、nsert,rewrite,prefix,listen,webfarm,192.168.1.1:80,mode http,balance,roundrobin,cookie SERVERID insert indirect,option,httpchk,HEAD/,index.html,HTTP/1.0,server,webA,192.168.1.11:80,cookie A,check,server,webB,192.168.1.12:80,cookie B,check,server,webC,192.168.1.13:80,cookie C,check,server,webD,192.16

17、8.1.14:80,cookie D,check,SNAT&RNAT,E,xternal,vlan,In,ternal,vlan,VIP:,221.238.249.177,MAPPED IP:10.10.1.1,eth0:10.10.1.2,eth1:192.168.1.2,SNAT,RNAT,backend private,#Connect to the servers using our 192.168.1.200 source address,source 192.168.1.200,backend transparent_ssl1,#Connect to the SSL farm fr

18、om the clients source address,source 192.168.1.200,usesrc,clientip,server,railsA,192.168.1.11:80,source 192.168.1.201,check,server,railsB,192.168.1.12:80,minconn,4,maxconn,12 check,server,railsC,192.168.1.13:80,minconn,4,maxconn,12 check,We are here,Basically,LB related,Persistence,SNAT/RNAT,Server

19、Protection,ACL/CS,GSLB,Server Protection,Attack(SYN Flood),Connection Limit,Timeout,Surge Queue,Slow Start,F5,Syn,Proxy,ACL/,iControl/iRules,NetScaler,Syn,Cookie/TCP offload/Content Filter/ACL,LVS,Iptables,?,HAProxy,ACL,listen,appfarm,192.168.1.1:80,mode http,maxconn,10000,option,httpclose,option,ab

20、ortonclose,option,forwardfor,balance,roundrobin,server,railsA,192.168.1.11:80,minconn,4,maxconn,12,check,server,railsB,192.168.1.12:80,minconn,4,maxconn,12 check,server,railsC,192.168.1.13:80,minconn,4,maxconn,12 check,contimeout,60000,weight,maxconn,Timeout,Timeout client,客户端连接的闲置时间,timeout,clitime

21、out,同上、已废弃,timeout connect,服务器端连接的超时时间,(,尝试连接,),timeout,contimeout,同上、已废弃,timeout http-request,一个完整的,HTTP,请求的超时时间,(,仅针对,header,,降低,DDoS,风险,连接堆积危险,),timeout queue,队列中等待的超时时间,当服务器连接满时,多余的请求会放到服务器或者,proxy,实例的,queue,里面。返回,503,timeout server,服务器端连接的闲置时间,timeout,srvtimeout,同上、已废弃,timeout,tarpit,使用,reqtarp

22、it,后,连接保持打开的时间,超时则关闭,Client,proxy,server,We are here,Basically,LB related,Persistence,SNAT/RNAT,Server Protection,ACL/CS,GSLB,HAProxy ACL,req_len,wait_end,req_ssl_ver,Layer 4 and below,Layer 4 Content,method,req_ver,path_*,url,_*,hdr,_*,Layer 7 Content,HTTP_1.1,METH_GET,Pre-defined ACL,src/dst,src_p

23、ort/dst_port,dst_conn,nbsrv(backend,),acl,missing_cl,hdr_cnt(Content,-length),eq,0,block if HTTP_URL_STAR!METH_OPTIONS|METH_POST,missing_cl,block if METH_GET HTTP_CONTENT,block unless METH_GET or METH_POST or METH_OPTIONS,To select a different backend for requests to static contents on the www site,

24、and to every request on the,img,video,download and ftp hosts:,acl,url_static,path_beg,/static/images/,img,/,css,acl,url_static,path_end,.gif.,png,.jpg.,css,.,js,acl,host_www,hdr_beg(host,)-i www,acl,host_static,hdr_beg(host,)-i,img,.video.download.ftp.,#now use backend static for all static-only hos

25、ts,and for static,urls,#of host www.Use backend www for the rest.,use_backend,static if,host_static,or,host_www,url_static,use_backend,www if,host_www,Content Switch(UIE/,iRule,/ACL),frontend public,reqisetbe,Host:,img,static,#The URI will use a specific keyword soon,reqisetbe,*/(,img|css,)/static,r

26、eqisetbe,*/admin/stats stats,default_backend,dynamic,#The static backend,backend,for Host:,img,/,img,and/,css,.,backend static,backend dynamic,backend stats,if(,http_uri,ends_with,“.gif”),use pool,image_servers,else if(,http_uri,starts_with,“/,foo,”),use pool,foo_servers,else if(,http_cookie(“XYZ,-T

27、ype”)=“direct”),use pool,cookie_servers,else if(,findstr(http_uri,“?type=”,6,“&”)=“,cgi,”),use pool,cgi_servers,else,use pool,web_servers,acl,url_static,path_beg,/static/images/,img,/,css,acl,url_static,path_end,.gif.,png,.jpg.,css,.,js,acl,host_www,hdr_beg(host,)-i www,acl,host_static,hdr_beg(host,

28、)-i,img,.video.download.ftp.,use_backend,static if,host_static,or,host_www,url_static,use_backend,www if,host_www,We are here,Basically,LB related,Persistence,SNAT/RNAT,Server Protection,ACL/CS,GSLB,GSLB,如何实现,CDN,和站点容灾?!,Illustrated,Performance,Keep-Alive,Compression,In-memory Cache,Server Offload,T

29、CP Buffering,Logging,listen proxy-out,mode http,option,httplog,option,logasap,log global,server cache1 192.168.1.1:3128,#log the name of the virtual server,capture request header Host,len,20,#log the amount of data uploaded during a POST,capture request header Content-Length,len,10,#log the beginnin

30、g of the referrer,capture request header,Referer,len,20,#server name(useful for outgoing proxies only),capture response header Server,len,20,#logging the content-length is useful with option,logasap,capture response header Content-Length,len,10,#log the expected cache,behaviour,on the response,captu

31、re response header Cache-Control,len,8,HTTP Header Manipulation,reqdel,reqdeny,reqpass,reqtarpit,reqsetbe,reqisetbe,reqirep,reqidel,reqideny,reqipass,reqiallow,reqitarpit,reqadd,rsp,*,#remove X-Forwarded-For header and SERVER cookie,reqidel,X-Forwarded-For:.*,reqidel,Cookie:.*SERVER=,#refuse*.local,

32、then allow www.*,reqideny Host:.*.local,reqiallow Host:www.,#refuse*.local,then allow www.*,but ignore#,www.private.local,reqipass,Host:,www.private,.local,reqideny,Host:.*.local,reqiallow,Host:www.,#replace/static/with/at the beginning of any request path.,reqrep,(*)/static/(.*)1/2,#replace,with ww

33、w in the host name.,reqirep,Host:,Host:www,HAProxy The Reliable,High Performance TCP/HTTP,Load Balancer,简介,功能,性能,安全,Bibliography,1,HAProxy Official Site,:,haproxy.1wt.eu,2,Willy TARREAU,:,HAProxy Configuration Manual(English),3,Willy TARREAU,:,HAProxy Architecture Guide(English),4,Willy TARREAU,:,HAProxy Reference Manual,5,F5 Networks,:,Configuration Guide for Local Traffic Management(v9.2.2),6,Citrix,:,NetScaler Installation and Configuration Guide-Vol.1(2),THE END,

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服