cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
832
Views
0
Helpful
7
Replies

The packet hitting the wrong server.

fariha zain
Level 1
Level 1

Hi Experts,

I have my config all is working fine but in the wrong way. I want the packet to get hitting to Server 4 & 5 but it's getting hit to Server 2 & 3.

<Snippet from my config>

rserver host server 2

  ip address 20.20.20.2

  probe HTTP_URL

  inservice

rserver host server 3

  ip address 20.20.20.3

  inservice

===============

(rserver host server 4

  ip address 20.20.20.4

  probe HTTP_URL

  inservice

rserver host server 5

  ip address 20.20.20.5

  inservice) I want the connection to hit these servers.

===============

serverfarm host working

  failaction purge

  predictor least-loaded probe SNMP

    autoadjust average

  probe ICMP

serverfarm host not-working

  failaction purge

  predictor leastconns

  probe ICMP

class-map match-any not-working

  description class amp for not-working

  2 match virtual-address 20.20.20.7 tcp eq www

  3 match virtual-address 20.20.20.7 tcp eq https

policy-map type loadbalance first-match notworking

  class class-default

    serverfarm not-working.

Output;

It is still hitting a server in the working (Rserver3 – 20.20.20.3)-----------Were as it should hit the 4 /5 Server.

20.20.20.3

ACE# sh conn | i 10.128.153.254

12879      1  in  TCP   250  20.10.10.10:2345   20.20.20.7:443      ESTAB

17902      1  out TCP   251 20.20.20.3:443      20.10.10.10:2345   ESTAB

Any help would be appriciated.

Thanks

Fari

7 Replies 7

sivaksiv
Cisco Employee
Cisco Employee

Hi,

Your config is incomplete. Add the real servers 4 & 5 under the serverfarm "not working" and then apply the policy to the interface or share the complete config of ACE.

-

Siva

Hi Siva,

Thanks for getting back on this.

Sorry i had missed the config. You are right the rservers are in the serverfarm still no luck.

The rserver 4 & 5 are reachabale.

serverfarm host working

  failaction purge

  predictor least-loaded probe SNMP

    autoadjust average

  probe ICMP

rserver server 2

    inservice

  rserver server 3

    inservice

serverfarm host not-working

  failaction purge

  predictor leastconns

  probe ICMP

rserver server 4

    inservice

  rserver server 5

    inservice

Any other suggestion?

Hi,

This is not possible. Can you share the entire config?

-

Siva

Okay , theere is some confidential data...hence can i send you to your email if you dont have problems?

no problem.. send it to me..

-

Siva

send me the config, iam working on ACE, should be able to help you, my email address is navkat54@yahoo.com

moreover just to inform intersting audience i have started my CCIE Datacenter from http://networkerszone.com/

Also did CCIE Security, awsome training place, with training on Cisco CSS , ASA, VPN etc

Hi Siva,

Thanks for understanding. I have sent you email.

Thanks

Fari