F5优化功能配置介绍

上传人:桔**** 文档编号:466799488 上传时间:2023-04-15 格式:DOCX 页数:10 大小:154.79KB
返回 下载 相关 举报
F5优化功能配置介绍_第1页
第1页 / 共10页
F5优化功能配置介绍_第2页
第2页 / 共10页
F5优化功能配置介绍_第3页
第3页 / 共10页
F5优化功能配置介绍_第4页
第4页 / 共10页
F5优化功能配置介绍_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《F5优化功能配置介绍》由会员分享,可在线阅读,更多相关《F5优化功能配置介绍(10页珍藏版)》请在金锄头文库上搜索。

1、F5 LTM优化功能配置介绍F5 FSE陈亮 2007.10.19前言本文主要介绍的是F5 LTM上的基本优化功能,即HTTP压缩,Ramcache,及 oneconnect连接优化功能的配置。关于WA中涉及的高级优化功能,将另外进 行介绍.一、HTTP压缩功能介绍HTTP压缩功能可以通过http内容的压缩,减少数据量的传送,并提高用户的访问 速度。当然,并非所有的文件需要压缩。比如,已经压缩的文件诸如 JPEG、GIF、 PNG、电影和打包内容等不需要HTTP压缩过滤技术。对它们再次压缩将无法得到显著减小文件体积的效果。同时,网站还有大量的文本内容诸如HTML、XML、CSS和RSS等,他们

2、都需要进 行压缩。F5的H TTP压缩功能可以通过软件或硬件两种方式完成,所有平台的产品在出厂时已提供了 5Mpbs的免费软件压缩功能。支持硬件压缩卡:只有6400及以上平台可以支持硬件压缩的功能。各平台的压缩性能表现如下:ProductBIG-IPBIG-IPBIG-IPBIG-IPBIG- IP 34008800840068006400BIG-IP 1500考压缩卡安装指南F5工程师。H询汁:立対:抽卩UB-01CD_00_&Wa 4100 6B00.rar或联系当地6 Gbps1 Gbps1 Gbps1 Gbps500 Mbps100 Mbps6 Gbps3 Gbps2 Gbps2 Gb

3、psN/AN/AOOOO-Max. Software Compressi onMax. Hardware Compressi onHardware Compressi on Card注:硬件压缩卡建议在用户定货时选择在原厂安装,如需在用户现场安装,请参如果设备已内置了硬件压缩卡,请通过如下方式确认硬件压缩卡是否可以正常工 作:How to get hardware compression to workIn order to get hardware compression to work, follow these steps:迪.卄WIM1) Verify that you have th

4、e hardware compression card installed and recognised by the BIG-IP. This can be done in one of a few ways:a. Once the BIG-IP has booted check the “/var/log/ltm” file for an entry like:aha0: AHA Compression device (rev 2.1) at 1.3b. From the console (not SSH) run the command:bigstart stop; /bin/tmm -

5、a -speed-test=aha-fieldWhen completed look for the similar entry: aha0: AHA Compression device (rev 2.1) at 1.3 Compression test: CRC matched ok.c. Run “cat /proc/pci” and look for the PCI device T93f:0001” this is the hardware compression card2) From a license point of view you need to make sure yo

6、u have the license option of “F5-ADD-BIG-HWCMP” (more specifically the flags “softwareoffload” and “perf_http_compression_hw”,see C206746). If you have these then you can check on the status of the hardware and software compression support with the command “tmctl vcompress_stats”. You should see thr

7、ee compression devices in a properly-licensed system: soft_sync, soft_offload and aha_offload. None of the compression DB variables have any effect on asystem without the hardware compression license.rootguangzhoubigip:Active config # tmctl vcompress_stats name queued_bytes precompress_bytes postcom

8、press_bytes tot_streams.overflow000 0soft_sync01589191089599071015soft_offload09687961779521890371454aha_offload09452092327393309092599846095cur streams000203) Under the HTTP profile that is assigned to your VIPs you need to make sure that you select level 1 as the compression level and the GZIP Win

