Forum Discussion
Guido_Vosmeer_9
Sep 26, 2008Historic F5 Account
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_9Historic F5 Accountsome clarification: the weight I mean is the one from the snmp_dca monitor for dynamic ratio load balancing
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