Skip to contentSkip to conversation

Fibre channel FC-4 features ?

DISCUSSION invictus rm 2 participants 2 messages Feb 13, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

Hi,
Presently i am looking into a way to find the list of FC initiator and FC
targets when i login to the
Fibre Chanel switch.

I want to maintain seperate list for INITIATORS and TARGETS attached to
the switch . The
switch at present is not supporting the FC-4 Features request , so i cant
use it to get the list of
initiator and the target.

How do i get the information when i login to the switch ?

Best regards

_________________________________________________________________
Contact brides & grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag Only on www.shaadi.com. Register now!

#1 lore raw
Quoted 5 lines · invictus rm

Hi,
Presently i am looking into a way to find the list of FC initiator and
FC targets when i login to the
Fibre Chanel switch.

Quoted 7 lines

I want to maintain seperate list for INITIATORS and TARGETS attached to
the switch . The
switch at present is not supporting the FC-4 Features request , so i
cant use it to get the list of
initiator and the target.

How do i get the information when i login to the switch ?

devices typically register their FC-4 capabilities (e.g. scsi-fcp, fc-sb-3) with the nameserver after FLOGI.
if they don't explicitly provide information about themselves, you can try PLOGIing into them to see if they are an initiator or target.

many 'newer' devices also register symbolic-node-name information about themselves in the nameserver:
for example, we register iSCSI initiators with the IQN embedded in the nameserver also:

        VSAN:200   FCID:0x0b0202
        port-wwn (vendor)     :01:01:01:01:01:0d:00:11
        node-wwn              :01:01:01:01:01:0d:00:10
        class                 :2,3
        node-ip-addr          :10.67.16.91
        fc4-types:fc4_features:scsi-fcp:init iscsi-gw
        symbolic-node-name 
:iqn.1987-05.com.cisco:02.68248774bfe8.mel-stglab-host31
        port-type             :N
        fabric-port-wwn       :21:81:00:05:30:00:1d:1e

newer QLogic drivers do this also:

        VSAN:1 FCID:0xea0100
        port-wwn (vendor) :21:00:00:e0:8b:08:96:22 (Qlogic)
        node-wwn :20:00:00:e0:8b:08:96:22
        class :3
        fc4-types:fc4_features:scsi-fcp:init
        symbolic-node-name :QLA23xx FW:v3.01.19 DVR:v8.2.2.25 (W2K VI)
        port-type :N
        fabric-port-wwn :20:41:00:05:30:00:94:9e

the exact method you use from 'linux' to get this information is highly dependent on the HBA you're using -- unfortunately, this information isn't yet available in a "standardized" format.

there is perhaps hope that with Linux 2.7 the nameserver information can perhaps be populated into sysfs. my hope is that the same holds true for FC-SP -- and that we don't end up with HBA-specific implementations.

cheers,

lincoln.
PS. why not post under your Aarohi email address?