Forum Discussion

f5TechieAA_7448's avatar
f5TechieAA_7448
Icon for Nimbostratus rankNimbostratus
Nov 24, 2008

Disable Pool Members

In our envirnoment we have two BIGIP applicances to leverage load balancing . The main idea is to dynamically disable one pool so that the request starts routing to the other pool. In this effort bigip team suggested to disable all pool members in a pool. I need help to identify which api I should use to disable pool members.

 

 

4 Replies

  • Hi,

     

    I would try it with set_monitor_state and set_session_enabled_state for PoolMember:

     

    http://devcentral.f5.com/Wiki/default.aspx/iControl/LocalLB__PoolMember__set_monitor_state.html

     

    http://devcentral.f5.com/Wiki/default.aspx/iControl/LocalLB__PoolMember__set_session_enabled_state.html

     

     

    If both, session and monitor state, are down for all members no connections would go to to that pool anymore.

     

     

     

    cu,

     

    bsdpruegelknabe
  • I wrote a tech tip a while back on that subject. This article contains a PowerShell sample program that you should be able to extract the logic flow from.

     

     

    http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=254

     

    Click here

     

     

     

    -Joe
  • I have solved this problem as of last week and planning to post the java code this week .