Forum Discussion
Is it possible to list all LTM pools load balancing method?
With all devices included now we'd like to reconcile all our pools balancing methods. However, I haven't found a way to do this as yet. Is it even possible?
- BigD_300005
Cirrostratus
Log into the F5 via SSH to tmos. Go into the ltm process by typing "ltm" and enter. Then type: list pool load-balancing-mode
- Jeff_Witkowski_
Altostratus
Thanks. I thought there might be a Big-IQ way because we've got hundreds of LTMs. And they're all in Big-IQ.
- BigD_300005
Cirrostratus
If we had BIG-IQ I'd take a look. You may want to alter your question as you didn't mention anything about Big-IQ there. So you're not going to get any answers involving Big-IQ.
- Satoshi_Toyosa1Ret. Employee
If you need to get the
output from multiple hosts in one shot, you can use iControl REST. The following bash script gets the load-balancing-mode information from two hosts: 172.16.1.133 and 172.16.1.155. Assumed that the admin password was common for both boxes: i.e.,tmsh list pool load-balancing-mode
for i in 133 155; do echo -n $i curl -sku admin: https://172.16.1.$i/mgmt/tm/ltm/pool?\$select=loadBalancingMode \| python -m json.tool | fgrep '"loadBalancingMode"' done
For more information on iControl REST, visit iControl REST Home.
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