FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

LinkBack Thread Tools
Old 10-11-2012, 09:40 AM
Michael Menge
Default default path for iSCSI


first, I hope that I have found the correct list for this question,
as it is not really a devel but a multipath user question.

I want to build a ha-cluster for kvm-virtualisation. I have some blades
and each blade has two network interfaces. The storage for the virtual
machines is provides by two iSCSIs systems which are connected with
two interfaces each.

My plan was that the iSCSI-traffic should use the second interface by
default, and only use the first interface, if the second path is down,
as the first network interface is used by the other network traffic.

Consulting the manpage and the net i found that setting
path_grouping_policy to group_by_prio and setting the priority
for the default path higher than the other path should do
the trick.

I could set the priority with prio weightedpath, but the
Host part of the HBTL is different on some blades as are the
device names. I would like to use the same multipath config
on all blades and i am certain that both the HBTL and the device name
may change on reboot. Before version 0.4.9 there was the option to
configure prio_callout and use a script to set the priority but that's
not possible any more.

Is there a way to use /dev/disk/by-path in weightedpath?
Is it possible to write my own priority routine and still to use the
multipath package from the distribution? If so is there any
documentation/examples how to do this?


Michael Menge


M.Menge Tel.: (49) 7071/29-70316
Universität Tübingen Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail:

Wächterstraße 76
72074 Tübingen--
dm-devel mailing list

Thread Tools

All times are GMT. The time now is 03:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org