Forum Discussion
goatman64_12745
Nimbostratus
Jun 21, 2006icontrol equivalent call for 'b node down'
What is the equivalent call in iControl v9.0 to disable a node address? I'm using LocalLB::NodeAddress::set_session_enabled_state and setting disabled. In the BigIP UI this sets a state "Only persistent or active connections allowed." What I want is a UI state of "Only active connections allowed."
- The state of a node address is set with both the LocalLB::NodeAddress::set_monitor_state() method as well as the LocalLB::Node::set_session_enabled_state() method. This has been discussed on the DevCentral forums although the information is kind of spread across a couple of threads.
- Al_Carandang_11
Nimbostratus
Is there an equivalent set of iControl calls for 'b pool member down' - The LocalLB::PoolMember interface has the same methods described above and behave in the same manner
void LocalLB::PoolMember::set_session_enabled_state( in String[] pool_names, in MemberSessionState[][] session_states ); void LocalLB::PoolMember::set_monitor_state( in String[] pool_names, in MemberMonitorState[][] monitor_states );
- For the monitor_state, you'll want to use the get_monitor_status. You are right that this has 9 possible status values. Basically go with the UP value for a good state and the others either indicate a bad state or that the BIG-IP is in the process of checking it with a monitor.
- Not sure what you are asking about the status colors. There are no parameters for the set methods that directly equate to these. Basically when you call get_monitor_state() the value can depend on what's going on with everything behind the scenes (is the monitor currently running, has the monitor not run yet, has it reported an up or down state, has it been disabled by a parent object, etc.) You can set the monitor_state to either enabled or disabled for an object, but the status is what's going on at the moment you make the request for get_monitor_status().
MONITOR_STATUS_UNCHECKED 0 Status of an enabled object that is not being monitored.
- Katherine_G_106
Nimbostratus
Posted By Joe on 06/21/2006 10:09 AM
- I <3 the DevCentral community! Cheers and have a great weekend!
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