HP QR516B manual Creating the Host Definition, # showhost -listpersona

Page 9

2.If the port has not been configured, take the port offline before configuring it for the ESX host by issuing the following HP 3PAR OS CLI command:

controlport offline [node:slot:port]

CAUTION: Before taking a port offline in preparation for a direct or fabric connection, you should verify that the port has not been previously defined and that it is not already connected to a host as this would interrupt the existing host connection.

If an HP 3PAR StoreServ Storage port is already configured for a direct or fabric connection, you can ignore this step, as you do not have to take the port offline.

3.To configure the port for the host, issue the following command, with the appropriate option for the -ctparameter:

controlport config host -ct [loop point] [node:slot:port]

For a direct connection:

Use the -ct loop parameter to specify a direct connection. For a fabric connection:

Use the -ct point parameter to specify a fabric connection.

4.Issue the controlport rst command to reset and register the new port definitions. The following example shows how to set up a fabric connected port.

%controlport offline 1:5:1

%controlport config host -ct point 1:5:1

%controlport rst 1:5:1

Creating the Host Definition

Before connecting the ESX host to the HP 3PAR StoreServ Storage, a host definition needs to be created that specifies a valid host persona for each HP 3PAR StoreServ Storage port that is to be connected to a host HBA port through a fabric or direct connection. ESX/ESXi uses the generic legacy host persona of 6 for HP 3PAR OS 3.1.1 or earlier.

As of HP 3PAR OS 3.1.2, a second host persona 11 (VMware), which enables asymmetric logical unit access (ALUA) is available. Host persona 11 (VMware) is recommended for new ESX/ESXi installations and is required for ESX/ESXi hosts configured as part of a HP 3PAR Peer Persistence configuration. For ESX/ESXi with HP 3PAR Remote Copy, refer to the Remote Copy Users Guide for the appropriate host persona to use in specific Remote Copy configurations.

NOTE: When changing an existing host persona from 6 to 11, a host reboot is required tor the change to take effect. This is an offline process. See “Configuring ESX/ESXi Multipathing for Round Robin via SATP PSP” (page 40) for the detailed procedure, as the host persona change should coincide with changing the SATP rules on the host as well.

For both host persona 6 and persona 11, see the appropriate chapters in this guide for iSCSI, Fibre Channel, or FCoE setup considerations.

1.To display available host personas, issue the following command:

#showhost -listpersona

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

9

Image 9
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 ConsiderationsConfiguring the HP 3PAR StoreServ Storage for Fibre Channel Setting Up the Ports# 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# showport -iscsi # vmkping# 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.50002ac000b40125Performance Considerations for Multiple Host Configurations VMware ESX Releases through ESX 3.5 Update# 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 ESX/ESXi 4.1, ESXi 5.x Additional Feature Considerations Storage I/O ControlVStorage 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 Support and Other Resources Contacting HPHP 3PAR documentation Reference Storage Physical Planning HP 3PAR branding information Typographic conventionsDocumentation feedback