F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

David_Newman_10's avatar
David_Newman_10
Icon for Nimbostratus rankNimbostratus
Apr 27, 2005

Forcing off traffic

I am using the iControl 9.0 SDK to switch traffic from one pool to another pool, by invoking set_default_pool_name and changing the default pool name assigned to a virtual server. I am also disabling all members in the first pool by using set_session_enabled_state. What additional iControl command can I use to immediately force off all traffic from the first pool? This includes forcing off all persistent sessions.

 

 

Thanks,

 

 

David

1 Reply

  • Loc_Pham_101863's avatar
    Loc_Pham_101863
    Historic F5 Account
    If you really want to force all members of a pool down, including forcing off all persistent connections, you can use the PoolMember::set_monitor_state method. This basically forces the pool's members down.

     

     

    Loc