If you have a bunch of LUNs that are not set for the correct pathing policy, this script is perfect for you.
This script will iterate through all hosts in a cluster and set the pathing policy to round robin. Just make sure to set the highlighted areas correctly.
connect-viserver -server VCENTER
get-cluster "CLUSTER-NAME" | get-vmhost | get-scsilun -canonicalname "naa.*"|where {$_.MultipathPolicy -ne "RoundRobin"}|set-scsilun -MultipathPolicy RoundRobin
Subscribe to:
Post Comments (Atom)
Featured Post
Remove 3D Objects and other annoying folders on Windows 10
Microsoft just keeps adding more crap to clutter up the navigation in Windows 10. Seriously, who needs a 3D Objects folder? The tiny perc...
-
Sometimes a VM snapshot can get corrupted. You can check for consistency by running vmkfstools against the last snapshot in the chain for a...
-
I recently deployed a new UCS blade, and I was greeted with the error: " configuration failed due to compute-unavailable,insufficient...
-
So I updated to Windows 8.1 because I figured it's been out long enough and the vendors got the driver issues fixed...apparently not! ...
No comments:
Post a Comment