HP QR516B manual Persistent Ports Setup and Connectivity Guidelines, # showport

Page 16

In HP 3PAR Storage arrays with more than two nodes, failover behavior occurs on node pairs; that is, if node 0 goes down, ports on node 0 fail over to node 1, if node 2 goes down, ports on node 2 fail over to node 3, and so on. Conversely, when node 1 goes down, ports on node 1 fail over to node 0, and when node 3 goes down, ports on node 3 fail over to node 2. When the downed node is up again, the failed-over ports automatically fail back to their original ports. During the failover and failback process, a short pause in I/O could be experienced by the host.

Persistent Ports Setup and Connectivity Guidelines

For Persistent Ports to function properly, specific cabling setup and connectivity guidelines that need to be followed can be found in the HP 3PAR Command Line Interface Administrator’s Manual, “Using Persistent Ports for Nondisruptive Online Software Upgrades.” See this document for other information about Persistent Ports as well.

The fabric switch ports connecting to the HP 3PAR array ports must support NPIV and have the feature enabled in order for Persistent Ports to work.

The showport command output includes Partner and FailoverState columns that display the partner port <node>:<slot>:<port> information and failover state information, respectively. FailoverState values represent the failover state of the two ports listed in the N:S:P and Partner columns. The FailoverState value can be one of the following:

none: No failover in operation

failover_pending: In the process of failing over to partner

failed_over: Failed over to partner

active: The partner port is failed over to this port

active_down: The partner port is failed over to this port, but this port is down

failback_pending: In the process of failing back from partner

Use the showport HP 3PAR CLI commands to get the state of the persistent ports. In the output of the showport command shown below, under the Partner column, port 1:1:1 is the partner port that 0:1:1 would fail over to and 0:1:1 is the partner port to which 1:1:1 would fail over. When Persistent Ports is not active, the FailoverState for the ports would indicate none.

#showport

N:S:P

Mode

State

----Node_WWN----

- Port_WWN/HW_Addr- Type

Protocol Label

Partner

Failover State

 

 

 

 

 

0:0:1

initiator ready

50002ACFF70185E1

50002ACFF70185E1

disk

SAS

-

-

-

 

 

 

 

 

 

0:1:1

target

ready

2FF70002AC0185E1

2FF70002AC0185E1

host

FC

-

1:1:1

none

 

 

 

 

 

 

When a node is down during an online upgrade or node reboot, from the output of the showport command, the FailoverState column would show that Persistent Ports is active. In the example below, node 1 has gone down, Persistent Ports for 1:1:1 has become active on port 0:1:1, and

all filesystem I/O for port 1:1:1 is physically served by port 0:1:1.

#showport

N:S:P

Mode

State

----Node_WWN----

- Port_WWN/HW_Addr- Type

Protocol Label

Partner

Failover State

 

 

 

 

 

0:0:1

initiator ready

50002ACFF70185E1

50002ACFF70185E1

disk

SAS

-

-

-

 

 

 

 

 

 

0:1:1

target

ready

2FF70002AC0185E1

2FF70002AC0185E1

host

FC

-

1:1:1

active

 

 

 

 

 

 

16 Configuring the HP 3PAR StoreServ Storage for Fibre Channel

Image 16
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 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 LimitationsConfiguring the HP 3PAR StoreServ Storage for iSCSI Setting Up the Ports for an iSCSI Connection# controlport config iscsi # showport 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 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.50002ac0005800acVMware ESX Releases through ESX 3.5 Update Performance Considerations for Multiple Host Configurations# esxcli nmp device list -d naa.50002ac0005800ac 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 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 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 Contacting HP Support and Other ResourcesHP 3PAR documentation Reference Storage Physical Planning Typographic conventions HP 3PAR branding informationDocumentation feedback