×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

problem with HTTP load balancing

Unanswered Question
Dec 16th, 2011
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
mwinnett Mon, 12/19/2011 - 10:49
User Badges:
  • Bronze, 100 points or more

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 Tue, 12/20/2011 - 01:27
User Badges:
  • 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.

Thompso7540_2 Tue, 12/27/2011 - 05:48
User Badges:

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

Actions

This Discussion