Forum Discussion
psicboy_73704
Nimbostratus
Apr 20, 2010Dynamically disable nodes, by querying IIS6?
Hi
Now I’m no developer, so please excuse my ignorance when it comes to scripting. I have a massive task ahead.
I need to be able to disable a bunch of nodes/pool members from ou...
Apr 20, 2010
This can absolutely be done. The first question is whether you want to disable the node as a global object or within the context of a specific pool (ie. a pool member). I've got some samples in the iControl CodeShare that deal with the later. It shouldn't be difficult to convert that script to use the LocalLB.NodeAddress interface instead of the LocalLB.PoolMember interface.
Check out the PowerShell topic in the iControl wiki and search for PsPoolMemberControl for some ideas.
http://devcentral.f5.com/wiki/default.aspx/iControl/PowerShell.html
There are also a bunch of articles in there on tutorials on getting started with PowerShell and iControl as well as how to use various interfaces.
Let me know if you get stuck...
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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