[dm-devel] multipath-tools prioritizer - different naming conventions

Matthias Rudolph Matthias.Rudolph at hds.com
Wed Jul 5 11:27:37 UTC 2006


Hi Christophe,
I have tested SLES 10 RC 3.
The multipath-tools-0.4.6-25.6 are included. And the Hitachi prioritizer
is also included now. I developed the prioritizer under the old name
/sbin/pp_hds_modular. But in the distribution is the new name
/sbin/mpath_prio_hds_modular used. It seems we have to change the file
hwtable.c so that the Hitachi entry points to the new name of the
prioritizer.
All other things works perfect now (after # mv
/sbin/mpath_prio_hds_modular /sbin/pp_hds_modular) with Hitachi
Enterprise and Modular Class w/o an adapted /etc/multipath.conf file.

WE HAVE TO CHANGE FROM:
	/*
	 * Hitachi controler family
	 *
	 * Maintainer : Matthias Rudolph
	 * Mail : matthias.rudolph at hds.com
	 */
	{
		.vendor        = "{HITACHI,HP}",
		.product       = "OPEN-*",
		.getuid        = DEFAULT_GETUID,
		.getprio       = NULL,
		.features      = DEFAULT_FEATURES,
		.hwhandler     = DEFAULT_HWHANDLER,
		.selector      = DEFAULT_SELECTOR,
		.pgpolicy      = MULTIBUS,
		.pgfailback    = FAILBACK_UNDEF,
		.rr_weight     = RR_WEIGHT_NONE,
		.no_path_retry = NO_PATH_RETRY_UNDEF,
		.minio         = DEFAULT_MINIO,
		.checker_name  = READSECTOR0,
	},
	{
		.vendor        = "HITACHI",
		.product       = "DF*",
		.getuid        = DEFAULT_GETUID,
		.getprio       = "/sbin/pp_hds_modular %d",
		.features      = DEFAULT_FEATURES,
		.hwhandler     = DEFAULT_HWHANDLER,
		.selector      = DEFAULT_SELECTOR,
		.pgpolicy      = GROUP_BY_PRIO,
		.pgfailback    = -FAILBACK_IMMEDIATE,
		.rr_weight     = RR_WEIGHT_NONE,
		.no_path_retry = NO_PATH_RETRY_UNDEF,
		.minio         = DEFAULT_MINIO,
		.checker_name  = READSECTOR0,
	},

CHANGE TO:
	/*
	 * Hitachi controler family
	 *
	 * Maintainer : Matthias Rudolph
	 * Mail : matthias.rudolph at hds.com
	 */
	{
		.vendor        = "{HITACHI,HP}",
		.product       = "OPEN-*",
		.getuid        = DEFAULT_GETUID,
		.getprio       = NULL,
		.features      = DEFAULT_FEATURES,
		.hwhandler     = DEFAULT_HWHANDLER,
		.selector      = DEFAULT_SELECTOR,
		.pgpolicy      = MULTIBUS,
		.pgfailback    = FAILBACK_UNDEF,
		.rr_weight     = RR_WEIGHT_NONE,
		.no_path_retry = NO_PATH_RETRY_UNDEF,
		.minio         = DEFAULT_MINIO,
		.checker_name  = READSECTOR0,
	},
	{
		.vendor        = "HITACHI",
		.product       = "DF*",
		.getuid        = DEFAULT_GETUID,
		.getprio       = "/sbin/mpath_prio_hds_modular %d",
		.features      = DEFAULT_FEATURES,
		.hwhandler     = DEFAULT_HWHANDLER,
		.selector      = DEFAULT_SELECTOR,
		.pgpolicy      = GROUP_BY_PRIO,
		.pgfailback    = -FAILBACK_IMMEDIATE,
		.rr_weight     = RR_WEIGHT_NONE,
		.no_path_retry = NO_PATH_RETRY_UNDEF,
		.minio         = DEFAULT_MINIO,
		.checker_name  = READSECTOR0,
	},


Thanks a lot for your support
Matthias Rudolph
Hitachi Data Systems





More information about the dm-devel mailing list