[Linux-cluster] cluster-2.01.00
David Teigland
teigland at redhat.com
Tue Jul 24 17:57:45 UTC 2007
A new source tarball of cluster code from cvs head has been released. The
cluster tarballs are usually released for the latest released kernel
version, but in this case it's for 2.6.23-rc kernels. This is because of
the change to the dlm user/kernel interface which we've already begun
using in libdlm (see extra step below to install new dlm headers.)
ftp://sources.redhat.com/pub/cluster/releases/cluster-2.01.00.tar.gz
. start with 2.6.23(-rc) kernel
. change gfs2 to allow gfs1 to share its lock modules by adding these
three lines to the end of linux/fs/gfs2/locking.c
EXPORT_SYMBOL_GPL(gfs2_mount_lockproto);
EXPORT_SYMBOL_GPL(gfs2_unmount_lockproto);
EXPORT_SYMBOL_GPL(gfs2_withdraw_lockproto);
. In addition to building and installing the kernel and modules, you need
to install the new dlm headers, e.g.
cd /usr/src/linux;
make headers_install
cp /usr/src/linux/usr/include/linux/dlm* /usr/include/linux/
. openais 0.80.3 is required (openais.org)
cd openais-0.80.3
make; make install DESTDIR=/
. compile and install cluster-2.01.00
cd cluster-2.01.00
./configure --kernel_src=/usr/src/linux (--libdir=/usr/lib64 for x86-64)
make install
More information about the Linux-cluster
mailing list