cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
892
Views
0
Helpful
3
Replies

problem with HTTP load balancing

emadalqudah
Level 1
Level 1

Hello Experts

I have a problem when i do loadbalancing for links like http://1.1.1.1/site/home where 1.1.1.1 is the VIP address (i got http not found), while it is working fine when the link is http://1.1.1.1,

the link is working fine on the real servers for example when i try http://2.2.2.2/site/home it works

by the way, im not doing URL loadbalancing,

any ideas

Thank you in advance

3 Replies 3

mwinnett
Level 3
Level 3

Emad, you probably have to share some config and displays with us. Is the serverfarm operational, for example. Do all of the reals work in the same way as 2.2.2.2 ? Matthew

Telmo Pereira
Cisco Employee
Cisco Employee

It is generally good idea for this type of cases to get a sniffer trace (in ACE module span 10G backplane interface from supervisor or if ACE appliance take parallel span session of client and server vlan).

This case was investigated in TAC SR and this is a small summary of the traces that may help other users hitting this issue (usually it is good idea to filter by http and client IP) :

This is what we have seen for the non-working scenario.

Packet 1: Client sends HTTP GET to ACE VIP
Packet 2: ACE forwards HTTP GET to RSERVER 
Packet 3: RSERVER answers ACE with HTTP 404
Packet 4: ACE forwards the real server response (HTTP 404) to the client

ACE was not changing anything in the packets that were being loadbalanced. And the HTTP 404 error sent from the server that ACE was forwarding indicates that the Web server thinks that the HTTP data stream sent by the client was correct, but simply can not provide the access to the resource specifief by URL.

Bottom line it was found that in this case the server behaves in a different way based on the hostname used to connect to the application, and this should be addressed on the application/server side. An easy way to check this is by using the server name pointing to the vip in local client hostfile.

i wonder if the web server was doing some type of virtual hosts based on the name the client uses....