Skip to contentSkip to conversation

md multipath and failover

DISCUSSION Doug Griswold 2 participants 2 messages Sep 10, 2003 – Sep 11, 2003 MD RAID

lore
Share & tools
lore
#0 lore raw

Alright I got md/multipath to failover with 2 emulex hba's on red hat advanced server 2.1 kernel version 2.4.9-27enterprise. My next new problem is that it took five minutes to fail over from when I yanked one
of the fibre channel cables. Where could this timeout come from? I
have tried several times but each time it takes 5 minutes to failover. Also it won't failback. Any ideas out there.

#1 lore raw
Quoted 6 lines · Doug Griswold

Alright I got md/multipath to failover with 2 emulex hba's on red hat advanced server 2.1 kernel version 2.4.9-27enterprise. My next new problem is that it took five minutes to fail over from when I yanked one
of the fibre channel cables. Where could this timeout come from? I
have tried several times but each time it takes 5 minutes to failover. Also it won't failback. Any ideas out there.

The plain md multipath can't do failback automatically. People's opinion on whether that is a good idea do differ ;-)

The timeout is the time needed until the damn (sorry) Linux Kernel SCSI layers give up retrying and then pass the error code up to md for handling. You can maybe try tuning some emulex parameters to fix that.

If you want load balancing for the md multipath, you could try checking out my patch at ftp://ftp.suse.com/pub/people/lmb/md-mp/ vs 2.4, it adds some features to md and also makes it quite a bit more robust.

Sincerely,
Lars Marowsky-Brée <[email protected]>

Signature · 8 lines
High Availability & Clustering		ever tried. ever failed. no matter.
SuSE Labs				try again. fail again. fail better.
Research & Development, SuSE Linux AG		-- Samuel Beckett

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html