--- redhat-cluster-2.20080227.orig/debian/redhat-cluster-source.rules +++ redhat-cluster-2.20080227/debian/redhat-cluster-source.rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +# module assistant stuff +PACKAGE=redhat-cluster-modules +MA_DIR ?= /usr/share/modass +-include $(MA_DIR)/include/generic.make +-include $(MA_DIR)/include/common-rules.make + +kdist_clean: prep-deb-files + dh_clean + $(MAKE) -C $(KSRC) M=$(CURDIR) clean USING_KBUILD=1 + +kdist_config: prep-deb-files +binary-modules: kdist_config + dh_testdir + dh_testroot + dh_clean -k + # build the module + make -C $(KSRC) M=$(CURDIR)/ modules USING_KBUILD=1 + mkdir -p $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/extra/ + install -m644 -b gfs/gfs.ko $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/extra/gfs.ko + install -m644 -b gnbd/gnbd.ko $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/extra/gnbd.ko + # this is broken, dunno why: + # #make -C $(KSRC) M=$(CURDIR)/ modules_install INSTALL_MOD_PATH=$(CURDIR)/debian/$(PKGNAME) INSTALL_MOD_DIR=extra/ + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_installmodules + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) + +.PHONY: binary-modules kdist kdist_config kdist_image kdist_clean --- redhat-cluster-2.20080227.orig/debian/gnbd-server.default +++ redhat-cluster-2.20080227/debian/gnbd-server.default @@ -0,0 +1 @@ +# GNBD_OPTIONS="" --- redhat-cluster-2.20080227.orig/debian/TODO +++ redhat-cluster-2.20080227/debian/TODO @@ -0,0 +1,41 @@ +Merge cman.init changes from upstream to handle xen. +Review *.init. +check scsi_reserve stuff + +Open packaging issues +-------------------- + +- provide upgrade path from cluster suite 1.03 in etch: + * upgrade document + * cman preinst: on upgrade from 1.0x, bug the user + * debconf template: point the user to the upgrade document, + and let the user proceed at own risk + +- update initscripts to use lsb functions + +- prod upstream to write missing manpages + +W: rgmanager: binary-without-manpage usr/sbin/clunfslock +W: rgmanager: binary-without-manpage usr/sbin/rg_test +W: gnbd-server: binary-without-manpage usr/sbin/gnbd_clusterd +W: gnbd-server: binary-without-manpage usr/sbin/gnbd_get_uid +W: gnbd-client: binary-without-manpage usr/sbin/gnbd_monitor +W: gnbd-client: binary-without-manpage usr/sbin/gnbd_recvd +W: gfs2-tools: binary-without-manpage usr/sbin/gfs2_edit +W: gfs2-tools: binary-without-manpage usr/sbin/gfs2_umount +W: gfs2-tools: binary-without-manpage usr/sbin/umount.gfs2 +W: gfs-tools: binary-without-manpage usr/sbin/gfs_debug +W: gfs-tools: binary-without-manpage usr/sbin/gfs_edit +W: gfs-tools: binary-without-manpage sbin/umount.gfs +W: cman: binary-without-manpage usr/sbin/fence_baytech +W: cman: binary-without-manpage usr/sbin/fence_cpint +W: cman: binary-without-manpage usr/sbin/fence_ibmblade +W: cman: binary-without-manpage usr/sbin/fence_rackswitch +W: cman: binary-without-manpage usr/sbin/fence_rps10 +W: cman: binary-without-manpage usr/sbin/fence_rsb +W: cman: binary-without-manpage usr/sbin/fence_scsi +W: cman: binary-without-manpage usr/sbin/fence_scsi_test +W: cman: binary-without-manpage usr/sbin/fence_vmware +W: cman: binary-without-manpage usr/sbin/fence_xcat +W: cman: binary-without-manpage usr/sbin/fence_zvm + --- redhat-cluster-2.20080227.orig/debian/rgmanager.install +++ redhat-cluster-2.20080227/debian/rgmanager.install @@ -0,0 +1,17 @@ +usr/sbin/clubufflush +usr/sbin/clufindhostname +usr/sbin/clulog +usr/sbin/clunfslock +usr/sbin/clurgmgrd +usr/sbin/clurmtabd +usr/sbin/clustat +usr/sbin/clusvcadm +usr/sbin/rg_test +usr/share/cluster/* +usr/share/man/man8/clubufflush.8 +usr/share/man/man8/clufindhostname.8 +usr/share/man/man8/clulog.8 +usr/share/man/man8/clurgmgrd.8 +usr/share/man/man8/clurmtabd.8 +usr/share/man/man8/clustat.8 +usr/share/man/man8/clusvcadm.8 --- redhat-cluster-2.20080227.orig/debian/redhat-cluster-modules-_KVERS_.postinst +++ redhat-cluster-2.20080227/debian/redhat-cluster-modules-_KVERS_.postinst @@ -0,0 +1,15 @@ +#!/bin/sh +set -e + +SYSTEMMAP=/boot/System.map-_KVERS_ + +if [ -f $SYSTEMMAP ] +then + depmod -ae -F $SYSTEMMAP _KVERS_ +elif [ "`uname -r`" = "_KVERS_" ] +then + depmod -a & +fi + +#DEBHELPER# + --- redhat-cluster-2.20080227.orig/debian/rgmanager.docs +++ redhat-cluster-2.20080227/debian/rgmanager.docs @@ -0,0 +1 @@ +rgmanager/errors.txt --- redhat-cluster-2.20080227.orig/debian/cman.install +++ redhat-cluster-2.20080227/debian/cman.install @@ -0,0 +1,26 @@ +usr/sbin/cman_tool +usr/sbin/mkqdisk +usr/sbin/qdiskd +usr/share/man/man5/qdisk.5 +usr/share/man/man8/qdiskd.8 +usr/share/man/man8/mkqdisk.8 +usr/share/man/man5/cman.5 +usr/share/man/man8/cman_tool.8 +usr/lib/openais/lcrso/service_cman.lcrso +usr/sbin/ccsd +usr/sbin/ccs_test +usr/sbin/ccs_tool +usr/share/man/man5/cluster.conf.5 +usr/share/man/man8/ccsd.8 +usr/share/man/man8/ccs_test.8 +usr/share/man/man8/ccs_tool.8 +usr/share/man/man8/dlm_controld.8 +usr/share/man/man8/gfs_controld.8 +usr/share/man/man8/group_tool.8 +usr/share/man/man8/groupd.8 +usr/sbin/dlm_controld +usr/sbin/gfs_controld +usr/sbin/group_tool +usr/sbin/groupd +usr/sbin/fence* +usr/share/man/man8/fence* --- redhat-cluster-2.20080227.orig/debian/libdlm-dev.install +++ redhat-cluster-2.20080227/debian/libdlm-dev.install @@ -0,0 +1,7 @@ +usr/include/libdlm.h +usr/lib/libdlm.a +usr/lib/libdlm_lt.a +usr/sbin/dlm_tool +usr/share/man/man8/dlm_tool.8 +usr/share/man/man3/dlm_*.3 +usr/share/man/man3/libdlm.3 --- redhat-cluster-2.20080227.orig/debian/gfs2-tools.init +++ redhat-cluster-2.20080227/debian/gfs2-tools.init @@ -0,0 +1,93 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: global filesystem version 2 +# Required-Start: cman +# Required-Stop: cman +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: mount and unmount GFS v2 shares +### END INIT INFO + +# +# This script's behavior is modeled closely after the netfs script. +# +GFS2FSTAB=$(LC_ALL=C awk '!/^#/ && $3 == "gfs2" && $4 !~ /noauto/ { print $2 }' /etc/fstab) +GFS2MTAB=$(LC_ALL=C awk '!/^#/ && $3 == "gfs2" && $2 != "/" { print $2 }' /proc/mounts) + +# See how we were called. +case "$1" in + start) + if [ -n "$GFS2FSTAB" ] + then + echo -n "Mounting GFS2 filesystems: " + mount -a -t gfs2 + echo "done." + fi + ;; + + stop) + if [ -n "$GFS2MTAB" ] + then + sig= + retry=6 + remaining=`LC_ALL=C awk '!/^#/ && $3 == "gfs2" && $2 != "/" {print $2}' /proc/mounts` + while [ -n "$remaining" -a "$retry" -gt 0 ] + do + echo -n "Unmounting GFS2 filesystems: " + umount -a -t gfs2 + + if [ $retry -eq 0 ] + then + echo "failed" + echo -n "Unmounting GFS2 filesystems (lazy): " + umount -l -a -t gfs2 + break + fi + + sleep 2 + remaining=`LC_ALL=C awk '!/^#/ && $3 == "gfs2" && $2 != "/" {print $2}' /proc/mounts` + [ -z "$remaining" ] && break + fuser -k -m $sig $remaining >/dev/null + sleep 10 + retry=$(($retry - 1)) + sig=-9 + done + echo "done" + fi + + modprobe -r lock_nolock 2>&1 || true + modprobe -r lock_dlm 2>&1 || true + modprobe -r gfs2 2>&1 || true + ;; + + status) + if [ -f /proc/mounts ] + then + [ -n "$GFS2FSTAB" ] && { + echo "Configured GFS2 mountpoints: " + for fs in $GFS2FSTAB; do echo $fs ; done + } + [ -n "$GFS2MTAB" ] && { + echo "Active GFS2 mountpoints: " + for fs in $GFS2MTAB; do echo $fs ; done + } + else + echo "/proc filesystem unavailable" + fi + ;; + + restart) + $0 stop + $0 start + ;; + + reload|force-reload) + $0 start + ;; + *) + echo $"Usage: $0 {start|stop|restart|reload|force-reload|status}" + exit 1 +esac + +exit 0 --- redhat-cluster-2.20080227.orig/debian/gfs-tools.init +++ redhat-cluster-2.20080227/debian/gfs-tools.init @@ -0,0 +1,93 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: global filesystem +# Required-Start: cman +# Required-Stop: cman +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: mount and unmount GFS shares +### END INIT INFO + +# +# This script's behavior is modeled closely after the netfs script. +# +GFSFSTAB=$(LC_ALL=C awk '!/^#/ && $3 == "gfs" && $4 !~ /noauto/ { print $2 }' /etc/fstab) +GFSMTAB=$(LC_ALL=C awk '!/^#/ && $3 == "gfs" && $2 != "/" { print $2 }' /proc/mounts) + +# See how we were called. +case "$1" in + start) + if [ -n "$GFSFSTAB" ] + then + echo -n "Mounting GFS filesystems: " + mount -a -t gfs + echo "done." + fi + ;; + + stop) + if [ -n "$GFSMTAB" ] + then + sig= + retry=6 + remaining=`LC_ALL=C awk '!/^#/ && $3 == "gfs" && $2 != "/" {print $2}' /proc/mounts` + while [ -n "$remaining" -a "$retry" -gt 0 ] + do + echo -n "Unmounting GFS filesystems: " + umount -a -t gfs + + if [ $retry -eq 0 ] + then + echo "failed" + echo -n "Unmounting GFS filesystems (lazy): " + umount -l -a -t gfs + break + fi + + sleep 2 + remaining=`LC_ALL=C awk '!/^#/ && $3 == "gfs" && $2 != "/" {print $2}' /proc/mounts` + [ -z "$remaining" ] && break + fuser -k -m $sig $remaining >/dev/null + sleep 10 + retry=$(($retry - 1)) + sig=-9 + done + echo "done" + fi + + modprobe -r gfs 2>&1 || true + modprobe -r lock_dlm 2>&1 || true + modprobe -r lock_nolock 2>&1 || true + ;; + + status) + if [ -f /proc/mounts ] + then + [ -n "$GFSFSTAB" ] && { + echo "Configured GFS mountpoints: " + for fs in $GFSFSTAB; do echo $fs ; done + } + [ -n "$GFSMTAB" ] && { + echo "Active GFS mountpoints: " + for fs in $GFSMTAB; do echo $fs ; done + } + else + echo "/proc filesystem unavailable" + fi + ;; + + restart) + $0 stop + $0 start + ;; + + reload|force-reload) + $0 start + ;; + *) + echo $"Usage: $0 {start|stop|restart|reload|force-reload|status}" + exit 1 +esac + +exit 0 --- redhat-cluster-2.20080227.orig/debian/upgrade.txt +++ redhat-cluster-2.20080227/debian/upgrade.txt @@ -0,0 +1,107 @@ +------------------------------------------------------------- +Upgrading the Red Hat Cluster suite from the previous version +------------------------------------------------------------- + +This document describes how to upgrade a Red Hat Cluster from version +1.03 (as shipped in etch) to version 2.0. + +The upgrade procedure consists of stopping the cluster, removing the old +cluster suite, adding node IDs to the cluster.conf, install and booting +a new kernel, and finally installing the new cluster suite packages. + +The upgrade procedure is as follows: + +* Stop client access to the clustered services. + +* On each cluster node: + + 1. Stop all applications using the cluster infrastructure, like the + shared storage + + 2. Stop the rgmanager, if installed: + + killall clurgmgr + + 3. Umount all gfs shares: + + umount -a -t gfs + + if a gfs share is still blocked by another process, run + + lsof -n | grep + + to identify the process in order to terminate it. + + + 4. Stop the cluster lvm daemon: + + /etc/init.d/clvm stop + + + 5. Stop fencing: + + /etc/init.d/fence stop + + + 6. Stop the cluster manager: + + /etc/init.d/cman stop + + + 7. Stop the cluster configuration service: + + /etc/init.d/ccs stop + + + 8. Remove the old Red Hat Cluster software: + + dpkg --purge ccs libccs-dev cman libcman1 libcman-dev libdlm1 \ + libdlm-dev fence gfs-tools gnbd-client gnbd-server gulm libgulm1 \ + libgulm-dev libiddev-dev libmagma1 libmagma-dev magma-plugin-gulm \ + magma-plugin-sm redhat-cluster-source + + Note: not all packages might be installed, just ignore the warnings + dpkg will issue about it. + + + 9. Update the cluster.conf file to contain nodeids: + + Open the file /etc/cluster/cluster.conf in your favorite editor. + In each element, insert nodeid="number" after + name="name". This should look this way: + + [...] + + [...] + + Note: the nodeid parameter was optional in the old Red Had Cluster + suite, but is now mandatory. If you have already nodeid parameters + in your cluster.conf, skip this step. + + After saving your changes to the cluster.conf file, copy it to all + the other nodes in the cluster. + + + 10. Update the kernel, and reboot the Node in order to activate the + new kernel. You might of course upgrade the other parts of the + system before rebooting. + + + 11. Install the new version of the Red Hat Cluster suite: + + apt-get install redhat-cluster-suite redhat-cluster-modules + + Note: existing GFS version 1 filesystems are fully supported. + The new GFS2 filesystem format is not production-ready and usage + is recommended only for experimental setups. + + +TODO +---- +- custom kernels: patch required +- GULM: + * cluster.conf changes + * filesystem locking table changes + * handling changes +- double-check with real upgrade + --- redhat-cluster-2.20080227.orig/debian/gfs2-tools.docs +++ redhat-cluster-2.20080227/debian/gfs2-tools.docs @@ -0,0 +1,4 @@ +doc/min-gfs.txt +doc/usage.txt +doc/gfs2.txt +doc/journaling.txt --- redhat-cluster-2.20080227.orig/debian/gnbd-server.install +++ redhat-cluster-2.20080227/debian/gnbd-server.install @@ -0,0 +1,8 @@ +etc/cluster/gnbdexports.conf +usr/sbin/gnbd_clusterd +usr/sbin/gnbd_export +usr/sbin/gnbd_get_uid +usr/sbin/gnbd_serv +usr/share/man/man8/gnbd.8 +usr/share/man/man8/gnbd_export.8 +usr/share/man/man8/gnbd_serv.8 --- redhat-cluster-2.20080227.orig/debian/modass.redhat-cluster-source +++ redhat-cluster-2.20080227/debian/modass.redhat-cluster-source @@ -0,0 +1,11 @@ +#!/bin/sh + +MA_DIR=${MA_DIR:-/usr/share/modass} + +TARBALL=/usr/src/redhat-cluster.tar.bz2 +BUILDDIR=${MODULE_LOC:-/usr/src/modules}/redhat-cluster + +. $MA_DIR/packages/generic.sh + +$1 "$@" + --- redhat-cluster-2.20080227.orig/debian/control.modules.in +++ redhat-cluster-2.20080227/debian/control.modules.in @@ -0,0 +1,26 @@ +Source: redhat-cluster +Section: admin +Priority: optional +Maintainer: Debian Kernel Team +Uploaders: Bastian Blank , Frederik Schüler +Standards-Version: 3.7.3.0 +Build-Depends: debhelper (>> 5.0.0), linux-headers-_KVERS_ + +Package: redhat-cluster-modules-_KVERS_ +Section: admin +Priority: optional +Architecture: any +Recommends: kernel-image-_KVERS_, gfs-tools +Provides: redhat-cluster-modules +Description: global file system kernel module + The Global File System 2 allows a cluster of machines to concurrently access + shared storage hardware like SANs or iSCSI and network block devices. GFS + can be deployed to build high available services without the single point + of failure a file server would be. + . + This package contains the compiled gfs and gnbd kernel modules for _KVERS_ + . + If you compiled a custom kernel, you will most likely need to compile a + custom version of this module as well. The redhat-cluster-source + package has been provided for this purpose. + --- redhat-cluster-2.20080227.orig/debian/libcman-dev.install +++ redhat-cluster-2.20080227/debian/libcman-dev.install @@ -0,0 +1,2 @@ +usr/include/libcman.h +usr/lib/libcman.a --- redhat-cluster-2.20080227.orig/debian/libcman2.install +++ redhat-cluster-2.20080227/debian/libcman2.install @@ -0,0 +1 @@ +usr/lib/libcman.so.2.0 --- redhat-cluster-2.20080227.orig/debian/README.Debian +++ redhat-cluster-2.20080227/debian/README.Debian @@ -0,0 +1,54 @@ +Packaging notes + +The documentation provided by upstream is not the best around the world +so here is a collections of little useful info: + +Administrator's Guide: +http://www.redhat.com/docs/manuals/csgfs/browse/rh-gfs-en/ + +Configuration examples are located in /usr/share/doc/gfs-tools/examples/ + +rgmanager error codes are located in /usr/share/doc/rgmanager/errors.txt + +KNOWN ISSUES +------------ + +NOTE that you will need a minimal valid configuration before you will be +able to run the GUI or you might see horrible things like this one: + +root@beech:~# system-config-cluster +Traceback (most recent call last): + File "/usr/sbin/system-config-cluster", line 540, in ? + runFullGUI() + File "/usr/sbin/system-config-cluster", line 522, in runFullGUI + baseapp = basecluster(glade_xml, app) + File "/usr/sbin/system-config-cluster", line 108, in __init__ + self.model_builder = ModelBuilder(1, CLUSTER_CONF_PATH) + File "/usr/share/system-config-cluster/ModelBuilder.py", line 133, in __init__ + self.resolve_fence_instance_types() + File "/usr/share/system-config-cluster/ModelBuilder.py", line 284, in +resolve_fence_instance_types + nodes = self.getNodes() + File "/usr/share/system-config-cluster/ModelBuilder.py", line 406, in getNodes + return self.clusternodes_ptr.getChildren() +AttributeError: 'NoneType' object has no attribute 'getChildren' + +------------ + +It appears that in some hw combinations the kernel is not fast enough to handle +cman heartbeat properly. This results in cman kicking out nodes during heavy I/O +operations. + +The only known workaround is to increase the cman timeout using FOR EXAMPLE: + +echo $timeout_in_seconds > /proc/cluster/config/cman/deadnode_timeout + +The default is 21 seconds. + +It is important to understand that higher values of timeout will expose the cluster +to other problems, like for example a node is not kicked out from the cluster fast +enough and it might cause more damage than expected. + +NOTE that the value must never be higher than the reboot time of the node. Otherwise +the cluster will refuse the node to rejoin the quorum and manual kick has to be done +by the administrator. --- redhat-cluster-2.20080227.orig/debian/gnbd-client.install +++ redhat-cluster-2.20080227/debian/gnbd-client.install @@ -0,0 +1,5 @@ +etc/cluster/gnbdimports.conf +usr/sbin/gnbd_import +usr/sbin/gnbd_monitor +usr/sbin/gnbd_recvd +usr/share/man/man8/gnbd_import.8 --- redhat-cluster-2.20080227.orig/debian/cman.templates +++ redhat-cluster-2.20080227/debian/cman.templates @@ -0,0 +1,14 @@ +Template: cman/upgrade-warning +Type: boolean +Default: false +_Description: Do you want to abort now? + The new version 2.0 of the Red Hat Cluster Suite is not compatible with + the currently installed one. Upgrading these packages without stopping + the complete cluster can cause filesystem corruption on shared storage + devices. + . + For instructions on how to safely upgrade the Red Hat Cluster Suite to + version 2.0, please refer to the following document: + . + http://wiki.debian.org/UpgradeRHCSV1toV2 + . --- redhat-cluster-2.20080227.orig/debian/gfs-tools.links +++ redhat-cluster-2.20080227/debian/gfs-tools.links @@ -0,0 +1,7 @@ +usr/sbin/gfs_fsck usr/sbin/fsck.gfs +usr/sbin/gfs_mkfs usr/sbin/mkfs.gfs +sbin/mount.gfs2 sbin/mount.gfs +sbin/umount.gfs2 sbin/umount.gfs +usr/share/man/man8/gfs_fsck.8.gz usr/share/man/man8/fsck.gfs.8.gz +usr/share/man/man8/gfs_mkfs.8.gz usr/share/man/man8/mkfs.gfs.8.gz +usr/share/man/man8/mount.gfs2.8.gz usr/share/man/man8/mount.gfs.8.gz --- redhat-cluster-2.20080227.orig/debian/gnbd-server.init +++ redhat-cluster-2.20080227/debian/gnbd-server.init @@ -0,0 +1,70 @@ +#! /bin/sh + +### BEGIN INIT INFO +# Provides: global network block device server +# Required-Start: $network +# Required-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: start and stop the gnbd server +### END INIT INFO + + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/gnbd_serv +NAME=gnbd_serv +DESC="global network block device server" + +test -x $DAEMON || exit 0 + +GNBD_OPTIONS="" + +if [ -f /etc/default/gnbd-server ] ; then + . /etc/default/gnbd-server +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + if grep -q '^/' /etc/cluster/gnbdexports.conf; then + start-stop-daemon --start --quiet --pidfile /var/run/gnbd/$NAME.pid --exec $DAEMON -- $GNBD_OPTIONS + echo "Exporting device(s):" + grep -v "^#" /etc/cluster/gnbdexports.conf | grep -v "^[:space:]*$" | \ + while read device name options; do + gnbd_export -d $device -e $name $options + done + echo "done." + else + echo "No configured exports." + fi + ;; + stop) + if [ -e /var/run/gnbd/$NAME.pid ]; then + echo -n "Unexporting device(s): " + gnbd_export -R + echo "done." + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile /var/run/gnbd/$NAME.pid --exec $DAEMON + rm -f /var/run/gnbd/$NAME.pid + echo "$NAME." + else + echo "Stopping $DESC: is not running." + fi + ;; + restart|force-reload) + echo -n "Restarting $DESC: " + $0 stop + sleep 1 + $0 start + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- redhat-cluster-2.20080227.orig/debian/compat +++ redhat-cluster-2.20080227/debian/compat @@ -0,0 +1 @@ +5 --- redhat-cluster-2.20080227.orig/debian/cman.init +++ redhat-cluster-2.20080227/debian/cman.init @@ -0,0 +1,188 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: cluster manager +# Required-Start: $network $time +# Required-Stop: $network $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts and stops cman +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +NAME=cman +DESC="cluster manager" +CONF=/etc/cluster/cluster.conf + +test -x /usr/sbin/cman_tool || exit 0 + +# ccsd + +CCSD_OPTS="" + +# CMAN_CLUSTER_TIMEOUT -- amount of time to wait for joinging a cluster +# before giving up. If CMAN_CLUSTER_TIMEOUT is positive, then we will +# wait CMAN_CLUSTER_TIMEOUT seconds before giving up and failing when +# a cluster is not joined. If CMAN_CLUSTER_TIMEOUT is zero, then +# wait indefinately for a cluster join. If CMAN_CLUSTER_TIMEOUT is +# negative, do not check to see that the cluster has been joined +[ -z "$CMAN_CLUSTER_TIMEOUT" ] && CMAN_CLUSTER_TIMEOUT=120 + +# CMAN_QUORUM_TIMEOUT -- amount of time to wait for a quorate cluster on +# startup quorum is needed by many other applications, so we may as +# well wait here. If CMAN_QUORUM_TIMEOUT is less than 1, quorum will +# be ignored. +[ -z "$CMAN_QUORUM_TIMEOUT" ] && CMAN_QUORUM_TIMEOUT=0 + +# CMAN_SHUTDOWN_TIMEOUT -- amount of time to wait for cman to become a +# cluster member before calling cman_tool leave during shutdown. +# default is 60 seconds +[ -z "$CMAN_SHUTDOWN_TIMEOUT" ] && CMAN_SHUTDOWN_TIMEOUT=60 + +# FENCED_START_TIMEOUT -- amount of time to wait for starting fenced +# before giving up. If FENCED_START_TIMEOUT is positive, then we will +# wait FENCED_START_TIMEOUT seconds before giving up and failing when +# fenced does not start. If FENCED_START_TIMEOUT is zero, then +# wait indefinately for fenced to start. +[ -z "$FENCED_START_TIMEOUT" ] && FENCED_START_TIMEOUT=300 + +load_modules() { + modprobe configfs 2>&1 || true + modprobe dlm 2>&1 || true + modprobe lock_dlm 2>&1 || true +} + +mount_configfs() { + if ! awk '{ print $2" "$3 }' /etc/mtab | grep "/sys/kernel/config configfs" > /dev/null ; then + mount -t configfs none /sys/kernel/config + fi +} + +umount_configfs() { + if awk '{ print $2" "$3 }' /etc/mtab | grep "/sys/kernel/config configfs" > /dev/null ; then + umount /sys/kernel/config + fi +} + +check_cluster_conf() { + + if [ ! -e $CONF -o ! -s $CONF ] ; then + echo "" + echo "$CONF does not exist or is empty." + echo "See /usr/share/doc/gfs-tools/examples/min-gfs.txt" + echo "for instructions on how to setup a minimal cluster." + echo "$DESC will not be started." + exit 0 + fi + +} + +case "$1" in + start) + check_cluster_conf + + echo "Starting $DESC:" + echo -n " Loading kernel modules:" + load_modules + echo " done" + echo -n " Mounting config filesystem:" + mount_configfs + echo " done" + echo -n " Starting cluster configuration system:" + start-stop-daemon --start --quiet --pidfile /var/run/cluster/ccsd.pid --exec /usr/sbin/ccsd -- $CCSD_OPTS + sleep 1 + echo " done" + echo -n " Joining cluster:" + cman_tool -t $CMAN_CLUSTER_TIMEOUT -w join $cman_join_opts + echo " done" + if [ $CMAN_QUORUM_TIMEOUT -gt 0 ]; then + echo -n " Waiting quorum timeout ($CMAN_QUORUM_TIMEOUT seconds):" + cman_tool -t $CMAN_QUORUM_TIMEOUT -q wait + echo " done" + fi + echo -n " Starting daemons:" + start-stop-daemon --start --quiet --pidfile /var/run/groupd.pid --exec /usr/sbin/groupd + echo -n " groupd" + start-stop-daemon --start --quiet --pidfile /var/run/fenced.pid --exec /usr/sbin/fenced + echo -n " fenced" + start-stop-daemon --start --quiet --pidfile /var/run/dlm_controld.pid --exec /usr/sbin/dlm_controld + echo -n " dlm_controld" + start-stop-daemon --start --quiet --pidfile /var/run/gfs_controld.pid --exec /usr/sbin/gfs_controld + echo " gfs_controld" + echo -n " Joining fence domain:" + fence_tool -w -t $FENCED_START_TIMEOUT join + echo " done" + echo -n " Starting Quorum Disk daemon:" + start-stop-daemon --start --quiet --pidfile /var/run/qdiskd.pid --exec /usr/sbin/qdiskd -- -Q || true + echo " done" + ;; + stop) + echo "Stopping $DESC" + echo -n " Stopping Quorum Disk daemon:" + start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/qdiskd.pid --exec /usr/sbin/qdiskd + rm -f /var/run/qdiskd.pid + echo " done" + echo -n " Leaving fence domain:" + fence_tool -w leave & + for sec in $(seq 1 10); do + if pidof fence_tool > /dev/null 2>&1; then + if [ "$sec" = 10 ]; then + kill $(pidof fence_tool) > /dev/null 2>&1 + else + sleep 1 + fi + fi + done + echo " done" + echo -n " Stopping daemons:" + start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/gfs_controld.pid --exec /usr/sbin/gfs_controld + rm -f /var/run/gfs_controld.pid + echo -n " gfs_controld" + start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/dlm_controld.pid --exec /usr/sbin/dlm_controld + rm -f /var/run/dlm_controld.pid + echo -n " dlm_controld" + start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/fenced.pid --exec /usr/sbin/fenced + rm -f /var/run/fenced.pid + echo -n " fenced" + start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/groupd.pid --exec /usr/sbin/groupd + rm -f /var/run/groupd.pid + echo " groupd" + echo -n " Leaving the cluster:" + cman_tool -t $CMAN_SHUTDOWN_TIMEOUT -w leave || true + echo " done" + echo -n " Stopping cluster configuration system:" + start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/cluster/ccsd.pid --exec /usr/sbin/ccsd + rm -f /var/run/cluster/$NAME.pid + echo " done" + echo -n " Unmounting config filesystem:" + umount_configfs + echo " done" + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + remove) + echo -n "Stopping $DESC, removing node from cluster" + cman_tool leave remove + echo "." + ;; + force-reload) + $0 force-stop + sleep 1 + $0 start + ;; + force-stop) + echo -n "Stopping $DESC, force" + cman_tool leave force + echo "." + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|remove|restart|force-reload|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 --- redhat-cluster-2.20080227.orig/debian/gfs2-tools.install +++ redhat-cluster-2.20080227/debian/gfs2-tools.install @@ -0,0 +1,18 @@ +usr/sbin/fsck.gfs2 +usr/sbin/gfs2_convert +usr/sbin/gfs2_edit +usr/sbin/gfs2_jadd +usr/sbin/gfs2_quota +usr/sbin/gfs2_tool +usr/sbin/mkfs.gfs2 +sbin/mount.gfs2 +sbin/umount.gfs2 +usr/share/man/man8/gfs2.8 +usr/share/man/man8/gfs2_convert.8 +usr/share/man/man8/gfs2_fsck.8 +usr/share/man/man8/gfs2_grow.8 +usr/share/man/man8/gfs2_jadd.8 +usr/share/man/man8/gfs2_mount.8 +usr/share/man/man8/gfs2_quota.8 +usr/share/man/man8/gfs2_tool.8 +usr/share/man/man8/mkfs.gfs2.8 --- redhat-cluster-2.20080227.orig/debian/control +++ redhat-cluster-2.20080227/debian/control @@ -0,0 +1,148 @@ +Source: redhat-cluster +Section: admin +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian Kernel Team +Uploaders: Bastian Blank , Frederik Schüler +Standards-Version: 3.7.3.0 +Build-Depends: dpatch, debhelper (>= 4.2.28), libxml2-dev, libncurses5-dev, libopenais-dev (>= 0.82-3ubuntu2), libvolume-id-dev (>= 0.105-4), linux-libc-dev (>= 2.6.24-1), libvirt-dev (>= 0.3.0) [i386 amd64], libnss3-dev [i386 amd64], libnspr4-dev [i386 amd64], bzip2, libslang2-dev +Build-Conflicts: libccs-dev, libcman-dev (<= 2.0), libdlm-dev (<= 2.0), libcman2, libdlm2 + +Package: redhat-cluster-suite +Section: admin +Priority: optional +Architecture: all +Depends: cman, gfs-tools, gfs2-tools, rgmanager, clvm +Description: Red Hat cluster suite (meta package) + The only scope for this package is to install the full Red Hat Cluster Suite + in one shot. It is safe to remove it. + +Package: cman +Architecture: any +Section: admin +Pre-Depends: debconf | debconf-2.0 +Depends: ${shlibs:Depends}, python, openais (>= 0.82-3ubuntu2), libnet-snmp-perl, libnet-telnet-perl +Conflicts: magma, libmagma1, libmagma-dev, ccs, fence, libiddev-dev, fence-gnbd, gulm, libgulm1, libgulm-dev, magma-plugins +Replaces: ccs, fence, fence-gnbd +Description: cluster manager + CMAN is a symmetric general-purpose cluster manager. It consists of + a connection manager that handles cluster membership management, + messaging among the cluster nodes, event notification, quorum and + state transitions. Another part of CMAN is a service manager that + handles service groups. + . + This package contains only userspace tools for controlling the actual + cluster manager. + +Package: libcman2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: cluster manager - libraries + cman provides a general purpose, openais based, cluster manager. + . + This package contains the client libraries. + +Package: libcman-dev +Section: libdevel +Architecture: any +Depends: libcman2 (= ${binary:Version}) +Description: cluster manager - development files + cman provides a general purpose, openais based, cluster manager. + . + This package contains the files needed for developing applications. + +Package: libdlm2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: distributed lock manager - library + DLM is a symmetric general-purpose distributed lock manager. It is + used for example by GFS and the distributed volume manager. + . + This is the client library for applications using the lock manager. + The lock manager itself is a kernel module. + +Package: libdlm-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, libdlm2 (= ${binary:Version}) +Description: distributed lock manager - development files + DLM is a symmetric general-purpose distributed lock manager. It is + used for example by GFS and the distributed volume manager. + . + This package contains the files needed for developing applications + that use the lock manager. + +Package: gfs-tools +Architecture: any +Depends: ${shlibs:Depends}, psmisc, gfs2-tools +Recommends: redhat-cluster-modules +Section: admin +Description: global file system tools + The Global File System allows a cluster of machines to concurrently access + shared storage hardware like SANs or iSCSI and network block devices. GFS + can be deployed to build high available services without the single point + of failure a file server would be. + . + This package contains userspace tools for creating and managing global + file systems. GFS itself is a set of kernel modules. + . + Note: the package requires gfs2-tools installed and it's known to work fine + even if GFS2 is highly experimental and *MUST NOT* be used in production + enviroment yet. + +Package: gfs2-tools +Architecture: any +Depends: ${shlibs:Depends}, psmisc +Section: admin +Description: global file system 2 tools (EXPERIMENTAL) + The Global File System 2 allows a cluster of machines to concurrently access + shared storage hardware like SANs or iSCSI and network block devices. GFS + can be deployed to build high available services without the single point + of failure a file server would be. + . + This package contains userspace tools for creating and managing global + file systems. GFS2 itself is a set of kernel modules. + . + GFS2 *MUST NOT* be used in production enviroment yet. + +Package: gnbd-client +Section: admin +Architecture: any +Depends: ${shlibs:Depends} +Recommends: fence-gnbd (= ${binary:Version}), redhat-cluster-modules +Description: global network block device - client tools + GNBD allows to use block devices over the network. It is a modified + version of the Linux network block device for the use within a cluster + environment. + . + This package contains userspace tools for running GNBD clients. + +Package: gnbd-server +Section: admin +Architecture: any +Depends: ${shlibs:Depends} +Recommends: fence-gnbd (= ${binary:Version}) +Description: global network block device - server tools + GNBD allows to use block devices over the network. It is a modified + version of the Linux network block device for the use within a cluster + environment. + . + This package contains userspace tools for running GNBD servers. + +Package: rgmanager +Architecture: any +Depends: ${shlibs:Depends}, cman (= ${binary:Version}), iproute, iputils-arping, iputils-ping, nfs-kernel-server, nfs-common +Conflicts: nfs-user-server +Description: clustered resource group manager + Resource Group Manager provides high availability of critical server + applications in the event of planned or unplanned system downtime. + +Package: redhat-cluster-source +Architecture: all +Depends: bzip2 +Description: Red Hat cluster suite - kernel modules source + This package contains the source necessary for compiling the Red Hat + cluster suite out-of-tree kernel modules gfs and gnbd against the + Linux tree. --- redhat-cluster-2.20080227.orig/debian/cman.preinst +++ redhat-cluster-2.20080227/debian/cman.preinst @@ -0,0 +1,27 @@ +#!/bin/sh + +set -e + +case $1 in + upgrade) + . /usr/share/debconf/confmodule + db_version 2.0 + if dpkg --compare-versions "$2" lt 2.0 ; then + db_fset cman/upgrade-warning seen false + db_input critical cman/upgrade-warning || true + db_go + + db_get cman/upgrade-warning + if [ "$RET" = "true" ] ; then + echo "Aborting cman installation." + echo " For upgrade instructions, please refer to" + echo "http://wiki.debian.org/UpgradeRHCSV1toV2" + exit 1 + fi + fi + ;; +esac + +#DEBHELPER# + +exit 0 --- redhat-cluster-2.20080227.orig/debian/redhat-cluster-source.Makefile +++ redhat-cluster-2.20080227/debian/redhat-cluster-source.Makefile @@ -0,0 +1,5 @@ +#! /usr/bin/make -f + +export USING_KBUILD=1 + +obj-m = gfs/ gnbd/ --- redhat-cluster-2.20080227.orig/debian/gnbdimports.conf +++ redhat-cluster-2.20080227/debian/gnbdimports.conf @@ -0,0 +1 @@ +# --- redhat-cluster-2.20080227.orig/debian/libdlm-dev.links +++ redhat-cluster-2.20080227/debian/libdlm-dev.links @@ -0,0 +1,2 @@ +usr/lib/libdlm.so.2 usr/lib/libdlm.so +usr/lib/libdlm_lt.so.2 usr/lib/libdlm_lt.so --- redhat-cluster-2.20080227.orig/debian/changelog +++ redhat-cluster-2.20080227/debian/changelog @@ -0,0 +1,1090 @@ +redhat-cluster (2.20080227-0ubuntu1) hardy; urgency=low + + * This is not really a new version. + + Upstream development did halt for a couple of weeks to switch from + CVS to git. Recreate a new orig.tar.gz to get rid of CVS dirs and + import two more bug fixes from upstream. + + -- Fabio M. Di Nitto Wed, 27 Feb 2008 06:22:11 +0100 + +redhat-cluster (2.20080212-1ubuntu2) hardy; urgency=low + + * Import a 2 liner fix from CVS. + (http://bugs.debian.org/465790) + + -- Fabio M. Di Nitto Fri, 15 Feb 2008 09:03:04 +0100 + +redhat-cluster (2.20080212-1ubuntu1) hardy; urgency=low + + * Merge with Debian unstable. Remanining changes: + - debian/control: + - XSBC-Original-Maintainer foobar. + - Build-Deps: guarantee to use newer openais from trunk. + - drop cman.postrm. + + NOTE for future maintainer: once openais 0.83 will be available in Debian + and synced in Ubuntu, this package can be synced directly and drop + all Ubuntu changes. + + -- Fabio M. Di Nitto Wed, 13 Feb 2008 06:41:51 +0100 + +redhat-cluster (2.20080212-1) unstable; urgency=low + + * New upstream CVS snapshot. + * Merge changes from Ubuntu: + - debian/copyright: add copyright info and shut up lintian a bit. + - link mount.gfs man page to mount.gfs2. + - debian/rules: fix order of dh_ to get library dh snippets in place. + - debian/TODO list. + - drop unrequired maintainer scripts. + - debian/control: fix libdlm-dev depends. + + -- Frederik Schüler Tue, 12 Feb 2008 22:46:46 +0100 + +redhat-cluster (2.20080212-0ubuntu1) hardy; urgency=low + + * New upstream CVS snapshot: + - import man pages and build fixes spotted by lintian and dh_shlibdeps. + + * debian/control: fix libdlm-dev depends. + + -- Fabio M. Di Nitto Tue, 12 Feb 2008 07:24:44 +0100 + +redhat-cluster (2.20080211-0ubuntu2) hardy; urgency=low + + * debian/rules: fix order of dh_ to get library dh snippets in place. + + -- Fabio M. Di Nitto Mon, 11 Feb 2008 13:49:09 +0100 + +redhat-cluster (2.20080211-0ubuntu1) hardy; urgency=low + + * New upstream CVS snapshot. + + * Merge with Debian unstable. Remanining changes: + - debian/control: + - XSBC-Original-Maintainer foobar. + - Build-Deps: guarantee to use newer openais from trunk. + - gfs2-tools: Recommends: redhat-cluster-modules. + - drop unrequired maintainer scripts. + - debian/TODO list. + + -- Fabio M. Di Nitto Mon, 11 Feb 2008 12:56:48 +0100 + +redhat-cluster (2.20080208-2) unstable; urgency=low + + * Update linux-libc-dev build dependency to version 2.6.24-1, this should + fix the various FTBFS. + + -- Frederik Schüler Fri, 08 Feb 2008 19:48:50 +0100 + +redhat-cluster (2.20080208-1) unstable; urgency=low + + * New upstream snapshot. + * Fix bashism in cman init script. Closes: #464634 + * Fix redhat-cluster-source FTBFS. Closes: #464117 + + -- Frederik Schüler Fri, 08 Feb 2008 11:33:43 +0100 + +redhat-cluster (2.20080205-1) unstable; urgency=low + + * New upstream snapshot. + - fix build failures with 2.6.24 + * Add libnet-snmp-perl and libnet-telnet-perl dependency to cman, needed + for some fencing scripts. + * Merge changes from ubuntu: + - drop libcman2 and libdlm 2 postrm, this is handled by + debhelper. + - Make cman init script not fail if qdiskd fails to start up + - drop 00_fix_gfs2_quota.dpatch + * Fix modules/redhat-cluster/debian/rules permissions + + -- Frederik Schüler Tue, 05 Feb 2008 13:59:43 +0100 + +redhat-cluster (2.20080128-0ubuntu1) hardy; urgency=low + + * New upstream CVS snapshot. + + -- Fabio M. Di Nitto Mon, 28 Jan 2008 08:41:25 +0100 + +redhat-cluster (2.20080107-2) unstable; urgency=low + + * Fix mount/umount helpers installation. Thanks to + Fabio M. Di Nitto for the patch. + + -- Frederik Schüler Thu, 24 Jan 2008 00:37:35 +0100 + +redhat-cluster (2.20080121-0ubuntu2) hardy; urgency=low + + * Fix mount/umount helpers installation. + + -- Fabio M. Di Nitto Wed, 23 Jan 2008 12:05:07 +0100 + +redhat-cluster (2.20080121-0ubuntu1) hardy; urgency=low + * New upstream CVS snapshot. + * Drop merged patches. + * Merge with Debian unstable. Remanining changes: + - Drop patch 00_fix_gfs2_quota.dpatch. + - debian/control: + - XSBC-Original-Maintainer foobar. + - Build-Deps: guarantee to use newer openais from trunk. + - gfs2-tools: Recommends: redhat-cluster-modules. + - debian/cman.init: + - Allow qdisk to fail to start. + - debian/cman.postrm, debian/libcma2.post* debian/libdlm2.post*: + - remove. There is no need for one. debhelper will take care of those. + - debian/TODO: + - merge. + + -- Fabio M. Di Nitto Mon, 21 Jan 2008 07:15:05 +0100 + +redhat-cluster (2.20080107-1) unstable; urgency=low + + * New upstream CVS snapshot. + - fixes hppa FTBFS. + * Drop merged patches. + * Fix spelling of "Linux" in some descriptions. + + -- Frederik Schüler Mon, 07 Jan 2008 00:45:58 +0100 + +redhat-cluster-suite (2.20080110-0ubuntu1) hardy; urgency=low + + * New CVS snapshot. + + * Drop patches that are now upstream. + + * Add patch to fix rgmanager apache service for the very basic Debian/Ubuntu + setup (pending upstream inclusion) + + -- Fabio M. Di Nitto Thu, 10 Jan 2008 12:02:11 +0100 + +redhat-cluster-suite (2.20080109-0ubuntu1) hardy; urgency=low + + * New CVS snapshot. + + * Re-enable fence_xvmd on amd64. + + * Apply patch to fix 64 bit alignment issues in rgmanager. + + * NOTE: this is the last upload of our standalone packages. Next one will be + a merge with Debian packaging and it's pending a new kernel upload in + Ubuntu to change kernel module provides. + + -- Fabio M. Di Nitto Wed, 09 Jan 2008 12:48:58 +0100 + +redhat-cluster (2.20071214-3) unstable; urgency=low + + * Build-depend on linux-libc-dev (>= 2.6.23-1). + + -- Frederik Schüler Fri, 04 Jan 2008 19:47:02 +0100 + +redhat-cluster (2.20071214-2) unstable; urgency=low + + + * Add muissing build-dependency on libslang2-dev. + * Make redhat-cluster-source package Architecture: all. + + -- Frederik Schüler Thu, 27 Dec 2007 16:11:39 +0100 + +redhat-cluster (2.20071214-1) unstable; urgency=low + + * New upstream CVS snapshot, taken from Ubuntu. + * Fix copyright file. + * Remove csnap/doc/csnap.ps from orig tarball: missing source. + + -- Frederik Schüler Wed, 26 Dec 2007 02:53:46 +0100 + +redhat-cluster-suite (2.20071214-0ubuntu1) hardy; urgency=low + + * New CVS snapshot. + * Changed maintainer to ubuntu-core-dev. + + -- Soren Hansen Fri, 14 Dec 2007 17:11:29 +0100 + +redhat-cluster (2.20071022-1) unstable; urgency=low + + * New upstream release. Closes: #426276 + - Drop Magma. Closes: #374541 + * First Debian release of the redhat cluster suite v2, based on the + packaging by Fabio M. Di Nitto + * Acknowledge NMU. Closes: #377791 + * Update copyright file. + * Fix maintainer scripts, add missing ones. + * Fix debconf template. + * Add redhat-cluster-source package containing the gfs1 and gnbd + kernel modules. Closes: #401073, #426769 + * Provide module-assistant support in the redhat-cluster-source + package. + Closes: #366498, #412412 + * Fix gnbd-* packages description. Closes: #319204 + * Lots of bugs fixed: + - Fix initscripts. Closes: #367171, #336260, #336259 + - Provide manpages for cluster.conf, mkfs.gfs and fsck.gfs. + Closes: #406364, #270537 + - Provide rgmanager package. Closes: #400204 + - Rgmanager: add dependency on iputils-arping. Closes: #417813 + - Call dh_strip during install. Closes: #437899 + * Add handling for missing cluster.conf. Closes: #420229, #381434, #367370 + * Enable XEN support on amd64 too. + * Mention gfs and gnbd kernel modules in the redhat-cluster-modules source + and binary package descriptions. Closes: #380002 + + -- Frederik Schüler Tue, 25 Dec 2007 00:04:53 +0100 + +redhat-cluster-suite (2.20071022-0ubuntu1) hardy; urgency=low + + * New upstream version. + + -- Fabio M. Di Nitto Mon, 22 Oct 2007 05:41:43 +0200 + +redhat-cluster-suite (2.20070823.1-0ubuntu1) gutsy; urgency=low + + * Import a bunch of bugfixes from CVS. + + * Fake upstream version bump to clean up the orig.tar.gz that had a bunch of + craft in it. + + * Fix init script for obsolet fence_tool invocation. + + * Bump Dependes and B-D on openais to make sure to use the latest bug fixes. + + -- Fabio M. Di Nitto Mon, 01 Oct 2007 04:50:54 +0200 + +redhat-cluster-suite (2.20070823-0ubuntu1) gutsy; urgency=low + + * New CVS snapshot: + * Fix build with gcc-4.2 (lpia). + * Lots of man pages updates. + + * Cleanup gfs2-tools symlinks. + + * debian/rules: update clean target to reflect cs-deploy-tool removal from + upstream CVS. + + -- Fabio M. Di Nitto Thu, 23 Aug 2007 06:51:13 +0200 + +redhat-cluster-suite (2.20070816-0ubuntu1) gutsy; urgency=low + + * New CVS snapshot. Drop all local patches now applied upstream. + + -- Fabio M. Di Nitto Thu, 16 Aug 2007 20:19:55 +0200 + +redhat-cluster-suite (2.20070809-0ubuntu2) gutsy; urgency=low + + * Fix Makefile build order. + + -- Fabio M. Di Nitto Fri, 10 Aug 2007 06:36:05 +0200 + +redhat-cluster-suite (2.20070809-0ubuntu1) gutsy; urgency=low + + * New CVS snapshot. + + * Drop 001_fix_hppa_build that's now upstream. + + -- Fabio M. Di Nitto Thu, 09 Aug 2007 11:46:28 +0200 + +redhat-cluster-suite (2.20070720-0ubuntu1) gutsy; urgency=low + + * New CVS snapshot. + + * Fix build on hppa. Add patch 001_fix_hppa_build (pushed upstream) + + -- Fabio M. Di Nitto Fri, 20 Jul 2007 06:43:15 +0200 + +redhat-cluster-suite (2.20070716-0ubuntu1) gutsy; urgency=low + + * New CVS snapshot. + + * Temporary drop xen/amd64 because xen-3.1 is not available. + + * Build-depend on new libvirt to make sure we grab the correct version. + + -- Fabio M. Di Nitto Mon, 16 Jul 2007 10:37:33 +0200 + +redhat-cluster-suite (2.20070626-0ubuntu1) gutsy; urgency=low + + * New CVS snapshot. + + * Drop last of our local patches. + + * Fix CVE-2007-3374 as described in USN-476-1. + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=244891 + + * Bump build depends on linux-libc-dev (2.6.22-7.14) required for new dlm + headers and gfs2_ondisk fixes. + + -- Fabio M. Di Nitto Tue, 26 Jun 2007 10:08:47 +0200 + +redhat-cluster-suite (2.20070503-0ubuntu3) gutsy; urgency=low + + * Remove unrequired libnss3/libnspr4 and XEN_DEPENDS bits. + + * Kill libccs-dev binary package. Nothing B-D on it anymore and it will be + killed upstream too at somepoint. + + * Enfor stronger Build-Conflicts: libccs-dev. + + -- Fabio M. Di Nitto Tue, 12 Jun 2007 10:59:24 +0200 + +redhat-cluster-suite (2.20070503-0ubuntu2) gutsy; urgency=low + + * debian/rules: drop XEN_DEPENDS libnss3 and libnspr4 + + -- Alexander Sack Fri, 1 Jun 2007 15:09:09 +0200 + +redhat-cluster-suite (2.20070503-0ubuntu1) gutsy; urgency=low + + * Change Build-Dep to libnss3-dev and libnspr4-dev. + + * Update debian/rules to use the new headers location. + + * Fix typo in cman.init. + + * Make sure to attempt to stop ccsd even if cman leave fails. + + * Import latest ccs fixes from CVS upstream. + + * Bump Build-deps on newer libopenais-dev. + + -- Fabio M. Di Nitto Mon, 14 May 2007 08:33:51 +0200 + +redhat-cluster-suite (2.20070502-0ubuntu1) gutsy; urgency=low + + * New CVS snapshot from head. + + -- Fabio M. Di Nitto Wed, 02 May 2007 14:58:17 +0200 + +redhat-cluster-suite (2.20070430-0ubuntu2) gutsy; urgency=low + + * unpatch source on clean: + + -- Fabio M. Di Nitto Mon, 30 Apr 2007 14:17:57 +0200 + +redhat-cluster-suite (2.20070430-0ubuntu1) gutsy; urgency=low + + * cman Depends: openais 0.81 + + * Drop all patch < 050. They are now upstream and fix xen build and ccs + linking (fix different FTBFS). + + * clean debian/rules clean: target. No more need of pre-patching to clean. + + -- Fabio M. Di Nitto Mon, 30 Apr 2007 13:33:43 +0200 + +redhat-cluster-suite (2.20070427-0ubuntu1) gutsy; urgency=low + + * New CVS snapshot: + - drop all 050_ubuntu (and higher patches). Not required anymore + after introducing the new build system (patches from 001 to 009) + pending ACK from upstream to be committed in CVS. + - add patch 050_ubuntu_rgmanager_disable_werror to let ia64 build. + (Proper fix to be discussed with upstream) + - Build Dep on openais 0.81 or higher. + - Clean up debian/rules and use the new build system. + - Clean up build-deps. + + -- Fabio M. Di Nitto Fri, 27 Apr 2007 13:11:39 +0200 + +redhat-cluster-suite (2.20070315-0ubuntu2) feisty; urgency=low + + * Fix libdlm race condition when services are joining/leaving too quickly. + (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232878) + + * Fix rgmanager build warnings and incorrect call to rg_exec (spotted when + cleaning code). Patch by Fabio M. Di Nitto, applied upstream. + + * Fix qdisk scoring calculation. + + * Obsolete patches 001_fix_clean_target.dpatch. + + * Always check malloc() return codes + + * Fix errant clu_unlock() calls in vft.c in cases where clu_lock() failed + + * Add ability to wrap pthread_mutex / pthread_rwlock calls for better + stability + + * Fix improper pthread_mutex_destroy() semantics + + * Fix vft portability to sparc/hppa: + - Add patch 001_fix_vft pushed upstream. + + * Temporary disable -Werror for rgmanager build (x86*, sparc*, ppc* are ok. + workaround ia64 local alloc implementation): + - Add patch 056_ubuntu_disable_rgmanager_werror. + + -- Fabio M. Di Nitto Mon, 19 Mar 2007 15:36:11 +0100 + +redhat-cluster-suite (2.20070315-0ubuntu1) feisty; urgency=low + + * Sync CVS snapshot with 2.0 stable release. + * Fix qdisk invokation in cman.init. + * Add --oknodo when stopping the cluster to allow stop to be called more + times without failing if one of the daemons is hanging somewhere. + + UVF exception approved by Tollef Fog Heen. + + -- Fabio M. Di Nitto Thu, 15 Mar 2007 10:02:22 +0100 + +redhat-cluster-suite (2.20070216-0ubuntu1) feisty; urgency=low + + * New CVS snapshot to sync GFS kernel code to 2.6.20 and import bug fixing: + - Drop patch 002_fix_build_on_sparc_and_hppa.dpatch now upstream. + + -- Fabio M. Di Nitto Fri, 16 Feb 2007 09:03:44 +0100 + +redhat-cluster-suite (2.20070126-0ubuntu2) feisty; urgency=low + + * Fix FTBFS on sparc: + - Add patch 002_fix_build_on_sparc_and_hppa.dpatch. + + -- Fabio M. Di Nitto Fri, 26 Jan 2007 14:47:50 +0100 + +redhat-cluster-suite (2.20070126-0ubuntu1) feisty; urgency=low + + * New upstream snapshot from cvs head. + + -- Fabio M. Di Nitto Wed, 10 Jan 2007 07:39:22 +0100 + +redhat-cluster-suite (2.20061124-0ubuntu2) feisty; urgency=low + + * redhat-cluster-suite: drop recommends system-config-cluster that's now + obsolete and there is no replacement available yet. + + -- Fabio M. Di Nitto Fri, 24 Nov 2006 07:35:20 +0100 + +redhat-cluster-suite (2.20061124-0ubuntu1) feisty; urgency=low + + * New upstream snapshot from cvs head. + + * update cman init script: + * do not load dlm_device module since it's gone. + * use -w to leave the fence domain. + * use a 10 seconds timeout for fence_tools to complete the call to leave + or otherwise kill the process. This avoid a hang on reboot in a very + specific corner case where on a 2 nodes cluster one node is powered down + and the other is performing a reboot without quorating with the first + node (JOIN_START_WAIT). + + -- Fabio M. Di Nitto Fri, 24 Nov 2006 07:35:00 +0100 + +redhat-cluster-suite (2.20061120-0ubuntu2) feisty; urgency=low + + * Change libvolumeid-dev build-dep to libvolume-id-dev. + + -- Scott James Remnant Thu, 23 Nov 2006 11:04:56 +0000 + +redhat-cluster-suite (2.20061120-0ubuntu1) feisty; urgency=low + + * New upstream snapshot from cvs head. + + * Fix duplicate definition in fence/agents/xvm/options.c + + * Make sure to build xen support only on i386 and amd64 and fix *.install + + * Improve xen autodetection at build time. + + * Fix libnss3/libnspr4 cman Depends: + + * Add debian/TODO. The package is growing exponentially and we need more + control over it. + + -- Fabio M. Di Nitto Mon, 20 Nov 2006 08:36:05 +0100 + +redhat-cluster-suite (2.20061106-0ubuntu1) feisty; urgency=low + + * New upstream snapshot from cvs head. + + -- Fabio M. Di Nitto Mon, 23 Oct 2006 07:56:22 +0200 + +redhat-cluster-suite (2.20061002-0ubuntu2) edgy; urgency=low + + * Fix cman maintainer scripts to handle correctly upgrades from dapper. + + -- Fabio M. Di Nitto Wed, 04 Oct 2006 10:30:35 +0200 + +redhat-cluster-suite (2.20061002-0ubuntu1) edgy; urgency=low + + * New upstream release. Exception granted by Matt Zimmerman. + (Closes Ubuntu: #61854) + + * Import fixes generated from the bug squash party with upstream. + + * Build Dep on new openais. + + -- Fabio M. Di Nitto Wed, 27 Sep 2006 18:40:23 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu8) edgy; urgency=low + + * Pull a few more fixes from upstream. + + * Mark GFS2 as highly experimental in debian/control. It's not ready for + production yet. + + -- Fabio M. Di Nitto Wed, 20 Sep 2006 11:06:19 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu7) edgy; urgency=low + + * Pull a few fixes for rgmanager from upstream. + + -- Fabio M. Di Nitto Tue, 12 Sep 2006 13:04:27 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu6) edgy; urgency=low + + * Pull pointer init fix in libcman. + + -- Fabio M. Di Nitto Fri, 25 Aug 2006 09:27:36 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu5) edgy; urgency=low + + * Fix gfs/gfs2 init scripts to void gfs script to try to handle gfs2 + volumes. + + * Pull a few changes from upstream to drop patches 003 and 004. + + -- Fabio M. Di Nitto Tue, 22 Aug 2006 14:23:06 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu4) edgy; urgency=low + + * gfs-tools now requires gfs2-tools to lynk to mount/umount helpers. + + * Remove empty po files and fix FTBFS. + + -- Fabio M. Di Nitto Mon, 24 Jul 2006 22:31:27 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu3) edgy; urgency=low + + * Build-Deps on linux-kernel-headers (>= 2.6.17-5.16) since the old version + is still buggy. + + * Install more man pages. + + -- Fabio M. Di Nitto Mon, 24 Jul 2006 08:55:34 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu2) edgy; urgency=low + + * Use active RRP for cman (stolen from CVS). + + * Drop more patches that are now upstream. + + * Drop B-D on linux-headers-$foo. + + * Build-Deps on linux-kernel-headers (>= 2.6.17-5.15) that now exports all the + headers we need. + + * Build-Deps on libvolumeid-dev (>= 093-0ubuntu4) to have proper shlibs. + + * Build-Deps on libopenais-dev (>= 0.79-0ubuntu4) to transit to new soname. + + * Install mkqdisc for qdiskd and more fence agents in cman. + + * Fix gnbd_get_uid wrapper to support old and new udev scsi_id path and ship + the wrapper with gnbd-server. + + * Add more gnbd man pages. + + * Add more gfs2 man pages and symlinks between gfs2_* and *.gfs2 binaries + for standard fs operations (mkfs, grow, etc.) + + * Ship xen domain migration script in rgmanager (EXPERIMENTAL! BE AWARE). + + * Add /sbin/mount.gfs2 helper symlink. + + -- Fabio M. Di Nitto Wed, 19 Jul 2006 11:07:26 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu1) edgy; urgency=low + + * Fix init scripts to be less delicate when it comes to load kernel modules. + + * Import gfs2 convert sync with kernel code. + + * Drop group/app.c build fix and get the proper one from CVS. + + * Sync gfs code with kernel to support selinux attributes over gfs1. + + -- Fabio M. Di Nitto Tue, 18 Jul 2006 12:56:19 +0200 + +redhat-cluster-suite (2.20060716-0ubuntu0) edgy; urgency=low + + * New upstream release based on CVS HEAD snapshot. + + -- Fabio M. Di Nitto Thu, 08 Jun 2006 12:01:16 +0200 + +redhat-cluster-suite (1.20060222-0ubuntu6) dapper-updates; urgency=high + + * Make sure that none of the daemon is started/restarted on install or + update. In certain situations this can lead to the entire suite not being + installable or services restarted without notice. + (Closes Ubuntu: #47645) + + -- Fabio M. Di Nitto Wed, 31 May 2006 18:09:39 +0100 + +redhat-cluster-suite (1.20060222-0ubuntu5) dapper; urgency=low + + * Upstream informs us about 2 critical bugs in our kernel modules: + - Add patch fix-critical-dlm-cman-kernel-issues.dpatch. + (Thanks Patrick for the info/patches/etc.) + + -- Fabio M. Di Nitto Tue, 09 May 2006 13:15:17 +0200 + +redhat-cluster-suite (1.20060222-0ubuntu4) dapper; urgency=low + + * Make redhat-cluster-suite Depends: clvm. + + -- Fabio M. Di Nitto Wed, 05 Apr 2006 13:59:21 +0200 + +redhat-cluster-suite (1.20060222-0ubuntu3) dapper; urgency=low + + * Fix gfs-tools init script to umount services after rgmanager is gone. + + * Move gndb-client to stop after umount gfs and before gndb-server is gone. + + -- Fabio M. Di Nitto Tue, 04 Apr 2006 07:05:40 +0200 + +redhat-cluster-suite (1.20060222-0ubuntu2) dapper; urgency=low + + * Add gfs-tools init script to mount gfs volumes as reported + on ubuntu-server mailing list. Thanks for the spot! + + * Make gfs-tools Depends: psmisc. + + -- Fabio M. Di Nitto Tue, 28 Mar 2006 11:53:58 +0200 + +redhat-cluster-suite (1.20060222-0ubuntu1) dapper; urgency=low + + The "Upstream told us to do an urgent update or CMAN will bite us!" + + * New CVS snapshot: + - Update gfs-kernel-fixes-from-rhel4.dpatch. + + -- Fabio M. Di Nitto Wed, 22 Feb 2006 17:34:36 +0100 + +redhat-cluster-suite (1.20060216-0ubuntu2) dapper; urgency=low + + * UVF exception authorized by mdz. + + * Revert wrong merge from previos upload: + - Add patch gfs-kernel-nomutex.dpatch. + - Add patch revert-gnbd-update.dpatch. + + -- Fabio M. Di Nitto Thu, 16 Feb 2006 08:33:49 +0100 + +redhat-cluster-suite (1.20060216-0ubuntu1) dapper; urgency=low + + * New CVS snapshot: + - Update gfs-kernel-fixes-from-rhel4.dpatch. + - Add gulm-fixes-from-rhel4.dpatch. + + -- Fabio M. Di Nitto Thu, 16 Feb 2006 07:08:27 +0100 + +redhat-cluster-suite (1.20060210-0ubuntu1) dapper; urgency=low + + * New CVS snapshot: + - Import byteswap fix for GFS nfs export. + + -- Fabio M. Di Nitto Fri, 10 Feb 2006 06:50:58 +0100 + +redhat-cluster-suite (1.20060209-0ubuntu1) dapper; urgency=low + + * New CVS snapshot: + - Drop patch install-fence-rsa-manpage.dpatch. + - Add patch dio-cluster-locking.dpatch to fix a deadlock. + + -- Fabio M. Di Nitto Thu, 09 Feb 2006 08:45:13 +0100 + +redhat-cluster-suite (1.20060208-0ubuntu1) dapper; urgency=low + + * New CVS snapshot: + - Drop patch install_fence_bladecenter.dpatch. + - Drop patch install_fence_rps10.dpatch. + - Drop patch fence_tool-fixes-from-rhel4.dpatch. + - Drop patch fix-ccs-endianess.dpatch. + - Update gfs-kernel-fixes-from-rhel4.dpatch. + - Add install-fence-rsa-manpage.dpatch. + + * Make the init script do a cman_tool leave remove on stop. + (Ported from RH init script) + + -- Fabio M. Di Nitto Wed, 08 Feb 2006 12:49:26 +0100 + +redhat-cluster-suite (1.20060112-0ubuntu1) dapper; urgency=low + + * New CVS snapshot: + - Drop patch fix-udevrules.dpatch (it's upstream). + - Update gfs-kernel-fixes-from-rhel4.dpatch. + - Update fence_tool-fixes-from-rhel4.dpatch. + - Update fix-ccs-endianess.dpatch. + + * Implement rgmanager timeout counter when stopping the service. + This avoid the machine to be stucked on a dead rgmanager. + + * Stop shipping cmirror kernel module in coordination with upstream. + + * Build libdlm with udev support: + - Add patch libdlm-enable-udev.dpatch. + + * Fix fence init script to start only if cman has been started properly and + no gulm has been detected. + + -- Fabio M. Di Nitto Wed, 11 Jan 2006 07:23:00 +0100 + +redhat-cluster-suite (1.20060105-0ubuntu2) dapper; urgency=low + + * Fix udev rules order. + + * Fix ccs endianess problems: + - Add patch fix-ccs-endianess.dpatch + (Thanks to Patrick for his first shot to the problem. Full patch pushed + upstream) + + -- Fabio M. Di Nitto Tue, 10 Jan 2006 18:10:10 +0100 + +redhat-cluster-suite (1.20060105-0ubuntu1) dapper; urgency=low + + * New CVS snapshot. + + * Add udev 45-dlm.rules: + - Add patch fix-udevrules.dpatch (pushed upstream). + + -- Fabio M. Di Nitto Thu, 05 Jan 2006 10:12:35 +0100 + +redhat-cluster-suite (1.20060102-0ubuntu1) dapper; urgency=low + + * New CVS snapshot. + + * Rediff patches. + + * Drop patch gnbd-monitor-fixes-from-rhel4.dpatch. Now part of the STABLE + branch. + + * Import fix for bz168698 into fence init script. + + * Import fixes from RHEL CVS branch: + - Update patch gfs-kernel-fixes-from-rhel4.dpatch. + - Add patch fence_tool-fixes-from-rhel4.dpatch. + - Add patch rgmanager-README-fixes-from-rhel4.dpatch. + + * Requires rhcs-modules-4 provided only with kernel 2.6.15-10.16 or higher. + + -- Fabio M. Di Nitto Mon, 02 Jan 2006 10:21:01 +0100 + +redhat-cluster-suite (1.20051205-0ubuntu1) dapper; urgency=low + + * New CVS snapshot. + + * Requires rhcs-modules-3 provided only with kernel 2.6.15-7.9 or higher. + + * Rediff patches. + + * Import fixes from RHEL CVS branch: + - Add patch gnbd-monitor-fixes-from-rhel4.dpatch. + - Add patch install_fence_rps10.dpatch. + - Update patch gfs-kernel-fixes-from-rhel4.dpatch. + - Add patch gfs-fixes-from-rhel4.dpatch. + - Drop fence_ship_more_manpages.dpatch. + + -- Fabio M. Di Nitto Mon, 05 Dec 2005 09:56:21 +0100 + +redhat-cluster-suite (1.20051024-0ubuntu1) dapper; urgency=low + + * New CVS snapshot. + + * Requires rhcs-modules-2 provided only with kernels 2.6.14 or higher. + + * Rediff patches. + + -- Fabio M. Di Nitto Mon, 24 Oct 2005 05:56:01 +0200 + +redhat-cluster-suite (1.20050822-0ubuntu4) breezy; urgency=low + + * Fix linker invocations to build shlibs with ${CC} instead of ${LD}. + + -- LaMont Jones Thu, 1 Sep 2005 07:23:02 -0600 + +redhat-cluster-suite (1.20050822-0ubuntu3) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * Add sleep in gnbd-client init script before importing the devices. + This fixes a race condition that can happen when the entire cluster is + booting at the same time. the gnbd-* scripts run immediatly after the + fence domain is formed, but clients need to give some seconds to the + servers to exports the devices. + + * Add KNOWN ISSUE section to README.Debian and add info about + Heavy I/O / heartbeat problem. + + -- Fabio M. Di Nitto Wed, 31 Aug 2005 08:01:50 +0200 + +redhat-cluster-suite (1.20050822-0ubuntu2) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * Add README.Debian with some info as discussed in #14008 in + redhat-cluster-suite meta package. + + -- Fabio M. Di Nitto Wed, 24 Aug 2005 06:54:38 +0200 + +redhat-cluster-suite (1.20050822-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New CVS snapshot: + - No changes to userland. + - Import cman-kernel iovec fix from STABLE branch. + - Import gfs ACL fix from RHEL4 branch: + - Update gfs-kernel-fixes-from-rhel4.dpatch. + + -- Fabio M. Di Nitto Mon, 22 Aug 2005 06:37:42 +0200 + +redhat-cluster-suite (1.20050816-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New CVS snapshot: + - Import cmirror, dlm-kernel fixes from STABLE branch. + - Import gfs-kernel fixes from RHEL4 branch: + - Add patch gfs-kernel-fixes-from-rhel4.dpatch. + + -- Fabio M. Di Nitto Wed, 17 Aug 2005 11:41:44 +0200 + +redhat-cluster-suite (1.20050815-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New CVS snapshot: + - Import cman-kernel, cmirror, fence agents, gfs-kernel fixes. + - Ship fence_ipmilan and fence_bullpap: + + Add patch fence_ship_more_manpages.dpatch to fix fence/man/Makefile + and install also the manpages for the 2 agents. + + -- Fabio M. Di Nitto Mon, 15 Aug 2005 13:07:05 +0200 + +redhat-cluster-suite (1.20050729-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - Import cmirror bug fixes: + + + Only allow one machine to perform resync work + There must be a race in there somewhere when allowing multiple + simultaneous recoveries... This side-steps that issue. Besides + one machine moving the heads is probably better than all. + + + when a resync is done, we must mark it in the clean list as well + as the sync list. Otherwise, the log will always tell us there + is recovery to be done - even if there isn't. + + + Only suspend the server on cluster events - not dm suspends. If + we flush the clients before returning from the suspend, the server + will do nothing anyway. + + + fix typo + + + clean up logging + + + take the code that connects to cman out of the init function and + do it on first mirror activation. This way, you don't have to + have cman running in order to load the module... Makes mirror + activation a bit slower, but speeds up module loading. + + + get_region_size returns sector_t, not uint32_t + + - Import ilo fence agent bug fixes: + + + Adds support for latest ilo firmware version (1.75). Changes were also + added to make sure that power status of the machine is being properlly + checked after power change commands have been issued. Before, it was + assumed to work through the messages recieved in the xml response. As + a result, systems with APCI enabled would soft power off leaving, + systems running instead of properlly fencing them. + + + A new option, ribcl, was added to the agent to force the protocol to + use when trying to send the power off command. Setting this value to + "2.21" might be required to work around some versions of ilo on machines with + APCI enabled. If left blank, the protocol version is autodetected. + + - Import rgmanager bug fixes. + + - ccs_tools needs to link with pthread: + + Fix FTBFS. + + Add patch ccs_tool_and_pthread_love.dpatch. + + -- Fabio M. Di Nitto Fri, 29 Jul 2005 06:59:12 +0200 + +redhat-cluster-suite (1.20050728-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - Import bug fix to cmantools join. + + -- Fabio M. Di Nitto Thu, 28 Jul 2005 13:43:30 +0200 + +redhat-cluster-suite (1.20050721-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - Import fixes to cman-kernel to drop out cluster if all network + interfaces are down. + - Import fixes to magma plugin sm. + + -- Fabio M. Di Nitto Thu, 21 Jul 2005 06:08:53 +0200 + +redhat-cluster-suite (1.20050720-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - Import fixes to dm-cmirror. + + * Import fixes from RHEL4 branch: + - install fence agent bladecenter. + - remove gulm kludge. + + -- Fabio M. Di Nitto Wed, 20 Jul 2005 13:15:01 +0200 + +redhat-cluster-suite (1.20050714-0ubuntu3) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * Make redhat-cluster-suite Recommends: system-config-cluster. + + -- Fabio M. Di Nitto Fri, 15 Jul 2005 08:07:36 +0200 + +redhat-cluster-suite (1.20050714-0ubuntu2) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * Fix redhat-cluster-suite-modules Depends. + + -- Fabio M. Di Nitto Thu, 14 Jul 2005 13:01:51 +0200 + +redhat-cluster-suite (1.20050714-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - saForum APIs for libcman. + - rgmanager fixes for resources/ip.sh and nfsclients shared resource + monitoring. + - Add dm-cmirror. + + * Install min-gfs.txt and usage.txt in gfs-tools doc dir. + + * Include dm-cmirror in redhat-cluster-suite-modules. + + * Make kernel modules install path consistent with the kernel: + - Add patch kernel-modules-install-paths.dpatch. + + -- Fabio M. Di Nitto Thu, 14 Jul 2005 06:20:12 +0200 + +redhat-cluster-suite (1.20050712-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - Import dlm-kernel fixes. + - Fix gfs_fsck pass1b loop. + - Fix 2 fence agents. + - Fix clusterfs.sh in rgmanager. + + * Start shipping kernel modules source package: + - Create package redhat-cluster-suite-source. + - Add debian-modules dir and relative files to build with + module-assistant: + . Add control.modules.in, postinst.modules.in and rules. + - Make redhat-cluster-suite-source generate redhat-cluster-suite-modules. + - Make redhat-cluster-suite-modules Provides: rhcs-modules-1. + NOTE: Ubuntu stock kernel will provide the same from version 2.6.12-4.4. + - Make cman, gfs-tools, gnbd-client, gnbd-server and gulm Depends: on + rhcs-modules-1. + - Make redhat-cluster-suite-source automatically register with + module-assistant. + - Update debian/rules. + + -- Fabio M. Di Nitto Tue, 12 Jul 2005 09:14:10 +0200 + +redhat-cluster-suite (1.20050706-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - Drop enable-drac.dpatch that has been accepted upstream. + - Start shipping shared libraries for the cman infrastructure. + - Rediff do_not_install_rh_init.dpatch. + + * Fix libcman Makefile to build with headers from the tree: + - Update force_includes_in_project_tree.dpatch. + + * Add missing includes in gettid.c: + - Add patch add_missing_syscall_includes.dpatch. + + -- Fabio M. Di Nitto Wed, 06 Jul 2005 06:23:04 +0200 + +redhat-cluster-suite (1.20050704-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - Add performance problem fixes to ccsd. + + -- Fabio M. Di Nitto Mon, 04 Jul 2005 13:30:09 +0200 + +redhat-cluster-suite (1.20050629-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version: + - Add drac fence agent. + - Import bug fixes. + + -- Fabio M. Di Nitto Wed, 29 Jun 2005 10:08:21 +0200 + +redhat-cluster-suite (1.20050623-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * New upstream version based on STABLE branch. + + * Switch to dpatch to manage patches. + + * Split patches outside diff.gz. + + * Perform tag/untag release at build time. + + * Build with gcc-4.0. + + -- Fabio M. Di Nitto Thu, 23 Jun 2005 09:36:54 +0200 + +redhat-cluster-suite (1.20050527-0ubuntu2) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * Add missing description to rgmanager package. (whoops) + + * redhat-cluster-suite meta package now Recommends: clvm + + * Fix a few lintian warning: + - Add dh_compress and dh_fixperms to binary-indep call. + - Add force-reload init target to rgmanager and gulm. + + -- Fabio M. Di Nitto Sun, 12 Jun 2005 07:42:57 +0200 + +redhat-cluster-suite (1.20050527-0ubuntu1) breezy; urgency=low + + Changes by Fabio M. Di Nitto: + + * First package release. (see also copyrights for all contributors and + credits) + + Changes by Adam Conrad: + + * Replace _syscall magic numbers with syscall() calls that will work + on all arches. Magic numbers are bad, mmkay? + + * Fix gnbd-*.init config parser. + + -- Fabio M. Di Nitto Fri, 10 Jun 2005 12:52:52 +0200 --- redhat-cluster-2.20080227.orig/debian/libdlm2.install +++ redhat-cluster-2.20080227/debian/libdlm2.install @@ -0,0 +1,3 @@ +etc/udev/rules.d/45-dlm.rules +usr/lib/libdlm_lt.so.2.0 +usr/lib/libdlm.so.2.0 --- redhat-cluster-2.20080227.orig/debian/rgmanager.default +++ redhat-cluster-2.20080227/debian/rgmanager.default @@ -0,0 +1 @@ +# RGMGR_OPTIONS="" --- redhat-cluster-2.20080227.orig/debian/gfs2-tools.links +++ redhat-cluster-2.20080227/debian/gfs2-tools.links @@ -0,0 +1,9 @@ +usr/sbin/fsck.gfs2 usr/sbin/gfs2_fsck +usr/sbin/mkfs.gfs2 usr/sbin/gfs2_mkfs +usr/sbin/mkfs.gfs2 usr/sbin/gfs2_jadd +usr/sbin/mkfs.gfs2 usr/sbin/gfs2_grow +sbin/mount.gfs2 usr/sbin/gfs2_mount +sbin/umount.gfs2 usr/sbin/gfs2_umount +usr/share/man/man8/gfs2_fsck.8.gz usr/share/man/man8/fsck.gfs2.8.gz +usr/share/man/man8/mkfs.gfs2.8.gz usr/share/man/man8/gfs2_mkfs.8.gz +usr/share/man/man8/gfs2_mount.8.gz usr/share/man/man8/mount.gfs2.8.gz --- redhat-cluster-2.20080227.orig/debian/cman.default +++ redhat-cluster-2.20080227/debian/cman.default @@ -0,0 +1,6 @@ +# CLUSTERNAME="" +# NODENAME="" +# USE_CCS="yes" +# CLUSTER_JOIN_TIMEOUT=300 +# CLUSTER_JOIN_OPTIONS="" +# CLUSTER_SHUTDOWN_TIMEOUT=60 --- redhat-cluster-2.20080227.orig/debian/rules +++ redhat-cluster-2.20080227/debian/rules @@ -0,0 +1,144 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +xen_arches = amd64 i386 +ifneq (,$(filter $(DEB_HOST_ARCH), $(xen_arches))) + BUILD_XEN = --enable_xen +endif + +BUILDROOT := $(shell pwd) + +SOMAJOR=2 +SOMINOR=0 + +configure: patch configure-stamp +configure-stamp: + dh_testdir + + ./configure --kernel_src=$(BUILDROOT) \ + --kernel_build=$(BUILDROOT) \ + --sbindir=/usr/sbin \ + $(BUILD_XEN) \ + --nssincdir=/usr/include/nss \ + --nsprincdir=/usr/include/nspr \ + --libexecdir=/usr/lib/openais \ + --release_major=$(SOMAJOR) \ + --release_minor=$(SOMINOR) \ + --disable_kernel_check + + # disable kernel modules + sed -i -e 's/-kernel.* \?=/& 1/g' make/defines.mk + + touch $@ + +build: configure build-stamp +build-stamp: + dh_testdir + + $(MAKE) all + + touch $@ + +install: build + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) install DESTDIR=$(BUILDROOT)/debian/tmp/ + + # manual craft + install -d -m 0755 debian/tmp/etc/cluster + install -m 0640 debian/gnbdexports.conf debian/tmp/etc/cluster/gnbdexports.conf + install -m 0640 debian/gnbdimports.conf debian/tmp/etc/cluster/gnbdimports.conf + + mv debian/tmp/etc/udev/rules.d/51-dlm.rules debian/tmp/etc/udev/rules.d/45-dlm.rules + + dh_install --sourcedir=debian/tmp --list-missing + + # install gfs and gnbd kernel sources + mkdir -p debian/redhat-cluster-source/usr/src/modules/redhat-cluster/debian + + # copy the source + mkdir -p debian/redhat-cluster-source/usr/src/modules/redhat-cluster/gfs + cp -a gfs-kernel/src/gfs/* \ + debian/redhat-cluster-source/usr/src/modules/redhat-cluster/gfs/ + + mkdir -p debian/redhat-cluster-source/usr/src/modules/redhat-cluster/gnbd + cp -a gnbd-kernel/src/* \ + debian/redhat-cluster-source/usr/src/modules/redhat-cluster/gnbd/ + + # prepare the debian dir + cd debian ; \ + cp compat copyright redhat-cluster-modules-_KVERS_.postinst changelog \ + control.modules.in redhat-cluster-source/usr/src/modules/redhat-cluster/debian + cp debian/redhat-cluster-source.README.Debian \ + debian/redhat-cluster-source/usr/src/modules/redhat-cluster/debian/README.Debian + cp debian/redhat-cluster-source.rules \ + debian/redhat-cluster-source/usr/src/modules/redhat-cluster/debian/rules + chmod 755 debian/redhat-cluster-source/usr/src/modules/redhat-cluster/debian/rules + cp debian/redhat-cluster-source.Makefile \ + debian/redhat-cluster-source/usr/src/modules/redhat-cluster/Makefile + + # tar it up + cd debian/redhat-cluster-source/usr/src/ ; \ + tar cjf redhat-cluster.tar.bz2 modules/redhat-cluster/ + rm -rf debian/redhat-cluster-source/usr/src/modules + + install -D -m 755 debian/modass.redhat-cluster-source \ + debian/redhat-cluster-source/usr/share/modass/overrides/redhat-cluster-source + + dh_installdirs + dh_link + dh_installdocs + dh_installchangelogs + dh_installdebconf + dh_installinit -p cman --no-start --no-restart-on-upgrade -- start 61 S . start 5 0 6 . + dh_installinit -p gnbd-server --no-start --no-restart-on-upgrade -- start 63 S . start 3 0 6 . + dh_installinit -p gnbd-client --no-start --no-restart-on-upgrade -- start 64 S . start 3 0 6 . + dh_installinit -p gfs-tools --no-start --no-restart-on-upgrade -- start 65 S . start 2 0 6 . + dh_installinit -p gfs2-tools --no-start --no-restart-on-upgrade -- start 65 S . start 2 0 6 . + dh_installinit -p rgmanager --no-start --no-restart-on-upgrade -- start 65 S . start 1 0 6 . + +binary-arch: install + dh_testdir + dh_testroot + dh_strip -a +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/cman/usr/lib/openais/lcrso/service_cman.lcrso +endif + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_shlibdeps -a -ldebian/tmp/usr/lib -l/usr/lib/openais + dh_installdeb -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary-indep: install + dh_testdir + dh_testroot + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary: binary-arch binary-indep + +clean: unpatch + dh_testdir + dh_testroot + dh_clean + + [ ! -f make/defines.mk ] || $(MAKE) distclean + + rm -rf *-stamp + rm -rf debian/patched --- redhat-cluster-2.20080227.orig/debian/gfs-tools.docs +++ redhat-cluster-2.20080227/debian/gfs-tools.docs @@ -0,0 +1,2 @@ +doc/min-gfs.txt +doc/usage.txt --- redhat-cluster-2.20080227.orig/debian/po/templates.pot +++ redhat-cluster-2.20080227/debian/po/templates.pot @@ -0,0 +1,46 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: redhat-cluster@packages.debian.org\n" +"POT-Creation-Date: 2007-12-23 20:05+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cman.templates:1001 +msgid "Do you want to abort now?" +msgstr "" + +#. Type: boolean +#. Description +#: ../cman.templates:1001 +msgid "" +"The new version 2.0 of the Red Hat Cluster Suite is not compatible with the " +"currently installed one. Upgrading these packages without stopping the " +"complete cluster can cause filesystem corruption on shared storage devices." +msgstr "" + +#. Type: boolean +#. Description +#: ../cman.templates:1001 +msgid "" +"For instructions on how to safely upgrade the Red Hat Cluster Suite to " +"version 2.0, please refer to the following document:" +msgstr "" + +#. Type: boolean +#. Description +#: ../cman.templates:1001 +msgid "http://wiki.debian.org/UpgradeRHCSV1toV2" +msgstr "" --- redhat-cluster-2.20080227.orig/debian/po/POTFILES.in +++ redhat-cluster-2.20080227/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] cman.templates --- redhat-cluster-2.20080227.orig/debian/cman.docs +++ redhat-cluster-2.20080227/debian/cman.docs @@ -0,0 +1 @@ +debian/upgrade.txt --- redhat-cluster-2.20080227.orig/debian/gnbd-client.init +++ redhat-cluster-2.20080227/debian/gnbd-client.init @@ -0,0 +1,63 @@ +#! /bin/sh + +### BEGIN INIT INFO +# Provides: global network block device client +# Required-Start: $network +# Required-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: start and stop gnbd client +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/gnbd_import +NAME=gnbd_import +DESC="global network block device client" + +test -x $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + if [ -e /etc/cluster/gnbdimports.conf ]; then + if grep -q -v '^#' /etc/cluster/gnbdimports.conf; then + if ! modprobe gnbd 2>&1; then + echo "Warning unable to load gnbd kernel module" + fi + sleep 5 + grep -v "^#" /etc/cluster/gnbdimports.conf | grep -v "^[:space:]*$" | \ + while read server options; do + gnbd_import -i $server $options + done + sleep 10 + echo "done." + fi + else + echo "No configured imports." + fi + ;; + stop) + echo -n "Releasing device(s): " + gnbd_import -R + echo "done." + if ! modprobe -r gnbd 2>&1; then + echo "Warning unable to unload gnbd kernel module" + fi + ;; + restart|force-reload) + echo -n "Restarting $DESC: " + $0 stop + sleep 1 + $0 start + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- redhat-cluster-2.20080227.orig/debian/rgmanager.init +++ redhat-cluster-2.20080227/debian/rgmanager.init @@ -0,0 +1,96 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: cluster service manager +# Required-Start: $network cman +# Required-Stop: $network cman +# Should-Start: gfs-tools gfs2-tools +# Should-Stop: gfs-tools gfs2-tools +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: start and stop the cluster service manager +### END INIT INFO + + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DESC="cluster service manager" +NAME=clurgmgrd +DAEMON=/usr/sbin/clurgmgrd + +LOG_ERR=3 +LOG_WARNING=4 +LOG_NOTICE=5 +LOG_INFO=6 + +RGMGR_OPTIONS="" + +if [ -f /etc/default/rgmanager ]; then + . /etc/default/rgmanager +fi + +# +# log_and_print +# +log_and_print() { +if [ -z "$1" -o -z "$2" ]; then + return 1; +fi + +clulog -p $$ -n "rgmanager" -s $1 "$2" +echo $2 + +return 0; +} + +stop_cluster() { +TIMEOUT=30 +STOP=0 +while [ 0 ]; do + if [ -n "`pidof $NAME`" ]; then + echo -n "Waiting for services to stop: " + while [ -n "`pidof $NAME`" ] && [ "$STOP" != "$TIMEOUT" ]; do + kill `pidof $NAME` + STOP=`expr $STOP + 1` + sleep 1 + done + if [ -n "`pidof $NAME`" ]; then + kill -9 `pidof $NAME` + fi + echo "done." + else + echo "Services are stopped." + fi + + return 0 +done +} + +modprobe sctp 2>&1 || true + +case $1 in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $RGMGR_OPTIONS + echo "done." + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + reload|force-reload) + log_and_print $LOG_NOTICE "Reloading Resource Configuration: " + killproc $NAME -HUP + rv=$? + log_and_print $LOG_NOTICE "done." + exit $rv + ;; + stop) + log_and_print $LOG_NOTICE "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON + stop_cluster + log_and_print $LOG_NOTICE "$NAME is stopped." + rm -f /var/run/$NAME.pid + echo "done." + ;; +esac --- redhat-cluster-2.20080227.orig/debian/libcman-dev.links +++ redhat-cluster-2.20080227/debian/libcman-dev.links @@ -0,0 +1 @@ +usr/lib/libcman.so.2 usr/lib/libcman.so --- redhat-cluster-2.20080227.orig/debian/gfs-tools.install +++ redhat-cluster-2.20080227/debian/gfs-tools.install @@ -0,0 +1,18 @@ +usr/sbin/fsck.gfs +usr/sbin/gfs_debug +usr/sbin/gfs_edit +usr/sbin/gfs_fsck +usr/sbin/gfs_grow +usr/sbin/gfs_jadd +usr/sbin/gfs_mkfs +usr/sbin/gfs_quota +usr/sbin/gfs_tool +usr/sbin/mkfs.gfs +usr/share/man/man8/gfs.8 +usr/share/man/man8/gfs_fsck.8 +usr/share/man/man8/gfs_grow.8 +usr/share/man/man8/gfs_jadd.8 +usr/share/man/man8/gfs_mkfs.8 +usr/share/man/man8/gfs_mount.8 +usr/share/man/man8/gfs_quota.8 +usr/share/man/man8/gfs_tool.8 --- redhat-cluster-2.20080227.orig/debian/libdlm2.links +++ redhat-cluster-2.20080227/debian/libdlm2.links @@ -0,0 +1,2 @@ +usr/lib/libdlm_lt.so.2.0 usr/lib/libdlm_lt.so.2 +usr/lib/libdlm.so.2.0 usr/lib/libdlm.so.2 --- redhat-cluster-2.20080227.orig/debian/gfs2-tools.dirs +++ redhat-cluster-2.20080227/debian/gfs2-tools.dirs @@ -0,0 +1 @@ +sbin --- redhat-cluster-2.20080227.orig/debian/copyright +++ redhat-cluster-2.20080227/debian/copyright @@ -0,0 +1,81 @@ +This is the Debian GNU/Linux prepackaged version of the +RedHat Cluster Suite version 2. + +A lot of people have been contributing to this package in several +different areas/bits. In non-particular order: + +- Fabio M. Di Nitto + Most of the Packaging for Ubuntu +- Frederik Schüler + several patches and testing. +- Bastian Blank + for all his packages, init scripts, build rules. +- Adam Conrad + for some init script fixes and portability patches. +- A really great and responsive upstream. + +Upstream: http://sources.redhat.com/cluster/ + +Based on a CVS snapshot from the Ubuntu packages archive. + +Upstream carries tons of copyrights from several sources. Each specific +source file has its own copyright header with very detailed information. +Here is a quick summary of all company/people: + +Copyright (C) 2006 Alexander Krauth +Copyright (C) 1995-1997 Olaf Kirch +Copyright (C) 1997-2004 Sistina Software, Inc. +Copyright (C) 2003-2008 Red Hat, Inc. +Copyright (C) 2000-2003 Silicon Graphics, Inc. +Copyright (C) 2000 Alan Robertson +Copyright (C) 2000 Bryan Call +Copyright (C) 2004 SUSE LINUX AG, Lars Marowsky-Bree +Copyright (C) 2005 American Power Conversion, Inc. +Copyright (C) Crosswalk 2006-2007 +Copyright (C) Lon Hohberger, 2004 +Copyright (C) Mission Critical Linux, Inc. 2000 +Copyright (C) 2001-2003 The OpenGFS2 Project +Copyright (C) 2001-2003 The OpenGFS Project +Copyright (C) 2004 ben.m.cahill@intel.com + +Most parts are licensed under the GNU GPL version 2: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems, the complete text of the GNU General Public License +version 2 can be found in `/usr/share/common-licenses/GPL-2'. + + +Some parts of the fencing agents, of libgroup, libcman, qdisk and libdlm +are licensed under the GNU LGPL version 2.1: + + The Red Hat Cluster Manager API Library is free software; you can + redistribute it and/or modify it under the terms of the GNU Lesser + General Public License as published by the Free Software Foundation; + either version 2.1 of the License, or (at your option) any later + version. + + The Red Hat Cluster Manager API Library is distributed in the hope + that it will be useful, but WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + + +On Debian systems, the complete text of the GNU Lesser Public License +version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + --- redhat-cluster-2.20080227.orig/debian/redhat-cluster-source.README.Debian +++ redhat-cluster-2.20080227/debian/redhat-cluster-source.README.Debian @@ -0,0 +1,28 @@ +GFS for Debian +------------------ + +o How do i build this module the debian way? + +- Building with module-assistant + +$ m-a -t a-i redhat-cluster + +(for kernel source or headers in non-standard directory, add the option +-k /path/to/kernel/source with the correct path) + +- Building with make-kpkg + +$ cd /usr/src/ +$ ta xjvf redhat-cluster.tar.bz2 +$ cd /usr/src/kernel-source-2.6.23-1-amd64 +$ make-kpkg --added-modules=redhat-cluster modules + +- Building without make-kpkg + +$ cd /usr/src/ +$ tar jxvf redhat-cluster.tar.bz2 +$ cd modules/redhat-cluster +$ fakeroot debian/rules kdist_image + +(no fakeroot needed if you run this as root) + --- redhat-cluster-2.20080227.orig/debian/gnbdexports.conf +++ redhat-cluster-2.20080227/debian/gnbdexports.conf @@ -0,0 +1 @@ +# --- redhat-cluster-2.20080227.orig/debian/libcman2.links +++ redhat-cluster-2.20080227/debian/libcman2.links @@ -0,0 +1 @@ +usr/lib/libcman.so.2.0 usr/lib/libcman.so.2