F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Femi_132696's avatar
Femi_132696
Icon for Nimbostratus rankNimbostratus
Jan 03, 2014

No traffic to Pool Members , predictive (member).

Hi

 

I have 4 members in a pool, we have noticed that traffic is being directed to only one member of the pool. The pool member receiving the traffic seems change on daily basis. A four members have the priority group set to 50, the load balancing method is predictive (member). We expected the traffic to be shared across all members of the pool.

 

BIG-IP version is 10.2.4.

 

Any assistance will be appreciated.

 

Thanks.

 

4 Replies

  • Is there any persistence applied to the VIP? Are their Monitors applied to the Pool Members? How about posting your VIP and Pool configuration directives.

     

  • Hi Thanks for the response. This is the persistence profile that is applied. I have added 2 screenshots

     

     

    And yes there a is monitor applied.

     

  • A few observations:

     

    1. A hash persistence profile, like the universal persistence profile, is generally reliant on an iRule to manage the payload content used for persistence. Without an iRule there's nothing really to persist on. I couldn't say for certain, but the presence of this profile without an iRule may be causing the uneven loading. If this VIP is used with standard browser clients, your best bet and arguably the most reliable option is to use cookie insert persistence.

       

    2. If all members in a pool have the same priority group activation value, then priority group adds no value.

       

    3. The predictive load balancing algorithm, while very powerful, will consume additional system resources which is usually unwarranted for most applications that will work splendidly with the least connections method.

       

  • i agree with Kevin i.e. hash persistence profile with no irule.

    e.g.

     config
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual bar
    ltm virtual bar {
        destination 172.28.20.15:80
        ip-protocol tcp
        mask 255.255.255.255
        persist {
            hash {
                default yes
            }
        }
        pool foo
        profiles {
            http { }
            tcp { }
        }
        source 0.0.0.0/0
        source-address-translation {
            type automap
        }
        vs-index 34
    }
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm pool foo
    ltm pool foo {
        load-balancing-mode predictive-member
        members {
            200.200.200.101:80 {
                address 200.200.200.101
            }
            200.200.200.111:80 {
                address 200.200.200.111
            }
        }
    }
    
     hash persistence with no irule
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm persistence hash
    ltm persistence hash hash {
        app-service none
        mirror disabled
        rule none
        timeout 180
    }
    
     generate 100 requests
    
    [root@centos20 ~] ab -n 100 http://172.28.20.15/
    This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Copyright 2006 The Apache Software Foundation, http://www.apache.org/
    
    Benchmarking 172.28.20.15 (be patient).....done
    
    
    Server Software:        Apache/2.2.3
    Server Hostname:        172.28.20.15
    Server Port:            80
    
    Document Path:          /
    Document Length:        89 bytes
    
    Concurrency Level:      1
    Time taken for tests:   0.766123 seconds
    Complete requests:      100
    Failed requests:        0
    Write errors:           0
    Total transferred:      35100 bytes
    HTML transferred:       8900 bytes
    Requests per second:    130.53 [/sec] (mean)
    Time per request:       7.661 [ms] (mean)
    Time per request:       7.661 [ms] (mean, across all concurrent requests)
    Transfer rate:          44.38 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:        0    1   0.3      1       2
    Processing:     4    6   2.8      5      20
    Waiting:        3    5   2.8      5      19
    Total:          4    7   2.9      6      21
    
    Percentage of the requests served within a certain time (ms)
      50%      6
      66%      7
      75%      7
      80%      8
      90%      9
      95%     14
      98%     20
      99%     21
     100%     21 (longest request)
    
     only 1 persistence record
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm persistence persist-records all-properties
    Sys::Persistent Connections
    hash - 172.28.20.15:80 - 200.200.200.101:80
    -------------------------------------------
      TMM           0
      Mode          hash
      Value         0
      Age (sec.)    38
      Virtual Name  /Common/bar
      Virtual Addr  172.28.20.15:80
      Node Addr     200.200.200.101:80
      Pool Name     /Common/foo
      Client Addr   172.28.20.20
      Owner entry
    
    Total records returned: 1
    
     only 1 pool member is selected
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm pool foo members
    
    ---------------------------------------------------------------------
    Ltm::Pool: foo
    ---------------------------------------------------------------------
    Status
      Availability : unknown
      State        : enabled
      Reason       : The children pool member(s) either don't have service checking enabled, or service check results are not available yet
      Monitor      : none
      Minimum Active Members : 0
      Current Active Members : 0
              Total Requests : 100
            Current Sessions : 0
    
    Traffic                                  ServerSide
      Bits In                                    325.6K
      Bits Out                                   492.0K
      Packets In                                    600
      Packets Out                                   500
      Current Connections                             0
      Maximum Connections                             2
      Total Connections                             100
    
    Connection Queue                               Pool  Pool and members
      Number of connections queued now                0                 0
      Number of connections serviced                  0                 0
      Queue head entry age (ms)                       0                 0
      Maximum queue entry age ever (ms)               0                 0
      Maximum queue entry age recently (ms)           0                 0
      Average queue entry age (ms)                    0                 0
    
      --------------------------------------------------------------
      | Ltm::Pool Member: 200.200.200.101:80
      --------------------------------------------------------------
      | Status
      |   Availability   : unknown
      |   State          : enabled
      |   Reason         : Pool member does not have service checking enabled
      |   Monitor        : none
      |   Monitor Status : unchecked
      |   Session Status : enabled
      |   Pool Name      : foo
      |   IP Address     : 200.200.200.101
      |
      | Traffic                                  ServerSide  General
      |   Bits In                                    325.6K        -
      |   Bits Out                                   492.0K        -
      |   Packets In                                    600        -
      |   Packets Out                                   500        -
      |   Current Connections                             0        -
      |   Maximum Connections                             2        -
      |   Total Connections                             100        -
      |   Total Requests                                  -      100
      |   Current Sessions                                -        0
      |
      | Connection Queue
      |   Number of connections queued now                0
      |   Number of connections serviced                  0
      |   Queue head entry age (ms)                       0
      |   Maximum queue entry age ever (ms)               0
      |   Maximum queue entry age recently (ms)           0
      |   Average queue entry age (ms)                    0
    
      --------------------------------------------------------------
      | Ltm::Pool Member: 200.200.200.111:80
      --------------------------------------------------------------
      | Status
      |   Availability   : unknown
      |   State          : enabled
      |   Reason         : Pool member does not have service checking enabled
      |   Monitor        : none
      |   Monitor Status : unchecked
      |   Session Status : enabled
      |   Pool Name      : foo
      |   IP Address     : 200.200.200.111
      |
      | Traffic                                  ServerSide  General
      |   Bits In                                         0        -
      |   Bits Out                                        0        -
      |   Packets In                                      0        -
      |   Packets Out                                     0        -
      |   Current Connections                             0        -
      |   Maximum Connections                             0        -
      |   Total Connections                               0        -
      |   Total Requests                                  -        0
      |   Current Sessions                                -        0
      |
      | Connection Queue
      |   Number of connections queued now                0
      |   Number of connections serviced                  0
      |   Queue head entry age (ms)                       0
      |   Maximum queue entry age ever (ms)               0
      |   Maximum queue entry age recently (ms)           0
      |   Average queue entry age (ms)                    0