Forum Discussion
wayney_128269
Nimbostratus
Feb 28, 2005which method to enable disable server?
Hello,
Exactly, which method would I need to use to enable or disable a server from load balancing?
thanks
Loc_Pham_101863
Jun 22, 2005Historic F5 Account
To disable a node address such that it will not take any new connection:
LocalLB.NodeAddress.set_session_enabled_state (Common.STATE_DISABLED)
Calling "set_session_enabled_state" on the PoolMember object will disable the specific pool member in a specific pool such that it will not accept any new connection. For example, if calling this method for member 10.10.10.100:80 in poolA, then member 10.10.10.100:80 in poolA will not accept any connection, but member 10.10.10.100:80 in poolB will still service connection as usual.
Calling "set_session_enabled_state" NodeAddress will effectively disable the node object listening on the IP address from accepting any connection. For example, calling this method for node address 10.10.10.100 will affect every pool member in every pool that is using 10.10.10.100 address. In the example above, members 10.10.10.100:80 in BOTH poolA and poolB will stop accepting new connections.
Loc
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
