03-24-2006 06:51 AM
I understand WWNs are 64 bits and FCIDs are 24 bits and I understand the fabric assigns FCIDs when a device logs into the fabric (FLOGI).
Here's what seems confusing:
Since a device is communicating via FC and that protocol uses FCIDs, what is the purpose of a WWN? If devices (disregarding HP-UX and AIX) point to WWNs but the fabric uses FCIDs, where is this mapping stored on the server and how does it work exactly? Is there a table like a ARP cache? If so, when does it time out?
My point is, there is no field in the FCID frame for WWNs - only source and destination FCIDs. So, how do WWNs play into this picture?
03-24-2006 07:16 AM
You can think of WWN's as MAC addresses and FCID as the layer3 IP address. So, the WWN is burned into the HBA firmware. HPUX and AIX take the FCID of the storage they are talking to and enter it into a persistent file on the /etc filesystem. The wwn to FCID mapping can be seen with show flogi database and show fcns database.
03-24-2006 09:40 AM
Also, the part of the operation of the HBA on the host is to store and retain a Login map of all targets, it stores both FCID's and PWWN's of devices on the SAN so it can build frames for commands that are sent to storage devices, FC devices learn PWWN of target port from PLOGI ACC , the 24 bit FCID is used to route frame through the SAN using FSPF, 24 bit lookup is much faster then 64 bit lookup, but remember access control to storage is many times controlled by PWWN, both for zoning on Switch and also the controller port on the array. This PWWN is checked at PLOGI for access control.
03-24-2006 01:08 PM
So, if the initiator HBA learns the target's FCID during PLOGI, how long is the FCID retained by the server? Is the FCID retained until a logout occurs or does it time out (like an arp entry)?
One reason I ask is I'd like to fully understand the ramifications of changing FCIDs.
03-24-2006 05:54 PM
Host learns target's fcid thro' Plogi into NameServer,if it is zoned together. It is retained
as long as storage is in the fabric with same fcid
and host has PLOGIed onto the storage.
FCID of storage is retained in the host until
LOGO (explicit).
If the storage is not in fabric, then RSCN
is generated and host requeries the name server
for the storage, if it is not there, then
HBA cleans up resources related to that FCID.
03-25-2006 09:01 PM
Thanks for all the replies!
01-25-2019 11:14 PM - edited 01-25-2019 11:47 PM
H,
I am also having this confusion. I have a different post going on a Nexsus 9148 IOS upgrade. I am so new to this data center and VSAn work and configuring nexus. my back ground has always been routing and switching but I have been assign this task without having formal training or experience on this. I have been reading the whole day so far and getting closer however, i still need to know where i start on a nexus. For example: on this singe Nexus 9148 that will be used for two zones:
I have:
A | xxxxx2vio1_ZoneA | xxxxx2vio1 | xxxxx2vio1_p1 | 10:00:00:00:c9:8c:8e:24 |
A | xxxxxx2vio1_ZoneA | xxxxx2vio1 | svs9san05_a2 | 20:24:00:80:e5:18:9e:56 |
B | xxxxxx3vio1_ZoneB | xxxxxx3vio1 | svs9san05_a1 | 20:14:00:80:e5:18:9e:56 |
B | xxxxxxx3vio1_ZoneB | xxxxxxx3vio1 | svs9san05_b1 | 20:15:00:80:e5:18:9e:56 |
vmhost-xxxxxx02_ZoneA | vmhost-xxxxxx | svs9san05_a2 | 20:24:00:80:e5:18:9e:56 |
vmhost-xxxxxx02_ZoneB | vmhost-xxxxxx | svs9san05_a1 | 20:14:00:80:e5:18:9e:56 |
vmhost-xxxxxxx02_ZoneB | vmhost-xxxxxx-02 | svs9san05_b1 | 20:15:00:80:e5:18:9e:56 |
vmhost-xxxxxxx02_ZoneB | vmhost-xxxxxx-02 | vmhost-xxxxxx02_p2 | 21:00:00:24:ff:29:e2:6b |
I have edited the above table showing samples of each zone (about 6 lies of A and 6 lines of B with WWN numbers shown). so, what are those 28-bits numbers? are they defined as is or they are defined in the Switch? I have been told to use these same numbers.
so, any help to get me going will be appreciated. I have been reading on pwwn numbers and other variables/definitions/standards but I still do not know where to begin except for:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide