1 Reply Latest reply: Jan 24, 2014 7:14 AM by Adam Herbert RSS

    Set VMWare Multipathing (RoundRobin) with Nimble PowerShell Module

    Justin Rich Adventurer

      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