[root@sse-andres sbin]# uname -a Linux sse-andres 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT 2002 i686 Cisco-iscsi-3.4.0.4 has been used. [root@sse-andres sbin]# iscsi-ls ******************************************************************************* Cisco iSCSI Driver Version ... 3.4.0.4 (27-Aug-2003 ) *******************************************************************************
vatican# sh module Mod Ports Module-Type Model Status --- ----- ------------------------------- ------------------ ------------ 1 16 1/2 Gbps FC/Supervisor DS-X9216-K9-SUP active * 2 8 IP Storage Module DS-X9308-SMIP ok Mod Sw Hw World-Wide-Name(s) (WWN) --- ----------- ------ -------------------------------------------------- 1 1.1(1a) 1.0 20:01:00:0c:30:57:5e:c0 to 20:10:00:0c:30:57:5e:c0 2 1.1(1a) 0.2 20:41:00:0c:30:57:5e:c0 to 20:48:00:0c:30:57:5e:c0 Mod MAC-Address(es) Serial-Num --- -------------------------------------- ---------- 1 00-0b-be-f8-7f-00 to 00-0b-be-f8-7f-04 JAB070804Q3 2 00-05-30-00-a8-56 to 00-05-30-00-a8-62 JAB070205AM * this terminal session Vatican# sh ver Cisco Storage Area Networking Operating System (SAN-OS) Software TAC support: http://www.cisco.com/tac Copyright (c) 2002-2003 by Cisco Systems, Inc. All rights reserved. The copyright for certain works contained herein are owned by Andiamo Systems, Inc. and/or other third parties and are used and distributed under license. Software BIOS: version 1.0.7 loader: version 1.0(3a) [last : 1.1(0.133c)] kickstart: version 1.1(1a) system: version 1.1(1a) BIOS compile time: 03/20/03 kickstart image file is: bootflash:/k111a kickstart compile time: 6/12/2003 14:00:00 system image file is: bootflash:/s111a system compile time: 6/12/2003 14:00:00 Hardware RAM 963108 kB bootflash: 500736 blocks (block size 512b) slot0: 0 blocks (block size 512b) vatican uptime is 7 days 1 hours 18 minute(s) 42 second(s) Last reset at 955065 usecs after Wed Sep 10 08:13:50 2003 Reason: Reset Requested by CLI command reload System version: 1.1(2)
このマニュアルの情報は、特定のラボ環境に置かれたデバイスに基づいて作成されました。このドキュメントで使用するすべてのデバイスは、初期(デフォルト)設定の状態から起動しています。実稼動中のネットワークで作業をしている場合、実際にコマンドを使用する前に、その潜在的な影響について理解しておく必要があります。
IPS モジュールは、FC ストレージ デバイスに IP ホストのアクセスを提供します。IPS モジュールは DS-X9308-SMIP です。これはトランスペアレント SCSI ルーティングを提供します。iSCSI プロトコルを使用する IP ホストは、FC ネットワークの iSCSI ターゲットにトランスペアレントにアクセスできます。IP ホストは TCP/IP 接続経由で MDS 9000 IPS ポートに iSCSI プロトコル データ ユニット(PDU)でカプセル化された SCSI コマンドを送信します。IPS モジュールでは、適切に設定されたギガビット イーサネット インターフェイスの形式で接続が提供されます。IPS モジュールは仮想 iSCSI ターゲットを作成して、これらを FC SAN で使用可能な物理 FC ターゲットにマッピングできるようにします。IP ネットワークに物理的なターゲットが接続されているかのように、IP ホストに FC ターゲットを示します。
IPS モジュールを介してストレージにアクセスする必要がある各 iSCSI ホストには、互換性のある iSCSI ドライバをインストールしておく必要があります。iSCSI プロトコルを使用して、iSCSI ドライバは、iSCSI ホストからの SCSI の要求と応答を IP ネットワークを介して転送できます。ホストのオペレーティング システムからは、iSCSI ドライバは、ホストのペリフェラル チャネルの FC ドライバのような SCSI トランスポート ドライバであるように見えます。ストレージ デバイスからは、各 IP ホストは FC ホストであるように見えます。
IP ホストから FC ストレージ デバイスへのルーティングでは、主に次の処理が実行されます。
IPS モジュールは、デフォルトで FC ターゲットを iSCSI にインポートしません。IPS モジュールが FC ターゲットを iSCSI イニシエータで使用可能にする前に、ダイナミックマッピングかスタティック マッピングを設定する必要があります。両方が設定されている場合、スタティック マッピングの FC ターゲットには設定された名前があります。この設定では、スタティック マッピングの例を示します。ダイナミック マッピングでは、iSCSI ホストが IPS モジュールに接続するたびに新しい FC N ポートが作成され、この N のポートに割り当てられた nWWN と pWWN は異なる場合があります。iSCSI ホストが IPS モジュールに接続するたびに同じ nWWN と pWWN を取得する必要がある場合は、スタティック マッピング方式を使用します。スタティック マッピングは、イニシエータの pWWN または nWWN に基づいたアクセス コントロールと LUN マッピング/マスキング設定があるインテリジェント FC ストレージ アレイにアクセスするために、IPS モジュールで使用できます。
スタティック マッピングされた各 iSCSI ターゲットへのアクセスを制御するには、アドバタイズする IPS ポートのリストを指定し、アクセスを許可された iSCSI イニシエータのノード名のリストを指定します。FC のゾーン分割ベースのアクセス制御と iSCSI ベースのアクセス制御は、iSCSI にアクセス制御を提供できる 2 つのメカニズムです。両方の方法を同時に使用できます。この設定では、デフォルトのゾーン分割は特定の VSAN で許可されています。IPS モジュールは iSCSI のノード名ベースと FC のゾーン分割ベースのアクセス コントロール リストの両方を使用し、iSCSI 検出と iSCSI セッションの作成時のアクセス制御を強化します。
IPS モジュールは、この IP ホストの FC の仮想 N ポート(N ポートがすでに存在する場合があります)を作成し、IP ホストによってアクセスされる FC ターゲット pWWN の FCID のために FC ネーム サーバのクエリーを実行します。ネーム サーバ クエリーの要求者として IP ホストの仮想 N ポートの pWWN が使用されます。したがって、ネーム サーバは pWWN のゾーン指定クエリーを実行し、クエリーに応答します。FCID がネーム サーバから戻された場合は、iSCSI セッションが許可されます。これ以外の場合、ログイン要求は拒否されます。
このセクションでは、MDS 9216 と Linux 用 Cisco iSCSI ドライバを設定するために必要な情報を提供しています。
注:このドキュメントで使用されているコマンドの詳細を調べるには、『Cisco MDS 9000 ファミリ コマンド リファレンス』および『Cisco MDS 9000 ファミリ ソフトウェア コンフィギュレーション ガイド』を使用します。
このドキュメントでは次の図に示すネットワーク構成を使用しています。
このドキュメントでは、次に示す設定を使用しています。
sse-andres(Linux バージョン 2.4.18-3) |
---|
Linux ホストで、iscsi.conf を修正する必要があります。 [root@sse-andres etc]# cat /etc/iscsi.conf # iSCSI configuration file - see iscsi.conf(5) # Authentication Settings # ----------------------- # You may configure a default Username and Password to use for CHAP # authentication by specifying the Global username and password parameters # in the format as mentioned below. These entries will need to precede any # "DiscoveryAddress" entries if authentication needs to be enabled for all the # iSCSI targets. # # Example: # #Username=alice #Password=nty57nbe # or #OutgoingUsername=alice #OutgoingPassword=nty57nbe # # The "OutgoingUsername" will specify the username to be sent to the target # for login authentication. The "OutgoingPassword" is the CHAP secret password # to be used when sending challenge responses to the target. # # You may configure CHAP authentication settings that will apply to every # target discovered at a particular address by adding "OutgoingUsername=u" # and "OutgoingPassword=p" entries indented below the "DiscoveryAddress" # entry they apply to. # # Example: # #DiscoveryAddress=192.168.10.94 DiscoveryAddress=10.48.69.242 Continuous=yes !--- Configure the IP address of the GE interface that accepts iSCSI request from your host. # LUN Settings # ------------ # The LUN settings can be specified per TargetName or for all the targets # whose TargetNames are mentioned in the configuration file. If no TargetName # is present in the configuration file, the lun(s) will be configured for # all the available iSCSI targets. # The LUN settings can be specified in the following 3 formats:- # LUN= !--- The iSCSI driver discovery daemon process looks up each discovered target !--- in the /var/lib/iscsi/bindings file. If an entry exists in the file for the !--- target, the corresponding SCSI target ID is assigned to the target. If !--- no entry exists for the target, the smallest available SCSI target ID !--- is assigned and an entry is written to the /var/lib/iscsi/bindings file for !--- this target. !--- Note that the /var/lib/iscsi/bindings file will permanently contain entries !--- for all iSCSI targets ever logged into from this host. If a target is !--- no longer available to a host, you can manually edit the file and remove !--- entries so that the obsolete target no longer consumes a SCSI target ID. !--- If you know the iSCSI target name of a target in advance, and you want !--- it to be assigned a particular SCSI target ID, you can add an entry !--- manually. You should stop the iSCSI driver before editing the !--- /var/lib/iscsi/bindings file. !--- To manually start the iSCSI driver, enter /etc/init.d/iscsi start !--- To manually stop the iSCSI driver, enter /etc/init.d/iscsi stop |
Vatican(Cisco MDS 9216) |
---|
.... vsan database vsan 555 !--- Vsan 555 has been used for iSCSI targets. .... vsan database vsan 555 interface fc1/3 vsan 555 interface fc1/7 .... boot system bootflash:/s111a boot kickstart bootflash:/k111a ip domain-name cisco.com ip name-server 144.254.10.123 ip default-gateway 10.48.69.129 ip route 10.48.69.154 255.255.255.255 10.48.69.200 iscsi authentication none ip routing iscsi initiator ip-address 10.48.69.154 vsan 555 !--- Identifies the iSCSI initiator based on the IP address ande. !--- Virtual N port is created for each NIC or network interface. !--- Vsan 555 has been used for iSCSI targets, configure initiator IP address. !--- Targets via Vsan 555 are accesible by iSCSI initiators. iscsi virtual-target name seagate pWWN 21:00:00:20:37:67:f7:a2 fc-lun 0000 iscsi-lun 0000 initiator ip address 10.48.69.154 permit !--- Create a static iSCSI virtual target for LUN 3, 4, 5 of Clariion. iscsi virtual-target name clariion-lun-3-4-5 pWWN 50:06:01:60:88:02:a8:2b fc-lun 0003 iscsi-lun 0003 pWWN 50:06:01:60:88:02:a8:2b fc-lun 0004 iscsi-lun 0004 pWWN 50:06:01:60:88:02:a8:2b fc-lun 0005 iscsi-lun 0005 advertise interface GigabitEthernet2/1 initiator ip address 10.48.69.154 permit ... switchname vatican .... zone default-zone permit vsan 555 .... interface GigabitEthernet2/1 ip address 10.48.69.242 255.255.255.192 iscsi authentication none no shutdown .... interface fc1/3 switchport mode FL switchport trunk mode off no shutdown .... interface fc1/7 switchport mode F switchport trunk mode off no shutdown interface mgmt0 ip address 10.48.69.157 255.255.255.192 interface iscsi2/1 no shutdown |
sse-andres からの表示 |
---|
[root@sse-andres init.d]# ./iscsi stop Stopping iSCSI: sync umount sync iscsi [root@sse-andres sbin]# pwd /usr/local/sbin [root@sse-andres sbin]# iscsi-ls ******************************************************************************* Cisco iSCSI Driver Version ... 3.4.0.4 (27-Aug-2003 ) ******************************************************************************* [root@sse-andres init.d]# ./iscsi start Name and location of the bindings file is changed to /var/lib/iscsi/bindings Starting iSCSI: iscsi iscsid fsck/mount [root@sse-andres sbin]# netstat -n Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 10.48.69.154:37402 10.48.69.242:3260 ESTABLISHED tcp 0 0 10.48.69.154:37403 10.48.69.242:3260 ESTABLISHED tcp 0 0 10.48.69.154:37401 10.48.69.242:3260 ESTABLISHED !--- After adding the clariion-lun-3-4-5 virtual target on the MDS 9216. bindings [root@sse-andres iscsi]# cat bindings # iSCSI bindings, file format version 1.0. # NOTE: this file is automatically maintained by the iSCSI daemon. # You should not need to edit this file under most circumstances. # If iSCSI targets in this file have been permanently deleted, you # may wish to delete the bindings for the deleted targets. # # Format: # bus target iSCSI # id id TargetName # 0 0 seagate 0 1 clariion-lun-3-4-5 [root@sse-andres iscsi]# !--- To see the devices currently available, issue the iscsi-ls command. [root@sse-andres sbin]# iscsi-ls ******************************************************************************* Cisco iSCSI Driver Version ... 3.4.0.4 (27-Aug-2003 ) ******************************************************************************* TARGET NAME : seagate TARGET ALIAS : HOST NO : 1 BUS NO : 0 TARGET ID : 0 DISCOVERY ADDRESS : 10.48.69.242:3260 SESSION ESTABLISHED AT : Tue Sep 16 16:41:01 2003 NO. OF PORTALS : 1 TARGET ADDRESS 1 : 10.48.69.242:3260,128 SESSION ID : ISID 00023d000001 TSID 80 ******************************************************************************* TARGET NAME : clariion-lun-3-4-5 TARGET ALIAS : HOST NO : 1 BUS NO : 0 TARGET ID : 1 DISCOVERY ADDRESS : 10.48.69.242:3260 SESSION ESTABLISHED AT : Tue Sep 16 16:41:03 2003 NO. OF PORTALS : 1 TARGET ADDRESS 1 : 10.48.69.242:3260,128 SESSION ID : ISID 00023d000001 TSID 80 ******************************************************************************* [root@sse-andres sbin]# [root@sse-andres sbin]# iscsi-ls -l ******************************************************************************* Cisco iSCSI Driver Version ... 3.4.0.4 (27-Aug-2003 ) ******************************************************************************* TARGET NAME : seagate TARGET ALIAS : HOST NO : 1 BUS NO : 0 TARGET ID : 0 DISCOVERY ADDRESS : 10.48.69.242:3260 SESSION ESTABLISHED AT : Wed Sep 17 12:28:18 2003 NO. OF PORTALS : 1 TARGET ADDRESS 1 : 10.48.69.242:3260,128 SESSION ID : ISID 00023d000001 TSID 80 DEVICE DETAILS : -------------- LUN ID : 0 Vendor: SEAGATE Model: ST318203FC Rev: 0004 Type: Direct-Access ANSI SCSI revision: 02 ******************************************************************************* TARGET NAME : clariion-lun-3-4-5 TARGET ALIAS : HOST NO : 1 BUS NO : 0 TARGET ID : 1 DISCOVERY ADDRESS : 10.48.69.242:3260 SESSION ESTABLISHED AT : Wed Sep 17 12:28:19 2003 NO. OF PORTALS : 1 TARGET ADDRESS 1 : 10.48.69.242:3260,128 SESSION ID : ISID 00023d000001 TSID 80 DEVICE DETAILS : -------------- LUN ID : 3 Vendor: DGC Model: RAID 0 Rev: 0632 Type: Direct-Access ANSI SCSI revision: 04 LUN ID : 4 Vendor: DGC Model: RAID 0 Rev: 0632 Type: Direct-Access ANSI SCSI revision: 04 LUN ID : 5 Vendor: DGC Model: RAID 0 Rev: 0632 Type: Direct-Access ANSI SCSI revision: 04 ******************************************************************************* [root@sse-andres sbin]# [root@sse-andres sbin]# iscsi-ls -t seagate ******************************************************************************* Cisco iSCSI Driver Version ... 3.4.0.4 (27-Aug-2003 ) ******************************************************************************* TARGET NAME : seagate TARGET ALIAS : HOST NO : 1 BUS NO : 0 TARGET ID : 0 DISCOVERY ADDRESS : 10.48.69.242:3260 SESSION ESTABLISHED AT : Tue Sep 16 16:41:02 2003 NO. OF PORTALS : 1 TARGET ADDRESS 1 : 10.48.69.242:3260,128 SESSION ID : ISID 00023d000001 TSID 80 ******************************************************************************* [root@sse-andres sbin]# [root@sse-andres sbin]# fdisk -l Disk /dev/sda: 255 heads, 63 sectors, 4420 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 267 2040255 82 Linux swap /dev/sda3 268 4420 33358972+ 83 Linux Disk /dev/sdb: 64 heads, 32 sectors, 17366 cylinders Units = cylinders of 2048 * 512 bytes Device Boot Start End Blocks Id System Disk /dev/sdc: 64 heads, 32 sectors, 2047 cylinders Units = cylinders of 2048 * 512 bytes Device Boot Start End Blocks Id System /dev/sdc1 1 2048 2096451 42 SFS Partition 1 does not end on cylinder boundary: phys=(260, 254, 63) should be (260, 63, 32) Disk /dev/sdd: 64 heads, 32 sectors, 1023 cylinders Units = cylinders of 2048 * 512 bytes Device Boot Start End Blocks Id System Disk /dev/sde: 64 heads, 32 sectors, 1023 cylinders Units = cylinders of 2048 * 512 bytes Device Boot Start End Blocks Id System [root@sse-andres sbin]# [root@sse-andres log]# pwd /var/log/messages Sep 16 16:40:20 sse-andres kernel: iSCSI: driver shutdown killing all sessions Sep 16 16:40:21 sse-andres kernel: iSCSI: driver shutdown killing timer 19252 Sep 16 16:40:21 sse-andres kernel: iSCSI: driver shutdown waiting for timer to terminate Sep 16 16:40:21 sse-andres kernel: iSCSI: driver shutdown complete at 35634430 Sep 16 16:41:01 sse-andres iscsid[19603]: version 3.4.0.4 (27-Aug-2003) Sep 16 16:41:01 sse-andres iscsid[19603]: INBP boot check returned this_is_inbp_boot = 0 Sep 16 16:41:01 sse-andres kernel: iSCSI: bus 0 target 0 = seagate Sep 16 16:41:01 sse-andres kernel: iSCSI: bus 0 target 0 portal 0 = address 10.48.69.242 port 3260 group 128 Sep 16 16:41:01 sse-andres kernel: iSCSI: bus 0 target 0 trying to establish session c2582000 to portal 0, a ddress 10.48.69.242 port 3260 group 128 Sep 16 16:41:01 sse-andres kernel: iSCSI: bus 0 target 0 established session c2582000 #1, portal 0, address 10.48.69.242 port 3260 group 128 Sep 16 16:41:01 sse-andres kernel: scsi singledevice 1 0 0 0 Sep 16 16:41:01 sse-andres kernel: Vendor: SEAGATE Model: ST318203FC Rev: 0004 Sep 16 16:41:01 sse-andres kernel: Type: Direct-Access ANSI SCSI revision: 02 Sep 16 16:41:01 sse-andres kernel: Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 Sep 16 16:41:01 sse-andres kernel: iSCSI: bus 0 target 1 = clariion-lun-3-4-5 Sep 16 16:41:01 sse-andres kernel: iSCSI: bus 0 target 1 portal 0 = address 10.48.69.242 port 3260 group 128 Sep 16 16:41:01 sse-andres kernel: SCSI device sdb: 35566480 512-byte hdwr sectors (18210 MB) Sep 16 16:41:01 sse-andres kernel: sdb: |
Vatican からの表示(Cisco MDS 9216) |
---|
vatican# show zone status VSAN: 1 default-zone: permit distribute: active only Interop: Off Full Zoning Database : Zonesets:0 Zones:0 Aliases: 0 Active Zoning Database : Database Not Available Status: VSAN: 555 default-zone: permit distribute: active only Interop: Off Full Zoning Database : Zonesets:0 Zones:0 Aliases: 0 Active Zoning Database : Database Not Available Status: Default zoning policy changed to permit at Thu Sep 11 14:26:07 2003 !--- VSAN 555 has been used for this configuration, default-zone !--- behavior has been set to permit. vatican# sh flogi database vsan 555 --------------------------------------------------------------------------- INTERFACE VSAN FCID PORT NAME NODE NAME --------------------------------------------------------------------------- fc1/3 555 0x6b00e8 21:00:00:20:37:67:f7:a2 20:00:00:20:37:67:f7:a2 fc1/7 555 0x6b0100 50:06:01:60:88:02:a8:2b 50:06:01:60:11:02:a8:2b iscsi2/1 555 0x6b0103 20:03:00:0c:30:57:5e:c2 20:02:00:0c:30:57:5e:c2 Total number of flogi = 3. vatican# sh fcns da vsan 555 VSAN 555: -------------------------------------------------------------------------- FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE -------------------------------------------------------------------------- 0x6b00e8 NL 21:00:00:20:37:67:f7:a2 (Seagate) scsi-fcp:target 0x6b0100 N 50:06:01:60:88:02:a8:2b (Clariion) scsi-fcp:target 0x6b0103 N 20:03:00:0c:30:57:5e:c2 (Cisco) scsi-fcp:init isc..w Total number of entries = 3 !--- FCID 0x6b0103 is the virtual N port(HBA) for the iSCSI host. vatican# show fcns database detail vsan 555 ------------------------ VSAN:555 FCID:0x6b00e8 ------------------------ port-wwn (vendor) :21:00:00:20:37:67:f7:a2 (Seagate) node-wwn :20:00:00:20:37:67:f7:a2 class :3 node-ip-addr :0.0.0.0 ipa :ff ff ff ff ff ff ff ff fc4-types:fc4_features:scsi-fcp:target symbolic-port-name : symbolic-node-name : port-type :NL port-ip-addr :0.0.0.0 fabric-port-wwn :20:03:00:0c:30:57:5e:c0 hard-addr :0x000000 ------------------------ VSAN:555 FCID:0x6b0100 ------------------------ port-wwn (vendor) :50:06:01:60:88:02:a8:2b (Clariion) node-wwn :50:06:01:60:11:02:a8:2b class :3 node-ip-addr :0.0.0.0 ipa :ff ff ff ff ff ff ff ff fc4-types:fc4_features:scsi-fcp:target symbolic-port-name : symbolic-node-name : port-type :N port-ip-addr :0.0.0.0 fabric-port-wwn :20:07:00:0c:30:57:5e:c0 hard-addr :0x000000 ------------------------ VSAN:555 FCID:0x6b0103 ------------------------ port-wwn (vendor) :20:03:00:0c:30:57:5e:c2 (Cisco) node-wwn :20:02:00:0c:30:57:5e:c2 class :2,3 node-ip-addr :10.48.69.154 ipa :ff ff ff ff ff ff ff ff fc4-types:fc4_features:scsi-fcp:init iscsi-gw symbolic-port-name : symbolic-node-name :10.48.69.154 port-type :N port-ip-addr :0.0.0.0 fabric-port-wwn :20:41:00:0c:30:57:5e:c0 hard-addr :0x000000 Total number of entries = 3 vatican# show iscsi initiator detail iSCSI Node name is 10.48.69.154 iSCSI Initiator name: iqn.1987-05.com.cisco:01.2079ebcbfce iSCSI alias name: sse-andres Node WWN is 20:02:00:0c:30:57:5e:c2 (dynamic) Member of vsans: 555 Number of Virtual n_ports: 1 Virtual Port WWN is 20:03:00:0c:30:57:5e:c2 (dynamic) Interface iSCSI 2/1, Portal group tag is 0x80 VSAN ID 555, FCID 0x6b0103 2 FC sessions, 2 iSCSI sessions iSCSI session details Target: seagate Statistics: PDU: Command: 52, Response: 52 Bytes: TX: 65688, RX: 0 Number of connection: 1 TCP parameters Local 10.48.69.242:3260, Remote 10.48.69.154:37738 Path MTU: 1500 bytes Retransmission timeout: 300 ms Round trip time: Smoothed 3 ms, Variance: 5 Advertized window: Current: 142 KB, Maximum: 142 KB, Scale: 3 Peer receive window: Current: 576 KB, Maximum: 576 KB, Scale: 4 Congestion window: Current: 10 KB Target: clariion-lun-3-4-5 Statistics: PDU: Command: 79, Response: 79 Bytes: TX: 115000, RX: 0 Number of connection: 1 TCP parameters Local 10.48.69.242:3260, Remote 10.48.69.154:37739 Path MTU: 1500 bytes Retransmission timeout: 300 ms Round trip time: Smoothed 4 ms, Variance: 6 Advertized window: Current: 192 KB, Maximum: 192 KB, Scale: 3 Peer receive window: Current: 576 KB, Maximum: 576 KB, Scale: 4 Congestion window: Current: 10 KB FCP Session details Target FCID: 0x6b00e8 (S_ID of this session: 0x6b0103) pWWN: 21:00:00:20:37:67:f7:a2, nWWN: 20:00:00:20:37:67:f7:a2 Session state: LOGGED_IN 1 iSCSI sessions share this FC session Target: seagate Negotiated parameters RcvDataFieldSize 1392 our_RcvDataFieldSize 1392 MaxBurstSize 0, EMPD: FALSE Random Relative Offset: FALSE, Sequence-in-order: Yes Statistics: PDU: Command: 0, Response: 52 Target FCID: 0x6b0100 (S_ID of this session: 0x6b0103) pWWN: 50:06:01:60:88:02:a8:2b, nWWN: 50:06:01:60:11:02:a8:2b Session state: LOGGED_IN 1 iSCSI sessions share this FC session Target: clariion-lun-3-4-5 Negotiated parameters RcvDataFieldSize 1024 our_RcvDataFieldSize 1392 MaxBurstSize 0, EMPD: FALSE Random Relative Offset: FALSE, Sequence-in-order: Yes Statistics: PDU: Command: 0, Response: 79 vatican# show iscsi initiator iscsi-session detail iSCSI Node name is 10.48.69.154 iSCSI Initiator name: iqn.1987-05.com.cisco:01.2079ebcbfce iSCSI alias name: sse-andres Node WWN is 20:02:00:0c:30:57:5e:c2 (dynamic) Member of vsans: 555 Number of Virtual n_ports: 1 Virtual Port WWN is 20:03:00:0c:30:57:5e:c2 (dynamic) Interface iSCSI 2/1, Portal group tag is 0x80 VSAN ID 555, FCID 0x6b0103 2 FC sessions, 2 iSCSI sessions iSCSI session details Target: seagate Statistics: PDU: Command: 52, Response: 52 Bytes: TX: 65688, RX: 0 Number of connection: 1 TCP parameters Local 10.48.69.242:3260, Remote 10.48.69.154:37738 Path MTU: 1500 bytes Retransmission timeout: 300 ms Round trip time: Smoothed 3 ms, Variance: 4 Advertized window: Current: 142 KB, Maximum: 142 KB, Scale: 3 Peer receive window: Current: 576 KB, Maximum: 576 KB, Scale: 4 Congestion window: Current: 10 KB Target: clariion-lun-3-4-5 Statistics: PDU: Command: 79, Response: 79 Bytes: TX: 115000, RX: 0 Number of connection: 1 TCP parameters Local 10.48.69.242:3260, Remote 10.48.69.154:37739 Path MTU: 1500 bytes Retransmission timeout: 300 ms Round trip time: Smoothed 4 ms, Variance: 5 Advertized window: Current: 192 KB, Maximum: 192 KB, Scale: 3 Peer receive window: Current: 576 KB, Maximum: 576 KB, Scale: 4 Congestion window: Current: 10 KB vatican# show iscsi initiator fcp-session detail iSCSI Node name is 10.48.69.154 iSCSI Initiator name: iqn.1987-05.com.cisco:01.2079ebcbfce iSCSI alias name: sse-andres Node WWN is 20:02:00:0c:30:57:5e:c2 (dynamic) Member of vsans: 555 Number of Virtual n_ports: 1 Virtual Port WWN is 20:03:00:0c:30:57:5e:c2 (dynamic) Interface iSCSI 2/1, Portal group tag is 0x80 VSAN ID 555, FCID 0x6b0103 2 FC sessions, 2 iSCSI sessions FCP Session details Target FCID: 0x6b00e8 (S_ID of this session: 0x6b0103) pWWN: 21:00:00:20:37:67:f7:a2, nWWN: 20:00:00:20:37:67:f7:a2 Session state: LOGGED_IN 1 iSCSI sessions share this FC session Target: seagate Negotiated parameters RcvDataFieldSize 1392 our_RcvDataFieldSize 1392 MaxBurstSize 0, EMPD: FALSE Random Relative Offset: FALSE, Sequence-in-order: Yes Statistics: PDU: Command: 0, Response: 52 Target FCID: 0x6b0100 (S_ID of this session: 0x6b0103) pWWN: 50:06:01:60:88:02:a8:2b, nWWN: 50:06:01:60:11:02:a8:2b Session state: LOGGED_IN 1 iSCSI sessions share this FC session Target: clariion-lun-3-4-5 Negotiated parameters RcvDataFieldSize 1024 our_RcvDataFieldSize 1392 MaxBurstSize 0, EMPD: FALSE Random Relative Offset: FALSE, Sequence-in-order: Yes Statistics: PDU: Command: 0, Response: 79 vatican# show ips stats tcp interface gigabitethernet 2/1 detail TCP Statistics for port GigabitEthernet2/1 TCP send stats 43984 segments, 4563280 bytes 23363 data, 20571 ack only packets 29 control (SYN/FIN/RST), 0 probes, 28 window updates 3 segments retransmitted, 144 bytes 3 retransmitted while on ethernet send queue, 1 packets split 0 delayed acks sent TCP receive stats 62083 segments, 20548 data packets in sequence, 997148 bytes in sequence 1504 predicted ack, 20303 predicted data 0 bad checksum, 0 multi/broadcast, 0 bad offset 0 no memory drops, 0 short segments 0 duplicate bytes, 0 duplicate packets 0 partial duplicate bytes, 0 partial duplicate packets 0 out-of-order bytes, 1 out-of-order packets 0 packet after window, 0 bytes after window 0 packets after close 21696 acks, 4562950 ack bytes, 0 ack toomuch, 19373 duplicate acks 0 ack packets left of snd_una, 5 non-4 byte aligned packets 19282 window updates, 0 window probe 745 pcb hash miss, 478 no port, 6 bad SYN, 0 paws drops TCP Connection Stats 0 attempts, 35 accepts, 35 established 33 closed, 13 drops, 0 conn drops 3 drop in retransmit timeout, 10 drop in keepalive timeout 0 drop in persist drops, 0 connections drained TCP Miscellaneous Stats 21105 segments timed, 21685 rtt updated 15 retransmit timeout, 1 persist timeout 19448 keepalive timeout, 19437 keepalive probes TCP SACK Stats 0 recovery episodes, 0 data packets, 0 data bytes 0 data packets retransmitted, 0 data bytes retransmitted 0 connections closed, 0 retransmit timeouts TCP SYN Cache Stats 37 entries, 35 connections completed, 0 entries timed out 0 dropped due to overflow, 2 dropped due to RST 0 dropped due to ICMP unreach, 0 dropped due to bucket overflow 0 abort due to no memory, 1 duplicate SYN, 183 no-route SYN drop 0 hash collisions, 0 retransmitted TCP Active Connections Local Address Remote Address State Send-Q Recv-Q 10.48.69.242:3260 10.48.69.154:37737 ESTABLISH 0 0 10.48.69.242:3260 10.48.69.154:37738 ESTABLISH 0 0 10.48.69.242:3260 10.48.69.154:37739 ESTABLISH 0 0 0.0.0.0:3260 0.0.0.0:0 LISTEN 0 0 vatican# show iscsi virtual-target configured target: clariion-lun-3-4-5 * Port WWN 50:06:01:60:88:02:a8:2b Configured node No. of LU mapping: 3 iSCSI LUN: 0003, FC LUN: 0003 iSCSI LUN: 0004, FC LUN: 0004 iSCSI LUN: 0005, FC LUN: 0005 No. of advertised interface: 1 GigabitEthernet 2/1 No. of initiators permitted: 2 initiator 10.48.69.154/32 is permitted initiator 10.61.80.53/32 is permitted all initiator permit is disabled target: seagate * Port WWN 21:00:00:20:37:67:f7:a2 Configured node No. of LU mapping: 1 iSCSI LUN: 0000, FC LUN: 0000 No. of initiators permitted: 1 initiator 10.48.69.154/32 is permitted all initiator permit is disabled vatican# show iscsi initiator configured iSCSI Node name is 10.48.69.238 Member of vsans: 1016 iSCSI Node name is 10.48.69.239 Member of vsans: 1016 iSCSI Node name is 100.100.100.10 Member of vsans: 600 No. of PWWN: 1 Port WWN is 20:03:00:0c:30:6c:24:42 iSCSI Node name is 10.48.69.154 Member of vsans: 555 vatican# show ips arp interface gigabitethernet 2/1 Protocol Address Age (min) Hardware Addr Type Interface Internet 10.48.69.200 0 0008.e21e.c7bc ARPA GigabitEthernet2/1 Internet 10.48.69.201 5 0202.3d30.45c9 ARPA GigabitEthernet2/1 Internet 10.48.69.206 8 0202.3d30.45ce ARPA GigabitEthernet2/1 Internet 10.48.69.209 5 0009.7c60.561f ARPA GigabitEthernet2/1 Internet 10.48.69.226 6 0060.08f6.bc1a ARPA GigabitEthernet2/1 Internet 10.48.69.229 3 0800.209e.edab ARPA GigabitEthernet2/1 Internet 10.48.69.230 3 0001.0349.ff13 ARPA GigabitEthernet2/1 Internet 10.48.69.231 5 0002.b3c1.7dab ARPA GigabitEthernet2/1 Internet 10.48.69.232 8 0003.4796.34c3 ARPA GigabitEthernet2/1 Internet 10.48.69.233 0 0010.4200.7d5b ARPA GigabitEthernet2/1 Internet 10.48.69.235 11 0800.20b6.6559 ARPA GigabitEthernet2/1 Internet 10.48.69.238 10 0030.6e1b.6f51 ARPA GigabitEthernet2/1 Internet 10.48.69.239 2 0030.6e1c.a00b ARPA GigabitEthernet2/1 Internet 10.48.69.241 0 000b.cdaf.b4c3 ARPA GigabitEthernet2/1 Internet 10.48.69.248 6 0202.3d30.45f8 ARPA GigabitEthernet2/1 Internet 10.48.69.252 2 0202.3d30.45fc ARPA GigabitEthernet2/1 Internet 10.10.2.28 9 0202.3d0a.021c ARPA GigabitEthernet2/1 vatican# vatican# show scsi-targe devices vsan 555 -------------------------------------------------------------------------------- VSAN FCID PWWN VENDOR MODEL REV -------------------------------------------------------------------------------- 555 0x6b00e8 21:00:00:20:37:67:f7:a2 SEAGATE ST318203FC 0004 555 0x6b0100 50:06:01:60:88:02:a8:2b DGC RAID 0 0632 vatican# sh int iscsi 2/1 iscsi2/1 is up Hardware is GigabitEthernet Port WWN is 20:41:00:0c:30:57:5e:c0 Admin port mode is ISCSI Port mode is ISCSI Speed is 1 Gbps iSCSI initiator is identified by name Number of iSCSI session: 3, Number of TCP connection: 3 Configured TCP parameters Local Port is 3260 PMTU discover is enabled, reset timeout is 3600 sec Keepalive-timeout is 60 sec Minimum-retransmit-time is 300 ms Max-retransmissions 4 Sack is disabled Maximum allowed bandwidth is 500000 kbps Minimum available bandwidth is 500000 kbps Estimated round trip time is 10000 usec 5 minutes input rate 16 bits/sec, 2 bytes/sec, 0 frames/sec 5 minutes output rate 16 bits/sec, 2 bytes/sec, 0 frames/sec iSCSI statistics Input 17258 packets, 841000 bytes Command 717 pdus, Data-out 0 pdus, 0 bytes Output 19951 packets, 4216300 bytes Response 711 pdus (with sense 12), R2T 0 pdus Data-in 2687 pdus, 3246192 bytes vatican# sh ip route Codes: C - connected, S - static Default gateway is 10.48.69.129 S 10.48.69.154 via 10.48.69.200, gigabitethernet2-1 S 10.61.80.53 via 10.48.69.200, gigabitethernet2-1 C 10.48.69.192/26 is directly connected, gigabitethernet2-1 C 10.48.69.128/26 is directly connected, mgmt0 vatican# sh ips ip route interface gigabitethernet 2/1 Codes: C - connected, S - static No default gateway S 10.61.80.53/32 via 10.48.69.200, GigabitEthernet2/1 S 10.48.69.154/32 via 10.48.69.200, GigabitEthernet2/1 C 10.48.69.192/26 is directly connected, GigabitEthernet2/1 vatican# sh ip route ? configured Show the IP routes configured on the system <cr> Carriage Return |
Fabric Manager のトポロジ ダイアグラム
pWWN、LUN ID、および LUN の容量を表示するには、Device Manager で [FC-LUNs] を選択します。
iSCSI セッションを表示するには、Device Manager で [IP-iSCSI] を選択します。
改定 | 発行日 | コメント |
---|---|---|
1.0 |
10-Nov-2004 |
初版 |