Forum Discussion
Swedeski_89366
Nimbostratus
Nov 03, 2010Java/Tomcat session count from iControl API.
Hello -
I'm working on a deployment process that uses BigIP to drain sessions before stopping processes, etc... We've been able to test that BigIP respects a Java/Tomcat session routing and drains appropriately. What we're looking for is a way to get a count of sessions so that we can use that to know when all sessions have been drained off of a VIP, thus allowing us to safely stop the applications.
Therefore, my question is, is there a way through iControl to get a count of active or current sessions?
We're using iControl jar, from the manifest:
Created-By: 1.6.0_20 (Sun Microsystems Inc.)
2 Replies
Sort By
- You'll want to call the get_statistics() method on the virtual server in question. You will want to look at the STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS statistic. An example of how to do this can be found in my "Graceful Server Shutdown" tech tip
- Swedeski_89366
Nimbostratus
Excellent. Thanks for the help. Our VIPs are dedicated to an application at this point.
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