Forum Discussion
Jay_Austad_7258
Nimbostratus
Aug 03, 2006how to make a simple perl script to enable/disable nodes?
I have one for version 4.5 that does a ton of other stuff also, but I only really need the functionality to enable and disable nodes. The current script is called like this:
BigIPControl.pl...
Aug 03, 2006
Did you check out the iControl CodeShare? There are samples for toggling the state of pool members and of Nodes.
Keep in mind, that in BIG-IP v9, there is not longer the concept of a "node server" (ie. addr:port) at a global level. There are now only node objects (addr) or pool members (addr:port within the context of a pool).
So, to disable a addr:port combination, it will have to be in the context of a pool. You can still disable a node address, and it will disable all pool members of that same address.
Look for:
[perl - 9.x] Toggle a pool member on a BIG-IP
[perl - 9.x] Toggle a node on a BIG-IP
http://devcentral.f5.com/Default.aspx?tabid=38
Click here
BTW, where did you find a link to an online iControl API reference? I didn't know that existed and if so I'd like to get it removed.
-Joe
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