Forum Discussion
Femi_132696
Nimbostratus
Jan 03, 2014No 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 ...
nitass
Employee
Jan 05, 2014i 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects