Forum Discussion
Nicholas_33535
Nimbostratus
Sep 28, 2009F5 Scripting
Hi All,
I hope this is the right place to post this. I was wondering whether there was any documentation in regards to the F5 scripting language?
Basically, I want to have a script running as a cron on the F5 GTM box to monitor the availability of a Pool Member (or Server), and if the Pool Member (or Server) is down, I want to disable all of the other Servers/Pool Members for that site. So in simple words - if a server fails at 1 site, I want everything to failover to the other site and not fail back without manual intervention (i.e. someone going in and enabling the servers on the F5).
The other thing I wanted to achieve was that when a server/pool member was down, I wanted to initial an SSH session from the F5 to a device. This is supposed to triggure the backend failover of services to our second site.
Has anyone done anything like this before?
Thanks,
goulin
- Nicholas_33535
Nimbostratus
Another way to look at the requirement... is there a way to change the order of Pool Members for a Pool via a script? That way, when a server goes down, I don't need to disable all servers, I can just change the Pool Members order and prefer the DR site - L4L7_53191
Nimbostratus
I believe you may be able to accomplish this using the 'distributed application' configuration in GTM (provided you're at the right code level - I believe >9.4.0). You can set a server dependency on a group of wideIPs and fail them all over if that server is down. You can also specify 'manual resume' on your pool settings, which will meet your other requirement. Some of the GTM experts out there may have other ideas as well. - Nicholas_33535
Nimbostratus
Hi Matt,
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