PowerCLI: HBA Load Balancer

From VI-Toolkit
Jump to: navigation, search

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