Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

problem with HTTP load balancing

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
Bronze

problem with HTTP load balancing

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

Cisco Employee

problem with HTTP load balancing

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.

Community Member

problem with HTTP load balancing

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

606
Views
0
Helpful
3
Replies
CreatePlease to create content