cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
427
Views
0
Helpful
1
Replies

ACE 4710 balance among URL

v.rrail197
Level 1
Level 1

I have ACE 4710 and I need configuration:

I have real web-server with  folders : /1/index.html, /2/index.html, /3/index.html

I need to  balance virtual service:

If I try to connect URL: http://server/index.html,  then ACE balance among

http://real_server/1/index.html,

http://real_server/2/index.html,

http://real_server/3/index.htm

How can I  configure ACE ?

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

ACE, can't modify the url.

But it can send redirect.

So you could build 3 redirect rservers, and have ACE loadbalance between them.

rserver redirect HTTP-REDIRECT1
  webhost-redirection http://real_server/1/index.html
  inservice

rserver redirect HTTP-REDIRECT2
   webhost-redirection http://real_server/2/index.html
   inservice

rserver redirect HTTP-REDIRECT3
   webhost-redirection http://real_server/3/index.html
   inservice

serverfarm redirect SF_REDIRECT
  rserver HTTP-REDIRECT1

    inservice

  rserver HTTP-REDIRECT2

    inservice

  rserver HTTP-REDIRECT3
    inservice

But even if it works, this does not sound good.

It seems like a design done by an application server person who does not know how network loadbalancers work.

It seems like all you need is stickyness, which you are trying to achieve by redirecting to /1 or /2 or /3.

But this can be done differently with cookies or by just doing stickyness on source ip address.

Gilles.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: