Forum Discussion
alex_der_101956
Nimbostratus
Dec 09, 2004Method to disable/enable a server?
Hi,
When looking at the LocalLBNode perl example, I was wondering if there is a method to disable/enable a server, or do you have to loop through all the nodes on a server?
...
Loc_Pham_101863
Dec 09, 2004Historic F5 Account
Yes, there are methods to enable/disable individual pool members and node addresses. For example, in v9.x:
- LocalLB::PoolMember/NodeAddress::set_session_enabled_state - if set to TRUE, will disallow new sessions from establishing, while still allowing existing sessions to go through, essentially used to bleed off the existing connections.
- LocalLB::PoolMember/NodeAddress::set_monitor_state - if set to TRUE, will bring the pool member or node address down immediately.
Please refer to the SDK for the signatures and descriptions of these methods.
Loc
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