Forum Discussion
karthic_n_12765
Nimbostratus
Mar 02, 2004enable/disable vs up/down
1. Does calling Node::set_state() with "disabled" prevent new connections from being directed to the node unless they belong to a persistence session already established on that node?
2. Does calling Node::set_availability() with "Down" prevent ALL (persistent or not) new connections from being directed to the node?
3. Could Node::set_availability() be called with "Up" ONLY if the current state of the node is "forced_down"?
4. Does calling VirtualServer::set_state() with "disabled" cause the BIG-IP to refuse ALL (persistent or not) new connections for the virtual server?
Thanks,
Karthic.
- karthic_n_12765
Nimbostratus
I sent the earlier message too soon. I wanted to add the following question as well. - the set_availablity() method should be used to "bleed" connections from a node. This means that no NEW connections will be processed to that server. This equates to the "Enable/Disable Sessions" option in the GUI. From the GUI docs:
- karthic_n_12765
Nimbostratus
Joe, - karthic_n_12765
Nimbostratus
Joe, - I think I got it right in my response. set_availability() corresponds to the "Enable Sessions" in the GUI. The set_state() corresponds to the "Enable Connections" in the GUI.
- By all means, please harp. In this case I'm glad you did as I had the actions reversed. I just verified this with the developer who wrote the code and it matches with what you are seeing.
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