Forum Discussion
avik_bose_1048
Aug 09, 2008Nimbostratus
Hi ,
Will need further help on this.
The customer has now added a new requirment to the setup.
As , explained earlier , our client has a group of 5 bluecoat proxies with which the entire country's http traffic is cached and the load balancing is done by a pair of BIGIP'S.
Now the customer has added two more bluecoats to the setup but these 2 bluecoats will only be used to cache "youtube' traffic.
The irule that was suggested to me for this purpose was :
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "www.youtube.com"} {
pool pool1
} else {
pool pool2
}
}
Now apart from it, the customer also wants that in case the pool of "2 bluecoat caches for you tube" fails under any circumstances , the traffic should atleast go to the "original cache of the 5 bluecoats " so that traffic to you tube is not interrupted.
So , how do i achieve this using an irule. Priority group activation will not work as both the pools are active.
Any help will be greatly apprecaited.