PowerCLI: HBA Load Balancer

From VI-Toolkit
Jump to navigation Jump to search

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.



VMware communities: storage-path script