All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Designing a new prio_callout
Date: Wed, 25 Jul 2007 13:37:05 +0200	[thread overview]
Message-ID: <46A735E1.4070206@suse.de> (raw)
In-Reply-To: <d61540a40706211442w1ef3bacflddd44f74c8883a3f@mail.gmail.com>

Ethan John wrote:
> I hope I found the right list for this.
> 
> My company is developing an iSCSI solution, and in looking into Linux
> compatability and performance, we're concerned that our architecture
> doesn't
> play well with the existing multipath configurations that are available.
> 
> We cannot support what Linux calls multibus, or what the fiber world seems
> to call active/active. We will need folks to configure failover
> exclusively.
> 
> It appears that the current multipathing failover configuration assigns a
> priority to each path (by default, just assigns the same priority to all
> paths). This is bad for us, as we're presenting iSCSI targets across
> multiple machines in a cluster; ideally, a user will have multiple devices,
> each with a separate path to a separate machine, with failover to the other
> machines in the cluster. The default setup of multipath will map all
> connections to a single machine, which is no load balancing at all.
> 
> I've fooled around with various other values for default_prio_callot
> (besides the /bin/true), and the one that seems to work best is actually
> mpath_prio_random.
> 
Argl.

> In fact, mpath_prio_random would actually work perfectly, except that it
> seems to swap path priorities extremely often -- several times a minute. So
> my company needs to develop a new script, probably much like the
> mpath_prio_emc or mpath_prio_netapp ones, so that we can hint at load
> balancing across devices with failover as the multipathing policy.
> 
> I've been completely unable to find documentation on this. Where might I
> look? Is this even the right direction in which to be looking for a
> solution to this problem?
> 
Have you looked a ALUA ?
It's in SPC-3 section 5.8: 'Target port group access states'.

This is the preferred way of handling these things.
And is supported by multipath-tools.

Mind you, only implicit ALUA is supported. Explicit ALUA
support will be implemented, too, once someone actually
uses it :-)

Please do not design your own way of handling failover. This
has shown too many difficulties in the past.

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)

  reply	other threads:[~2007-07-25 11:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 21:42 Designing a new prio_callout Ethan John
2007-07-25 11:37 ` Hannes Reinecke [this message]
2007-07-29 16:03   ` Ethan John
2007-07-30  6:31     ` Hannes Reinecke
2007-08-09 17:55       ` Ethan John
2007-08-10 15:07         ` Hannes Reinecke
2007-08-10 15:40           ` Ethan John
2007-08-14 17:05             ` Ethan John
2007-08-15  8:45               ` Stefan Bader
2007-08-15 15:57                 ` Ethan John
2007-08-16 10:58                   ` Stefan Bader
2007-08-16 17:30                     ` Ethan John
2007-08-27 15:09               ` Hannes Reinecke
2007-08-27 15:50                 ` Ethan John

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=46A735E1.4070206@suse.de \
    --to=hare@suse.de \
    --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.