资源描述
Click to edit Master title style,Click to edit Master text styles,Second level,Third level,*,BIG-IP Global Traffic Manager,广域网流量管理与优化方案,应用全球部署以后的挑战,异地容灾、故障切换,客户感受:易于使用、最佳访问效果,应用的协同,多数据中心资源的充分利用,扩展性,可管理性,容灾方案:宕机的代价是沉重的,“,47%of the businesses cited that disaster recovery was a prime target for IT Spending”Network Computing Survivors Guide to 2006 survey,33%of businesses did not have Disaster Recovery plans in place,16%of businesses lost between$100-$500K/day,26%of businesses dont know how much they lost,Source:AT&T and IAEM report,传统的应用容灾方案的切换机制,手动修改客户端访问目的地址,手动修改,DNS,解析记录方式,应用层重定向,都是需要人工介入!,指望人工进行容灾切换是靠不住的,$,Error Prone,Slow to Implement,Costly,Labor Intensive,网络管理员,“,Microsofts websites were offline for up to 23 hours-the most dramatic snafu to date on the Internet-because of DNS equipment misconfiguration affecting more than 72 million users.”,“,We screwed up.This is the worst day of my professional life“,Network Administrator at Microsoft,错误修改,DNS,记录的后果是极其严重的,客户感受,易于使用,最快响应速度,UNIX,WINS,Internal DNS Servers,跨,ISP,访问:南北电信互访问题,测试项目,网通北京,ADSL,用户访问,12,月,2,日凌晨,1,时,广东电信用户访问,宽带用户,带宽未知,,12,月,2,日,16:30,网通北京,ADSL,用户访问,,12,月,2,日,16:00,上海,ADSL,宽带用户访问,,12,月,2,日,20:00,DNS Result,202.xxx.xxx.209,219.xxx.xxx.11,202.xxx.xxx.209,219.xxx.xxx.11,网通,电信,网通,电信,网通,电信,网通,电信,Number of hits:,72,69,4,76,52,47,19,35,Requests per Second,1.20,1.15,0.07,1.27,0.87,0.78,0.32,0.58,Socket Connects,73,70,5,77,53,48,20,36,Total Bytes Sent(in KB),14.19,13.47,0.96,14.96,13.61,12.23,3.87,7.03,Bytes Sent Rate(in KB/s),0.24,0.22,0.02,0.25,0.23,0.20,0.06,0.12,Total Bytes,Recv,(in KB),4148.24,4001.90,256.58,4388.54,3019.94,2703.26,21.73,39.83,Bytes,Recv,Rate(in KB/s),69.12,66.68,4.28,73.12,50.32,45.05,0.36,0.66,多应用在多数据中心中的协同问题,Clinical records down in,Dallas data center!,Clinical,Record,Services,Employee,Information,Services,Personal,Information,Services,Service Oriented,Architecture,特性:应用智能、可管理性与高性能,SOA Application Management,ZoneRunner,-Eliminate DNS Errors,BIG-IP Global Traffic,Manager(GTM,),Advanced application and component monitoring,iRules-Flexibility to define distribution policies,IPv6 AAAA record support,Leading DNS performance(,40K Res/s),TMOS,极大提升全球交付应用的,可用性与可靠性,主要功能与优势,支持应用在多个数据中心间进行透明交付,确保全球业务的连续性和应用的可用性,灵活的负载均衡算法,能够根据任何一项业务政策(包括地理信息、负载情况、网络就近性等),并通过为直接用户交付全球流量控制,来增强灵活性。,引导用户进入全球最佳站点,能够显著改进性能并提高客户的体验。,集中管理与监控,实现从单一地点提供全面的应用和数据中心状态信息,降低管理开销,通过充分利用备份数据中心,以提高全球网络的效率、可扩展性以及投资回报。,能够实现复杂任务的自动化流程,从而降低维护和管理开销。,广州数据中心,上海数据中心,User,查询,Local DNS,F5 BIG-IP GTM-,广域网流量管理与优化方案,BIG-IP,Server farm,Webmaster,北京数据中心,Router,BIG-IP,Internet,Internet,GTM,GTM,基本工作机制,GTM is a Wide Area load balancer using DNS as the Traffic Management mechanism.,BIND is version 9.3.1,BIND zone file UI is now,ZoneRunner,WideIP,records are written to the appropriate zone files,GTM gets BIG-IP style monitors and pools.,Big3ds are used to communicate availability between GTM and BIG-IP systems.,Big3ds communicate via,iQuery,over SSL,and utilize,gzip,to compress messaging,Big3dshim daemon facilitates communication between 9.x(big3d)and 4.x 3-DNS.,GTM,决策过程,When a DNS request is received by the GTM listener,tmm,and,gtmd,go through the following decision making process before any IP address is returned:,TMM checks to see if there is a WideIP that matches the request,If there is match gtmd handles the request.,If there is no match the request is passed down to BIND.,If a WideIP matches the request,gtmd checks its persistence table for a persistence record.,If a match exists then gtmd will give out the record in the persistence table.,If not then GTM determines what pool to send the traffic to based upon the WideIP LB method,and the availability of each pool.,GTM returns A records only(AAAA and A6 records included),Once the request reaches the pool level,the pool must make a load-balancing decision based upon its LB configuration and the availability of the pool members.,GTM LB Mechanism,GTMs,采用分层的负载均衡机制,A WideIP load balances between its pools.,A pool load balances between pool members.,In the context of GTM a pool member is a Virtual Server.,A virtual server is a sub component of a Server Object.,Thus you must configure Topology accordingly:,1,st,pass:pick a pool,2,nd,pass:within a pool to select a pool member,广域网访问流量优化,欧洲用户,美洲,用户,GTM,德国,Data Center,美国,Data Center,=,集成的性能结构,商业标准,控制全球用户访问在多个数据中心之间的流量分配,地址位置就近访问,Topology,亚洲,用户,新加坡,Data Center,Topology,举例,来自北美(,North America,)的访问请求导向到北美的两个数据中心(,NA,),来自北美(,Europe,)的访问请求导向到北美的两个数据中心(,London,),来自其它地方的访问请求导向到北美的两个数据中心(,Tokyo,),Topology,举例,(cont.),From,topology.inc,topology /6 Items,/server,ldns,score,dc.London,continent.Europe,250,pool.nor_am_web,continent.North,America 250,pool.nor_am_web,0.0.0.0/0 25,dc.Tokyo,continent.Asia,250,dc.Tokyo,continent.Australia,250,pool.nor_am_web,continent.South,America 250,Topology example(cont.),From the GUI,网络就近性动态探测,GTM,支持的负载均衡算法,循环,全球可用性,LDNS,持续性,应用可用性,地理分布,虚拟服务器容量,最少连接,Pkt,/sec,(数据包,/,每秒),KB/sec,(千字节,/,每秒),往返时间,中继段(,hop,),数据包完整率,用户定义服务质量(,QoS,),动态比率,LDNS,循环,比率,随机,组合的负载均衡算法,The Below pool contains a Virtual Server on a BIG-IP,and a Virtual Server from a Generic Host:,pool,name bigip_and_host,ttl 30,preferred ga,alternate ratio,member 172.25.118.100:80 ratio 2,member 172.25.118.105:80,Pool Name:bigip_and_host,ttl:30 seconds,Preferred LB:Global Availability,Alernate LB:ratio,Fallback LB:Return to DNS(default),Fallback IP:none,GTM WideIP Persistence,There are two types of persistence:,Static Persist:,A Static LB mode.,WideIP Persistence:,Applied on each WideIP object as a drop-down configuration option.,WideIP persistence works in the following way:,first time through a pool member is picked(LB)and put into the persistence table(and syncd to all other listening GTMs),second time through if the persistent pool member is still available(green)then that pool member is returned and the timestamp updated on the persistence entry(and we sync that too),if the pool member is not available(!green)then the persistence entry is tossed and a new one created once LB is complete.,If there are no requests for a persistence entry it is removed from the table once that entry has expired.,Persistence records are synchronized between GTM synchronization peers,Persistence records can be viewed in the UI:,Navigate:Statistics-Global Traffic-Persistence Records,Static Persist LB method is discussed in a previous slide.,自动容灾切换,Router,L-DNS,BIG-IP GTM,BIG-IP LTM,Corporate Servers,Site 1(Primary),Client,Router,BIG-IP LTM,Corporate Servers,Site 2(Back up),BIG-IP GTM,GTM,服务器可用性检查(,Monitors,),GTM inherits its monitors from LTM.,An administrator can create the same monitors that are available in LTM to monitor GTM objects.,Monitors can be applied on:,Servers,Virtual Servers,Pools(and pool members),服务器可用性检查,Application,Device,FTP,HTTP,DB.D,HTTPS,Siebel App,Oracle DB,内容,/,文件检查,Data Center,Intranet App:,Siebel in,纽约,HTTP Server,DB Server,Siebel App,Oracle DB,Siebel content verification,可用性,解决方案:,web,服务穿过特定区域、设备,使应用得到一个统一服务检测的批量可用性,好处:,可探测到任意标准的,web,服务套件的失败,多应用协同,Distributed Applications,distributed application,是,一个要使用到多个域名(,wideip,)的应用,这些域名分布在不同的服务器上,由这组服务器协同工作构成一个完整的应用,.,Distributed Applications,将多个,Wideip,当作一个对象来进行管理,可以同时,Enable,或,Disable.,Distributed Application Management,Manage multiple services as part of a collective application,Benefits,Lower complexity,ease management,Reduced management overhead,Cost savings from reduced staff,Eliminate cost of downtime,BIG-IP Global Traffic Manager,Solution-,Data Center A,Data Center B,NewCar App,One step failover,Manage Service Dependencies,Challenge,Hundreds of applications,Manual failover is slow,error prone,Multi-step failover to shut down each application service,No instantaneous failover,Distributed Applications,Example 1:Data Center Dependency,当构成,Distributed Application,的,Wideip,中有任何一个,其对应的,virtual server,都不同用的话,对这个,Distributed Application,来说,这个,virtual server,所属的数据中心就是不可用的。,但其它不属于这个,Distributed Application,的访问请求,仍然可以被分发到这个数据中心的。,Example 2:Server Dependency,当构成,Distributed Application,的,Wideip,中有任何一个,其对应的,virtual server,都不同用的话,对这个,Distributed Application,来说,这个,virtual server,所属的服务器就是不可用的。,但其它不属于这个,Distributed Application,的访问请求,仍然可以被分发到这个服务器上来。,ZoneRunner,减少,DNS,配置错误,Easy DNS management,Auto population of protocols,Validation/error checking,Rollback to the last transaction,Importation of zones,Automatic reverse lookups,ZoneRunner,Only integrated DNS Management Utility,成功案例,-TOM.COM CDN,Site,沈阳,Site,西安,Site,成都,Site,长沙,Site,广州,Site,杭州,Site,北京,Site,教育网,Site,中国移动,100,M FE,1000 M GE,Switch,Router,F5 3DNS,F5 bigip 2400,Netapp,6200,Netapp,2100,成功案例,-,ChinaCache,ChinaCache,中国最大的,CDN,服务提供商,Solution requirement:,Node deployment:30-50 in China,Capacity of each node:40-1000MB,Implementation:,Deploy BIGIP,3DNS,F5 total CDN solution,BIG/IP LB for Cache,3DNS for WAN LB,See-IT for management,21cn GSLB,解决方案,SEE-IT,WEB/Streaming,Server,3DNS,3DNS,Big IP 2400,Core Switch,21cn,广州机房,GB,FE,Cache Server,WEB/Streaming,Server,Big IP 5000,Big IP 5000,21cn,上海节点,Core Switch,Internet,WEB/Streaming,Server,Big IP 2400,Core Switch,21cn,河北节点,Summary:BIG-IP GTM,BIG-IP Global Traffic Manager,Application Health Features,Composite monitors,Application-specific monitors,Distributed application monitoring,Management Features,New and improved user interface,ZoneRunner,-New zone file,management tool,New and improved IP classifier,Support for IPv6 networks,Distributed application model,Performance Features,Client continuity,iRules,3x performance increase,Optional modules:IPV6,BIG-IP Global Traffic Manager Benefits,Reduces TCO and improves uptime,Eliminates lost revenue from broken data transactions,Visibility into application health and faster recovery times,Only solution with simplified zone file management to reduce DNS risks,High performance DNS server built-in,First and only solution in the industry to manage SOA applications,Only solution that supports 3rd party LB vendors,Features TMOS and iControl,Why Should You Buy GTM?,Does your business have a disaster recovery plan for natural disasters?,Does your business have global clients that need regionalized access to content?,Does your business want to maximize your investment in the secondary data center?,Is DNS management error prone and cumbersome?,Do you follow a multi-step manual failover process?,Are you rolling out SOA applications soon?,
展开阅读全文