Forum Discussion

Franko_Ng_30513's avatar
Franko_Ng_30513
Icon for Nimbostratus rankNimbostratus
Jul 30, 2009

Which event will be triggered when VS limit is reached

We are developing iRules on LTM 9.1.2. I encountered 2 problems:

 

 

1. A maximum connection limit is set on a Virtual Server. We want to redirect the connection to another pool or node if the limit is reached. I tried to catch the event using "when LB_FAILED", but seems not working. I am new to iRule, can anyone point me to the right direction, many thanks!

 

 

2. As the VS limit is not working, I tried the node limit at pool member level. When the limit is reached, it can be caught by "when LB_FAILED". However, when I redirect using "node" command, some error message was logged at "/var/log/ltm". The message is " lacpd[740]: 01160015:3: TmmMsgHandler.cpp:111 - UDP send failed: Network is unreachable". Is it a bug we hit? Anyone has the same problem?

 

4 Replies

  • I'd suggest upgrading to a more recent, supported version (at least to 9.3.1, or 9.4.7 or 10.0.2 when it's released).

     

     

    What protocol is the virtual server (TCP/UDP)? That log message looks more like a TMM restart. There have been some issues with using the LB_FAILED event in the past. Here is one example:

     

     

     

    LB::detach and LB::reselect in LB_FAILED call (CR97076)

     

    In previous releases, having an iRule that performed an LB::detach or command LB::reselect in the LB_FAILED event might have caused the Traffic Management Microkernel (TMM) to restart. This version of the software first checks the connection, and if the system has already detached the connection, the process correctly does not try again to detach or reselect the server-side connection.

     

     

     

     

    You might try opening a case with F5 Support on this so they can review your full VIP and iRule configuration. But I would be prepared to upgrade regardless.

     

     

    Aaron
  • Posted By Franko Ng on 07/30/2009 1:01 AM

     

     

    We are developing iRules on LTM 9.1.2. I encountered 2 problems:

     

     

    1. A maximum connection limit is set on a Virtual Server. We want to redirect the connection to another pool or node if the limit is reached. I tried to catch the event using "when LB_FAILED", but seems not working. I am new to iRule, can anyone point me to the right direction, many thanks!

     

     

    2. As the VS limit is not working, I tried the node limit at pool member level. When the limit is reached, it can be caught by "when LB_FAILED". However, when I redirect using "node" command, some error message was logged at "/var/log/ltm". The message is " lacpd[740]: 01160015:3: TmmMsgHandler.cpp:111 - UDP send failed: Network is unreachable". Is it a bug we hit? Anyone has the same problem?

     

     

     

     

  • Posted By Franko Ng on 07/30/2009 1:01 AM

     

     

    We are developing iRules on LTM 9.1.2. I encountered 2 problems:

     

     

    1. A maximum connection limit is set on a Virtual Server. We want to redirect the connection to another pool or node if the limit is reached. I tried to catch the event using "when LB_FAILED", but seems not working. I am new to iRule, can anyone point me to the right direction, many thanks!

     

     

    2. As the VS limit is not working, I tried the node limit at pool member level. When the limit is reached, it can be caught by "when LB_FAILED". However, when I redirect using "node" command, some error message was logged at "/var/log/ltm". The message is " lacpd[740]: 01160015:3: TmmMsgHandler.cpp:111 - UDP send failed: Network is unreachable". Is it a bug we hit? Anyone has the same problem?

     

     

     

     

  • Posted By Franko Ng on 07/30/2009 1:01 AM

     

     

    We are developing iRules on LTM 9.1.2. I encountered 2 problems:

     

     

    1. A maximum connection limit is set on a Virtual Server. We want to redirect the connection to another pool or node if the limit is reached. I tried to catch the event using "when LB_FAILED", but seems not working. I am new to iRule, can anyone point me to the right direction, many thanks!

     

     

    2. As the VS limit is not working, I tried the node limit at pool member level. When the limit is reached, it can be caught by "when LB_FAILED". However, when I redirect using "node" command, some error message was logged at "/var/log/ltm". The message is " lacpd[740]: 01160015:3: TmmMsgHandler.cpp:111 - UDP send failed: Network is unreachable". Is it a bug we hit? Anyone has the same problem?