9、dows Size as “4k”.HTTP压缩功能配置介绍1. 配置http profile 请参考如下配置界面:Compression|Enabfed |0URI Compression| Not Confgured 二|厂Content ConpressionII厂Content Type: |Content ListInclude I (Exclude IInclude Listtext/app licfltion/(Kml|M-j! va script)Exclude Lst3 jfeiEte |f/iniirum Content Lergthpecbytes臣Compression

10、 Buffer Sizs|iol072 t泻 m臣gzip Canrpr&ssian Level| 1 - Least Compression (Fastest-0gzip Memory Ls!rdIT KIICtiTSI*gzip Window SizeP三I k-ile bytesI*Varr HeaderI* EiabecI*HTTP1.0 Req u setaP Enabbd臣uustm(jjEiwinsCompression设置说明缺省值Compressi on启用或禁用H TTP压缩特性。DisableURICompressi on显示加入或排除特定Request-URI响应的设

11、置。可能的值为 URI List 或 Not Configured。Not ConfiguredURI List如果U RI Compression 设置为 Enabled,则需 要指定压缩目标的URI,和U RI压缩中加入和排 除的响应类型。无缺省值ContentCompressi on显示加入或排除特定Content-Type响应的设 置。可能的值为Content List或NotConfigured oNot ConfiguredContent List如果 Content Compression 设置为 Enabled, 则需要指定压缩的目标内容类型,和内容压缩 中加入和排除的响应类型

12、。在Include List框中,默认值 为:text/ application/(xml|x-javascript)MinimumContent Len gth指定服务器响应的最小字节长度,应该符合压 缩响应的可接受范围。字节长度仅适用于内容 长度,不包括标头。1024Compressi on Buffer Size指定LTM系统缓冲压缩字节的最大数量,然后 决定是否在指定压缩尺寸的响应中插入4096设置说明缺省值gzip Memory LevelContent-Length 标头。指定压缩服务器响应时LTM系统用于内部压缩8缓冲的内存千字节数量。指定压缩服务器响应时LTM系统使用的窗口尺1

13、6gzip Window Size寸中的千字节数量。gzip Level指定压缩的数量和速度。1Vary Header启用或禁用在使用高速缓存的服务器响应中插 入一个V ar y标头。EnabledHTTP/1.0启用或禁用HTTP/1.0客户机请求响应压缩。DisabledRequests Keep Accept启用之后,允许目标服务器而不是LTM系统执DisabledEn cod ing行H TTP压缩。2. 配置Virtual server调用上面配置的http profileGeneral PropertiesNameDestinationService Portvip_web_80T

14、y圧:( He蜀NetworkAddress: |To |h_p 刁PVA .ccelera lienMorevmil 日 bilityQStats| Ed目血d 匸|Configuration: Iasc二、RAMCache功能介绍用RAM高速缓存的时机使用RAM高速缓存特性可以降低后台服务器的流量负载。如果站点上的某个对 象会频繁用到,站点有大量的静态内容,或者站点上的对象经过压缩,那么此功能非 常有用。频繁用到的对象如果在一些时期内,频繁用到站点上的某些特定内容,那么便可使用此特性。 通过对RAM高速缓存的配置,内容服务器仅需在每个有效期内向BIG-IP系统提供一次 相关内容。静态内容如果站点由大量静态内容组成,例如CSS、javascript、图像或徽标,此特性也 很有用。内容压缩对于可压缩数据,RAM高速缓存能够针对可接受压缩数据的客户端存储数据。 在BIG-IP系统上与压缩特性一起使用时,RAM高速缓存可以减轻BIG-IP系统和内容服 务器的压力。可以缓存的项目RAM高速缓存特性完全兼容RFC 2616 “超文本传输协议一一HTTP/1.1 ”中规定 的高速缓存规则。这意味着,可以将RAM高速缓存配置为缓存以下内容类型:200、203、206、300、301 和410响应;缺省响应GET方法;用于URI “包含”列表中指定的U

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 建筑/环境 > 建筑资料

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号