For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

JAIME_QUIROGA_1's avatar
JAIME_QUIROGA_1
Icon for Nimbostratus rankNimbostratus
Jul 09, 2014

Modify pool monitor different partition

I have a pool "Pool_AAA" in the partition Part_Almaviva and I need modify the monitor for 20 virtual server, I think to create a shell for modify all virtual server. I tryed with the command

 

tmsh modify /ltm pool /Common/Part_Almaviva/Pool_AAA monitor tcp

 

but no working.

 

8 Replies

  • I tried and it was the answer

     

    jaime.torres@f5dhs-triara1(Active)(tmos) modify ltm pool /Part_ALMAVIVA/Pool_Almaviva_4522 monitor Common/tcp Syntax Error: the "modify" command does not accept wildcard configuration identifiers jaime.torres@f5dhs-triara1(Active)(tmos)

     

  • What partition are you in?

    pwd
    

    Is this the correct name of the partition and/or pool? I get the exact same error if there's a star * somewhere in the name.

  • Estimado Jaime:

     

    Lo primero es recordar que los monitores pueden asociarse a Pools, Pool Members, Nodes, y no a un Virtual Server.

     

    Lo segundo, tmsh y Advanced Shell son Case sensitive. Por tanto, recomiendo ingresar a tmsh para que luego puedas ir tabulando y realizando consultas con "?".

     

    Una vez que tengas el comando en tmsh, cópialo en tu editor favorito, edita cada comando para los 20 Pools que debas configurar, luego lo pegas en la consola y listo.

     

    Avísanos cómo te va.

     

    Saludos, Pedro Haoa

     

  • Hi

     

    I tried the command "pwd" and I got the answer

     

    Syntax Error: unexpected argument "pwd"

     

  • Hi,

     

    You can use this commands (v10) for change partition:

     

    Select your partition:

    modify /cli admin-partitions query-partitions all update-partition Part_Almaviva

     

    Change objects in the wanted partition:

    modify /ltm pool Pool_A monitor tcp modify /ltm pool Pool_B monitor tcp modify /ltm pool Pool_C monitor tcp ....etc.

     

    Then you'll come back to Common partition

    modify /cli admin-partitions query-partitions all update-partition Common

     

    More info: https://devcentral.f5.com/questions/tmsh-equivalent-of-b-shell-partition-command