Forum Discussion
Atee_354939
Nimbostratus
May 16, 2018Redirect to different Pool based on URL
Redirect to different Pool based on URL
I have 1 VIP and want to re-direct to different pool depending on the url.
abppv1-ui-qa2.apple.com:8443 should go to Pool1
abpp-notif-qa.am.tsacorp.com:84...
- May 16, 2018
There are many iRule available in devcentral. But I will suggest you to use f5 policy to match URI n redirect traffic to pool... Create a new policy with properties:
Policy requires http Policy controls forwarding For each policy rule, define:
condition : http-uri parh starts_with /bugid action : forward pool pool_x Create a default rule without conditon assigning the default pool..
Example iRule
when HTTP_REQUEST { set uri [string tolower [HTTP::path]] switch -glob $uri { "/book/" { pool pool_X } "/manage/" { pool pool_Y } "/checkin/" { pool pool_Z } } }
Shyam_111786
Nimbostratus
May 17, 2011Hello Aaron,
Yes i have linked a cable from interface 1.8 on the active BIGIP to interface 1.8 on the standby BIGIP. I am getting errors relating to incorrect configurations when i am synching the two BIGIP's. I do have a question on this setup, when i configure the interface 1.8 dedicated for HA, it does not ask me for any IP Address. does the failover ip that i provide on the network failover section get mapped to the 1.8 interface? I have created a VLAN for 1.8 interface and named it as the HA_Heartbeat VLAN, but it still just a name. can we have a self IP Address just for the heartbeat Vlan with the same ip addresses as the failover ip addresses configured on the network failover section?
The trunk interfaces 1.1 and 1.2 (external vlan) of the active and standby BIGIPs are connected to a stacked switch (master and backup respectively)
Could you tell me what IP Address should i be giving in the config sync section? Is it the self ip address of the external vlan?
I have not yet configured an internal vlan and no floating ip addresses have been created. The internal vlan will be created at a later stage once the customer has its hosting infrastructure in place. Does this have any impact on the config synching of the bigips atleast for test purposes?
Thanks
Recent Discussions
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