Messages in this thread | | | From | Kyle Moffett <> | Subject | Re: Problem with 2.6 kernel and lots of I/O | Date | Tue, 31 May 2005 21:16:50 -0400 |
| |
On May 31, 2005, at 15:00:46, Roy Keene wrote: > I had not heard of "DRBD" before now, but it looks interesting. > I am looking into it further.
For DRBD, I recommend first installing DRBD, then setting up and installing Heartbeat. On Debian the process is something like the following:
# apt-get install kernel-package kernel-source-${VERSION} drbd0.7- module-source drbd0.7-utils heartbeat # cd /usr/src # tar -xjf kernel-source-${VERSION}.tar.bz2 # cd kernel-source-${VERSION} # cp /boot/config-${VERSION}-whatever ./.config # make-kpkg --revision ${REVISION} --append-to-version -$ {MOREVERSION} --added-modules drbd --config oldconfig --us --uc configure modules_image # dpkg -i /usr/src/drbd0.7-module-${VERSION}-${MOREVERSION}_$ {DRBD_VERSION}+${REVISION}_${ARCH}.deb
Then read the heartbeat docs to make yourself a /etc/ha.d/haresources file. Mine looks like this: # Address monarch.csl.tjhsst.edu, Kerberos master, LDAP master king IPaddr::198.38.19.1 Kerberos::TJHSST.EDU::CSL.TJHSST.EDU
# webkdc.tjhsst.edu king IPaddr::198.38.19.2
# weblogin.tjhsst.edu king IPaddr::198.38.19.3
# cups.csl.tjhsst.edu king IPaddr::198.38.19.8
# mirror.tjhsst.edu king IPaddr::198.38.19.9
# AFS volumes king drbddisk::afs0 AFSMount::/vicepa emperor drbddisk::afs1 AFSMount::/vicepb
NOTE: AFSMount is a custom heartbeat script, and I use a slightly modified drbddisk script as well.
Cheers, Kyle Moffett
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$ L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r !y?(-) ------END GEEK CODE BLOCK------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |