Forum Discussion

Renganathan_264's avatar
Renganathan_264
Icon for Nimbostratus rankNimbostratus
Jan 29, 2018

delete multiple pool members in Cli

Delete multiple pool members from Cli command needed

 

3 Replies

  • Hi,

     

    for one node..

     

    tmsh modify ltm pool [pool_name] members delete { [node]:[service_port] }

     

    for multiple :

     

    tmsh modify ltm pool pool_name members delete { [node1]:[service_port] } members delete { [node2]:[service_port] } etc..

     

    Thx

     

    Srini

     

  • above command will work fine if there is only one partition. However if there is more than one partition you need to give partition name as well.

     

    tmsh modify ltm pool /traffic-group/pool_name members delete {1.1.1.1:80 1.1.1.2:80 1.1.1.3:83}

     

    Thanks Amit