Forum Discussion
multiple iRules
- Lee_SutcliffeDec 06, 2019
Nacreous
Could you clarify what you mean by mixed load balancing?
Priority only ensures rules are executed in the preferred order.
- mrgilchenDec 07, 2019
Altostratus
I run 2 scripts.
Each script check LB to get the client IP match with a pool by subnet.
So the 2 scripts are giving me the same results.
I check for client IP.
Script1:
set strSelectedPool [class match -value [IP::client_addr] equals "MEM-Manager-Subnet-To-Pool-Pairs"]
pool $strSelectedPool
Scrip2:
set strSelectedPool [class match -value [IP::client_addr] equals "ORG-Manager-Subnet-To-Pool-Pairs"]
pool $strSelectedPool
In that case when a request comes, it will mix the pools. and get the same result.
- Lee_SutcliffeDec 07, 2019
Nacreous
You can’t have two ‘pool’ commands executing.
You’ll need to add the following to stop iRule processing after the first pool has been selected (assuming an HTTP_REQUEST event
event disbale HTTP_REQUEST
- mrgilchenDec 08, 2019
Altostratus
What will happen to second pool in that case?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com