On Nov 28, 2014, at 5:51 PM, The Lee-Man <leeman.dun...@gmail.com> wrote:

> On Wednesday, November 26, 2014 1:31:30 PM UTC-8, Mike Christie wrote:
> On 11/25/2014 06:58 PM, The Lee-Man wrote: 
> > Hi Mike: 
> > 
> > I am dealing with a problem in Equallogic, and it looks like the Current 
> > Portal and Persistent Portal are different. 
> > 
> > As this is something I haven't seen before, I was hoping you could 
> > explain what it is. 
> > 
> > I see in the README: 
> > 
> > ... 
> >         Current Portal: portal currently logged into 
> >         Persistent Portal: portal we would fall back to if we had got 
> > redirected during login 
> > 
> > Is this related to Equallogic's iSCSI login redirect? 
> 
> Yes. 
> 
> > 
> > It sounds like the Persistent Portal is the one that we initially try to 
> > log into, and the Current Portal is the one we get redirected to. Or is 
> 
> Correct. Persistent portal is the one returned by the discovery command. 
> 
> Excellent. I guessed correctly. :)
>  
> 
> > that backwards? 
> > 
> > What happens if we discover the main (group virtual) portal, and our 
> > Node record reflects that, then we get redirected? It seems like the 
> 
> Node record portal ip is the ip that the EQL box returns when you do 
> discovery, and it is the persistent ip value you see in sysfs and when 
> you run iscsiadm -m session. 
> 
> Note that if a driver does not support persistent_address attr then the 
> persistent and current are both the currently logged into address. I 
> think just older qlogic driver did not export this, but does now. 
> 
> Also, really old iser drivers did not export the non persistent address 
> so they were both the same, but that was a long time ago. 
> 
> I noticed the code that filled in both current and persistent portal, as
> needed.
>  
> 
> > Portal is going to differ between the Node record and the Session 
> > record, which might explain what I'm seeing. 
> 
> It should match. 
> 
> No. If the current and persistent portals differ, then only one
> of them can match the current session.

Ah, I misunderstood what you meant by just “Portal”. Thought you were referring 
to the portal returned during discovery. Not the redirected one.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to