LISM - loop master selection?
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
LISM - loop master selection?

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System
Author Message
darek
Guest





Posted: Wed Aug 17, 2005 4:16 pm    Post subject: LISM - loop master selection? Reply with quote

Hello,

Could somebody explain me the mechanism/procedure of loop master selection
in Fibre Channel Arbitrared Loops?
I wonder wchich device becomes the loop master - is it the one with the
lowest WWN?

Thanks
Back to top
Jaroslaw Weglinski
Guest





Posted: Wed Aug 17, 2005 4:16 pm    Post subject: Re: LISM - loop master selection? Reply with quote

Greetings!
Quote:
Hello,

Could somebody explain me the mechanism/procedure of loop master selection
in Fibre Channel Arbitrared Loops?
I wonder wchich device becomes the loop master - is it the one with the
lowest WWN?
yes, if there is no FL node, and the node with lowest WWPN implements

LIM function (every FL port has to implement it, but for NL it is optional)
Quote:

Thanks


in absence of FL ports:


1) every NL node sets it native address to 0000EF
2) every node starts to transmit LISM with D_ID and S_ID = native address
- if port receives D_ID, S_ID and Port Name equal to its own, it becomes
loop initialization master and starts transmitting ARB(F0)
- if D_ID, S_ID or Port Name is algebraically lower, port starts to
repeat received frames until it gets ARB(F0)

[...]


regards,
Jaroslaw Weglinski
Back to top
Dale Hagglund
Guest





Posted: Sat Aug 20, 2005 8:15 am    Post subject: Re: LISM - loop master selection? Reply with quote

darek> Could somebody explain me the mechanism/procedure of loop
darek> master selection in Fibre Channel Arbitrared Loops? I
darek> wonder wchich device becomes the loop master - is it the
darek> one with the lowest WWN?

This is true, except when a switch port is on the loop (a public
loop). In this case, the switch port always becomes loop master.

I'm not sure if you wanted more detail about the LISM process than
that. Roughly, here's how it works:

1. When a NL-port comes online (or begins to re-initialize in
response to a LIP), it begins continuously emitting LISM
frames containing its own port wwn.

2. Each NL-port listens for LISM frames. When it receives a
LISM,

(a) if the wwn in the incoming LISM is less than the
wwn of the receiving port, then the receiving port
stops sending its own LISM frames, and begins to
pass received LISM frames through unmodified.

(b) if the wwn in the incoming LISM is greater than
wwn of the receiving port, the receiving NL-port
drops the incoming frame and continues emitting
its own LISM frames.

(c) if the wwn in the incoming LISM is to the wwn of
the receiving NL-port, then this LISM frame has
been passed on by all other NL-ports on the loop,
and the receiving NL-port is the loop master.

(I don't have the relevant fibre channel specs to hand, so I've
probably got some of the details wrong. If you really need to
understand this stuff, go to www.t11.org and start downloading the
latest public versions of the specs. Be prepared to spend a lot of
time reading.)

Note that LISM frames don't really have a destination per se; they're
received by the next NL-port on the loop and processed as described
above. In the description above, I've omitted the special cases
necessary to force an FL-port, if any is present, to be elected loop
master.

Dale.
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB