Justin Rich

Set VMWare Multipathing (RoundRobin) with Nimble PowerShell Module

Discussion created by Justin Rich on Jan 20, 2014
Latest reply on Jan 24, 2014 by Adam Herbert

Using the Nimble PowerShell Module you can configure all connections to be Round Robin pretty easily.


First get the PowerShell Module


Connect-VIserver ##connect to your vcenter

Connect-NSArray -SystemName -Password P@ssw0rd


# Get all Canonical Names, doesnt matter if they are used with VMWare or not.

$canNames = Get-NSVolume | select -exp serialnumber | %{"eui.$_"}

# Find which are used in vmware

$luns = Get-VMHost | Get-ScsiLun -CanonicalName $canNames -ErrorAction SilentlyContinue

#Set any that arent RR to be RR

$luns | ?{$_.multipathpolicy -ne "RoundRobin"} | Set-ScsiLun -MultipathPolicy RoundRobin