首页 > 其他 > 详细

Set VM RDM disk to Round Bobin and set IOPS path to 1

时间:2017-05-19 14:11:43      阅读:415      评论:0      收藏:0      [点我收藏+]

KB Related to IOPS setting

Adjusting Round Robin IOPS limit from default 1000 to 1 (2069356)

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2069356

To adjust the IOPS parameter from the default 1000 to 1, run this command:

In ESXi 5.x/6.x:

for i in `esxcfg-scsidevs -c |awk ‘{print $1}‘ | grep naa.xxxx`; do esxcli storage nmp psp roundrobin deviceconfig set --type=iops --iops=1 --device=$i; done

Where, .xxxx matches the first few characters of your naa IDs.


To verify if the changes are applied, run this command:

esxcli storage nmp device list


You see output similar to:

Path Selection Policy: VMW_PSP_RR
Path Selection Policy Device Config: {policy=iops,iops=1,bytes=10485760,useANO=0;lastPathIndex=1: NumIOsPending=0,numBytesPending=0}
Path Selection Policy Device Custom Config:
Working Paths: vmhba33:C1:T4:L0, vmhba33:C0:T4:L0


Query the paths of the VM LUNs:

esxcli storage nmp path list --device naa.******************


Set the path policy to Round Robin: 

esxcli storage nmp device set --device naa.***************** --psp VMW_PSP_RR


Set the Round Robin IOPS for switch path to 1:

esxcli storage nmp psp roundrobin deviceconfig set --type=iops --iops=1 --device=naa.**********************






Set VM RDM disk to Round Bobin and set IOPS path to 1

原文:http://549687.blog.51cto.com/539687/1927467

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!