Linda_55714
Aug 12, 2011Nimbostratus
set_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