Forum Discussion
Mark_Curole
Nimbostratus
Nov 30, 2007Event Sequence Documentation
Is there any documentation that shows the sequence of when events fire?
Specifically, I am unsure of the relationship between HTTP_REQUEST and LB_SELECTED - which comes first, how do they in...
hoolio
Cirrostratus
Nov 12, 2008Hi Brad,
This type of info is sprinkled across various posts depending on which protocol you're working with. Here are the events I'd expect for a typical HTTP request and response:
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=24619&ptarget=24622
Event code is triggered as the event occurs. The events are triggered based on profiles on the VIP. For a standard VIP with a TCP and HTTP profile, the following events could be triggered :
Request events:
---------------------------------------------
CLIENT_ACCEPTED - clientside - triggered when LTM receives and accepts a connection from a client
HTTP_REQUEST - clientside - triggered when an HTTP profiles
HTTP_REQUEST_DATA - clientside - triggered if HTTP::collect was called in HTTP_REQUEST
LB_SELECTED - clientside - triggered when a node has been selected per the load balancing algorithm
LB_FAILED - clientside - triggered when a node couldn't be selected or isn't reachable
SERVER_CONNECTED - serverside - triggered when a connection is established with the node
HTTP_REQUEST_SEND - serverside - triggered when LTM sends the HTTP request to the node
CLIENT_CLOSED - clientside - triggered when the client connection is closed
Response events:
---------------------------------------------
HTTP_RESPONSE - serverside - triggered when LTM receives the HTTP response from the node
HTTP_RESPONSE_DATA - serverside - triggered if HTTP::collect was called in HTTP_RESPONSE
SERVER_CLOSED - serverside - triggered when the server connection is closed
What protocol are you working with? You could figure out which events are triggered by creating a rule, adding it to the VIP, add all of the events with log statements, try to save the rule and then remove the ones that aren't valid based on the profiles you're using.
If you have more specific questions, please elaborate.
Thanks,
Aaron
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