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...
Mar 17, 2004
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.
ITCMLocalLB::Node.set_availability(AVAILABILITY_DOWN) immediately performs a forced-down to all nodes connected to the disabled node. This basically stops all traffic (including persistent connections) from being sent to the node. This maps to the GUI's "Enable Connections" checkbox being unchecked.
ITCMLocalLB::Node::set_state(STATE_DISABLED) allows current connections to stay connected, but stops the node from accepting new connections. This maps to the GUI's "Enabled Sessions" checkbox being unchecked.
I appologize for the confusion.
-Joe
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
