PowerCLI: HBA Load Balancer
HBA Load Balancing
author: Rob Mokkink
Rob Mokkink has made a script to balance LUNs over different HBA’s. In short it:
- Sets the Path Management Policy to fixed
- Sets odd luns to a preferred path of vmhba1
- Sets even luns to a preferred path of vmhba2
The script uses integrated authentication.
That means, the account running the script should have sufficient rights in virtualcenter.
There's a line in the script that specifies the virtualcenter host.