Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 206069

Re: Setting pathing policy

$
0
0

You can list all LUNs with

$esxcli.storage.nmp.device.list()

With a Where-clause you can extract the LUNs you want to change.

I suppose you have that information somewhere, perhaps in a CSV file ?

 

Once you have the devices, it's a matter of calling something like

$esxcli.storage.nmp.device.set($null, $canonicalname, "VMW_PSP_MRU")

See Example 5 in the Get-EsxCli cmdlet.


Viewing all articles
Browse latest Browse all 206069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>