Forum Discussion
max_59289
Nimbostratus
Jun 29, 2011Selecting another server on server_data
Hi all, I'd appreciate any thoughts/suggestions with this:
When I receive a client request (POP3) containing their credentials, I need to first do a query to determine the pool to u...
max_59289
Nimbostratus
Jun 30, 2011Hello,
I need to process a query before pooling, and by that point, I'm already in the server_data event, and the client request still needs to be sent to the proper pool. My workflow is something like:
Client:
Irule:
client_data: send query to determine pool
server_data: parse results to determine pool to use, then ??send credentials to pool??
server_data: pass authentication results back to client
I was going through the TCP/LB command list and didn't see anything that would let me establish a connection to another server in server_data. Calls to node/pool do nothing, and LB::reselect isn't supported in server_data either. Is there some other command that I should be using to do this?
And Hamish, are you talking about http://devcentral.f5.com/wiki/default.aspx/iRules/LDAPProxy.html ? That rule seems to handle pooling on the client_data end... What calls can be used to create a new connection in server_data? That would pretty much solve my problem.
Thanks,
Max
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