Forum Discussion
Dog_23765
Nimbostratus
Dec 16, 2009LB::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
- hoolio
Cirrostratus
Hi, - Dog_23765
Nimbostratus
Hi- thanks for the response. - hoolio
Cirrostratus
That's interesting and a bit unusual in that the servers are specifying at various points one or more servers that the client should be sent to for subsequent requests. - Dog_23765
Nimbostratus
1) Is this process always the same (ie, all clients make a request to some start URI and then the initial server sends a list of suggested servers for the next request to be sent to)?
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