Forum Discussion

Thornid's avatar
Thornid
Icon for Nimbostratus rankNimbostratus
Aug 05, 2019

Run an external script from F5

Hello all

 

I've been asked by a client if it is possible to do this on an F5:

 

They have two servers in an active and cold standby configuration. What should happen is that when the active unit dies, a script needs to be run on the standby device to essentially kick it into life.

 

Are there any options to achieving this simply from an LTM?

 

Thank you.

2 Replies

  • No - there is no simple solution.

     

    The simple solution is that the LTM would expect both pool members to be active and ready to receive requests, even if one of the pair does not get selected (via priority group load-balancing, for example). Then when the primary pool member fails, requests are directed to the next available server in the pool which is already running the required service.

     

    For a more complex solution, you could use iCall, and use that to trigger a bash script that connects to the pool member to make it active:

     

    What is iCall?

     

  • Thank you S Blakely

     

    As I suspected.

     

    Does anyone have any similar solutions using iCall they have implemented or a could point me in the right direction to begin this?

     

    Thank you