Mike_Pimlott_61
Nov 28, 2006Nimbostratus
Limit connections to node IP after load balancing
Hi
I have been trawling through the examples on the site and seem to have tried everythin to no avail.
I am trying to generate an iRule that will monitor the connections to a NODE after load balancing to limit the number of active connections. the node exists across 2 pools, so if there is a way of getting this information that would be good, otherwise a member based limit would be OK.
My requirement is to limit the connections to an MTA to 20 active sessions, and if an LB decision is made that passes a connection to a "full" member, then I need to to reselect the LB to get access to a different member.
Is there a way of doing this? everything I seem to try to get the conencted member IP I get errors in the log like.
Nov 28 10:23:22 tmm tmm[1754]: 01220001:3: TCL error: Rule IP_Address_mapping - Error: No connection established IP::remote_addr needs an established connection! (line 1) invoked from within "IP::remote_addr"
HELP!!!!