HP QR516B manual Configuring the HP 3PAR StoreServ Storage for Fibre Channel, Setting Up the Ports

Page 8

2 Configuring the HP 3PAR StoreServ Storage for Fibre Channel

This chapter explains how to establish a Fibre Channel connection between the HP 3PAR StoreServ Storage and a VMware ESX host and covers HP 3PAR OS 3.1.x, OS 2.3.x, and 2.2.x versions. For information on setting up the physical connection for a particular HP 3PAR StoreServ Storage, see the appropriate HP 3PAR installation manual.

Configuring the HP 3PAR StoreServ Storage Running HP 3PAR OS 3.1.x or OS 2.3.x

This section describes how to connect the HP 3PAR StoreServ Storage to an ESX host over a Fibre Channel network when running HP 3PAR OS 3.1.x or OS 2.3.x.

By default, the QLogic, Emulex, and Brocade drivers for the VMware ESX host support failover. For failover support using the QLogic, Emulex, or Brocade driver, virtual volumes should be simultaneously exported down multiple paths to the host. To do this, create a host definition on the HP 3PAR StoreServ Storage that includes the WWNs of multiple HBA ports on the host and then export the VLUNs to that host definition. If each ESX host within a cluster has its own host definition, the VLUNs must be exported to multiple host definitions.

Required

The following setup must be completed before connecting the HP 3PAR StoreServ Storage port to a device.

NOTE: When deploying HP Virtual Connect direct-attach FC storage for HP 3PAR storage systems, where the HP 3PAR StoreServ Storage ports are cabled directly to the uplink ports on the HP Virtual Connect FlexFabric 10 Gb/24-port Module for c-Class BladeSystem, follow the steps for configuring the HP 3PAR StoreServ Storage ports for a fabric connection.

For more information about HP Virtual Connect, HP Virtual Connect interconnect modules, and the HP Virtual Connect direct-attach feature, see HP Virtual Connect documentation and the HP SAN Design Reference Guide. This documentation is available on the HP BSC website:

http://www.hp.com/go/bsc

Setting Up the Ports

Before connecting the HP 3PAR StoreServ Storage to a host, the connection type and mode must be specified. To set up the HP 3PAR StoreServ Storage ports for a direct or fabric connection, complete the following steps for each port.

1.To determine if a port has already been configured in host mode, issue the HP 3PAR OS CLI showport -parcommand. A host port is essentially a target mode port where the initiator or host can log in to the HP 3PAR StoreServ Storage.

#showport -par

N:S:P Connmode ConnType CfgRate MaxRate Class2 UniqNodeWwn VCN IntCoal 2:0:1 disk loop auto 4Gbps disabled disabled disabled enabled 2:0:2 disk loop auto 4Gbps disabled disabled disabled enabled 2:4:1 disk loop auto 4Gbps disabled disabled disabled enabled 2:4:2 disk loop auto 4Gbps disabled disabled disabled enabled 3:0:1 disk loop auto 4Gbps disabled disabled disabled enabled 3:0:2 disk loop auto 4Gbps disabled disabled disabled enabled 3:4:1 disk loop auto 4Gbps disabled disabled disabled enabled 3:4:2 disk loop auto 4Gbps disabled disabled disabled enabled

8Configuring the HP 3PAR StoreServ Storage for Fibre Channel

