VMware Check Path Selection Policy for Datastores

Nimble Storage Storage VMware

The Path Selection Policy is set for devices to determine how the ESXi host will utilise the paths to the storage, for example, you can have “Fixed” or “Round Robin” or “Most Recently Used”, you can also have storage vendor provided ones such as “NIMBLE_PSP_DIRECTED”.

The scripts and commands I’ve found keep mentioning “Multipathing”, if you check for this value you’ll get a different value to what you see for the actual Path Selection Policy (PSP).

As checking each is quite time consuming i’ve created a PowerShell script, that requires PowerCLI installed to query for a particular datastore and then determines the PSP setting for all connected hosts (this is a per host setting rather than a datastore setting), you’ll then know which hosts need remediation.



Image Attribution

Leave a Reply

Your email address will not be published. Required fields are marked *