Forum Discussion
Linda_55714
Nimbostratus
Aug 19, 2011Difference between LocalLB::PoolMember :: set_monitor_state and LocalLB::Pool::set_member_monitor_state
I have a pool with two pool members and at any point only one member should be enabled. I want to enable/disable both the session state and monitor state of the pool member.
I am able to set the session state using PoolMember :: set_session_enabled_state. However I am facing issues setting the pool member monitor status.
Can anyone please share an example of how this can be done? Should I use the set_monitor_state() or the set_member_monitor_state() to selectively set the pool member monitor state. I am using PERL for development. Your help is very much appreciated!
- Check out the article I wrote on Graceful Server Shutdowns. It explains how to disable a pool member as well as disabling new connections.
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