ISCSI Optimization

  • View
    234

  • Download
    0

Embed Size (px)

DESCRIPTION

Force 10 MXL IO Module

Text of ISCSI Optimization

iSCSI Optimization

Force 10 MXL IO ModuleModule 6 : iSCSI OptimizationDell Force10 TAC Training1iSCSI Optimization3/24/20132ConfidentialDell Force10 TAC TrainingiSCSITCP/IP-based protocol (Layer3)establishing and managing connections between storage devices and initiators in a storage area network

iSCSI OptimizationMonitor iSCSI sessionsApply QoS policies on iSCSI trafficSnoop the creation and termination of iSCSI connections

iSCSI Optimization Overview

Dell Force10 TAC TrainingiSCSI Optimization FunctionalityAuto-detectionactive EqualLogic storage arraysAutomatic configurationswitch ports after detection of storage arraysManual configurationdetect Compellent storage arrays where auto-detection is not supported

iSCSI monitoring sessionsMonitors and tracks active iSCSI sessionsconnections on the switchport informationiSCSI session information

iSCSI QoSuser-configured iSCSI class of service (CoS) profileapplied to all iSCSI trafficiSCSI DCBX TLVs are supportedDell Force10 TAC TrainingiSCSI Monitoring/SnoopingiSCSI session monitoring (up to 256)monitors iSCSI connections made between hosts and serverssnooping iSCSI commands (defined in RFC 3720)loginlogoutlogin responselogout responseiSCSI snooping portsdefault: TCP ports 3260 and 860user can configure it to snoop on non standard portsnew sessionsystem will raise a syslog with session detailseach TCP connection is identified by:ISID (Initiator defined session identifier)iSCSI qualified nameInitiators IQNTargets IQNIP AddressInitiatorTargetTCP PortInitiatorTargetview current iSCSI sessions through CLI commandDell Force10 TAC TrainingiSCSI Class of Service (CoS)iSCSI CoSClassifier rules are used to direct the iSCSI data traffic to queuesgiven preferential QoS treatment over other data passing through the switchhelps to avoid session interruptions during times of congestion that would otherwise cause iSCSI packets to be dropped.COS treatment should be applied to iSCSI flows as described by iscsi target configurationsupport dot1p priority based profile with and without remark at egresssupport DSCP based profile with and without remark at egressEqualLogic Inter-array traffic(TCP ports 9876, 20002, 20003, 25555)Fixed and not configurableDell Force10 TAC TrainingTopology Diagram

Navasota IOMs StackedUp to 6 IOMs

S4810s/Nexus5K StackedUp to 3 S4810sUses 10G InterfacesUp to 8, 10G Stacking Cables Stacked bladesStacked SwitchesDCB Ethernetm1000eEQL ArraysSingle LAG supportsfull bandwidth

Dell Force10 TAC TrainingScalability and Known LimitationsAll Copy to CPU iSCSI packets rate limited at 500 packets per second (pps)unresolved ARP messages use queue 5may not learn all connectionsmay also miss FIN/RST packet for learnt sessionthe session/connection information stays till we age out

Dell Force10 TAC TrainingEnabling iSCSI OptimizationDell Force10 TAC TrainingiSCSI Default ConfigurationiSCSI EnabledFlow Controlenabled on all interfacesEQL auto-detectionJumbo Frames (MTU 12000)No Storm ControlSpanning Treeport-fastConfidential103/24/2013%STKUNIT0-M:CP %IFMGR-5-IFM_ISCSI_ENABLE: iSCSI has been enabled causing flow control to be enabled on all interfaces. EQL detection and enabling iscsi profile-compellent on an interface may cause some automatic configurations to occur like jumbo frames on all ports and no storm control and spanning tree port-fast on the port of detectionDell Force10 TAC TrainingiSCSI Default ConfigurationiSCSI ConfigurationiSCSI Enabled (enabled by default)iSCSI COS (enabled by default)dot1p or dscpiSCSI TCP Ports3260860

