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

Re: How to change an iSCSI LUN SATP Configuration

$
0
0

Hi,

 

you can try using something like this :

 

Found here : VMware: Configure Multipath Policy via PowerCLI | VMpros

 

$strHost = Get-VMHost
connect-viserver $strHost
$esxcli = $strHost | Get-EsxCLI
$esxcli.storage.nmp.satp.set($null,”VMW_PSP_RR”,”VMW_SATP_ALUA”)
$strHost | Get-ScsiLun -CanonicalName “naa.6001*” | Set-ScsiLun -Multipathpolicy “roundrobin”
$esxcli.storage.nmp.device.list() | Where {$_.PathSelectionPolicy -eq “VMW_PSP_RR”} | %{$esxcli.storage.nmp.psp.roundrobin.deviceconfig.set($null,$true, $_.device, 1,”iops”,$null)}
$esxcli.storage.nmp.device.list() | Where {$_.PathSelectionPolicy -eq “VMW_PSP_RR”} | %{$esxcli.storage.nmp.psp.roundrobin.deviceconfig.get($_.device)}

 

You can change multipath policy as you need.

 

Or here from a previous post : Set multipath policy to FIXED and load balance preffered paths for a set of RDM LUNs

 

Julien


Viewing all articles
Browse latest Browse all 230663

Trending Articles



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