Forum Discussion

Santiphap_Satth's avatar
Santiphap_Satth
Icon for Nimbostratus rankNimbostratus
Aug 01, 2005

Is it possible to write iRule to run external script when F5 change node selection with priority ?

Is it possible to write iRule to run external script when F5 change node selection with priority ?

 

 

I have a requirement to load balance two servers in Active/Standby mode using minimum active member and priority settings. When the primary server goes down and F5 direct traffic to secondary server, is it possible to write iRule to run an external script to do something (run remote script) ? Is there any event trigger that I can write such rules ?

 

 

Thanks

1 Reply

  • unRuleY_95363's avatar
    unRuleY_95363
    Historic F5 Account
    Sorry, there is not anything that will directly execute some external program. However, you could certainly configure syslog to route an unused facility and priority level to into a script or even to another host that might trigger a script. Then your rule would simply need to log to that facility.priority and it would trigger your script.