Do you absolutely require different IQN names for the initiator?
You should be able to specify separate session ID (iirc SID) to create
multiple connections from a single initiator.
-- Pasi
--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To post to this group, send email to open-...@googlegroups.com.
To unsubscribe from this group, send email to open-iscsi+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
Can you please explain in what kind of scenario two different
iqn names are needed for a single initiator? I haven't personally
had that requirement so far.. so I'm trying to figure out when it's needed.
> I know, if I login into different targets or same target multiple times
> (on different portals) then separate sessions and thus multiple
> connections are created.
>
Yeah, and even if you have just a single target/portal you can create
multiple session to it from a single initiator by using different sid values.
-- Pasi
> Best Regards,
> Rahul.
> To post to this group, send email to [2]open-...@googlegroups.com.
> To unsubscribe from this group, send email to
> [3]open-iscsi+...@googlegroups.com.
> For more options, visit this group at
> [4]http://groups.google.com/group/open-iscsi?hl=en.
>
> References
>
> Visible links
> 1. mailto:pa...@iki.fi
> 2. mailto:open-...@googlegroups.com
> 3. mailto:open-iscsi%2Bunsu...@googlegroups.com
> 4. http://groups.google.com/group/open-iscsi?hl=en
> -----Original Message-----
> From: open-...@googlegroups.com [mailto:open-...@googlegroups.com]
> On Behalf Of Pasi Kärkkäinen
> Sent: Saturday, March 19, 2011 10:16 AM
> To: rahul gupta
> Cc: open-...@googlegroups.com
> Subject: Re: multiple initiator instances on same machine.
>
> On Sat, Mar 19, 2011 at 06:59:55PM +0530, rahul gupta wrote:
> > Yes, I require two different IQN names for the initiator.
> >
>
> Can you please explain in what kind of scenario two different
> iqn names are needed for a single initiator? I haven't personally
> had that requirement so far.. so I'm trying to figure out when it's
> needed.
Having different iqns to create sessions can give a lot of flexibility..
See this presentation I gave in last linuxcon http://events.linuxfoundation.org/slides/2010/linuxcon2010_iyer.pdf
No.
Just create a iface for each initiator.
iscsiadm -m iface -I iface1 -o new
iscsiadm -m iface -I iface1 -o update -v iface.initiatorname yourname
iscsiadm -m iface -I iface2 -o new
iscsiadm -m iface -I iface2 -o update -v iface.initiatorname yourothername
iscsiadm -m discovery -t st -p ip -I iface2 -I iface1 -P 1
iscsiadm -n node -I iface1 -l
iscsiadm -n node -I iface2 -l