HP 3PAR VMware ESX Implementation Guide

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 currently loaded.
vmkload_mod l | grep i lpfc
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 results
of the previous step.
esxcfg-module s lpfc_tgt_queue_depth=31 lpfc_740
esxcfg-boot b
6. You can check to see that the change took effect as follows:
esxcfg-module -q
7. Reboot the ESX host for the changes to take effect.
Upon booting, the ESX host will now be throttled to a maximum of 31 outstanding commands
(as in the example shown in 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 a value 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.
3. Make a backup copy of /etc/vmware/esx.conf.
cp /etc/vmware/esx.conf /etc/vmware/esx.conf.orig
86 Appendix