Updating Multipathing policy on PSP
Still in Memento category, here is a onliner in order to update all multipathing policy for a predefined list of datastore available on a predefined list of ESX host (VMHOST01..VMHOST10).
As our newly received storage bay multipathing policy best practice is RoundRobin, we had to change it from Fixed. The main purpose was to get from there :
Get-VMHost -Name VMHOST* | Get-ScsiLun -LunType "disk" | ?{$_.MultipathPolicy -eq "Fixed" -and $_.Vendor -eq "VENDOR"} | Set-ScsiLun -MultipathPolicy "RoundRobin"
At the end, we have a pretty handy script :
For further information about vSphere multipathing, here is some links :
- KB officielle VMware 1011340
- Amazing post you absolutely have to read from Didier Pironet : VMware PSA, MPP, NMP, PSP, MRU, … And Tutti Quanti!
All is left for us to do is going on aperitif, and don’t forget :