Forum Discussion
BinaryCanary_19
Sep 12, 2013Historic 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_StewartSep 12, 2013EmployeeThis 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.
- Dmitry_ShermanSep 12, 2013NimbostratusCan you show an example please?
- BinaryCanary_19Sep 12, 2013Historic F5 AccountHe wants domains in one list to go to one pool, and the next set to go to a different pool. Using two datagroups seems like the easiest way to do this.