Forum Discussion

SKumar_381722's avatar
SKumar_381722
Icon for Nimbostratus rankNimbostratus
Jan 22, 2019

how to do traffic analysis in details related to RULE_INIT

I have some servers which are configured with RULE_INIT. I am not sure how to check the traffic flow end-to-end, but I am sure that these server traffic gets load balanced through F5. Please help with all necessary commands, or troubleshoot process.

 

Note:- These iRules are not defined in any Virtual Server. These are like a custom iRule (RULE_INIT)

 

2 Replies

  • iRules are not usually used for statistics. They can be configured to send out data, such as packet rate, but these commands need to be activated on specific events. If you are looking for statistics, check out this question. If you are diagnosing a connection issue, take a look at this documentation. If you are looking to troubleshoot an iRule, try this page.

     

  • RULE_INIT event only raise when the irule is changed or service reloaded (Appliance rebooted)

     

    There is no traffic managed in RULE_INIT event... the only thing the RULE_INIT can change with your load balancing i:

     

    • You define a static variable value in RULE_INIT event in an unassigned irule
    • Another irule uses the same static variable name with another value
    • this another irule is assigned to a VS

    in these conditions, if you edit the unassigned irule and click on update, the RULE_INIT raise and the static variable is altered!!!

     

    static variables are shared in the whole system and is not based on the virtual server or connection...

     

    I'm sorry if I lead you in wrong way in my answer on the previous thread!!!!!