Forum Discussion
Les_Marstaeller
Nimbostratus
May 23, 2006Who to tell which server is being selected by an irule
Hi,
I am using the iRule below to control server pool failover when a pool member goes down:
-------------------------------------------------------------------------
rule htt...
JRahm
Admin
May 24, 2006Yep. From the iRules wiki:
Description
This command allows you to query for information about the mbmber selected after a load balancing decision has been made.
Syntax
LB::server
LB::server addr
LB::server name
LB::server pool
LB::server port
LB::server priority
LB::server ratio
LB::server weight
LB::server ripeness
LB::server
Returns the currently selected pool
LB::server addr
Returns the IP address of the currently selected pool member
LB::server name
Returns the hostname of the currently selected pool member
LB::server pool
Returns the pool of the currently selected member
LB::server port
Returns the port of the currently selected pool member
LB::server priority
Returns the priority of the currently selected pool member
LB::server ratio
Returns the ratio value of the currently selected pool member
LB::server weight
Returns the weighting of the currently selected pool member
LB::server ripeness
Returns the ripeness information of the currently selected pool member
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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