Forum Discussion

Gurpreet_40964's avatar
Gurpreet_40964
Icon for Nimbostratus rankNimbostratus
Apr 25, 2018

How to set pool member ratio via iControl?

Need to know if we can set ratio of pool member via IControl jar file in JAVA, please explain which all classes needs to be used. Working example would be awesome..

 

1 Reply

  • Something like this,

    curl -sku admin:admin -H "Content-Type: application/json" -X PATCH https://1.1.1.1/mgmt/tm/ltm/pool/dummypool/ -d '{"members":[{"name": "1.1.1.1:80","ratio": 2},{"name": "1.1.1.2:80","ratio": 1},{"name": "1.1.1.3:80","ratio": 1},{"name": "1.1.1.4:80","ratio": 1}]}'

    iControl REST Cookbook - Virtual Server