Example 2 (set up as follows):
•LSI 2G FC HBA installed on the HP 3PAR StoreServ Storage
•12 ESX hosts attached to a LSI port on the HP 3PAR StoreServ Storage Formula:
510 / 12 = 42.xxx (recommended max target port queue depth = 42)
Setting tgt_queue_depth for Emulex in ESX 3.x (example)
To set the tgt_queue_depth for an Emulex FC HBA in ESX 3.x to something other than the default requires a multistep process:
1.Shut down all of the virtual machines.
2.Log into the ESX service console as root.
3.Make a backup copy of /etc/vmware/esx.conf.
cp /etc/vmware/esx.conf /etc/vmware/esx.conf.orig
4.Identify the Emulex HBA module that is currently loaded.
vmkload_mod
Depending on the module of the HBA, the module can be one of the following:
•lpfcdd_7xx
•lpfcdd_732
•lpfc_740
5.The target queue depth can now be modified via the command line using VMware supplied binaries.
The example shows the lpfc_740 module. Use the appropriate module based on the outcome of Step 4.
6.You can check to see that the change has been implemented as follows:
7.Reboot the ESX host for the changes to take effect.
Upon bootup, the ESX host will now be throttled to a maximum of 31 outstanding commands (as in the example shown in Step 5) to the target HP 3PAR StoreServ Storage port).
Setting ql2xmaxdepth for QLogic in ESX 3.x (example)
To set the ql2xmaxdepth for an QLogic FC HBA in ESX 3.x to something other than the default requires a multi step process.
1.Shut down all of the virtual machines.
2.Log into the ESX service console as root.