Oct 222011
 

You might be interested in getting the most out of an inexpensive vSphere lab setup. I have not done this update in a production environment yet, so be warned – your mileage may vary.

Enable the SSH console on your ESXi 5.0 host.

List your disks to verify the list you’re going to be adjusting.

ls /vmfs/devices/disks

Now we want to use a vSphere 5 command to update the pathing and IOPs configuration. To do this, find the similar prefix on the disks you want to adjust and then enter the following command. In my case, my iSCSI disks were prefixed by the ‘t10.’ identifier. Replace t10 below with the prefix that matches your environment.

for i in `ls /vmfs/devices/disks | grep t10` ; do esxcli storage nmp psp roundrobin deviceconfig set –device $i –iops 1 –type iops; done

To verify, enter the following command to verify.

esxcli storage nmp device list

You should see the following string showing IOPs now equal to one!

t10.F405E46494C45425F4D614162357D2354745A4D295162773
Device Display Name: OPNFILER iSCSI Disk (t10.F405E46494C45425F4D614162357D2354745A4D295162773)
Storage Array Type: VMW_SATP_DEFAULT_AA
Storage Array Type Device Config: SATP VMW_SATP_DEFAULT_AA does not support device configuration.
Path Selection Policy: VMW_PSP_RR
Path Selection Policy Device Config: {policy=iops,iops=1,bytes=10485760,useANO=0;lastPathIndex=2: NumIOsPending=0,numBytesPending=0}
Path Selection Policy Device Custom Config:
Working Paths: vmhba33:C0:T3:L4, vmhba33:C1:T3:L4, vmhba33:C2:T3:L4, vmhba33:C3:T3:L4

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close