cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
5
Helpful
1
Replies

rserver in serverfarm not responding to client request

kalugotla1
Level 1
Level 1

I have 2  rservers in serverfarm.

But all the client requests are going to only 1 rserver.Loadbalacning method used here is least connections.

checked the  probes,sh serverfarm ,sh serverice POLICY class map  nameof the class.

Everywhere I see the another rserver up and functional.

but when I do sh conn rserver 1 ,I dont see any connections

but for sh conn rserver2 ,I see all the client request been established.Please help me on this

h probe probe_tcp_2383

probe       : probe_tcp_2383

type        : tcp

state       : active

----------------------------------------------

   port      : 2383    address     : 0.0.0.0         addr type  : -          

   interval  : 3       pass intvl  : 3               pass count : 3   

   fail count: 2       recv timeout: 10  

                ------------------ probe results ------------------

   associations ip-address      port  porttype probes   failed   passed   health

   ------------ ---------------+-----+--------+--------+--------+--------+------

   serverfarm  : epmcubeservers

     real      : s0adcretepmsql1[0]

                10.129.13.236   2383  probe    5598897  96019    5502878  success

     real      : s0adcretepmsql2[0]

                10.129.13.237   2383  probe    5544196  65084    5479112  success

s0adcace01/production# sh serverfarm epmcubeservers

serverfarm     : epmcubeservers, type: host

total rservers : 2

---------------------------------

                                                ----------connections-----------

       real                  weight state        current    total      failures

   ---+---------------------+------+------------+----------+----------+---------

   rserver: s0adcretepmsql1

       10.129.13.236:0       8      operational  297        11635352   34

   rserver: s0adcretepmsql2

       10.129.13.237:0       8      operational  30         17864159   144

s0adcace01/production# sh service-policy policy class-map epmcubeservers_class detail

status     : active

description: -----------------------------------------

interface: vlan 1 20 22 26 310 701 817

  service-policy: policy

    class: epmcubeservers_class

      nat:

        nat dynamic 10 vlan 20

        curr conns       : 348       , hit count        : 3365568  

        dropped conns    : 0        

        client pkt count : 832120106 , client byte count: 168646561876       

        server pkt count : 1295971203, server byte count: 1815543843591      

        conn-rate-limit      : 0         , drop-count : 0        

        bandwidth-rate-limit : 0         , drop-count : 0        

     vip address:    protocol:  port:

     10.129.14.211   tcp        eq    2383

      loadbalance:

        l7 loadbalance policy: epmcubeservers_policy

        vip icmp reply       : enabled-when-active

        vip state: inservice

        persistence rebalance: disabled

        curr conns       : 348       , hit count        : 3364727  

        dropped conns    : 0        

        client pkt count : 831934189 , client byte count: 168610865264       

        server pkt count : 1295680582, server byte count: 1815134679459      

        conn-rate-limit      : 0         , drop-count : 0        

        bandwidth-rate-limit : 0         , drop-count : 0        

        l7 loadbalance policy : epmcubeservers_policy

          class/match : class-default

            lb action: :

               sticky group: epmcube_sticky

                  primary serverfarm: epmcubeservers

                  primary serverfarm: epmcubeservers

                    state:up

                  backup serverfarm : -

            hit count        : 3364727  

            dropped conns    : 25       

            compression      : off

      compression:

        bytes_in  : 0                          bytes_out : 0                  

        compression ratio : 0.00%

                gzip: 0               deflate: 0        

      compression errors:

        user-agent  : 0               accept-encoding    : 0        

        content size: 0               content type       : 0        

        not http 1.1: 0               http response error: 0        

        others      : 0

1 Reply 1

Daniel Arrondo Ostiz
Cisco Employee
Cisco Employee

Good morning,

First of all, I think you were not completely accurate on your description. It is true that the connection numbers are quite different between both servers, but both are receiving connections:

s0adcace01/production# sh serverfarm epmcubeservers

serverfarm     : epmcubeservers, type: host

total rservers : 2

---------------------------------

                                                ----------connections-----------

       real                  weight state        current    total      failures

   ---+---------------------+------+------------+----------+----------+---------

   rserver: s0adcretepmsql1

       10.129.13.236:0       8      operational  297        11635352   34

   rserver: s0adcretepmsql2

       10.129.13.237:0       8      operational  30         17864159   144

With that said, this kind of uneven load distribution is most of the time caused by a combination of the load-balancing algorithm configured on the serverfarm and the stickiness method configured.

If you send me some details on your configuration, I'll have a deeper look

Regards

Daniel

Review Cisco Networking for a $25 gift card