HP QR516B Unmap Space Reclaim Storage Hardware Support for ESXi, # cd /vmfs/volumes/volune-name

Page 53

NOTE: VAAI Plugin 2.2.0 is required if the ESXi 5.x server is connected to two or more arrays that are running a mix of OS HP 3PAR OS 2.3.1.x and OS 3.1.x. For LUNs on HP 3PAR OS 3.1.x, the default VMware T10 plugin will be effective, and for storage LUNs on HP 3PAR OS 2.3.x, HP 3PAR VAAI Plugin 2.2.0 will be effective.

For more information, refer to the HP 3PAR VAAI Plug-in Software for VMware vSphere User's Guide (HP part number QL226-96072).

To download the HP 3PAR VAAI Plugin software, go to:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do? productNumber=HP3PARVAAI&jumpid=reg_r1002_usen

UNMAP (Space Reclaim) Storage Hardware Support for ESXi 5.x

HP 3PAR OS 3.1.1 or later supports the UNMAP storage primitive for space reclaim, which is supported starting with ESXi 5.0 update 1 with default VMware T10 VAAI plugin. Installation of the HP 3PAR VAAI plugin is not required.

NOTE: To avoid possible issues described in VMware KB 2007427 and 2014849, automatic VAAI Thin Provisioning Block Space Reclamation (UNMAP) should be disabled on ESXi 5.0 GA.

The KB articles are available on the VMware Knowledge Base website:

http://kb.vmware.com

ESXi 5.0 update 1 and later includes an updated version of vmkfstools that provides an option [-y]to send the UNMAP command regardless of the ESXi host’s global setting. You can use the

[-y]option as follows:

#cd /vmfs/volumes/<volune-name>

vmkfstools -y <percentage of deleted block to reclaim>

NOTE: The vmkfstools -yoption does not work in ESXi 5.0 GA.

UNMAP will also free up space if files are deleted on UNMAP-supported VMs such as Red Hat Enterprise 6, provided it is a RDM LUN on a TPVV storage volume-—for example, for RDM volumes on a Red Hat VM using the ext4 filesystem and mounted using the discard option.

#mount —t ext4 —o discard /dev/sda2 /mnt

This will cause the RH6 VM to issue the UNMAP command and cause space to be released back on the array for any deletes in that ext4 file system.

Out-of-Space Condition for ESX 4.1 and ESXi 5.x

The out-of-space condition, aka "VM STUN", is implemented in ESX 4.1 and ESXi 5.x and is supported as of HP 3PAR OS 2.3.1 MU2. This OS feature has no dependency on the VAAI plugin and applies to TPVV volume types.

When the TPVV volume cannot allocate additional storage space or cannot grow because the storage system has run out of disk space, it sends Check condition with "DATA PROTECT" sense key hard error and additional sense "SPACE ALLOCATION FAILED WRITE PROTECT". As a result, ESX pauses the VM and displays an 'Out of Space' message to the user in the Summary tab of the VM on vSphere, with the options of Retry or Cancel. In the pause-VM condition, read requests and rewrites to the allocated LUN blocks are allowed, but writing to a new space is not allowed. Ping, telnet and ssh requests to the VM are not honored. The storage administrator needs to add additional disk space or use storage vMotion to migrate other unaffected VMs from the LUN. After

ESX/ESXi 4.1, ESXi 5.x Additional Feature Considerations 53

Image 53
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 Considerations# showport -par Configuring the HP 3PAR StoreServ Storage for Fibre ChannelSetting Up the Ports # 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# 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 # 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.50002ac000b40125# esxcli nmp device list -d naa.50002ac0005800ac Performance Considerations for Multiple Host ConfigurationsVMware ESX Releases through ESX 3.5 Update 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 VStorage APIs for Array Integration Vaai ESX/ESXi 4.1, ESXi 5.x Additional Feature ConsiderationsStorage I/O Control 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 HP 3PAR documentation Support and Other ResourcesContacting HP Reference Storage Physical Planning HP 3PAR branding information Typographic conventionsDocumentation feedback