Forum Discussion

Jason_M_40871's avatar
Jason_M_40871
Icon for Nimbostratus rankNimbostratus
Aug 06, 2013

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

  • 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
  • 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.
  • 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.