HP QR516B manual 497 / 16 = 31.xxx recommended max target port queue depth =

Page 49

Follow-up Actions/Recommendations for ESX 3.5 Update 3 and Earlier

The behavior of the HP 3PAR StoreServ Storage port being overrun is limited only to ESX 3.5 update 3 and earlier servers.

Other HP-supported operating systems handle Queue Full notifications by backing off on I/O for a period of time. HP currently does not have any HP 3PAR StoreServ Storage firmware to address this issue but there are recommendations that can help prevent this problem from occurring as detailed in the following sections.

Considering that the ESX 3.5 update 3 and older server default behavior with regard to “Queue Full” messages does not initiate a pause or throttling of I/O, it is important to plan your ESX environments accordingly. This involves tuning the work load of the total number of ESX hosts so they do not overrun the Queue Depth of the target HP 3PAR StoreServ Storage HBA Ports.

Recommendations for ESX Hosts Attached to a Storage Port on the HP 3PAR StoreServ Storage

For performance and stability, HP recommends that no more than 16 hosts be attached to any one 2 Gbps HP 3PAR StoreServ Storage port, and no more than 32 hosts attached to any one 4 Gbps or 8 Gbps HP 3PAR StoreServ Storage port. This is due to the HP recommendation to throttle the total aggregate of the outstanding commands from all hosts to be less than the queue depth of the HP 3PAR StoreServ Storage port and throughput.

NOTE: These recommendations are guidelines for best practice. Adding more than the recommended ESX hosts should only be attempted when the total expected workload is calculated and shown not to overrun either the queue depth or throughput of the storage port.

Modifying the Tuneable Parameters for Queue Depth Throttling in ESX 3.x

The default settings for target port queue depth on the ESX host can be modified to ensure that the total workload of all servers will not overrun the total queue depth of the target HP 3PAR StoreServ Storage port. The method endorsed by HP is to limit the queue depth on a per-target basis. This recommendation comes from the simplicity in limiting the number of outstanding commands on a target (HP 3PAR StoreServ Storage port) per ESX host.

The following values can be set on the instances of an HBA in an ESX operating system. These values limit the total number of outstanding commands that the operating system routes to one target.

1.ESX Emulex HBA Target Throttle = tgt_queue_depth

2.ESX QLogic HBA Target Throttle = ql2xmaxdepth

The formula is as follows:

(3PAR port queue depth) / (total number of ESX severs attached) = recommended target port queue depth.

The HP 3PAR port queue depth limitations used for the calculations are from the listings in “Target Port Limits and Specifications” (page 14).

Example 1 (set up as follows):

QLogic 2G FC HBAs installed on the HP 3PAR StoreServ Storage

16 ESX hosts attached to a QLogic port on the HP 3PAR StoreServ Storage Formula:

497 / 16 = 31.xxx (recommended max target port queue depth = 31)

Performance Considerations for Multiple Host Configurations

49

