Forum Discussion
DarkSideOfTheQ_
Oct 29, 2009Nimbostratus
Pool Stats
Hi All,
I'm a bit confused on something and hope someone can clarify for me. I have a pool which contains two servers. The VIP that uses this pool is using oneconnect which as I understand it, will re-use connections from the LB to the server. So one 'connection' may actually be multiple users connecting to this site, correct? If so, I'm confused on the statistics shown when looking at the pool stats. When I view statistics for the pool members, looking at "Connections", I'll see something like 10 current connections for the pool and 4 current connections for one pool member and 6 for the other. I know there are other factors like persistence coming into play (we use a cookie and fallback to source IP). How do I determine if those are actual users connecting to each pool member and not the oneconnect coming into play?
TIA,
DarkSide
- The_BhattmanNimbostratusYou are correct that one connect basically cuts down LB to server connection and reuses any idle connection and manages the sessions within the connection. The pool states from I can tell only look at connections and not sessions.
- DarkSideOfTheQ_Nimbostratusso there is not way to see how the sessions are being distributed across a pool?
- hooleylistCirrostratusThere is no concept of application session at the TCP layer, so CB's response is correct.
- DarkSideOfTheQ_NimbostratusEvery so often I get a "the application is performing slowly and we think the LB isn't distributing load correctly", which is miraculously fixed by restarting their app on one of the servers in the pool, yet they never seem to stop blaming the LB. :-) They also never seem to understand that we use persistence too. What I'm trying to determine is there a way to see how many users are connected to each server in the pool. I know, with persistence, it's very likely that one server will have more load than another. When this 'issue' cropped up yesterday, I looked in the GUI at the pool stats and saw 3 current connections to this pool, 1 current connection to pool member 1 and 2 current connections to pool member 2. I told the business owner that and he did not believe that only 3 people were using this app at that particular time. Hence my trying to figure out a way to see how many users were actually connected to the pool and how many were on each server in the pool (there are 2 servers in this pool).
- The_BhattmanNimbostratusIf this is a web application, then it's possible you can pull this information from WebTrends or something some server that can analyze each log file from the web server.
- JRahmAdminConceptually, I suppose you could use the session table to store [IP::server_addr] as the key and increment/decrement the value on each request/response then do a lookup periodically to log the data.
- scott_82459Nimbostratuswith the possibility of showing my ignorance, i am wondering if there is a way to show pool stats for only 1 pool, and/or to include stats for only the active nodes in a given pool? i have an LTM running 9.4.3. i've done some searching but i cannot seem to find a way to this, with a iRule perhaps? I have written a few iRules so I am not completely in the dark, but i seem to be missing something somewhere. thanks in advance for any ideas or anyone who can point me to a URL i can read. thanks...
- JRahmAdminyou could use a script to do this (icontrol or a perl script gathering via snmp) I wrote a perl script for interface stats (Click here) a while back that could be modified for pool stats. Probably best not to be an iRule, but it is possible.
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