I have done my first akamai CDN implimentation for CQ5 publish in my project. I have listed the prerequisites and the configuration I have implimented.
DNS Setup
DNS Domain has to be configured to set-up with Akamai and for the domain to work its need to be registered and mapped to below name servers. This will allow Domain configurations to work
Following URL is configured for Akamai testing:
http://XXX-performance-testing.utils-XXX.com:4503/
Note: There is another workaround i.e. to register a temp domain via http://dnsdynamic.org
We can register a doming e.g. XXX-performance-testing.dnsdynamic.com and map it to IP: XXX.XXX.XXX.XXX
Akamai Configuration
Akamai is configured in the following fashion for optimal performance
ORIGIN SERVER CONFIGURATION
DIGITAL PROPERTIES CONFIGURATION SUMMARY
Default Configuration
(All Digital Properties) Origin: origin-nexus-performance-testing.utils-XXX.com
CP Code: Site Accelarator2 (125924)
Forward HOST header: Digital Property
Cache Key: Origin Server (origin-nexus-performance-testing.utils-XXX.com)
Compression: Yes
CACHE KEY: IGNORE CASE
OPTION VALUE
Ignore case in the cache key: Enabled
LAST MILE ACCELERATION
OPTION VALUE
Apply to content with Content-type: text/html*, application/x-javascript*, text/css*, image/png image/jpeg image/gif
Disable for Old Browsers: Yes
HTTP POST
OPTION VALUE
HTTP POST Requests: Enabled
Allow POST Without Content Length: Disabled
ORIGIN DNS OPTIMIZATION
OPTION VALUE
DNS Refresh: Enabled
DNS Refresh Timeout: 2 hours
TIME TO LIVE RULES
# MATCH CRITERIA ACTION
Default Rule TTL: 1 day
Default Error Response Rule 10 seconds
Default Cache Redirect Response Rule Cache Redirect Responses
1 Host: nexus-performance-testing.utils-XXX.com
File Extension: aif aiff au avi bin bmp cab carb cct cdf class css
dcr doc dtd exe flv gcf gff gif grv hdml hqx ico ini
jpeg jpg js mov mp3 nc pct pdf png ppc pws swa swf
txt vbs w32 wav wbmp wml wmlc wmls wmlsc xsd zip
TTL: 1 day
REPORTING
OPTION VALUE
HTTP Headers to Include in Logs: User-Agent
Cookie Values: - None -
SUREROUTE / TIERED DISTRIBUTION OPTIONS
OPTION VALUE
Tiered Distribution: Enabled
Tiered Distribution Map Name: ch2.akamai.net
SureRoute: On
SureRoute Test Object URI: /akamai/sureroute-test-object.html
Race Statistic TTL: 86400 seconds
Force Test Race Protocol to HTTPS: No
SITE ACCELERATOR
OPTION VALUE
Site Accelerator Enabled
GENERATE REDIRECT RULES
# MATCH CRITERIA GENERATE REDIRECT
1 Path: /index.html (Ignore Case On)
Redirect Name: Redirect_geometrixx
Redirect Option: Relative - Change URI
Response Code: 301 - Permanent Redirect
URL: /content/geometrixx/en.html
BROWSER CACHE CONTROL HEADERS
# MATCH CRITERIA CACHE CONTROL HEADERS
Default Rule Pass through the origin's Cache-Control
headers to the browser.
@2011, copyright Vamsidhar Tokala
DNS Setup
DNS Domain has to be configured to set-up with Akamai and for the domain to work its need to be registered and mapped to below name servers. This will allow Domain configurations to work
Following URL is configured for Akamai testing:
http://XXX-performance-testing.utils-XXX.com:4503/
Note: There is another workaround i.e. to register a temp domain via http://dnsdynamic.org
We can register a doming e.g. XXX-performance-testing.dnsdynamic.com and map it to IP: XXX.XXX.XXX.XXX
Akamai Configuration
Akamai is configured in the following fashion for optimal performance
ORIGIN SERVER CONFIGURATION
DIGITAL PROPERTIES CONFIGURATION SUMMARY
Default Configuration
(All Digital Properties) Origin: origin-nexus-performance-testing.utils-XXX.com
CP Code: Site Accelarator2 (125924)
Forward HOST header: Digital Property
Cache Key: Origin Server (origin-nexus-performance-testing.utils-XXX.com)
Compression: Yes
CACHE KEY: IGNORE CASE
OPTION VALUE
Ignore case in the cache key: Enabled
LAST MILE ACCELERATION
OPTION VALUE
Apply to content with Content-type: text/html*, application/x-javascript*, text/css*, image/png image/jpeg image/gif
Disable for Old Browsers: Yes
HTTP POST
OPTION VALUE
HTTP POST Requests: Enabled
Allow POST Without Content Length: Disabled
ORIGIN DNS OPTIMIZATION
OPTION VALUE
DNS Refresh: Enabled
DNS Refresh Timeout: 2 hours
TIME TO LIVE RULES
# MATCH CRITERIA ACTION
Default Rule TTL: 1 day
Default Error Response Rule 10 seconds
Default Cache Redirect Response Rule Cache Redirect Responses
1 Host: nexus-performance-testing.utils-XXX.com
File Extension: aif aiff au avi bin bmp cab carb cct cdf class css
dcr doc dtd exe flv gcf gff gif grv hdml hqx ico ini
jpeg jpg js mov mp3 nc pct pdf png ppc pws swa swf
txt vbs w32 wav wbmp wml wmlc wmls wmlsc xsd zip
TTL: 1 day
REPORTING
OPTION VALUE
HTTP Headers to Include in Logs: User-Agent
Cookie Values: - None -
SUREROUTE / TIERED DISTRIBUTION OPTIONS
OPTION VALUE
Tiered Distribution: Enabled
Tiered Distribution Map Name: ch2.akamai.net
SureRoute: On
SureRoute Test Object URI: /akamai/sureroute-test-object.html
Race Statistic TTL: 86400 seconds
Force Test Race Protocol to HTTPS: No
SITE ACCELERATOR
OPTION VALUE
Site Accelerator Enabled
GENERATE REDIRECT RULES
# MATCH CRITERIA GENERATE REDIRECT
1 Path: /index.html (Ignore Case On)
Redirect Name: Redirect_geometrixx
Redirect Option: Relative - Change URI
Response Code: 301 - Permanent Redirect
URL: /content/geometrixx/en.html
BROWSER CACHE CONTROL HEADERS
# MATCH CRITERIA CACHE CONTROL HEADERS
Default Rule Pass through the origin's Cache-Control
headers to the browser.
@2011, copyright Vamsidhar Tokala
3 comments:
Hi,
I'm Saranmai. We are working on a project which is a web application. We are facing issue during execution. The error message is displayed as below.
Error -26610: HTTP Status-Code=502 (Proxy Error) for "_https://url”
We are getting this error at the end of the execution irrespective of number of users. We had tried the following options.
1.With proxy and without proxy in runtime settings.
2.Inserted web_cache_cleanup() function
3.Tried with both the versions of Load runner (9.5 and 11.0).
4.Tried with different Load generators
5.Run Vuser as a Process and thread.
6.Checked the IP spoofing.
Can you suggest some solution to resolve this issue.
This blog is nice and very informative. I like this blog Please keep it up.
I read your blog its very interesting information about CDN Server provider .
thanks
Post a Comment