Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Cisco ACE Scripting?

Posted on 2015-01-09
11
Medium Priority
?
80 Views
Last Modified: 2016-10-14
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.
0
Comment
Question by:nsgguy245
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
11 Comments
 
LVL 65

Expert Comment

by:btan
ID: 40541671
yes there is and you can catch this - mainly
rserver redirect SERVER1
   webhost-redirection http://<URL Domain>/<path> <HTTP code e.g. 301 or 302>
   inservice
 serverfarm redirect SFARM1
     rserver SERVER1
     inservice
http://cisqueros.blogspot.sg/2013/01/ace-load-balancer-redirection-http-to.html

There is also a discussion with example shared
https://supportforums.cisco.com/discussion/10966451/ace-header-rewrite-loadbalancing
0
 
LVL 62

Expert Comment

by:gheist
ID: 40541688
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.
0
 

Author Comment

by:nsgguy245
ID: 40542069
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...
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 62

Expert Comment

by:gheist
ID: 40542440
Install debian linux on low-power PC like raspberry and run reverse proxy off that. At least it is supported configuration.
0
 
LVL 65

Expert Comment

by:btan
ID: 40542584
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?
rserver host SERVER1
   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
http://www.cisco.com/c/en/us/td/docs/interfaces_modules/services_modules/ace/vA5_1_0/configuration/slb/guide/slbgd/rsfarms.html#wp1046009
0
 

Author Comment

by:nsgguy245
ID: 40543049
@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.
0
 
LVL 65

Accepted Solution

by:
btan earned 2000 total points (awarded by participants)
ID: 41835850
Suggest the solution (ID: 40542584) be considered
1
 

Author Comment

by:nsgguy245
ID: 41838697
Advise to accept btan's solution. Thanks...
0
 
LVL 65

Expert Comment

by:btan
ID: 41839313
Thanks it will be closed as per shared.
0
 
LVL 65

Expert Comment

by:btan
ID: 41843266
As per advice given and acknowledged.
0

Featured Post

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question