Forum Discussion
Cindy_127211
Nimbostratus
20 years agoSetting LocalLB.NodeAddress states
We would like to use the LocalLB method to LocalLB.NodeAddress get_session_status and set_session_enabled_state methods to get the status of a Node and then set the status of the node. Howeve...
20 years ago
With the move to the new 9.0 architecture, a node server (ip:port) is no longer a high level object. The only existence of a node ip:port is within the context of a pool. We call these Pool Members.
This topic has been covered on this forum thread:
http://devcentral.f5.com/default.aspx?tabid=53&view=topic&forumid=3&postid=3013
Click here
By your comment about temporarily disabling the pool member until the monitor runs again, I believe that this call is persistent. If you set the monitor_state to down then it will force down the member until you explicitly enable it again.
So, I think the answer to your question is to use the set_monitor_status() method. Keep in mind that if you have the same ip:port configuration setup within multiple pools, you will have to disable it within the context of each of the pools.
-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