Forum Discussion
Linda_55714
Nimbostratus
Aug 12, 2011set_monitor_state() method is always acting on first pool member
I have two members A and B in a pool. Irrespective of the pool member (IPAddress+Port) I request for enabling/disabling through the set_monitor_state() method, it always acts on the first pool member. I use perl libraries and make SOAP calls. Please find the sample output below. Can someone please help with this issue?
POOL:e1-tst-svc-v1:POOL_MEMBER:148.173.73.61:36540:STATUS:ENABLED:AVAILABILITY:AVAILABILITY_STATUS_GREEN
POOL:e1-tst-svc-v1:POOL_MEMBER:148.173.73.61:46540:STATUS:ENABLED:AVAILABILITY:AVAILABILITY_STATUS_RED
-> Setting host 148.173.73.61:46540 to STATE_DISABLED ->
Setting host 148.173.73.61:46540 monitor to STATE_DISABLED
---[ EXECUTION RESULTS ]--- ->
Successfully set member 148.173.73.61 (port 46540) from STATE_ENABLED to STATE_DISABLED
---[ END OF RESULTS ]
--- -> Getting all pool members (0) ... done.
---------------------------------------
POOL: e1-tst-svc-v1
STATUS: ENABLED_STATUS_ENABLED
MONITOR: AVAILABILITY_STATUS_RED -
--------------------------------------
POOL:e1-tst-fulsvc-v1:POOL_MEMBER:148.173.73.61:36540:STATUS:ENABLED:AVAILABILITY:AVAILABILITY_STATUS_RED
POOL:e1-tst-fulsvc-v1:POOL_MEMBER:148.173.73.61:46540:STATUS:DISABLED:AVAILABILITY:AVAILABILITY_STATUS_RED
- Hi Linda, could you post the section of code you are using for set_monitor_state() (including the creation/packing of the parameters)?
- Linda_55714
Nimbostratus
Thank you for the quick response. Unfortunately my company security policies do not permit sharing code.
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