Forum Discussion
Access to the current Virtual Server metrics from an iRule
Hello, I have the following question:
I have several pools and virtual servers on GTM. And what is important, these virtual servers are located on LTM (I mean that GTM and LTM work together using big3d). In this situation, on GTM I would like to make an LB desicion based on both VS Capacity and current number of connection to VS. Both parameters (but not at the same time) are used by standard GTM LB Methods (VS Capacity and Least Connections respectively). So, can I write an iRule, which will select a pool member depending on result of some calculations that use VS Capacity and current number of connection to VS?
The main requirement (at least I think so) to write such an iRule is that I should be able to access current vlaues of VS Capacity and current number of connection to VS for each particular virtual server.
So, community, will you be so kind to tell me how to access these values from an iRule?
--
Best regards, Alex
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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