Jimmy_Orkin_437
Apr 25, 2013Nimbostratus
Query connection status when node fails
I am new to iRules. I am writting an iRule to track and limit connections to nodes. The connections are UDP. I am logging information about the connections in the SERVER_CLOSED event.
When the node fails and SERVER_CLOSED is called, My references to IP::client_addr and UDP::client_port cause a TCL error listed below:
TCL error: /Common/sgng-count-policing-v2.0 - no clientside connection established (line 8) invoked from within "IP::client_addr"
The runtime error is causing my tracking counts to get out of sync with reality.
Is there a way for me to determine that the connection is not valid so that I can avoid my references to IP::client_addr and UDP::client_port so that I do not get a runtime TCL error?
Thanks,
Jimmy