Forum Discussion
hamzah_278
Nimbostratus
Oct 19, 2023HTTP Redirect with Pool in iRules
Hai. I want to know is there any way to create irules with condition that if user hit production.company.id it will redirect consecutively between 172.16.1.10:8221/note and 172.16.1.11:8221/note. Tho...
P_Kueppers
MVP
Oct 19, 2023Im not sure if I understand you correctly but you dont need any irule for that.
Create your vs, create a pool with correct loadbalancing method (least connection is my recommendation but) in your case its roundrobin, attatch it to your vs and your good to go.
If you need that under an existing vs you could do this with LTM Policy (preferred over irule). Just create a new LTM Policy with condition "if host header is production.company.id forward traffic to pool Pool_sta"
and your Pool_sta need the correct loadbalancing method.
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