Dog_23765
Dec 16, 2009Nimbostratus
LB::select forcing to use a subset of a particular pool
I am trying to see if it is possible to write an iRule where
1) (I know how to do this part) the HTTP header is parsed by the rule for a list of servers (all of these servers will be part of the default pool and there will be only one pool).
2) (i dont know how to do this) in the LB_SELECT event i would tell the F5 to LB::reselect if the selected server was not in the list passed in the HTTP headers. In this case, i want to send the F5 a hint that only choose from this subset of the pool.
i am basically trying to make a dynamic pool based on data which changes too often to make using iControl a good solution.
I could have the F5 keep calling reselect until it gets a server in the list- but that seems like a bad idea
Thanks