Unsure if it survives upgrades yet….
Base commands as follows:
esxcli storage nmp device list | grep iSCSI Device Display Name: STARWIND iSCSI Disk (eui.46bed2d1ba1297d4) Device Display Name: STARWIND iSCSI Disk (eui.e1c4a9d50c1de985) Device Display Name: STARWIND iSCSI Disk (eui.75b468162d2473ac) Device Display Name: STARWIND iSCSI Disk (eui.0bd446722e88d9a6) esxcli storage nmp device set --device eui.46bed2d1ba1297d4 --psp VMW_PSP_RR esxcli storage nmp psp roundrobin deviceconfig set -d eui.46bed2d1ba1297d4 -t iops -I 1
Can be put in a script:
for i in `ls /vmfs/devices/disks/ | grep eui. | cut -b 1-20` ; do echo $i; esxcli storage nmp device set --device $i --psp VMW_PSP_RR; esxcli storage nmp psp roundrobin deviceconfig set --device $i -t iops -I 1;done