Forum Discussion
remove a node from multiple pools using bash
VFB Would you mind sharing what your output looks like when you run just the following from tmsh?
list ltm pool one-line | grep "10.131.131.5"
- VFBNov 29, 2023Cirrus
The output shows all the pools with the associated member.
- PauliusNov 29, 2023MVP
VFB Yes, I do realize what the output should be but I'm looking for what it is for you to ensure that what you have command wise will work or we can figure out why it doesn't work. Ideally I would like to see two of the lines, one with all pool members active/working and one with some down/disabled pool members.
- VFBNov 29, 2023Cirrus
ltm pool imagine { members { 10.31.194.41:443 { address 10.31.194.41 session user-disabled state down } 10.31.199.4:443 { address 10.31.199.4 session monitor-enabled state up } 10.31.199.5:443 { address 10.31.199.5 session monitor-enabled state up } 10.42.80.118:443 { address 10.42.80.118 session user-disabled state user-down } 10.42.80.119:443 { address 10.42.80.119 session user-disabled state user-down } 10.131.131.5:443 { address 10.131.131.5 session user-disabled state down } } min-active-members 1 monitor tcp_half_open service-down-action reset }
ltm pool operations { members { 10.31.194.41:80 { address 10.31.194.41 session user-disabled state down } 10.31.199.4:80 { address 10.31.199.4 session monitor-enabled state up } 10.31.199.5:80 { address 10.31.199.5 session monitor-enabled state up } 10.42.80.118:80 { address 10.42.80.118 session user-disabled state user-down } 10.42.80.119:80 { address 10.42.80.119 session user-disabled state user-down } 10.131.131.5:80 { address 10.131.131.5 session user-disabled state down } } min-active-members 1 monitor http-standard-monitor service-down-action reset }
ltm pool treasury { members { 10.31.194.41:80 { address 10.31.194.41 session user-disabled state down } 10.31.199.4:80 { address 10.31.199.4 session monitor-enabled state up } 10.31.199.5:80 { address 10.31.199.5 session monitor-enabled state up } 10.42.80.118:80 { address 10.42.80.118 session user-disabled state user-down } 10.42.80.119:80 { address 10.42.80.119 session user-disabled state user-down } 10.131.131.5:80 { address 10.131.131.5 session user-disabled state down } } min-active-members 1 monitor http-standard-monitor service-down-action reset }
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