F5 disable pool/node

I’m still in the preliminary phase of developing requirements. From a high level we have multiple datacenters and use the GTM to route traffic (round-robin by default but during maintenance we may “pin” traffic to one datacenter). I should have more specifics in a few weeks.

I’ve been reading up on the bigsuds api and would be more than willing to help develop this.

BTW, if you don’t mind – for those of you who have tested this, please comment on the pull requests so Brian knows it works as intended.

https://github.com/ansible/ansible-modules-extras/pull/288

https://github.com/ansible/ansible-modules-extras/pull/282

Thanks,

-M

I am going to start putting some effort into automating our GTM updates now.

Our basic process is:

  • Confirm pools are reporting up
  • Then going to DNS>GSLB and swapping what pools are a member of a particular fqdn.

DevCentral has a couple examples: https://devcentral.f5.com/wiki/iControl.python-bigsuds-Get-or-Set-GTM-Pool-TTL.ashx and https://devcentral.f5.com/wiki/iControl.python-bigsuds-Get-GTM-Pool-Status.ashx

Seems relatively straightforward. I was thinking for a first step, a module that can get the GTM status and set the member pools would be good. Let me know if you are still interested in taking a look at this or I can put together a initial module as well.

Not sure if anyone is still monitoring this thread but I submitted a pull request for this functionality. As time is available, I’d like to keep adding features even though I’ve got everything I personally need now.

https://github.com/ansible/ansible-modules-extras/pull/551/files

I accidentally intermingled some unrelated windows changes into this branch. I rolled them back but not sure how to get rid of the history.