Forum Discussion

Jinshu's avatar
Jinshu
Icon for Cirrus rankCirrus
Nov 25, 2015

Script for disable a pool member from a pool which is created using iapp

Hello Friends,

Can you help me to get one script created for disable a pool member from a pool which is created using iapp.

Manually created pool works fine with below script but i need to disable a pool member from a pool which is created using iapp.

curl -sk -u admin:mypassword https://10.x.x.x/mgmt/tm/ltm/pool/Syslog-pool/members/~Common~10.x.x.x:514/ -H "Content-Type: application/json" -X PUT  -d '{"state": "user-down", "session": "user-disabled"}'

-Jinshu

2 Replies

  • Unless strictness is disabled in the iApp, you won't be able to disable the pool member as the application service created from the iApp template is in control
  • I have disabled the strict update. But above script doesnt work. I guess we need to go inside iapp folder to get the pool details?