Forum Discussion
Set "Priority Group Activation" through iControl API
From testing I've found that
https://devcentral.f5.com/wiki/iCon...ority.ashx
set's the priority group number. But I can't find a place to set the "Priority Group Activation" to be something other than disabled. Is there any place in the API's to do this? I'm using hte iControl v11 Java API's.
Thanks!
Jason
3 Replies
- Jason_M_40871
Nimbostratus
SO think I've found it... Looks like you need to do:
localLBPool.set_minimum_active_member(new String[] { "poolName" }, new long[] {1});
At least, this is one option, still looking through other options.
Jason - Michael_Yates
Nimbostratus
Hi Jason,
Take a look here: iControl API Reference - Pools.
I believe what you are looking for is one of these to enable the Priority Group Activation - Less than... setting:
set_minimum_active_member Sets the minimum active member counts for the specified pools.
set_minimum_up_member Sets the minimum member counts that are required to be UP for the specified pools. - Jason_M_40871
Nimbostratus
Yep already had found that (see my second message) - updated the wiki with a comment on this :) I'll have to fiddle a bit with the minimum_up_member vs. active_member to see how it behaves.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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