nsgguy245
asked on
Cisco ACE Scripting?
Does the Cisco ACE Load Balancer support something like iRules (on the BigIP)? I am looking to write some rules that direct traffic to one node or the other based upon the URL the user enters.
Session affinity is called Stickieness in cisco ACE
btw all ACEs are EOL 2013, so it is best to use software load balancer like linux.
btw all ACEs are EOL 2013, so it is best to use software load balancer like linux.
ASKER
I am not looking to do a redirect, but simply send the traffic to one node or the other based upon the full URL path.
For example:
1) If the user enters http://www.site.com/goto/A
the ACE wold send traffic to 10.10.10.1
2) If the user enters http://www.site.com/goto/B
the ACE would send traffic to 10.10.10.2
Hope that helps clarify my question. Thanks for your feedback...
For example:
1) If the user enters http://www.site.com/goto/A
the ACE wold send traffic to 10.10.10.1
2) If the user enters http://www.site.com/goto/B
the ACE would send traffic to 10.10.10.2
Hope that helps clarify my question. Thanks for your feedback...
Install debian linux on low-power PC like raspberry and run reverse proxy off that. At least it is supported configuration.
ACE itself should be a reverse proxy already like F5 LTM.
The script is already doing that as these are re-writing the URL and direct to the server farm required. Maybe I miss your points?
The script is already doing that as these are re-writing the URL and direct to the server farm required. Maybe I miss your points?
rserver host SERVER1http://www.cisco.com/c/en/us/td/docs/interfaces_modules/services_modules/ace/vA5_1_0/configuration/slb/guide/slbgd/rsfarms.html#wp1046009
ip address 10.10.10.1
inservice
rserver host SERVER2
ip address 10.10.10.2
inservice
rserver redirect SERVER1
webhost-redirection http://www.site.com/goto/A 302
inservice
rserver redirect SERVER2
webhost-redirection http://www.site.com/goto/B 302
inservice
serverfarm redirect SFARM1
rserver SERVER1
inservice
serverfarm redirect SFARM2
rserver SERVER2
inservice
ASKER
@BTAN
OK, that seems to make sense. I'll look into this further and see if that will work for us. Thanks for the feedback.
OK, that seems to make sense. I'll look into this further and see if that will work for us. Thanks for the feedback.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Advise to accept btan's solution. Thanks...
Thanks it will be closed as per shared.
As per advice given and acknowledged.
There is also a discussion with example shared
https://supportforums.cisco.com/discussion/10966451/ace-header-rewrite-loadbalancing