All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy <genanr@emsphone.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: prio ignored in multipath.conf
Date: Tue, 7 Jul 2009 11:07:26 -0500	[thread overview]
Message-ID: <20090707160726.GA18695@thumper2> (raw)
In-Reply-To: <1246979128.20189.315.camel@breeves.fab.redhat.com>

On Tue, Jul 07, 2009 at 04:05:28PM +0100, Bryn M. Reeves wrote:
> On Tue, 2009-07-07 at 09:41 -0500, Andy wrote:
> > I am trying to change the path priorities on QLA2432 HBAs to a 3PAR array.
> > The kernel is 2.6.31-rc1 and multipath tools v0.4.9
> > 
> > I created a small C program to change priorities (right now it just prints
> > some info).  But, when I run multipath the verbose information keeps saying
> > prio = const (controller setting), even though I have "prio  allant" (allant
> > is the name of my prioritizer).  If I have "prio alllant" a global default
> > it will run the code for the non-QLA2432/3PAR device, but not the devices
> > that are under the control of the QLA2432.  It always sets prio to const and
> > the QLA2432 paths.  This use to work at some point with older
> > multipath/kernel versions.
> 
> It would help if you included your multipath.conf (or a link to it).
> 

defaults {
	# multipath_tool	"/sbin/multipath -v 0 -S"
	udev_dir	/dev
	# polling_interval 10
	# default_selector	"round-robin 0"
	selector	"round-robin 0"
	# default_selector_args	0
	path_checker "readsector0"
	# default_path_grouping_policy	multibus
	# default_getuid_callout	"/sbin/scsi_id -g -u -s /block/%n"
	# default_prio_callout	"/bin/false"
	# path_grouping_policy	multibus
	path_grouping_policy group_by_prio
	getuid_callout	"/sbin/scsi_id -g -u -s /block/%n"
	prio_callout	"/bin/true"
	# prio_callout	"/sbin/mpath_prio_random"
	# prio "allant"
	rr_min_io	8

}

blacklist {
	devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
	devnode "^hd[a-z][[0-9]*]"
	devnode "^sda[[0-9]*]"	
	devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}

# devnode_blacklist {
#	devnode "(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
#	devnode "hd[a-z][[0-9]*]"
#	devnode "sda[[0-9]*]"	
#	devnode "^(sda)[0-9]*"
#	devnode "cciss!c[0-9]d[0-9]*[p[0-9]*]"
# }


multipaths {

	multipath {
		# start_first_path	1
		wwid 			350002ac000020246
		# path_grouping_policy	multibus
		path_grouping_policy	group_by_prio
		# path_checker		readsector0
		# path_selector		"round-robin 0"
		prio			allant
		# path_selector_args	0
		rr_min_io		8	# u02 io count
		alias 			u02 
	}



	multipath {
		# start_first_path	1
		wwid 			350002ac000ed0246
		# path_grouping_policy	multibus
		path_grouping_policy	group_by_prio
		# path_checker		readsector0
		path_selector		"round-robin 0"
		# path_selector_args	0
		prio			allant
		rr_min_io		1	# u01 io count
		alias 			u01_vm1
	}
	multipath {
		# start_first_path	1
		wwid 			350002ac000ee0246
		# path_grouping_policy	multibus
		path_grouping_policy	group_by_prio
		# path_checker		readsector0
		path_selector		"round-robin 0"
		# path_selector_args	0
		prio			allant	
		rr_min_io		1	# u01 io count
		alias 			u01_vm2
	}
	multipath {
		# start_first_path	1
		wwid 			350002ac001260246
		# path_grouping_policy	multibus
		path_grouping_policy	group_by_prio
		# path_checker		readsector0
		path_selector		"round-robin 0"
		# path_selector_args	0
		prio			allant
		rr_min_io		1	# u01 io count
		alias 			u01_vm3
	}
	multipath {
		# start_first_path	1
		wwid 			350002ac001670246
		# path_grouping_policy	multibus
		path_grouping_policy	group_by_prio
		# path_checker		readsector0
		path_selector		"round-robin 0"
		prio			allant
		# path_selector_args	0
		rr_min_io		1	# u01 io count
		alias 			u01_vm4
	}
}

devices {
	device {
		vendor			"COMPAQ  "
		product			"HSV110 (C)COMPAQ"
		path_grouping_policy	multibus
		getuid_callout          "/sbin/scsi_id -g -u -s"
		path_checker		readsector0
		path_selector		round-robin
	}
	device {
		vendor			"COMPAQ  "
		product			"MSA1000         "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"COMPAQ  "
		product			"MSA1000 VOLUME  "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"DEC     "
		product			"HSG80           "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"HP      "
		product			"HSV100          "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"3PARdata"
		product			"VV              "
		# path_grouping_policy	multibus
		path_grouping_policy    group_by_prio
		prio			allant
		path_checker		tur
	}
	device {
		vendor			"DDN     "
		product			"SAN DataDirector"
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"FSC     "
		product			"CentricStor     "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"HITACHI "
		product			"DF400           "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"HITACHI "
		product			"DF500           "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"HITACHI "
		product			"DF600           "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"IBM     "
		product			"ProFibre 4000R  "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"SGI     "
		product			"TP9100          "
		vendor			"COMPAQ  "
		product			"MSA1000         "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"SGI     "
		product			"TP9300          "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"SGI     "
		product			"TP9400          "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		vendor			"SGI     "
		product			"TP9500          "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		# all paths active but with a switchover latency
		# LSI controlers
		vendor			"STK     "
		product			"OPENstorage D280"
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		# assymmetric array
		vendor			"SUN     "
		product			"StorEdge 3510   "
		path_grouping_policy	multibus
		path_checker		tur
	}
	device {
		# symmetric array
		vendor			"SUN     "
		product			"T4              "
		path_grouping_policy	multibus
		path_checker		tur
	}
}

      reply	other threads:[~2009-07-07 16:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-07 14:41 prio ignored in multipath.conf Andy
2009-07-07 15:05 ` Bryn M. Reeves
2009-07-07 16:07   ` Andy [this message]

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=20090707160726.GA18695@thumper2 \
    --to=genanr@emsphone.com \
    --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.