Forum Discussion
dwayne_22491
Jan 25, 2011Nimbostratus
Remote execution of script from GTM
I have two sites, one of which is the primary and the other which is secondary. I have MySQL databases at both and need to be able to keep track of which site is currently the primary and execute scr...
hooleylist
Jan 25, 2011Cirrostratus
Hi Dwayne,
You could potentially use an EAV monitor which references a shell script. The script could check the pool members to see if each is active.
I'm not sure how you'd want to detect a "recent" failure. Perhaps it would be better to have a majority of that logic set up on the servers themselves and just have the monitoring done from GTM.
Here is a related AskF5 solution:
SOL8154: The BIG-IP GTM EAV monitor considerations
http://support.f5.com/kb/en-us/solutions/public/8000/100/sol8154.html?sr=12322442
And here is a template EAV. It should work the same for GTM as LTM:
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/TemplateForExternalLtmMonitors.html
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects