ykkim
May 07, 2012Nimbostratus
How to enable/disable selected poolmembers
Hi,
I have to enable/disable selected poolmembers at a time using iControl(Java).
At first, I got each member's EnabledStatus successfully by calling API "LocalLB::PoolMember::get_object_status". But I couldn't find it's counterpart function for configuring EnabledStatus.
Instead, I could see these functions.
* LocalLB::PoolMember::set_monitor_state
* LocalLB::PoolMember::set_session_enabled_state
According to the SDK document and my simple test, they seem to set not EnabledStatus but some kind of states.
So how can I switch EnabledStatus of poolmembers using iControl?