HP QR516B manual Creating a Vlun for Export, # createvlun options VVname VVset LUN nodeslotport

Page 80

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

Concerning TPVVs, ESX VMFS-3 does not write data to the entire volume at initialization and it can be used with TPVVs without any configuration changes to VMFS. A further examination of this subject, recommendations, and limitations are explored in the HP document 3PAR Utility Storage with VMware vSphere.

Creating a VLUN for Export

Creation of a VLUN template enables export of a VV as a VLUN to one or more ESX hosts. There are four types of VLUN templates:

port presents - created when only the node:slot:port are specified. The VLUN is visible to any initiator on the specified port.

host set - created when a host set is specified. The VLUN is visible to the initiators of any host that is a member of the set.

host sees - created when the hostname is specified. The VLUN is visible to the initiators with any of the host’s WWNs.

matched set - created when both hostname and node:slot:port are specified. The VLUN is visible to initiators with the host’s WWNs only on the specified port.

You have the option of exporting the LUNs through the HP 3PAR Management Console or the

HP 3PAR OS CLI.

Using the HP 3PAR Management Console

1.From the Menu bar, select Actions→Provisioning→VLUN→Create VLUN.

2.Use the Export Virtual Volume dialog box to create a VLUN template.

Using the HP 3PAR OS CLI

To create a port presents VLUN template, issue the following command:

#createvlun [options] <VV_name VV_set> <LUN> <node:slot:port

To create a host sees or host set VLUN template, issue the following command:

#createvlun [options] <VV_name VV_set> <LUN> <host_name/set>

To create a matched set VLUN template, issue the following command:

#createvlun [options] <VV_name VV_set> <LUN> <node:slot:port>/<host_name>

To create a host set VLUN template, issue the following command:

#createvlun [options] <VV_name VV_set> <LUN> <host_set>

Here is an example:

#createvlun -cnt 5 TESTLUNs.0 0 hostname/hostdefinition

or:

# createvlun -cnt 5 TESTVLUN.0 0 set:hostsetdefination

80 Allocating Storage for Access by the ESX Host

Image 80
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