Re: Using failover with differing EUI / IQN values

2010-03-22 Thread Claude Bing
Thanks, I will!

On Mar 22, 2010 5:52 AM, "Alex Zeffertt" 
wrote:

Possibly not.  I've seen the same disk receive different SCSI Ids when
exported using stgt (linux userspace iSCSI target) and iscsitarget (linux
kernel iSCSI target).

You need to try it out.  If /sbin/scsi_id outputs the same value at the
initiator for both LUNs then multipathd will consider them to be paths to
the same device and add them to the same map.  (See /etc/multipath.conf for
the exact /sbin/scsi_id usage.)



Regards,

Alex

Claude Bing wrote:

> >
> > Does this still apply if I'm using two separate iSCSI target devices
> sharing the same data sourc...
>
>> >> On Mar 19, 2010 1:24 PM, "Alex Zeffertt" 
>> >> > alex.zeffe...@eu.ci...
>>.
>>
>>
>> >>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.
>> ...
>> To post to this group, send email to open-iscsi@googlegroups.com > open-iscsi@googlegroups.com>.
>> To unsubscribe from this group, send email to
>> open-iscsi+unsubscr...@googlegroups.com> open-iscsi%2bunsubscr...@googlegroups.com
>> >.
>>
>>
>> >> For more options, visit this group at
>> http://groups.google.com/group/open-iscsi?hl=en.
>> >>
>>
> > --
> > You received this message because you are subscribed to the Google Groups
> "open-iscsi" group...
>


-- 
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
...

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@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.



Re: Using failover with differing EUI / IQN values

2010-03-22 Thread Alex Zeffertt
Possibly not.  I've seen the same disk receive different SCSI Ids when exported 
using stgt (linux userspace iSCSI target) and iscsitarget (linux kernel iSCSI 
target).


You need to try it out.  If /sbin/scsi_id outputs the same value at the 
initiator for both LUNs then multipathd will consider them to be paths to the 
same device and add them to the same map.  (See /etc/multipath.conf for the 
exact /sbin/scsi_id usage.)


Regards,

Alex

Claude Bing wrote:
Does this still apply if I'm using two separate iSCSI target devices 
sharing the same data source (RAID)?


On Mar 19, 2010 1:24 PM, "Alex Zeffertt" > wrote:


Yes, I've done it!

multipathd uses /sbin/scsi_id to determine which block devices are 
really the same as eachother.  (Actually, the callout is configured in 
/etc/multipath.conf, but its usually /sbin/scsi_id).


If /sbin/scsi_id returns the same ID for two block devices then you 
should be able to failover between them.


The path failovers are handled by the kernel part of the 
device-mapper-multipath package, and path recovery is handled by 
multipathd.


Regards,

Alex

Claude Bing wrote:

>
> Hello,
>
> I am wondering if it is possible to failover an iSCSI path from
one EUI / IQN to one ...

-- 
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.


--
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.



--
You received this message because you are subscribed to the Google 
Groups "open-iscsi" group.

To post to this group, send email to open-is...@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.


--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@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.



Re: Using failover with differing EUI / IQN values

2010-03-19 Thread Claude Bing
Does this still apply if I'm using two separate iSCSI target devices sharing
the same data source (RAID)?

On Mar 19, 2010 1:24 PM, "Alex Zeffertt" 
wrote:

Yes, I've done it!

multipathd uses /sbin/scsi_id to determine which block devices are really
the same as eachother.  (Actually, the callout is configured in
/etc/multipath.conf, but its usually /sbin/scsi_id).

If /sbin/scsi_id returns the same ID for two block devices then you should
be able to failover between them.

The path failovers are handled by the kernel part of the
device-mapper-multipath package, and path recovery is handled by multipathd.

Regards,

Alex

Claude Bing wrote:

> >
> > Hello,
> >
> > I am wondering if it is possible to failover an iSCSI path from one EUI /
> IQN to one ...
> --
> You received this message because you are subscribed to the Google Groups
> "open-iscsi" group.
> To post to this group, send email to open-is...@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.
>

-- 
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to open-is...@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.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@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.



Re: Using failover with differing EUI / IQN values

2010-03-19 Thread Alex Zeffertt

Yes, I've done it!

multipathd uses /sbin/scsi_id to determine which block devices are really the 
same as eachother.  (Actually, the callout is configured in /etc/multipath.conf, 
but its usually /sbin/scsi_id).


If /sbin/scsi_id returns the same ID for two block devices then you should be 
able to failover between them.


The path failovers are handled by the kernel part of the device-mapper-multipath 
package, and path recovery is handled by multipathd.


Regards,

Alex

Claude Bing wrote:

Hello,

I am wondering if it is possible to failover an iSCSI path from one EUI 
/ IQN to one with a different EUI / IQN assuming the data on both 
targets is identical. Would this be handeled by the iSCSI stack or 
multipathd?


Thank you for your help!

--
You received this message because you are subscribed to the Google 
Groups "open-iscsi" group.

To post to this group, send email to open-is...@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.


--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@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.



Using failover with differing EUI / IQN values

2010-03-19 Thread Claude Bing
Hello,

I am wondering if it is possible to failover an iSCSI path from one EUI /
IQN to one with a different EUI / IQN assuming the data on both targets is
identical. Would this be handeled by the iSCSI stack or multipathd?

Thank you for your help!

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@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.