Application Integration
1753607 Members
5835 Online
108797 Solutions
New Discussion

Re: Set VMWare Multipathing (RoundRobin) with Nimble PowerShell Module

 
jrich52352
Trusted Contributor

Set VMWare Multipathing (RoundRobin) with Nimble PowerShell Module

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 10.11.12.13 -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

1 REPLY 1
aherbert23
Trusted Contributor

Re: Set VMWare Multipathing (RoundRobin) with Nimble PowerShell Module

Justin, I like what you've done with your PowerShell module. I have another way that might be helpful for setting the PSP to round robin. Checkout this script here : Set VMware RoundRobin PSP through PowerCLI

It will loop through all of the ESX hosts and any attached Nimble volumes managed by the VCenter server. It will then set the policy to round robin, IOPS per path to 0, and set a rule so any new Nimble volumes will use round robin automatically.