Forum Discussion

Jeff_Witkowski_'s avatar
Jeff_Witkowski_
Icon for Altostratus rankAltostratus
Mar 28, 2018

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?

 

4 Replies

  • 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_'s avatar
      Jeff_Witkowski_
      Icon for Altostratus rankAltostratus

      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's avatar
      BigD_300005
      Icon for Cirrostratus rankCirrostratus

      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.

       

  • If you need to get the

    tmsh list pool load-balancing-mode
    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.,

    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.