Image 49
Contents HP 3PAR VMware ESX Implementation Guide Acknowledgments Contents Allocating Storage for Access by the ESX Host Configuring the Host for an iSCSI ConnectionTarget Support and Other ResourcesDocumentation feedback Introduction Supported ConfigurationsRequired RequiredAudience HP 3PAR OS Upgrade ConsiderationsSetting Up the Ports Configuring the HP 3PAR StoreServ Storage for Fibre Channel# showport -par # showhost -listpersona Creating the Host Definition# showhost -persona # showhost# controlport persona 7 nodeslotport # createhost ESXserver1 10000000C9724AB2 10000000C97244FE Setting Up and Zoning the FabricHP 3PAR Coexistence Configuration Guidelines for Fabric VendorsAdminportcfgfillword Target Port Limits and SpecificationsHP 3PAR Priority Optimization Persistent Ports # showport Persistent Ports Setup and Connectivity GuidelinesPersistent Ports Limitations Unsupported ConfigurationsSetting Up the Ports for an iSCSI Connection Configuring the HP 3PAR StoreServ Storage for iSCSI# controlport config iscsi # showport Software iSCSI Support# vmkping # showport -iscsi# controliscsiport ping 10.1.1.10 ESX1 Setting Up and Configuring Chap Authentication Chap Authentication in ESX Chap Credentials in ESX/ESXi 4.x or ESX/ESXi For ESX 4.x # showhost -chap Hardware iSCSI SupportSetting a Static IP Address Showiscsisession Chap Configuration for One-Way Chap Chap Configuration for Mutual Chap HP 3PAR Priority Optimization Target Port Limits and Specifications# controlport config fcoe # showport 031 Configuring the HP 3PAR StoreServ Storage for FCoE# showport -i 031 # showport -fcoe# controlport offline Showport Turn off the iSCSI portsCreating the Host Definition Target Port Limits and Specifications Installing the HBA and Drivers Configuring the Host for a Fibre Channel Connection# esxcli brocade bcu --command=port --list # esxcli brocade bcu --command=vhba --query 1/0Http//kb.vmware.com Installing Virtual Machine Guest Operating System# cat /etc/rc.local Multipath Failover Considerations and I/O Load BalancingConfiguring the Host for a Fibre Channel Connection Multipath Failover Considerations and I/O Load Balancing LUN Set to Round Robin Vmwpsprr Vmwpspfixed Vmwpspmru To remove the above Alua custom Satp rule ESX/ESXi 4.0 GA 4.0 UxESXi ESX/ESXi 4.1 GA 4.1 UxDefault Satp Rules and Their Current Default PSP Satp Info CommandsShow Device Information Satp Custom Rules and Associated Defined Parameters# esxcli nmp satp listrules grep -i 3par # esxcli storage nmp device list naa.50002ac0000a0124# esxcli storage nmp device list -d naa.50002ac0005800ac # esxcli nmp device list naa.50002ac000b40125VMware ESX Releases through ESX 3.5 Update Performance Considerations for Multiple Host Configurations# esxcli nmp device list -d naa.50002ac0005800ac VMware ESXi Release VMware ESX Release 3.5 Update 4 through ESX 4.x and ESXi# esxcli storage core device list Esxcli storage core device list --device devicename497 / 16 = 31.xxx recommended max target port queue depth = Lpfcdd7xx Lpfcdd732 Lpfc740 Storage I/O Control ESX/ESXi 4.1, ESXi 5.x Additional Feature ConsiderationsVStorage APIs for Array Integration Vaai HP 3PAR Vaai Plugin 2.2.0 for ESXi HP 3PAR Vaai Plugin 1.1.1 for ESXiUnmap Space Reclaim Storage Hardware Support for ESXi # cd /vmfs/volumes/volune-nameOut-of-Space Condition for ESX 4.1 and ESXi # mount -t ext4 -o discard /dev/sda2 /mnt# showalert Additional New Primitives Support on ESXi Vaai and New Feature Support Table# esxcli storage core plugin list Vaai Plugin Verification# esxcfg-scsidevs -l naa.50002ac0002200d7 Vaai Status supported# esxcli storage core plugin list Plugin name Plugin class # esxcfg-scsidevs -l naa.50002ac003da00ebHardware Acceleration for HP 3PAR devices VMware All Paths DownUsing system Bios to configure FCoE Configuring the FCoE SwitchConfiguring FCoE Configuring the PCI Slots Exiting the Bios Utility Configuring Initiator FCoE to FC TargetInitiator FCoE to FC Target Configuring Initiator FCoE to Target FCoEInitiator FCoE to Target FCoE Installing iSCSI on VMware ESX Configuring the Host for an iSCSI ConnectionConfiguring the Host for an iSCSI Connection Creating a VMkernel Port Configuring the Host for an iSCSI Connection Click OK to complete Click Next Configuring the Host for an iSCSI Connection Page Configuring the VMware iSCSI Initiator Configuring the VMware iSCSI Initiator Configuring the Host for an iSCSI Connection Configuring the VMware iSCSI Initiator # showhost ESX/ESXi Additional Feature Considerations Creating Virtual Volumes for HP 3PAR OS 2.2.4 and Later Allocating Storage for Access by the ESX HostUsing the HP 3PAR Management Console Using the HP 3PAR OS CLIExporting LUNs to an ESX Host Creating Virtual Volumes for HP 3PAR OS 2.2.3 or Earlier# createaldvv options vvname.index sizegGtT # createaldvv -cnt 5 TESTLUNs 5G# createvlun options VVname VVset LUN nodeslotport Creating a Vlun for Export# createvlun options VVname VVset LUN hostname/set # createvlun options VVname VVset LUN nodeslotport/hostnameDiscovering LUNs on VMware ESX Hosts Removing VolumesEventlog and Host Log Messages Host and Storage UsageHost and Storage Usage Page Contacting HP Support and Other ResourcesHP 3PAR documentation Reference Storage Physical Planning HP 3PAR branding information Typographic conventionsDocumentation feedback