Forum Discussion
ykkim
Nimbostratus
May 07, 2012How 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?
2 Replies
- Here's an article I wrote about the various server state settings and how to get and set them. Post back if that doesn't answer your questions.
https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/369/iControl-Apps--20--Server-Control.aspx
-Joe - ykkim
Nimbostratus
Thanks a lot.
Your answer was very helpful. I finished my work well.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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