Forum Discussion
Cindy_127211
Nimbostratus
May 26, 2005Setting 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. However, we have found that with the get_session_status there are (4) different states, while in the GUI there are only (3) and in the set_session_enabled _state there are only (2). How do we set all four states??
LocalLB.get_session_status
SESSION_STATUS_ENABLED0 New sessions are enabled.
SESSION_STATUS_DISABLED1 New sessions are disabled.
SESSION_STATUS_FORCE_DISABLED2 New sessions are forced to disabled
SESSION_STATUS_ADDRESS_DISABLED3 New sessions are disabled on node addresses
LocalLB.set_session_enabled_state
STATE_DISABLED0
STATE_ENABLED1
- Loc_Pham_101863Historic F5 AccountCindy,
- lucien_Caumart2
Nimbostratus
Hello, - lucien_Caumart2
Nimbostratus
Hello, - Hamish_Marson_3
Nimbostratus
Posted By locph on 5/26/2005 2:43:58 PM - 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.
- Hamish_Marson_3
Nimbostratus
Do I have old docs? Or am I reading them wrong? My current iControl SDK v9.0 says that "set_monitor_state" enables & disables the monitoring of a node (Or nodeaddress)... - Looks like the docs need updating if this isn't clear. The monitor_state is an overridden property. If you set it to disabled then it will be marked down and health monitoring won't happen until you bring it back up again.
- Hamish_Marson_3
Nimbostratus
Posted By Joe on 8/19/2005 8:33:55 AM - I'll make the change in the docs for the next release.
- mehdis_60232
Nimbostratus
Hello,you have to know well this class , and i have i problem.
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