Forum Discussion
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
- Kevin_Stewart
Employee
Try this:
tmsh modify /ltm pool /Part_Almaviva/Pool_AAA monitor tcp - JAIME_QUIROGA_1
Nimbostratus
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)
- Kevin_Stewart
Employee
What partition are you in?
pwdIs 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.
- Pedro_HaoaRet. Employee
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
- JAIME_QUIROGA_1
Nimbostratus
Hi
I tried the command "pwd" and I got the answer
Syntax Error: unexpected argument "pwd"
- Pedro_HaoaRet. Employee
Hi,
What is yor TMOS version?
- JAIME_QUIROGA_1
Nimbostratus
Hi
TMOS's version is 10.2.4
- Pedro_HaoaRet. Employee
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 partitionmodify /cli admin-partitions query-partitions all update-partition Common
More info: https://devcentral.f5.com/questions/tmsh-equivalent-of-b-shell-partition-command
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com