Forum Discussion

Alex_5658's avatar
Alex_5658
Icon for Nimbostratus rankNimbostratus
Dec 04, 2012

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

 

No RepliesBe the first to reply