All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: Jason Shamberger <Jason_Shamberger@Dell.com>
Cc: device-mapper development <dm-devel@redhat.com>,
	Parind Shah <Parind_Shah@Dell.com>,
	Narendran Ganapathy <Narendran_Ganapathy@Dell.com>,
	agk@redhat.com, christophe varoqui <christophe.varoqui@free.fr>
Subject: Re: [PATCH 1/1] dm-mpath: Extend path selector interface for	supporting Dell EqualLogic path selector
Date: Thu, 01 Jul 2010 09:01:55 +0200	[thread overview]
Message-ID: <4C2C3D63.1030605@suse.de> (raw)
In-Reply-To: <86A3089001A44141B76B882059E7E53B05968CCF@M31.equallogic.com>

Jason Shamberger wrote:
> Hannes,
> 
> Thanks for the feedback.  I looked through the spec you mentioned, and the logical block dependent ALUA
> functionality is similar to what we are trying to accomplish, however it is not a good fit with our storage
> array architecture.  Our storage array exposes all LUNs through a single Target Port Group, whereas multiple
> TPGs are needed for the ALUA functionality.  The design choice of a single TPG was made to simplify the
> logic on the initiator side.  The client does not need to decide which TPG(s) to connect to, it always
> connects to the single Target Port Group and the storage array decides where to place the connections
> through use of iSCSI redirection.
> 

I still think it should be possible to use the ALUA infrastructure here.
As you are using iSCSI redirection _all_ nodes in you storage cluster already will have to have
an iSCSI interface. To have your proposed functionality mapped on LB-ALUA you only have to
expose each of these interfaces, and have the mapping shared between all of these
nodes (which you have to do anyway).

Assume two nodes A and B with iSCSI interfaces A1 and B1 both serving LUN1.
One part LUN1a residing on node A and the other part LUN1b residing on node B.

Each node (and every interface on that node) would reside in it's own SCSI Target Port Group,
exposing _the entire_ LUN as LB-ALUA capable. Node A would mark LUN1a as 'active/optimized' and
LUN1b as 'active/non-optimized', node B would mark LUN1b as 'active/optimized' and LUN1a as
'active/non-optimized'. Any accesses to the 'non-optimized' sections would be forwarded
to the other nodes via iSCSI redirection.

In effect access would work even when connecting to a single node, and a good speedup would
be observed when using an LB-ALUA capable initiator.

Yes, you would have to expose several TPGs (basically one group per node), but each LUN would
be present in each TPG. So it wouldn't matter much to the functionality here.

> Our goal with this project is to keep the simplicity aspects of our storage array architecture,
> but add a path selector on the linux initiator to choose the optimal path for each IO.
> In this framework, we need additional information to be passed to the path selector to
> aid it in choosing the optimal path.
>  
But you have to fight for it, as you're the only one using this infrastructure.
If you would support LB-ALUA you wouldn't be alone in this, as we (as the linux
community) would have to support it eventually.
Plus it's simply is more fun to code against an official standard; proprietary
interfaces are a pain to support properly.

And I'd be glad to help in converting multipathing to make it LB-ALUA capable,
but my interest in proprietary interfaces is close to zero :-)

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

  parent reply	other threads:[~2010-07-01  7:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 13:53 [PATCH 1/1] dm-mpath: Extend path selector interface for supporting Dell EqualLogic path selector Narendran Ganapathy
2010-06-29  8:32 ` Hannes Reinecke
2010-06-30 13:01   ` Jason Shamberger
     [not found]   ` <86A3089001A44141B76B882059E7E53B05968CCF@M31.equallogic.com>
2010-07-01  7:01     ` Hannes Reinecke [this message]
2010-06-29 11:10 ` Kiyoshi Ueda
2010-06-29 21:30   ` Narendran Ganapathy
2010-07-09 16:10 ` Mike Snitzer
2010-07-12 22:34 ` Alasdair G Kergon
2010-07-14 21:34   ` [PATCH 1/1] dm-mpath: Extend path selectorinterface " Jason Shamberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C2C3D63.1030605@suse.de \
    --to=hare@suse.de \
    --cc=Jason_Shamberger@Dell.com \
    --cc=Narendran_Ganapathy@Dell.com \
    --cc=Parind_Shah@Dell.com \
    --cc=agk@redhat.com \
    --cc=christophe.varoqui@free.fr \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.