PowerCLI: HBA Load Balancer

From VI-Toolkit
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

HBA Load Balancing

author: Rob Mokkink

Description

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

Usage

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.

Location

http://virtualfuture.info/2008/07/vmware-hba-loadbalancer-script/

VMware communities: storage-path script