Forum Discussion
Ken_Edwards_106
Nimbostratus
Jun 05, 2007Is it possible to create and disable node groups?
Is it possible to place nodes into a group and disable the groups as needed? I have a need to disable 20 nodes at a time. The server/application teams are complaining it takes too long to mark each node down with the monitor page. Looking for ideas and other best practices...
Thanks,
Ken
- Sure is. All our iControl methods are bulk enabled, meaning you can pass 1-n items in on each call. You'll likely want the LocalLB PoolMember::set_monitor_state() and/or set_session_enabled_state() methods. Each method allows you to pass in as many pool members as you wish. You might also want to look at the LocalLB NodeAddress interface if you want an easy way to disable all pool members based on just the ip address of the node.
- Ken_Edwards_106
Nimbostratus
Since I am new to iControl, could you post a sample of the code that would be necessary to pass these parameters including the command to send to the F5. - I don't know if I have something that exactly fits your bill. Can you be very detailed as to what you want accomplished?
- Giuseppe_Casabl
Nimbostratus
Hi I'm new to IControl, and I'm trying to to disable a node . How can I do that in java? Have you an example ? I wrote a method setState but I don't know how to pass the Object EnabledState ? could you help me ?? - Your code looks good to me. What exactly are you having problems with? EnabledState is an enum which should be defined by the WSDL converter (or if you are using the iControl Java Library from DevCentral Labs, it's baked in).
- Claudio_16539
Nimbostratus
Hi, - Don_MacVittie_1Historic F5 AccountOops. That smiley face should be a colon followed by the letter p.
- Claudio_16539
Nimbostratus
Thank you Don, now i've got it working... - Don_MacVittie_1Historic F5 AccountGlad to hear it! I hope it was not too painful.
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