Zachary Loeber

I eat complexity and am never without a meal.

Big-IP F5 LTM Load Balancer Documentation Script with Powershell

Here is a script I whipped up to perform a report on your Big-IP LTM load balancers using powershell. The report currently includes the virtual servers, pools, and various bits of status information on both. Big-IP iControl modules are needed (for obvious reasons).

Details

The following information is gathered and shown in the report which is generated:

  • Virtual Server Summary
    • Virtual server name
    • Address
    • Port
    • Pool
    • Enable state
    • Availability
  • Virtual Server Details
    • Virtual server name
    • Persistence profile
    • iRules
  • Pools
    • Pool name
    • Active members
    • Enable state
    • Availability
    • Load balance method
  • Pool Members
    • Pool name
    • Address
    • Port
    • Total connections
    • Current connections
    • Bytes in
    • Enable state
    • Availability

Version

Version 1.0.0 – 01/02/2014

  • Initial Release

Notes

  • The script requires powershell 3.0 as well as .Net 3.5 for Linq to be able to highlight HTML table cells.
  • I’ve decided to try out something new and put a wrapper around the entire script to allow for calling the script directly from a powershell console without modification. This gives you the most common report options with as few parameters as possible and should help simplify usage. To run the script without any modifications at all simply run it with the -PromptForInput option.

Screenshots

Download

Download the most recent version of this script at the Microsoft Technet Gallery