- ESX iSCSI initiator fully supports NIC binding and MPIO (multipath) but VmWare doesn`t support using them in aggregation mode at the same time.
- Please refer to the 2nd post in this topic if you decide to assign active-passive NIC port configuration like described in this document.
- If you use NFS and iSCSI storage on one host you should use NIC teaming for both and don`t use MPIO.
- Using "IP Hash" load balancing policy with NIC teaming, but will limit you with 1 iSCSI connection per host. Also you can take a look at VmWare KB article 100737 about troubleshooting and proper configuration of IP Hash load balancing policy.
- Default path failure detection is 300 sec. VmWare doesn`t recommend to change, but if you like you can do it going to Advanced settings of ESX and change value of option Disk.PathEvalTime from 30 to 1500.
You can set up disk I/O timeout in Windows registry in following key
Code: Select all
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk\TimeOutValue
- Without VMware Tools installed (non-cluster) - 10 seconds
- Without VMware Tools installed (cluster node) - 20 seconds
- With VMware Tools installed - 60 seconds
You can set up I/O timeoutwith following command:
Code: Select all
cat /sys/block/<disk>/device/timeout
- Without VMware Tools installed = 60 seconds (for CentOS)
- With VMware Tools installed = 180 seconds
Using recommended MPIO policy
To achieve higher performance we recommend to use Round Robin policy in iSCSI initiator. By default ESX(i) uses FixedPath policy. You can change it to RR by choosing "Manage path" option in properties of datastore or target (can be found in "Datastore" or "Storage devices" menu).
Either by default ESX(i) switches to another path every 1000 IOPS. To improve bandwidth and performance you can change this value to lower. You can do it following way:
Connect to ESX(i) with SSH or open local console, and type in
Code: Select all
esxcli nmp roundrobin setconfig --device [UUID] --iops 1 --type iops
Code: Select all
esxcli storage nmp psp roundrobin deviceconfig set -d [UUID] -t iops -I 1
Code: Select all
esxcli nmp roundrobin getconfig --device [UUID]