HP QR516B manual ESX/ESXi 4.1 GA 4.1 Ux

Page 43

CAUTION: The procedure for changing the default SATP rules to use the round robin I/O multipathing policy is intended to apply only to VMware hosts using HP 3PAR StoreServ Storage LUNs. If the host is sharing storage from other vendors, then before making any I/O policy changes, consideration should be given to the effect that changing the default rules will have on the storage environment as a whole.

A change of the default PSP for a given SATP affects all storage devices (FC, FCoE, iSCSI) that use the same default SATP rule. If a host is sharing multiple storage vendors together with an HP 3PAR StoreServ Storage, and if the other connected storage does not support active/active round robin multipathing using the same SATP rule, such as VMW_SATP_DEFAULT_AA or VMW_DEFAULT_ALUA, then its multipathing will be also be affected.

If the other storage uses a different SATP of its own, then SATP VMW_SATP_DEFAULT_AA mapping should be changed to VMW_PSP_RR to take advantage of round-robin multipathing. You can check the SATP-PSP relationship of a given device for ESX 4.0 by using the esxcli nmp device list or esxcli nmp device list -d <device id> command.

For example, If the HP 3PAR StoreServ Storage and storage X are connected to the same host using VMW_SATP_DEFAULT_AA, and if storage X does not have its own SATP, then it might cause an issue if storage X does not support round-robin multipathing. If the HP 3PAR StoreServ Storage and storage Y are sharing the same host, and if storage Y has its own SATP VMW_SATP_Y and HP uses VMW_SATP_DEFAULT_AA, then there will be no conflict, and the change can be made.

ESX/ESXi 4.1 GA - 4.1 Ux

HP 3PAR custom SATP rule for use with persona 6/Generic-legacy (Active-Active array port presentation)

#esxcli nmp satp addrule -s "VMW_SATP_DEFAULT_AA" -P "VMW_PSP_RR" -O iops=100 -c "tpgs_off" -V "3PARdata" -M "VV" -e "HP 3PAR Custom iSCSI/FC/FCoE Rule"

To remove the above active-active custom SATP rule:

#esxcli nmp satp deleterule -s "VMW_SATP_DEFAULT_AA" -P "VMW_PSP_RR" -O iops=100 -c "tpgs_off" -V "3PARdata" -M "VV" -e "HP 3PAR Custom iSCSI/FC/FCoE Rule"

HP 3PAR custom SATP rule for use with persona 11/VMware (ALUA compliant array port presentation)

#esxcli nmp satp addrule -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O iops=100 -c "tpgs_on" -V "3PARdata" -M "VV" -e "HP 3PAR Custom iSCSI/FC/FCoE ALUA Rule"

To remove the above ALUA custom SATP rule:

#esxcli nmp satp deleterule -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O iops=100 -c "tpgs_on" -V "3PARdata" -M "VV" -e "HP 3PAR Custom iSCSI/FC/FCoE ALUA Rule"

ESXi 5.x

HP 3PAR custom SATP rule for use with persona 6/Generic-legacy (Active-Active array port presentation)

#esxcli storage nmp satp rule add -s "VMW_SATP_DEFAULT_AA" -P "VMW_PSP_RR" -O iops=100 –c "tpgs_off" -V "3PARdata" -M "VV" -e "HP 3PAR Custom iSCSI/FC/FCoE Rule"

Multipath Failover Considerations and I/O Load Balancing 43

Image 43
Contents HP 3PAR VMware ESX Implementation Guide Acknowledgments Contents Support and Other Resources Configuring the Host for an iSCSI ConnectionAllocating Storage for Access by the ESX Host TargetDocumentation feedback Required Supported ConfigurationsIntroduction 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 ConfigurationsSoftware iSCSI Support Configuring the HP 3PAR StoreServ Storage for iSCSISetting Up the Ports for an iSCSI Connection # controlport config iscsi # showport# 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# showport -fcoe Configuring the HP 3PAR StoreServ Storage for FCoE# controlport config fcoe # showport 031 # showport -i 031# controlport offline Showport Turn off the iSCSI portsCreating the Host Definition Target Port Limits and Specifications # esxcli brocade bcu --command=vhba --query 1/0 Configuring the Host for a Fibre Channel ConnectionInstalling the HBA and Drivers # esxcli brocade bcu --command=port --listHttp//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 Commands# esxcli storage nmp device list naa.50002ac0000a0124 Satp Custom Rules and Associated Defined ParametersShow Device Information # esxcli nmp satp listrules grep -i 3par# 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 Esxcli storage core device list --device devicename VMware ESX Release 3.5 Update 4 through ESX 4.x and ESXiVMware ESXi Release # esxcli storage core device list497 / 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 ESXi# mount -t ext4 -o discard /dev/sda2 /mnt # cd /vmfs/volumes/volune-nameUnmap Space Reclaim Storage Hardware Support for ESXi Out-of-Space Condition for ESX 4.1 and ESXi# showalert Additional New Primitives Support on ESXi Vaai and New Feature Support TableVaai Status supported Vaai Plugin Verification# esxcli storage core plugin list # esxcfg-scsidevs -l naa.50002ac0002200d7# 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 Using the HP 3PAR OS CLI Allocating Storage for Access by the ESX HostCreating Virtual Volumes for HP 3PAR OS 2.2.4 and Later Using the HP 3PAR Management Console# createaldvv -cnt 5 TESTLUNs 5G Creating Virtual Volumes for HP 3PAR OS 2.2.3 or EarlierExporting LUNs to an ESX Host # createaldvv options vvname.index sizegGtT# createvlun options VVname VVset LUN nodeslotport/hostname Creating a Vlun for Export# createvlun options VVname VVset LUN nodeslotport # createvlun options VVname VVset LUN hostname/setDiscovering 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