Thanks Mike,
With your pointers, I am able to create different sessions with different
initiator iqn names from the same initiator machine.

Best Regards,
Rahul.

On Mon, Mar 21, 2011 at 7:45 AM, Mike Christie <micha...@cs.wisc.edu> wrote:

> On 03/18/2011 05:11 AM, rahul gupta wrote:
>
>> Hi,
>>
>> I would like to know, how to configure multiple iqn names (initiator
>> instances running) on same machine using open-iSCSI (iscsi_tcp as
>> transport).
>>
>> Under a test scenario as follows, I am able to create multiple initiator
>> instances on the same machine, (but may be its not a cool way to do so):-
>>
>> 1. Start initiator with a iqn name and login into target.
>> 2. On initiator, mount lun and run some IO.
>> 3. Now let the IO to continue but kill iscsid.
>> 4. Now change the initiator iqn name and again start the daemon.
>> 5. Login into the target and start IO.
>> 6. On running iscsiadm -m session -P 3
>> Its observed that both the sessions are eastablished with different
>> initiator iqn name and IO is going fine on both sessions.
>>
>> Is it really whats expected?
>>
>>
> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to