Forum Discussion
Matt_Breedlove_
Nimbostratus
May 02, 2009Global connection count variable
In LTM 9.3 how would one go about setting up a global connection variable? Goal is to atomically count each connection being made into LTM Virtual Server in a rolling counter
So if the ...
The_Bhattman
Nimbostratus
May 02, 2009I suppose in an irule you can create ::CNT
Here is somewhat an example
when RULE_INIT {
set ::CNT 0
}
when HTTP_REQUEST {
incr ::CNT
}
when CLIENT_CLOSED {
; decrement current connection counter
if {$::CNT > 0} {
incr ::cnt -1
}
}
However, I am a bit puzzled as to why you would want to Round Robin a connection to multiple pools. This would indicate the nodes in the multiple pools are the same, therefore you wouldn't need to separate them in multiple pools but in one pool.
CB
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