All,
I would like a powershell script that could help automate Load-Balancing the HBA Paths on my ESX host in a cluster. Each host has 2 HBA's and is connected via Fiber Channel back to an active-active array. The Same LUNS are assigned to each HBA in the esx host. We would like to use the fixed policy, but alternate the preferred paths between the 2 HBA's.
For example. We have several luns. Lets say LUN15, 16, 17, and 18. I would like for LUN15 and 17 to have a preferred path of VMHBA1 and LUN16 and 18 to have a preferred path of VMHBA2 and so on. It would be nice to have a powershell script that could do this cluster wide.
Does anybody know of a solution to this?
What kind of array (Model)
--Matt
VCP, vExpert, Unix Geek
Have you had a look at Rob Mokkink's loadbalance script?
=====
Carter Shanklin
Read the PowerCLI Blog
[Follow me on Twitter|http://twitter.com/cshanklin]
Symmetrix
Thank C_Shanklin, that is exactly what I was looking for.
If you have a symm, why not use roundrobin everywhere? It works fantastically well on our clusters. We have a couple hundred ESX servers against various Symms with RR and its nearly perfect balancing.
--Matt
VCP, vExpert, Unix Geek
c_shanklin,
The script has worked perfect for me over the past 6 months or so. However, now we have upgraded to 4.0 and this script no longer works. Any ideas or if this script has been modified to work with 4.0 U1 host?
Hi.
Just to mention the link to Rob Mokkink's script is no longer available on the URL.
Thanks,
Darren.
(@dawoo)