Forum Discussion
Michel_van_der_
Jun 10, 2003Nimbostratus
Clarification needed
I'm trying to find out all the states of nodes in a pool. I try to run Sets the states for a sequence of node addresses vs. Set the enabled state for a sequence of nodes)
ITCMLocalLB.Node.get_node_address_states
But since it only takes a list of ip addresses (I tried to a list with use ':' but it doesn't work). If I use
ITCMLocalLB.Node.get_state
which takes a ITCMCommon.IPPortDefinition
things work as expected, but off course I have to run it seperately for every node in the pool.
My question, what is the difference between the 2? Will set_node_address_states
disable all services for that IP, whereas set_state will only disable the IP/port pair?
Do the {get,set}_state have to be used together, as well as the
{get,set}_node_address_states?
The docs are not extremely clear, although it may be my lack of understanding of the
terminology (note:
- AlSjogren_12704Historic F5 AccountThe difference between working with the Node versus the Node Address is more apparent if your servers provide multiple services. If I need to take a server out for service, setting the node_address_state to STATE_DISABLED is less work than setting the state to STATE_DISABLED for each Node (where Node is a address:service pair) when your server provides multiple services.
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