HP QR516B manual Host and Storage Usage, Eventlog and Host Log Messages

Page 82

Figure 20 Detaching a LUN

Host and Storage Usage

Eventlog and Host Log Messages

All HP 3PAR system debug messages can be seen using the showeventlog -debug cli command. On the ESX host, errors are reported in /var/log/vmkernel files. Use the showalert HP 3PAR OS CLI command to see alerts and warnings posted from the HP 3PAR StoreServ Storage. Some examples of storage server posted messages:

If the user has set the space allocation warning for a TPVV volume, the system eventlog will show the Thin provisioning soft threshold reached message when the limit is hit.

Example:

1 DebugHost error undefined Port 1:5:2 -- SCSI status 0x02 (Check condition) Host:sqa-dl380g5-14-esx5 (WWN 2101001B32A4BA98) LUN:22 LUN

WWN:50002ac00264011c VV:0 CDB:280000AB082000000800 (Read10) Skey:0x06 (Unit attention) asc/q:0x38/07 (Thin provisioning soft threshold reached) VVstat:0x00

(TE_PASS

-- Success) after 0.000s (Abort source unknown) toterr:74882,

lunerr:2

 

If the user has set a hard limit on the HP 3PAR StoreServ Storage volume when using HP 3PAR OS 2.3.1 MU2 or later, the HP 3PAR StoreServ Storage will post the write protect error (ASC/Q: 0x27/0x7) when the limit is reached. This is considered a hard error, and the VM is stunned in ESX 4.x and ESXi 5.x. Additional space needs to be added to the storage to clear the error condition.

PDT

1 Debug

 

Host error

undefined Port 1:5:2 -- SCSI status

0x02 (Check condition)

Host:sqa-dl380g5-14-esx5 (WWN 2101001B32A4BA98) LUN:22

LUN WWN:50002ac00264011c VV:612 CDB:2A00005D6CC800040000 (Write10) Skey:0x07 (Data

protect) asc/q:0x27/07

(Space allocation failed write protect) VVstat:0x41

(VV_ADM_NO_R5

--

No space left on snap data volume) after 0.302s (Abort

source unknown) toterr:74886, lunerr:3

For ESX 4.x or ESXi 5.x, an ESX host managed by vSphere client or vCenter Server will scan for LUNs at 5-minute intervals by issuing the REPORT LUN command and discovering any new LUNs.

82 Allocating Storage for Access by the ESX Host

Image 82
Contents HP 3PAR VMware ESX Implementation Guide Acknowledgments Contents Target Configuring the Host for an iSCSI ConnectionAllocating Storage for Access by the ESX Host Support and Other ResourcesDocumentation feedback Required Supported ConfigurationsIntroduction RequiredHP 3PAR OS Upgrade Considerations AudienceSetting Up the Ports Configuring the HP 3PAR StoreServ Storage for Fibre Channel# showport -par 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 Limitations# controlport config iscsi # showport Configuring the HP 3PAR StoreServ Storage for iSCSISetting Up the Ports for an iSCSI Connection Software iSCSI Support# 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 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 Optimization# showport -i 031 Configuring the HP 3PAR StoreServ Storage for FCoE# controlport config fcoe # showport 031 # showport -fcoeTurn off the iSCSI ports # controlport offline ShowportCreating the Host Definition Target Port Limits and Specifications # esxcli brocade bcu --command=port --list Configuring the Host for a Fibre Channel ConnectionInstalling the HBA and Drivers # 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 PSP# esxcli nmp satp listrules grep -i 3par Satp Custom Rules and Associated Defined ParametersShow Device Information # esxcli storage nmp device list naa.50002ac0000a0124# esxcli nmp device list naa.50002ac000b40125 # esxcli storage nmp device list -d naa.50002ac0005800acVMware 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 VMware ESX Release 3.5 Update 4 through ESX 4.x and ESXiVMware ESXi Release Esxcli storage core device list --device devicename497 / 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 1.1.1 for ESXi HP 3PAR Vaai Plugin 2.2.0 for ESXiOut-of-Space Condition for ESX 4.1 and ESXi # cd /vmfs/volumes/volune-nameUnmap Space Reclaim Storage Hardware Support for ESXi # mount -t ext4 -o discard /dev/sda2 /mnt# showalert Vaai and New Feature Support Table Additional New Primitives Support on ESXi# esxcfg-scsidevs -l naa.50002ac0002200d7 Vaai Plugin Verification# esxcli storage core plugin list 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 Using the HP 3PAR Management Console Allocating Storage for Access by the ESX HostCreating Virtual Volumes for HP 3PAR OS 2.2.4 and Later Using the HP 3PAR OS CLI# createaldvv options vvname.index sizegGtT Creating Virtual Volumes for HP 3PAR OS 2.2.3 or EarlierExporting LUNs to an ESX Host # createaldvv -cnt 5 TESTLUNs 5G# createvlun options VVname VVset LUN hostname/set Creating a Vlun for Export# createvlun options VVname VVset LUN nodeslotport # 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 Contacting HP Support and Other ResourcesHP 3PAR documentation Reference Storage Physical Planning Typographic conventions HP 3PAR branding informationDocumentation feedback