Image 8
Contents HP 3PAR VMware ESX Implementation Guide Acknowledgments Contents Configuring the Host for an iSCSI Connection Allocating Storage for Access by the ESX HostTarget Support and Other ResourcesDocumentation feedback Supported Configurations IntroductionRequired RequiredHP 3PAR OS Upgrade Considerations Audience# showport -par Configuring the HP 3PAR StoreServ Storage for Fibre ChannelSetting Up the Ports Creating the Host Definition # showhost -listpersona# showhost # showhost -persona# controlport persona 7 nodeslotport Setting Up and Zoning the Fabric # createhost ESXserver1 10000000C9724AB2 10000000C97244FEConfiguration Guidelines for Fabric Vendors HP 3PAR CoexistenceTarget Port Limits and Specifications AdminportcfgfillwordHP 3PAR Priority Optimization Persistent Ports Persistent Ports Setup and Connectivity Guidelines # showportUnsupported Configurations Persistent Ports LimitationsConfiguring the HP 3PAR StoreServ Storage for iSCSI Setting Up the Ports for an iSCSI Connection# controlport config iscsi # showport Software iSCSI Support# controliscsiport ping 10.1.1.10 # showport -iscsi# vmkping 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 Hardware iSCSI Support # showhost -chapSetting a Static IP Address Showiscsisession Chap Configuration for One-Way Chap Chap Configuration for Mutual Chap Target Port Limits and Specifications HP 3PAR Priority OptimizationConfiguring the HP 3PAR StoreServ Storage for FCoE # controlport config fcoe # showport 031# showport -i 031 # showport -fcoeTurn off the iSCSI ports # controlport offline ShowportCreating the Host Definition Target Port Limits and Specifications Configuring the Host for a Fibre Channel Connection Installing the HBA and Drivers# esxcli brocade bcu --command=port --list # esxcli brocade bcu --command=vhba --query 1/0Installing Virtual Machine Guest Operating System Http//kb.vmware.comMultipath Failover Considerations and I/O Load Balancing # cat /etc/rc.localConfiguring the Host for a Fibre Channel Connection Multipath Failover Considerations and I/O Load Balancing LUN Set to Round Robin Vmwpsprr Vmwpspfixed Vmwpspmru ESX/ESXi 4.0 GA 4.0 Ux To remove the above Alua custom Satp ruleESX/ESXi 4.1 GA 4.1 Ux ESXiSatp Info Commands Default Satp Rules and Their Current Default PSPSatp Custom Rules and Associated Defined Parameters Show Device Information# esxcli nmp satp listrules grep -i 3par # esxcli storage nmp device list naa.50002ac0000a0124# esxcli nmp device list naa.50002ac000b40125 # esxcli storage nmp device list -d naa.50002ac0005800ac# esxcli nmp device list -d naa.50002ac0005800ac Performance Considerations for Multiple Host ConfigurationsVMware ESX Releases through ESX 3.5 Update VMware ESX Release 3.5 Update 4 through ESX 4.x and ESXi VMware ESXi Release# esxcli storage core device list Esxcli storage core device list --device devicename497 / 16 = 31.xxx recommended max target port queue depth = Lpfcdd7xx Lpfcdd732 Lpfc740 VStorage APIs for Array Integration Vaai ESX/ESXi 4.1, ESXi 5.x Additional Feature ConsiderationsStorage I/O Control HP 3PAR Vaai Plugin 1.1.1 for ESXi HP 3PAR Vaai Plugin 2.2.0 for ESXi# cd /vmfs/volumes/volune-name Unmap Space Reclaim Storage Hardware Support for ESXiOut-of-Space Condition for ESX 4.1 and ESXi # mount -t ext4 -o discard /dev/sda2 /mnt# showalert Vaai and New Feature Support Table Additional New Primitives Support on ESXiVaai Plugin Verification # esxcli storage core plugin list# esxcfg-scsidevs -l naa.50002ac0002200d7 Vaai Status supported# esxcfg-scsidevs -l naa.50002ac003da00eb # esxcli storage core plugin list Plugin name Plugin classVMware All Paths Down Hardware Acceleration for HP 3PAR devicesConfiguring the FCoE Switch Using system Bios to configure FCoEConfiguring FCoE Configuring the PCI Slots Configuring Initiator FCoE to FC Target Exiting the Bios UtilityConfiguring Initiator FCoE to Target FCoE Initiator FCoE to FC TargetInitiator FCoE to Target FCoE Configuring the Host for an iSCSI Connection Installing iSCSI on VMware ESXConfiguring 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 Allocating Storage for Access by the ESX Host Creating Virtual Volumes for HP 3PAR OS 2.2.4 and LaterUsing the HP 3PAR Management Console Using the HP 3PAR OS CLICreating Virtual Volumes for HP 3PAR OS 2.2.3 or Earlier Exporting LUNs to an ESX Host# createaldvv options vvname.index sizegGtT # createaldvv -cnt 5 TESTLUNs 5GCreating a Vlun for Export # createvlun options VVname VVset LUN nodeslotport# createvlun options VVname VVset LUN hostname/set # createvlun options VVname VVset LUN nodeslotport/hostnameRemoving Volumes Discovering LUNs on VMware ESX HostsHost and Storage Usage Eventlog and Host Log MessagesHost and Storage Usage Page HP 3PAR documentation Support and Other ResourcesContacting HP Reference Storage Physical Planning Typographic conventions HP 3PAR branding informationDocumentation feedback