Forum Discussion
Nuruddin_Ahmed_
Cirrostratus
Jun 30, 2016Need a help with irule - Pool Selection
Hi,
Need a help with the irule, i have a https://xyz.example.com going to 10.10.10.10 pool and https://xyz.example.com:8443 going to another pool. how can we achieve this?
Regards
7 Replies
- Yann_Desmarest_
Nacreous
Hi,
You can use the following irule :
when HTTP_REQUEST { switch [HTTP::host] { "xyz.example.com:8443" { pool x } "xyz.example.com" { pool y } default { reject } } }- Nuruddin_Ahmed_
Cirrostratus
it worked for me but did not fulfull my requirement :( - Yann_Desmarest_
Nacreous
What are your requirements ?
Hi,
You can use the following irule :
when HTTP_REQUEST { switch [HTTP::host] { "xyz.example.com:8443" { pool x } "xyz.example.com" { pool y } default { reject } } }- Nuruddin_Ahmed_
Cirrostratus
it worked for me but did not fulfull my requirement :( - What are your requirements ?
- Stanislas_Piro2
Cumulonimbus
Hi,
Why do you need an irule.
create two virtual servers:
- one on port 443 with default pool x
- the other on port 8443 with default pool y
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects