ISCSI Optimization
ISCSI Optimization
iSCSI
Optimization
Confidential
12/3/15
iSCSI Optimization
Monitor iSCSI sessions
Apply QoS policies on iSCSI
traffic
Snoop the creation and
termination of iSCSI
connections
Automatic configuration
switch ports after detection of storage arrays
Manual configuration
detect Compellent storage arrays where auto-detection is not supported
iSCSI QoS
user-configured iSCSI class of service (CoS) profile
applied to all iSCSI traffic
iSCSI Monitoring/Snooping
iSCSI session monitoring (up to 256)
monitors iSCSI connections made between hosts and servers
snooping iSCSI commands (defined in RFC 3720)
login
logout
login response
logout response
new session
system will raise a syslog with session details
IP Address
Initiator
Target
TCP Port
Initiator
Target
Topology Diagram
EQL Arrays
Stacked Switches
S4810s/Nexus5K
Stacked
Up to 3 S4810s
Uses 10G Interfaces
Up to 8, 10G Stacking
Cables
DCB
Ethernet
Stacked blades
m1000e
Enabling iSCSI
Optimization
EQL auto-detection
Jumbo Frames (MTU 12000)
No Storm Control
Spanning Tree
port-fast
%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 detection
10
Confidential
12/3/15
iSCSI is enabled
iSCSI COS : dot1p is 4 no-remark
Session aging time: 10
Maximum number of connections is 256
-----------------------------------------------iSCSI Targets and TCP Ports:
-----------------------------------------------TCP Port
Target IP Address
3260
860
11
Confidential
12/3/15
dscp
remark
FTOS(conf)# iscsi dot1p <0-7> remark
iSCSI is enabled
iSCSI COS : dot1p is 4 no-remark
Session aging time: 10
Maximum number of connections is 256
-----------------------------------------------iSCSI Targets and TCP Ports:
-----------------------------------------------TCP Port
Target IP Address
3260
860
iSCSI is enabled
iSCSI COS : dot1p is 4 no-remark
Session aging time: 10
Maximum number of connections is 256
-----------------------------------------------iSCSI Targets and TCP Ports:
-----------------------------------------------TCP Port
Target IP Address
3260
860
Dell Force10 TAC Training
%STKUNIT0-M:CP
configured for
some automatic
control on all
enabled on the
!
interface TenGigabitEthernet 0/33
no ip address
mtu 12000
iscsi profile-compellent
shutdown
Dell Force10 TAC Training
Viewing iSCSI
Optimization
Information
Session 0:
---------------------------------------------------------------------Target: iqn.2001-05.com.equallogic:0-8a0906-0e70c2002-10a0018426a48c94iom010
Initiator: iqn.1991-05.com.microsoft:win-x9l8v27yajg
ISID: 400001370000
Session 1:
---------------------------------------------------------------------Target: iqn.2001-05.com.equallogic:0-8a0906-0f60c2002-0360018428d48c94iom011
Initiator: iqn.1991-05.com.microsoft:win-x9l8v27yajg
ISID: 400001370000
Dell Force10 TAC Training
Session 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
ID
192.168.2.125
49272
192.168.2.2
0 3260
3232
Session 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
ID
192.168.2.125
49274
192.168.2.20
3260
45
Dell Force10 TAC Training
Troubleshootin
g and
Debugging
iSCSI
Optimization
iscsiOptRecvTcpPkt(): f10RecvFrom
len=74(< 122)
iscsiOptMain(): recv info on sockFd
iscsiOptRecvTcpPkt(): __FUNCTION__
IP Version: 4 HL: 5 TOS: 0
IP Len: 52 ID: 43262 Off: 0
IP TTL: 64 Proto: 6 Csum: bd4c
IP Src: 0xa0a0001 Dst: 0xa0a0065
TCP Src: 35096 Dest: 3260
TCP Seq: 584691561 Ack: 409487740
TCP Rsvd: 0 Off: 8 Flags: A
iscsiDumpTcb
f10ddb-> iscsiDumpTcb
Key 10088
IPC Key 65
Task ID 0
Service 279
Instance 0
EV Log Key 20052
.
.
.
Pending 0
.
.
2. Check tcp port and destination IP added in the iscsi COS table
Appendix:
Start shell by executing command start shell(root/abracadabra31)
Attach iscsi process by executing command f10appioclnt iscsiOpt
Lab 06.0
iSCSI
Optimization
28