Forum Discussion
Multiple server with one VS
- Nov 20, 2022
Abdou76 ,
sure you can do this ,
try this :when HTTP_REQUEST { if {[HTTP::host] eq "abc.com"}{ pool pool_1 } elseif {[HTTP::host] eq "xyz.com"}{ pool pool_2 } elseif {[HTTP::host] eq "ghl.com"}{ pool pool_3 } }Hope it works with you.
Regards - Nov 20, 2022
Hi mohamedT
hank you for your great help
Hi Abdou76 ,
Great News ,
what is the needed Condition for the third pool , as the selection of pool_1 and pool_2 is based on what is coming in hostname inside Http Requests , so what is the third condition that based on we select the third pool.
Or you need this Pool as a fallback or last resort or make it as a default pool requests directed to if neither pool_1 nor Pool_2 selected.
I am waithing your reply.
Regards
Hi mohamed
I mean, what will become syntaxe of irule in this case of:
abc.com pool1
xyz.com pool2
ghi.com pool3
Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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