Professional Documents
Culture Documents
MPIO
16: You now need to make sure the NICs listed vmk1 and vmk0 are bound to the
Vmkernel port so type vmkiscsi-tool -V -a vmk1 vmhba33 for the first nic and press
return and vmkiscsi-tool -V -a vmk0 vmhba33 for the second nic
17: You will see vmk1 or vmk0 already bound if this was successful
18: Confirm both NICS are bound with the following command > esxcli swiscsi nic list -
d vmhba33 and you will see the following below if everything is ok
19: You now need to add the ISCSI target from the VI client so it will pick up the LUNS
And run a VMFS rescan20
20: Once the scan is finished if you view the configuration for the ISCSI adapter you will
see that the ISCSI Vsphere Initiator now has two active paths but only one path has active
I/O this is because the default Vsphere NMP is set to fixed we need to change this to
round robin so that it will create two active I/0 paths and therefore increase performance
and utilize the Lefthand MPIO
21: Highlight the devices tab and click manage paths. You will then screen the below
You need to change the path selection to Round Robin from Fixed and then you will see
Two paths with I/O. This needs to be done for every LUN and the following script can be
used from the service console if this needs to be applied to a large amount of LUNS
esxcli nmp device list | awk '/^naa/{print "esxcli nmp device setpolicy --device "$0" -
-psp VMW_PSP_RR" };'
This will create a list on cmds that you then cut and paste from the SSH shell to and they
will manually run when you press return.
22: Vmware NMP round robin has I/O limit per path of 1000 commands before it will
transmit data the next active I/O path. This can cause issues whereby smaller packets than
100 commands will always take the same path and we not see the true benefits of
active/actice MPIO
We need to change I/O limit on the path to one command to force this. If you run the
following command with the LUN identifier copied from the VI client you can see that
the I/O limit is 1000
The solution is edit the rc.local file (which basically is a script that runs at the end of
boot up) to set the limit IOPS limit on on all luns
Enter this command, the only variable you will need to change is the “naa.600” witch
pertains to the identifier on array