My organisation currently has 2 data centres from which it hosts its corporate website, with Akamai providing load-balancing, and other CDN services. Now, I'm told that if our server stack in 1 data centre stops responding, Akamai will automatically route the incoming traffic to the alternate data centre.
Q: Now my question is, what is the trigger that causes Akamai to initiate this routing?
ie. Does Apache Http server literally have to stop listening/responding on port 80, or would returning non-2XX/3XX/4XX codes do it? (ie. have the application server return HTTP 500's)
If so, can it be configured to work on a context-by-context basis, so that if http://www.example.com/search goes down (app server returns HTTP 500), traffic to /search is routed elsewhere, but all other traffic still hits both stacks?
Q: Also, how long after restoration of service would traffic start being routed back?