dan87951_370806
Nov 02, 2018Nimbostratus
Using iRules to direct URL's to specific pools
I need help creating an irule. I have created a VS 10.10.100.5 (not actual VIP) that is listening on port 443, and created a pool (Pool name = CARS_AUTOS_POOL) with the server 10.10.100.190 listening on all ports. I was hoping I could use an irule to redirect the below URL to the correct server and listening port. For example, if a request from "; hits VIP 10.10.100.5 it will direct traffic to 10.10.100.190:4443. If "; hits VIP 10.10.100.5 it will direct traffic to 10.10.100.190:4445.
I'm brand new to irules and need some help getting start. Any help would be much appreciated. Thanks!
VIP configuration: SSL offloading and cookie persistence for 1 hour.
VS: 10.10.100.5:443 -> to pool CARS_AUTOS_POOL (listening on all ports)
- https://lasrt.cars.auto.com/ -> 10.10.100.190:4443
- https://lasrx.cars.auto.com/ -> 10.10.100.190:4444
- https://lasru.cars.auto.com/ -> 10.10.100.190:4445
- https://lasrd.cars.auto.com/ -> 10.10.100.190:4446
- https://vision.cars.auto.com/ -> 10.10.100.190:4447