Forum Discussion

Guido_Vosmeer_9's avatar
Guido_Vosmeer_9
Historic F5 Account
Sep 26, 2008

Usage of the [LB::server weight] command

Hi,

 

 

I am trying to write an iRule to take an action when the dynamic ratio of a server goes to a certain value.

 

To test this I used the following rule:

 

 

when LB_SELECTED {

 

set server "[LB::server]"

 

set weight "[LB::server weight]"

 

log local0. "server connect name $server weight $weight"

 

}

 

 

It appears however from the logs that the value it shows for the weight is always "1". I checked the weight of the server but its 100 and not 1. Isn't this command supposed to retrieve the dynamic weight?
  • Guido_Vosmeer_9's avatar
    Guido_Vosmeer_9
    Historic F5 Account
    some clarification: the weight I mean is the one from the snmp_dca monitor for dynamic ratio load balancing