Traffic Server 管理员指南

istarliu

贡献于2012-02-15

字数:0 关键词: 缓存服务器

Traffic Server qianshi@taobao.com Overview Traffic Server Internet web Traffic Server Traffic Server web Traffic Server ISP Traffic Server Traffic Server z web z z Traffic Server web web Traffic Server web server web Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server HTTP Traffic Server Traffic Server Internet Traffic Server Traffic Server Traffic ServerICPInternet Cache Protocol Traffic Server Traffic Server web Traffic Server Traffic Server Object store URL Object store Traffic Server Traffic ServerTraffic Server Traffic Server RAM Traffic ServerRAMRAM RAMRAM Host Traffic Server host DNS host z DNS IP z host HTTP z Host DNS Traffic Server DNS IP Traffic Server DNS DNS DNS DNS DNSIP DNS Traffic Server Traffic Server Traffic Server / / 1 1. z traffic_server Traffic Server z traffic_manager Traffic Server traffic_server traffic_manager VIP traffic_manager traffic_server traffic_server FIFO server z traffic_cop traffic_server traffic_manager traffic_cop web traffic_server traffic_manager traffic_cop traffic_server traffic_manager Traffic Server z Traffic Line Traffic Server Traffic Server Traffic Line shell z Traffic Shell Traffic Server z Traffic Server Traffic Line Traffic Shell Traffic Server z Traffic Line Traffic Shell z Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Squid Netscape Traffic Server Working with Log Files Traffic Server Traffic Server Traffic Server z Traffic Server z Traffic Server DNS Traffic Server DNS Internet z Traffic Server Traffic Server z Traffic Server Traffic Server SSL z SSL Traffic Server Getting Started Traffic Server z Traffic Server z Traffic Line z Traffic Shell z Traffic Server Traffic Server trafficserver start Traffic Server Traffic Server trafficserver start 1. Traffic Server Traffic Server bin 2. ./trafficserver start Traffic Line Traffic Line Traffic Server Traffic Server Traffic Line Commands. Traffic Line 1. Traffic Server Traffic Server bin Traffic Server traffic_line –command argument 2. traffic_line traffic_line –h Traffic Server bin path Traffic Line ./ ./traffic_line -h Traffic Shell Traffic Shell Traffic Server Traffic LineTraffic Server man Traffic Shell Traffic Shell man 1. Traffic Server Traffic Server bin 2. ./traffic_shell start 3. traffic_shell man man traffic_shell man Traffic Shell Traffic Server trafficserver stop Traffic Server Traffic Server traffic_manager, traffic_server, traffic_cop trafficserver stop 1. Traffic Server Traffic Server bin 2. ./trafficserver stop HTTP Web web Internet HTTP Web Internet web web web web Traffic Server Traffic Server Traffic Server 1. Traffic Server web 2. Traffic Server 3. Traffic Server Traffic Server 2 2. 4. Traffic Server Traffic Server 5. Traffic Server Traffic Server 3 3. Traffic Server HTTP Traffic Server web Traffic Server HTTP Traffic Server Traffic Server HTTP Traffic Server HTTP z Expires max-age HTTP Expires max-age Traffic Server z Last-Modified / Date HTTP Expires max-age Traffic Server freahness_limit = (date – last_modified) * 0.1 date last_modified Last-Modified Last-Modified Traffic Server 0.110% Modifying the Aging Factor for Freshness Computations Setting an Absolute Freshness Limit z HTTP Expires Last-Modified Date Traffic Server Setting an Absolute Freshness Limit z cache.config IP URL cache.config Traffic Server Last-Modified Date Traffic Server 10% 1. Traffic Server config records.config 2. proxy.config.http.cache.heuristic_lm_factor Traffic Server 0.1 10% 3. records.config 4. Traffic Server bin 5. traffic_line –x Expires Last-Modified Date 1. Traffic Server config records.config 2. proxy.config.http.cache.heuristic_min_lifetime HTTP 3600 1 proxy.config.http.cache.heuristic_max_lifetime HTTP 86400 1 3. records.config 4. Traffic Server bin 5. traffic_line –x Traffic Server Traffic Server Traffic Server Expires max-age HTTP Traffic Server 1. Traffic Server config records.config 2. proxy.config.http.cache.required_headers 0 = 1 = Last-Modified Expires Cache-Control: max-age 2 = Expires Cache-Control: max-age 3. records.config 4. Traffic Server bin 5. traffic_line –x Cache-Control 10 Traffic Server Cache-Control Cache-Control z no-cache Traffic Server Traffic Server Traffic Server no-cache Configuring Traffic Server to Ignore Client no-cache Headers z max-age max-age z min-fresh z max-stale Traffic Server Internet Traffic Server HTTP Cache-Control max-age HTTP Traffic Server z Traffic Server z Traffic Server z Traffic Server z Traffic Server 111 Traffic Server Traffic Server HTTP Object Freshness Traffic Server z Traffic Server z Traffic Server z Traffic Server Expires Cache-Control HTTP Expires Cache-Control HTTP cache.config cache.config Traffic Server 1. Traffic Server config records.config 2. proxy.config.http.cache.when_to_revalidate 0 = Traffic Server HTTP Traffic Servre 1 = Traffic Server ExpiresCache-ControlHTTP 2 = Traffic Server HTTP Traffic Server HTTP 3 = Traffic Server HTTP Traffic Server HTTP 3. records.config 4. Traffic Server bin 5. traffic_line –x HTTP Traffic Server Traffic Server z URL URL z Traffic Server URLTraffic Server URL URL URL Traffic Server URL HTTP GET HTTP HTTP GET Traffic Server URL Forcing an Immediate Update 1. Traffic Server config update.config 2. URL update.config 3. update.config 4. Traffic Server config records.config 5. proxy.config.update.enabled 1 proxy.config.update.retry_count URL 10 proxy.config.update.retry_interval URL 2 proxy.config.update.concurrent_updates 100 6. records.config 7. Traffic Server bin 8. traffic_line –x Traffic Server update.config URL update.config URL 1. Traffic Server config records.config 2. proxy.config.update.force 1 3. proxy.config.update.enabled 1 4. records.config 5. Traffic Server bin 6. traffic_line –x Traffic Server update.config URL proxy.config.update.force 0 Traffic Server HTTP PUSH HTTP PUSH Traffic Server PUSH HTTP PUSH Traffic Server PUSH Traffic Server PUSH 1. Traffic Server config filter.config 2. IP PUSH domain=. src_ip=ipaddress method=PUSH action=allow domain=. method=PUSH action=deny ipaddress Traffic Server PUSH IP IP 3. filter.config 4. Traffic Server config records.config 5. proxy.config.http.push_method_enabled 1 Traffic Server PUSH 6. records.config 7. Traffic Server bin 8. traffic_line –x HTTP PUSH PUSH HTTP 1.1 PUSH PUSH PUSH http://www.company.com HTTP/1.0 Content-length: 84 HTTP/1.0 200 OK Content-type: text/html Content-length: 17 a Content-lengthContent-length Traffic Server HTTP Traffic Server Traffic Server Cache-Control 1. Traffic Server config cache.config 2. Traffic Server URL url_regex=URL pin-in-cache=12h URL Traffic Server URL d hm s 1h15m20m cache.config 3. cache.config 4. Traffic Server config records.config 5. proxy.config.cache.permit.pinning 1 6. records.config 7. Traffic Server bin 8. traffic_line –x Traffic Server Traffic Server HTTP Traffic Server Traffic Server z Cache-Control: no-store z Cache-Control: no-cache Traffic Server Cache-Control: no-cache Configuring Traffic Server to Ignore Client no-cache Headers z Cookie: Traffic Server cookies Traffic Server cookies cookies cookies Caching Cookied Objects z Authorization: Traffic Server no-cache Traffic Server Cache-Control: no-cache no-cache Traffic Server Traffic Server no-cache no-cache Traffic Server no-cache 1. Traffic Server config records.config 2. proxy.config.http.cache.ignore_client_no_cache 1 3. records.config 4. Traffic Server bin 5. traffic_line –x Traffic Server z Cache-Control: no-store z Cache-Control: private z WWW-Authenticate: Traffic Server WWW-Authenticate Configuring Traffic Server to Ignore WWW-Authenticate Headers z Set-Cookie: z Cache-Control: no-cache Traffic Server no-cache Configuring Traffic Server to Ignore Server no-cache Headers z Expires: 0 Traffic Server no-cache Traffic Server Cache-Control: no-cache no-cache Traffic Server no-cache Traffic Server no-store no-cache Traffic Server no-cache 1. Traffic Server config records.config 2. proxy.config.http.cache.ignore_server_no_cache 1 3. records.config 4. Traffic Server bin 5. traffic_line –x Traffic Server WWW-Authenticate Traffic Server WWW-Authenticate WWW-Authenticate Traffic Server WWW-Authenticate WWW-Authenticate WWW-Authenticate HTTP 1.1 Traffic Server WWW-Authenticate Traffic Server WWW-Authenticate 1. Traffic Server config records.config 2. proxy.config.http.cache.ignore_authentication 1 WWW-Authenticate 3. records.config 4. Traffic Server bin 5. traffic_line –x Traffic Server Traffic Server z Disabling HTTP Object Caching z — URL .asp ?: cgi Caching Dynamic Content z Cookie: Caching Cookied Objects z cache.config cache.config HTTP Traffic Server cache.config HTTP HTTP 1. Traffic Server config records.config 2. proxy.config.http.cache.http 0 HTTP 3. records.config 4. Traffic Server bin 5. traffic_line –x .asp ? ; cgi URL Traffic Server Traffic Server Traffic Server 1. Traffic Server config records.config 2. proxy.config.http.cache_urls_that_look_dynamic 1 3. records.config 4. Traffic Server bin 5. traffic_line –x Cookied Traffic Server cookies Traffic Server cookied cookie cookie Traffic Server z cookies z cookies z cookies Traffic Server cookied 1. Traffic Server config records.config 2. proxy.config.http.cache.cache_responses_to_cookies Traffic Server cookied 0 = cookies 1 = cookies 2 = cookies 3 = cookies 3. records.config 4. Traffic Server bin 5. traffic_line –x Traffic Server URL URL Cache-Control 1. Traffic Server config cache.config 2. Traffic Server URL url_regex=URL ttl-in-cache=6h URL Traffic Server URL d hm s1h15m20m cache.config 3. records.config 4. Traffic Server bin 5. traffic_line –x HTTP Alternates URL HTML, PDF AlternatesTraffic Server Vary Traffic Server Alternates Traffic Server Alternates Traffic Server Alternates 1. Traffic Server config records.config 2. proxy.config.http.cache.enable_default_vary_headers 1 Vary HTTP proxy.config.http.cache.vary_default_text HTTP HTML proxy.config.http.cache.vary_default_images HTTP .gif proxy.config.http.cache.vary_default_other HTTP Cookie proxy.config.http.cache.cache_responses_to_cookies proxy.config.http.cache.cache_responses_to_cookies 2 cookies proxy.config.http.cache.vary_default_text cookiecookie alternates 3. records.config 4. Traffic Server bin 5. traffic_line –x Alternates Traffic Server alternates 3 alternates Traffic Server alternates URL Traffic Server URL alternates alternates 1. Traffic Server config records.config 2. proxy.config.cache.limits.http.max_alts Traffic Server 3 3. records.config 4. Traffic Server bin 5. traffic_line –x Traffic Server HTTP Traffic Server z z congestion.config „ Traffic Server „ Traffic Server „ Traffic Server „ Traffic Server IP 1. Traffic Server config records.config 2. proxy.config.http.congestion_control.enabled 1 3. records.config 4. Traffic Server config congestion.config 5. Traffic Server congestion.config 6. congestion.config 7. Traffic Server bin 8. traffic_line –x Traffic Server Traffic Server HTTP Traffic Server / Traffic Server PAC Proxy Auto-Configuration Traffic Server Traffic Server HTTP z Traffic Server IP z Traffic Server 8080 Traffic Server -- Traffic Server PAC PAC JavaScript PAC Traffic Server URL Traffic Server PAC z PAC Traffic Server config proxy.pac z Traffic Server PAC 8083 Traffic Server PAC 1. PAC Traffic Server proxy.pac 2. Traffic Server config records.config 3. proxy.config.admin.autoconf_port Traffic Server PAC 8083 4. records.config 5. Traffic Server config proxy.pac i. PAC Traffic Server config proxy.pac ii. PAC Traffic Server config proxy.pac Sample PAC file 6. proxy.pac 7. Traffic Server 8. PAC PAC PAC myproxy.company.com Traffic Server function FindProxyForURL(url, host) { if (isPlainHostName(host)) || (localHostOrDomainIs(host, ".company.com")) { return "DIRECT"; } else return "PROXY myproxy.company.com:8080;" + "DIRECT"; } HTTP Traffic Server Traffic Server Traffic Server web Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server z z z Traffic Server web PC Traffic Server Traffic Server 4 4. Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server DNS Traffic Server IP Traffic Server Traffic Server HTTP Reverse Proxy DNS DNS HTTP Traffic Server Web HTTP Traffic Server HTTP 5 5. HTTP 1. 80 www.host.com hostHTTP Traffic Server Traffic Server 2. Traffic Server remap.config realhost.com 3. Traffic Server HTTP 4. Traffic Server Traffic Server HTTP z remap.config Creating Mapping Rules for HTTP Requests z Enabling HTTP Reverse Proxy Set Optional HTTP Reverse Proxy Options HTTP Traffic Server Traffic Server Traffic Server HTTP URL GET /index.html HTTP/1.0 Host: real.dianes_books.com GET http://real.dianes_books.com/index.html HTTP/1.0 Host: real.dianes_books.com Traffic Server host Traffic Server host real.dianes_books.com host GET /index.html HTTP/1.0 Host: www.dianes_books.com GET http://real.dianes_books.com/index.html HTTP/1.0 Host: real.dianes_books.com www.dianes_books.comreal.dianes_books.comTraffic Server URLUsing Mapping Rules for HTTP Requests Traffic Server IP IP host Traffic Server Traffic Server host Traffic Server URL Setting Optional HTTP Reverse Proxy Options web Traffic Server Traffic Server Traffic Server Using Mapping Rules for HTTP Requests HTTP Traffic Server HTTP z URL URL Traffic Server HTTP URL URLTraffic Server URL remap.config URL URL URL „ URL „ URL host URL URL „ URL URL URL „ URL URL Traffic Server URL URL URL host URL URL path Traffic Server path URL URL path path URL Traffic Server remap.config z URLTraffic ServerTraffic Server www.molasses.com /pub /pub http://www.test.com/pub/ URL Traffic Server Traffic Server URL URL URL Traffic Server URL URL URL Traffic ServerTraffic Server Traffic Server config ramap.config 1. Traffic Server config remap.config 2. remap.config 3. remap.config 4. Traffic Server bin 5. traffic_line –x HTTP HTTP 1. Traffic Server config records.config 2. proxy.config.reverse_proxy.enabled 1 HTTP 3. records.config 4. Traffic Server bin 5. traffic_line –x HTTP Traffic Server z Traffic Server host z Traffic Server z URL Host HTTP 1. Traffic Server config records.config 2. proxy.config.url_remap.pristine_host_hdr 1 host Traffic Server host 0 proxy.config.url_remap.remap_required Traffic Server remap.config 1 Traffic Server 0 proxy.config.header.parse.no_host_url_redirect host URL 3. records.config 4. Traffic Server bin 5. traffic_line –x HTTP Traffic ServerHTTP http://www.ultraseek.com http://www.server1.com/products/portal/search/ www.ultraseek.com www.server1.com/products/portal/search Traffic Server URL HTTP 301 URL HTTP 307 1. Traffic Server config remap.config 2. typetarget replacement type redirect – HTTP redirect_temporary -- HTTP target URL scheme://host:port/path_prefix replacement URL scheme://host:port/path_prefix www.server1.com www.server2.com redirect http://www.server1.com http://www.server2.com 3. remap.config 4. Traffic Server bin 5. traffic_line –x Traffic Server Traffic Server Traffic Server Traffic Server Traffic Server ICPInternet Cache Protocol Traffic Server Traffic Server Traffic Server HTTP HTTPS Traffic Server URL parent.config 6 Traffic Server Traffic Server Traffic Server Traffic Server 6. Traffic ServerTraffic Server Traffic Server Traffic Server Traffic Server parent.config Traffic Server Traffic Server z z Traffic Server Traffic Server 1. Traffic Server config records.config 2. proxy.config.http.parent_proxy_routing_enable 1 3. records.config 4. Traffic Server config parent.config 5. parent.config Traffic Server politics /viewpoint url_regex=politics prefix=/viewpoint go_direct=true Traffic Servermms://host1 URL parent1parent1 parent2round-robin=trueTraffic Server IP dest_host=host1 scheme=mms parent=”parent1;parent2” round-robin=strict 6. parent.config 7. Traffic Server bin 8. traffic_line –x ICP Internet ICPICP URLICP ICP ICP ICP Traffic Server ICP ICP ICP ICP Traffic Server HTTP HTTP Traffic Server Traffic Server ICP Traffic Server HTTP HTTP ICP ICP Traffic Server HTTP Traffic Server ICP z Traffic Server ICP ICP z Traffic Server ICP z ICP z ICP z Traffic Server ICP Traffic Server ICP 1. Traffic Server config records.config 2. proxy.config.icp.enabled 0 = ICP 1 = Traffic Server ICP 2 = Traffic Server ICP proxy.config.icp.icp_port ICPUDP 3130 proxy.config.icp.multicast_enabled 0 ICP 1 ICP proxy.config.icp.query_timeout ICP 2 3. records.config 4. Traffic Server config icp.config 5. ICP icp.config 6. icp.config 7. Traffic Server bin 8. traffic_line –x Traffic Server Object store URL Traffic Server Traffic Server Object store URL Traffic Server web web Object store Traffic Server Traffic Server Traffic Server Traffic Server z z / z RAM Traffic Server RAM RAM RAM RAM RAM Traffic Server RAM RAM host RAM RAM RAM RAM RAM 1. Traffic Server 2. Traffic Server config records.config 3. proxy.config.cache.ram_cache.size RAM -1 1GB RAM 1MB 4. records.config 5. Traffic Server RAM 1GB start_traffic_server Traffic Server traffic_line -r proxy.process.cache.bytes_total Traffic Server 1. Traffic Server 2. 3. Traffic Server storage.config storage.config 4. /etc/rc.d/init.d/traffic_server Traffic Server storage.config 5. Traffic Server Traffic Server 1. Traffic Server 2. 3. Traffic Server storage.config storage.config 4. /etc/rc.d/init.d/traffic_server 5. Traffic Server storage.config 128MB Traffic Server HTTP http 1. Traffic Server config partition.config 2. partition.config 3. partition.config 4. Traffic Server z Traffic Server z z z Traffic Server z Traffic Server hosts Traffic Server 1. 2. host 3. Traffic Server config hosting.config 4. hosting.config 5. hosting.config 6. hosting.config 7. Traffic Server bin 8. traffic_line –x Traffic Server 1. Traffic Server config records.config 2. proxy.config.cache.max_doc_size 0 3. records.config 4. Traffic Server bin 5. traffic_line –x host Traffic Server 1. Traffic Server Traffic Server 2. traffic_server –Cclear clear object store host Traffic Server 3. Traffic Server Traffic Server Traffic Server HTTP PURGE Traffic Server 200 OK HTTP 404 File Not Found Traffic Server example.com remov_me.jpg $ curl -X PURGE -v "http://example.com/remove_me.jpg" * About to connect() to example.com port 80 (#0) * Trying 192.0.32.11... connected * Connected to example.com (192.0.32.11) port 80 (#0) > PURGE /remove_me.jpg HTTP/1.1 > User-Agent: curl/7.19.7 > Host: example.com > Accept: */* > < HTTP/1.1 200 Ok < Date: Thu, 08 Jan 2010 20:32:07 GMT < Connection: keep-alive Traffic Server Traffic Server Traffic Server Traffic Server URL HTTP mgmt.allow.config Traffic Manager 1 Traffic Server config records.config 2 CONFIG proxy.config.http_ui_enabled INT 1 3 remap.config URL map http://yourhost.com/myCI http://{cache} @action=allow @src_ip=corp_internal_address 4 Traffic Server bin traffic_line –x 5 Traffic Server URLhttp://{cache} 6 z Lookup url URL Traffic Server URL URL alternates URL z Delete url URL URLTraffic Server z Regex lookup URL URL http://www.dianes.com/.*\.html$ http://www.dianes.com htmlURL z Regex delete URL http://.*\.html$ htmlHTTP URL z Regex invalidate url URL Traffic Server URL Traffic Server URL Traffic Server Traffic Server Traffic Server z Traffic Server Traffic Manager z Traffic Line Traffic Server Traffic Line z Traffic Shell Traffic Server Traffic Shell Traffic Manager TrafficServer Traffic Server Traffic Server Traffic Server 1. Traffic Server config records.config 2. proxy.config.alarm_email 3. records.config 4. Traffic Server bin 5. traffic_line –x Traffic Server Traffic Server bin example_alarm_bin.sh Traffic Line Traffic Line Traffic Server web Traffic Server Traffic Line Traffic Server Traffic Line Traffic Server 1 Traffic Server Traffic Server bin 2 traffic_line –r variable variable Traffic Line Variables Traffic Server traffic_line -r proxy.node.http.cache_hit_ratio Traffic Server path Traffic Line ./ ./traffic_line -r variable Traffic Server Traffic Server Traffic Line Traffic Server Traffic Line Traffic Server Traffic Shell Traffic Server Traffic Line 1 Traffic Server Traffic Server bin 2 traffic_line –r var var 3 traffic_line –s var –v value var value Traffic Server path Traffic Line ./ ./traffic_line -r variable Traffic Server Traffic Line Traffic Shell Traffic Server config records.config Traffic Server vi emacs records.config Traffic Server Traffic Server bin Traffic Line traffic_line –x Traffic Server 7 records.config 7. records.config records.config Traffic Server Traffic Server Traffic Server 1. Traffic Server config ip_allow.config 2. Traffic Server IP IP ip_allow.config 3. records.config 4. Traffic Server bin 5. traffic_line –x SSL Traffic Server SSL Traffic Server SSL SSL SSL z SSL z SSL SSL SSLTraffic Server config private_key.pem SSL SSL SSL SSL 1. Traffic Server config records.config 2. proxy.config.admin.use_ssl 1 SSL proxy.config.admin.ssl_cert_file SSL private_key.pem 3. records.config 4. Traffic Server bin 5. traffic_line –x DNS DNS DNS Traffic Server DNS Traffic Server DNS DNS Internet DNS z URL DNS z DNS DNS 1. Traffic Server config splitdns.config 2. splitdns.config splitdns.config splitdns.config 3. splitdns.config 4. Traffic Server config records.config 5. proxy.process.dns.splitDNS.enabled 1 DNS proxy.config.dns.splitdns.def_domain DNS DNS Traffic Server 6. records.config 7. Traffic Server bin 8. traffic_line –x SSL Traffic Server SSL Traffic Server Traffic Server SSL z Traffic ServerSSL Traffic Server z Traffic ServerSSL Traffic Server z Traffic Server Traffic Server SSL Traffic ServerSSL Traffic ServerSSL Traffic Server 8 SSL Traffic Server Traffic Server Traffic Server 8. Traffic Server SSL 1. HTTPS Traffic Server SSL Traffic Server 2. Traffic Server 3. Traffic Server HTTP Traffic Server Traffic Server Traffic Server SSL z VeriSign SSL SSL Traffic Server z SSL „ SSL „ SSL „ „ Traffic Server Traffic Server SSL Traffic Server Traffic Server ip_allow.config Traffic Server „ Traffic Server Traffic Server SSL „ CA CA Traffic Server SSL 1. Traffic Server config records.config 2. proxy.config.ssl.enabled 1 SSL proxy.config.ssl.server_port SSL 443 proxy.config.ssl.client.certification_level 0 – Traffic Server SSL Traffic Server Traffic Server 1 – Traffic Server Traffic Server 2 – SSL Traffic Server proxy.config.ssl.server.cert.filename Traffic Server SSL Traffic Server server.pem – SSL proxy.config.ssl.server.cert.path Traffic Server Traffic Server config proxy.config.ssl.server.private_key.filename Traffic Server Traffic Server SSL proxy.config.ssl.server.private_key.path Traffic Server Traffic Server SSL proxy.config.ssl.CA.cert.filename NULL proxy.config.ssl.CA.cert.path NULL 3. records.config 4. Traffic Server bin 5. traffic_line –L Traffic Server traffic_line –M Traffic Server Traffic Server 9 SSL Traffic Server Traffic Server 9. Traffic Server SSL 1. Traffic Server HTTPS SSL Traffic Server 2. Traffic Server Traffic ServerTraffic Server 3. SSL Traffic Server Traffic Server HTTPS SSL Traffic Server Traffic Server HTTP Traffic Server Traffic Server SSL z VeriSign SSL SSL Traffic Server z SSL „ SSL „ SSL „ SSL „ „ Traffic Server Traffic Server SSL „ CA CA Traffic Server Traffic Server SSL 1. Traffic Server config records.config 2. proxy.config.ssl.auth.enabled 1 SSL proxy.config.ssl.server_port SSL 443 proxy.config.ssl.client.verify.server 1 Traffic Server proxy.config.ssl.client.cert.filename Traffic Server SSL proxy.config.ssl.client.cert.path Traffic Server SSL Traffic Server config proxy.config.ssl.client.private_key.filename Traffic Server Traffic Server SSL proxy.config.ssl.client.private_key.path Traffic Server SSL proxy.config.ssl.client.CA.cert.filename NULL proxy.config.ssl.client.CA.cert.path NULL 3. records.config 4. Traffic Server bin 5. traffic_line –L Traffic Server traffic_line –M Traffic Server Traffic Server SSL Traffic Server SSL Traffic Server Traffic Server Cavium SSL SSL Cavium Traffic Server SSL 1. Traffic Server config records.config 2. proxy.confg.ssl.accelerator_required 0 – 1 – Traffic Server SSL 2 – Traffic Server proxy.confg.ssl.accelerator.type Traffic Server Cavium SSL 0 = noneTraffic Server SSL Traffic Server CPU 1 = Traffic Server 3. records.config 4. Traffic Server bin 5. traffic_line –L Traffic Server traffic_line –M Traffic Server qianshi@taobao.com TS TS blog www.flyinfo.net Traffic Server blog TCP/IP HTTP Web web server web server SquidVanish nginxHAProxy HTTP 2009 Yahoo –Traffic Server Traffic Server Inktomi Yahoo Yahoo CDN Hadoop Yahoo Appache TLP Traffic Server Plugin CDN Traffic Server Traffic Server blogwww.flyinfo.net blog Traffic Server CDN web server

下载文档,方便阅读与编辑

文档的实际排版效果,会与网站的显示效果略有不同!!

需要 15 金币 [ 分享文档获得金币 ] 1 人已下载

下载文档

相关文档