VMware Solutions Discussions

iSCSI and FCP Initiator Group to Same LUN

kyle_gochenour
9,588 Views

This is going to be an easy answer probably, but have to ask anyways.

(Our storage admin recently left leaving us poking our NetApp filer with sticks to see what hapens since no one else knew anything about it.)

Anyways, we currently have a LUN (windows) mapped to a FCP Intiator group (windows) and everything is working dandy. We now have the need to map an iSCSI intiator group (windows) to this same LUN. But we get an error saying the LUN is already mapped to an FCP group.

Oddly enough we can add our ESX FCP Group and the windows iSCSI group to the LUN without errors, but that doesnt help us.

That lead us to believe that you cant have an FCP and iSCSI group of the same OS mapped to the same LUN.

Anyways, can some one confirm what we think to be true. Or if we are wrong in our assumption, how to get it working?

Thanks.

13 REPLIES 13

lwei
9,564 Views

Kyle,

You can have both iSCSI and FCP igroups for the same LUN. However, you should only map one igroup at a time. Otherwise, you may end up with data corruption. I guess you just want to switch to the iSCSI igroup, correct? If that's the case, you can just unmap the FCP igroup then map the LUN to the iSCSI igroup.

Hope that helps,

Wei

ianaforbes
9,564 Views

Why would there be the posibility of data corrupion? It's just another host accessing a shared lun over a different protocol. If it were another host accessing the same lun over FCP there would be no data corruption possibility right? So, why would introducing an iSCSI host make a difference?

lwei
9,564 Views

I think the discussion is about same host with both FCP and iSCSI. You are talking about multi-host, correct? These are difference cases.   -Wei

ianaforbes
9,564 Views

There's no indication it's the same host actually. Why would someone want to map two different types of connections to the same lun from the same host?

scottgelb
9,565 Views

A use case a customer asked for was If they had one fc fabric and they wanted mpio redundancy with fcp and Ethernet as a passive path. I don't like it but if budgets only allow few fc ports I could see trying it.

Sent from my iPhone 4S

ianaforbes
9,565 Views

I suppose you could do it that way, although you would have to disable ALUA on the FC igroup to support that configuration.

adlrg
5,870 Views

Does it also applied to Clustered ONTAP? So is it possible to access the same LUN over FCP and (by necessity) over iSCSI from the same host? Thanks

martin2
9,564 Views

Hi Kyle.  Yes you can certainly map a LUN to multiple igroups. In this example I created a LUN called lun0 in /vol/marty and mapped it to a FC igroup called marty1 and an iSCSI igroup called marty2.  Please see below.

argon> lun show -v /vol/marty/lun0

        /vol/marty/lun0              1.0g (1077511680)    (r/w, online, mapped)

                Serial#: W-D7GZfvAiQW

                Share: none

                Space Reservation: disabled

                Multiprotocol Type: windows

                Maps: marty1=0 marty2=0

                Occupied Size:       0 (0)           

                Creation Time: Thu Oct 20 14:55:46 EST 2011

                Cluster Shared Volume Information: 0x0

argon> igroup show -v marty1

    marty1 (FCP):

        OS Type: windows

        Member: 01:02:03:04:05:06:07:08 (not logged in)

        UUID: 449cf394-fc62-11e0-ad12-00a098110c48

argon> igroup show -v marty2

    marty2 (iSCSI):

        OS Type: windows

        Member: iqn.1991-05.com.microsoft:marty (not logged in)

        UUID: 268e8df4-fc62-11e0-ad12-00a098110c48

If you'd like more help, perhaps you could share your syntax/output.

Cheers

Marty


ANDIFUEHRER
9,564 Views

Hello,

I found this post with google - searching for a storage which can handle both "presentations" - over FC and over iSCSI.

We have one server-room with two ESX-Servers and the storage - and another one with a signle ESX-Machine. The "offsite" location is connected with a MULTIMODE fibre-cable (about 500 meters). I heared, that FC over this distance is not recommended - and therefore I want to use iSCSI (1GBit) to connect the machine to the storage. Also our budget is a little bit to small to get HBA or any kind of single-mode cables.

Do you think, that this is a good solution?

Another question about the above mentioned solution:

I found another thread in this forum with the title iSCSI and FC presenting the same lun. (http://communities.netapp.com/thread/14775) They explained that there is a difference when the storage is in Cluster-Mode or in NON-ClusterMode.

Marty - does your solution depend on Cluster-mode and NON-Cluster Mode ?

Thand you in advance

kind regards

andi

aborzenkov
9,564 Views

500m is the “official” distance where FC with 1Gb/s and OM2 cable (the one used at the time FC was initially deployed) should work. The real limit is determined not by distance as such, but by signal attenuation which is factor of cable quality, number of connectors, SFP/GBIC sensitivity etc. In real life distance may be better or worse.

You could try to use FC and monitor for errors. Even better would be to hire somebody to measure signal loss. Here is NetApp document describing some considerations about FC distance: http://now.netapp.com/NOW/knowledge/docs/san/guides/CFO_cable/cabledistance.shtml

CHAMMUNDESWARI
6,105 Views

Command not showing UUID? What may be reason? & how to get UUID for respective node?

igroup show -v lhrmdst1

    lhrmdst1 (iSCSI):

        OS Type: linux

        Member: iqn.1999-11.com.agilent.cos.lhrmdst1 (logged in on: vif1-66)

Thanks

lwei
6,105 Views

Don't know why you can't get UUID. I can get it fine with that command. What version of ONTAP you are running?

Thanks,

Wei

CHAMMUNDESWARI
6,105 Views

Any other command to get Node UUID?

Thanks

Public