HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Application Integration
Showing results for 
Search instead for 
Did you mean: 

Set VMWare Multipathing (RoundRobin) with Nimble PowerShell Module

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

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.