Forum Discussion
JRahm
Admin
Nov 01, 2005Can you discover the pool name if provided the node address?
All,
Can you discover the pool name if provided the node address by the client in a header? I could use an array or a class, but it would be quite large as there are 500+ servers. Is there a better way?
I'd like to use:
use pool member $node $port
instead of:
use node $node $port
4 Replies
- Colin_Walker_12Historic F5 AccountAs far as I know there's no way to extrapolate the pool name with just the node address.
Why is it you're looking to change to using the pool command instead of the node command?
-Colin - JRahm
Admin
I think I recall being informed that statistics are not counted when using the node command. If that's the case, I'd prefer to use pool command so least connections is accurate. - Colin_Walker_12Historic F5 AccountYou're right about that, citizen_elah. Here's a quote from Unruley on the subject from a previous post:
Posted:6/02/2005 12:07 PM
Also, there is a subtle difference between "use node a.b.c.d" and "use pool xxx member a.b.c.d". The former does not track the pool and as such persistence will not be tracked and pool statistics are not updated. Since the latter specifies the pool, these features can be performed. Also, when using "use node" there is no security that you actually picked a member in the pool (you could pick anything). Using the "use pool xxx member" command requires the member to exist in the pool and hence has some security in it.
Unfortunately, I don't know of a way to track back to the pool a member might be from. This would be quite a trick to implement, since a member can be in multiple pools. I'd recommend using a class perhaps, possibly keying off some other information being passed in the request.
HTH,
-Colin - unRuleY_95363Historic F5 AccountCR44838
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
