Forum Discussion
BinaryCanary_19
Historic F5 Account
I would add to Kevin Stewart's suggestion: Use an external data group, and use one datagroup for each class of domains. So if you are splitting into 2, one datagroup will contain 500 domains, the next datagroup will contain 500. Also use one pool for each class.
Use if-elseif expressions to match the classes as highlighted in Kevin's example.
Since you are matching domain names, you will need to match by HTTP::host, as that is independent of IP address.
Reference: Irules If and Expressions: https://devcentral.f5.com/articles/irules-101-02-if-and-expressions.UjG3LETK3Fg
Kevin_Stewart
Sep 12, 2013Employee
This is an interesting idea, but not sure what benefit it brings. The iRule would potentially have to parse two data groups to find a domain.