Confidential113/24/2013FTOS# show iscsiDisplay iSCSI ConfigurationiSCSI is enablediSCSI COS : dot1p is 4 no-remarkSession aging time: 10Maximum number of connections is 256------------------------------------------------iSCSI Targets and TCP Ports:------------------------------------------------TCP Port Target IP Address3260860Dell Force10 TAC TrainingConfiguring iSCSI CoSiSCSI Class of Service (CoS)dot1premarkdscpremarkFTOS(conf)# iscsi dot1p remarkConfigure iSCSI CoS dot1pFTOS(conf)# iscsi dscp remarkConfigure iSCSI CoS dscpFTOS# show iscsiDisplay iSCSI ConfigurationiSCSI is enablediSCSI COS : dot1p is 4 no-remarkSession aging time: 10Maximum number of connections is 256------------------------------------------------iSCSI Targets and TCP Ports:------------------------------------------------TCP Port Target IP Address3260860Dell Force10 TAC TrainingRemarkremark packet with new iSCSI CoS12Configuring iSCSI Aging TimeiSCSI Aging TimeConfigure 5 43,200 minutesDefault: 10 minutesFTOS(conf)# iscsi aging time Configure Aging Time (minutes)(default: 10)FTOS(conf)# do show iscsiDisplay iSCSI ConfigurationiSCSI is enablediSCSI COS : dot1p is 4 no-remarkSession aging time: 10Maximum number of connections is 256------------------------------------------------iSCSI Targets and TCP Ports:------------------------------------------------TCP Port Target IP Address3260860Dell Force10 TAC TrainingAdd iSCSI TCP target portiSCSI TCP Ports (default)3260860FTOS(conf)# iscsi target port TCP-RANGEAdd iSCSI TCP target portsFTOS(conf)# do show iscsiDisplay iSCSI Target TCP PortsiSCSI Targets and TCP Ports:------------------------------------------------TCP Port Target IP Address32608604000FTOS(conf)# iscsi target port TCP-RANGE ip-addressAdd iSCSI TCP target ports / IPFTOS(conf)# do show iscsiDisplay iSCSI Target TCP PortsiSCSI Targets and TCP Ports:------------------------------------------------TCP Port Target IP Address32608604000 10.10.10.10Dell Force10 TAC TrainingManual iSCSI Profile (Compellent)iSCSI Profile-Compellentenable auto-configuration when Compellent is on interfaceMTU 12000 (Jumbo Frames)FTOS(conf)# interface te 0/33Enter Interface Config modeFTOS(conf-if-te-0/33)# iscsi profile-compellentConfigure iSCSI Compellent profile on interface%STKUNIT0-M:CP %IFMGR-5-IFM_ISCSI_AUTO_CONFIG: This switch is being configured for optimal conditions to support iSCSI traffic which will cause some automatic configuration to occur including jumbo frames and flow-control on all ports; no storm control and spanning-tree port fast to be enabled on the port of detectionFTOS(conf-if-te-0/33)# show configDisplay Interface Configuration!interface TenGigabitEthernet 0/33 no ip address mtu 12000 iscsi profile-compellent shutdownDell Force10 TAC TrainingViewing iSCSI Optimization InformationDell Force10 TAC TrainingView iSCSI SessionsFTOS# show iscsi sessionDisplay iSCSI SessionsSession 0: ----------------------------------------------------------------------Target: iqn.2001-05.com.equallogic:0-8a0906-0e70c2002-10a0018426a48c94-iom010 Initiator: iqn.1991-05.com.microsoft:win-x9l8v27yajg ISID: 400001370000Session 1: ----------------------------------------------------------------------Target: iqn.2001-05.com.equallogic:0-8a0906-0f60c2002-0360018428d48c94-iom011 Initiator: iqn.1991-05.com.microsoft:win-x9l8v27yajgISID: 400001370000Dell Force10 TAC TrainingView iSCSI Sessions detailedFTOS# show iscsi sessionDisplay iSCSI SessionsSession 0: ---------------------------------------------------------------------------------------- Target: iqn.2001-05.com.equallogic:0-8a0906-0e70c2002-10a0018426a48c94-iom010 Initiator: iqn.1991-05.com.microsoft:win-x9l8v27yajg Up Time: 00:00:00:16 (DD:HH:MM:SS) Time for aging out: 44 secs ISID: 400001370000 Initiator Initiator Target Target Connection IP Address TCP Port IP Address TCP Port ID192.168.2.125 49272 192.168.2.2 0 3260 3232Session 1: ---------------------------------------------------------------------------------------- Target: iqn.2001-05.com.equallogic:0-8a0906-0f60c2002-0360018428d48c94-iom011 Initiator: iqn.1991-05.com.microsoft:win-x9l8v27yajg Up Time: 00:00:00:13 (DD:HH:MM:SS) Time for aging out: 47 secs ISID: 400001370000 Initiator Initiator Target Target Connection IP Address TCP Port IP Address TCP Port ID192.168.2.125 49274 192.168.2.20 3260 45Dell Force10 TAC TrainingTroubleshooting and Debugging iSCSI OptimizationDell Force10 TAC TrainingIssue: iSCSI auto-detection not happening1. Check is iSCSI task enabled ( this is applicable to all of iSCSI feature)

iscsi cos enableForce10(conf)# iscsi cos enableForce10(conf)# do show iscsiiSCSI is enablediSCSI COS : dot1p is 4 no-remarkSession aging time: 10Maximum number of connections is 256------------------------------------------------iSCSI Targets and TCP Ports:------------------------------------------------TCP Port Target IP Address3260860FTOS#Dell Force10 TAC TrainingIssue: iSCSI auto-detection not happening2. Check the system description TLV for hex string that states it is Equallogic storage. debug lldp interface tengigabitethernet 0/51 packet detail bothFTOS#debug lldp interface tengigabitethernet 0/51 packet detail both2d22h35m : Recieved LLDP pkt on Te 0/51 of length 81 :2d22h35m : Packet dump:2d22h35m : 01 80 c2 00 00 0e 78 2b cb 69 96 4b 81 00 03 e72d22h35m : 88 cc 02 07 04 78 2b cb 69 96 4b 04 05 05 65 742d22h35m : 68 32 06 02 00 78 0e 04 00 80 00 80 0c 1d 44 652d22h35m : 6c 6c 20 45 71 75 61 6c 4c 6f 67 69 63 20 53 742d22h35m : 6f 72 61 67 65 20 41 72 72 61 79 00 00 62 1c 3a2d22h35m : 7e2d22h35m : TLV: Chassis ID, Len: 7, Subtype: Mac address (4) Value: 78:2b:cb:69:96:4b2d22h35m : TLV: Port ID, Len: 5, Subtype: Interface name (5) Value: eth22d22h35m : TLV: TTL, Len: 2, Value: 1202d22h35m : TLV: SYSTEM CAPAB, Len: 4, Existing: Station only, Enabled: Station only2d22h35m : TLV: SYSTEM DESC, Len: 29, Value: Dell EqualLogic Storage Array2d22h35m : TLV: ENDOFPDU, Len: 0Dell Force10 TAC TrainingIssue: iSCSI auto-detection not happening3. If spanning-tree port state is not enabled, check switchport is