Brian_Ott_11267
Jul 29, 2007Nimbostratus
host header inspection
I want to do host header inspection to decide which pool to send traffic to. For example create one VIP that has multiple domain names tied to it, say:
disney.apple.com 10.2.2.4
pixar.apple.com 10.2.2.4
if the request uses disney.apple.com:
use pool disney.apple.com
if the request uses pixar.apple.com:
use pool pixar.apple.com
This way I can have 1 IP tied to multiple names.
I am in a situation where I have 100+ IPs on my box and it causes us some problems, so if I used host header based inspection I could lower this down to 1 IP and multiple pools.
To do this, do I have to use an iRule?
If so, I imagine I can do(pseudo code):
if pool exists ::hostheader:: then
use pool ::hostheader::
else
use pool default
In the case where my pool names match my host headers.
Am I accurate in my guessing? I have 0 experience with iRules.