--- redhat-cluster-2.20090127.orig/debian/libdlm3.links +++ redhat-cluster-2.20090127/debian/libdlm3.links @@ -0,0 +1,2 @@ +usr/lib/libdlm_lt.so.3.0 usr/lib/libdlm_lt.so.3 +usr/lib/libdlm.so.3.0 usr/lib/libdlm.so.3 --- redhat-cluster-2.20090127.orig/debian/cman.default +++ redhat-cluster-2.20090127/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.20090127.orig/debian/gfs2-tools.docs +++ redhat-cluster-2.20090127/debian/gfs2-tools.docs @@ -0,0 +1,4 @@ +doc/min-gfs.txt +doc/usage.txt +doc/gfs2.txt +doc/journaling.txt --- redhat-cluster-2.20090127.orig/debian/liblogthread-dev.links +++ redhat-cluster-2.20090127/debian/liblogthread-dev.links @@ -0,0 +1 @@ +usr/lib/liblogthread.so.3 usr/lib/liblogthread.so --- redhat-cluster-2.20090127.orig/debian/rgmanager.default +++ redhat-cluster-2.20090127/debian/rgmanager.default @@ -0,0 +1 @@ +# RGMGR_OPTIONS="" --- redhat-cluster-2.20090127.orig/debian/libdlmcontrol3.install +++ redhat-cluster-2.20090127/debian/libdlmcontrol3.install @@ -0,0 +1 @@ +usr/lib/libdlmcontrol.so.3.0 --- redhat-cluster-2.20090127.orig/debian/copyright +++ redhat-cluster-2.20090127/debian/copyright @@ -0,0 +1,302 @@ +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 unstable releases from upstream. + +***** + +From upstream README.licence: + +The Red Hat Cluster is a collection of free software built on top of different +libraries and applications. + +For a detailed list of authors and copyright holders, please check the +included COPYRIGHT file. + +Libraries: + +You can redistribute them and/or modify them 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 libraries are distributed in the hope that they 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. + +Applications: + +You can redistribute them and/or modify them under the terms of the GNU General +Public License as published by the Free Software Foundation; either version +2 of the License, or (at your option) any later version. + +The applications are distributed in the hope that they 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. + +A copy of each license is included for your convenience in COPYING.applications +and COPYING.libraries. + +If missing, 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'. + +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'. + +***** + +From upstream COPYRIGHT file: + +Unless specified otherwise in the "exceptions section" below: + +Copyright (C) 1997-2003 Sistina Software, Inc. All rights reserved. +Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. + +Exceptions: + +cman/qdisk/crc32.c: + Copyright (C) 2000 Bryan Call + Modified by Lon H. Hohberger + Copyright (C) 2003-2008 Red Hat, Inc. All rights reserved. + +cman/qdisk/daemon_init.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author: Jeff Moyer + +cman/qdisk/disk.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author: Tim Burke + +cman/qdisk/scandisk.{c,h}: + Original design by: Joel Becker and + Fabio M. Di Nitto + +dlm/doc/example.c: + Author: Daniel Phillips + +fence/agents/apc_snmp/powernet369.mib: + Copyright (c) 2005 American Power Conversion, Inc. + PowerNet is a Trademark of American Power Conversion Corp. + +fence/agents/ifmib/fence_ifmib.py: + Copyright (C) 2008 Ross Vandegrift. + Written by Ross Vandegrift + +fence/agents/ipmilan/expect.{c,h}: + Copyright (C) 2000 Alan Robertson + +fence/agents/vmware/fence_vmware.pl: + Author: Zach Lowry + +fence/agents/xvm/tcp.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author: Jeff Moyer + +fence/man/fence_ifmib.8: + Copyright (C) 2008 Ross Vandegrift. + Written by Ross Vandegrift + +gfs/man/gfs_mount.8: + Portions copyright (C) 2001-2003 The OpenGFS Project + Portions copyright (C) 2004 + Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. + +gfs2/man/gfs2_mount.8: + Portions copyright (C) 2001-2003 The OpenGFS2 Project + Portions copyright (C) 2004 + Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. + +gfs-kernel/src/gfs/fixed_div64.h: + Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. + Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy, + Mountain View, CA 94043, or: + http://www.sgi.com + For further information regarding this notice, see: + http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ + Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. + +From rgmanager/AUTHORS: + +Lon Hohberger lhh at redhat.com +* Resource tree +* Failover domains +* Resource agent scripts + +Gregory Myrdal [private] +* Misc utilities +* Resource agent scripts + +Jeff Moyer jmoyer at redhat.com +* Syslog wrapper & logging program + +Portions of this code (C) 2000-2001 Mission Critical Linux, Inc. + +rgmanager/include/clulog.h: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author: Jeff Moyer + +rgmanager/src/clulib/clulog.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author: Jeff Moyer + +rgmanager/src/clulib/daemon_init.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author: Jeff Moyer + +rgmanager/src/clulib/msgsimple.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/clulib/tmgr.c: + Copyright (C) 2006-2007 Crosswalk. + Copyright (C) 2007-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/clulib/wrap_lock.c: + Copyright (C) 2006-2007 Crosswalk. + Copyright (C) 2007-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/daemons/groups.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/daemons/main.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/utils/cluarp.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/utils/clubufflush.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author: Gregory P. Myrdal + +rgmanager/src/utils/clufindhostname.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Richard Rabbat + +rgmanager/src/utils/clulog.c: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author: Jeff Moyer + +rgmanager/src/utils/syscall.h + Copyright (C) 1995-1997 Olaf Kirch + Copyright (C) 1997-2003 Sistina Software, Inc. All rights reserved. + Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/resources/ASEHAagent.sh: + Sybase Availability Agent for Red Hat Cluster v15.0.2 + Copyright (C) - 2007 + Sybase, Inc. All rights reserved. + + Sybase Availability Agent for Red Hat Cluster v15.0.2 is licensed + under the GNU General Public License Version 2. + + Author(s): + Jian-ping Hui + +rgmanager/src/resources/clusterfs.sh: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/resources/fs.sh: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/resources/ip.sh: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/resources/netfs.sh: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/resources/netexport.sh: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + +rgmanager/src/resources/ocf-shellfuncs: + Copyright (C) 2004 SUSE LINUX AG, Lars Marowsky-Bree. All Rights Reserved. + +rgmanager/src/resources/oracledb.sh: + Author(s): + Hardy Merrill + Michael Moon + +rgmanager/src/resources/SAPDatabase: + Author: Alexander Krauth + Copyright (C) 2006 Alexander Krauth + +rgmanager/src/resources/SAPInstance: + Author: Alexander Krauth + Copyright (C) 2006 Alexander Krauth + +rgmanager/src/resources/smb.sh: + Copyright (C) 2000 Mission Critical Linux + Copyright (C) 2002-2008 Red Hat, Inc. All rights reserved. + Author(s): + Lon Hohberger (lhh at redhat.com) + Tim Burke (tburke at redhat.com) + +Authors as known by current RCS as of the time of writing: + +Abhijith Das +Adam Manthei +A. J. Lewis +Alasdair G. Kergon +Andrew Price +Benjamin Marzinski +Bob Peterson +Chris Feist +Christine Caulfield +Daniel Phillips +David Teigland +Fabio M. Di Nitto +James Parsons +Joel Becker +Jonathan Brassow +jparsons +Ken Preslan +Lon Hohberger +Marc - A. Dahlhaus +Marek 'marx' Grac +Mark Hlawatschek +Michael Conrad Tadpol Tilstra +Patrick Caulfield +Robert Peterson +Ross Vandegrift +Ryan McCabe +Ryan O'Hara +Stanko Kupcevic +Steven Whitehouse +Wendy Cheng --- redhat-cluster-2.20090127.orig/debian/libcman-dev.links +++ redhat-cluster-2.20090127/debian/libcman-dev.links @@ -0,0 +1 @@ +usr/lib/libcman.so.3 usr/lib/libcman.so --- redhat-cluster-2.20090127.orig/debian/po/templates.pot +++ redhat-cluster-2.20090127/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.20090127.orig/debian/po/POTFILES.in +++ redhat-cluster-2.20090127/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] cman.templates --- redhat-cluster-2.20090127.orig/debian/changelog +++ redhat-cluster-2.20090127/debian/changelog @@ -0,0 +1,1301 @@ +redhat-cluster (2.20090127-0ubuntu1) jaunty; urgency=low + + * New upstream release from 3.0.0.alpha3 official release. + + * Remove lots of symlink compat junk from old obsoleted versions of gfs and + gfs2 tools. + + -- Fabio M. Di Nitto Wed, 28 Jan 2009 14:20:12 +0100 + +redhat-cluster (2.20090112-0ubuntu4) jaunty; urgency=low + + * move dlm_tool binary to cman package. + * drop all Build-Conflicts that are not required anylonger as the library + API/ABI is now stable. + (tho building in a clean chroot always worked just fine....) + * drop obsoleted cman Conflicts:. Those packages haven't been around long + enough. + + -- Fabio M. Di Nitto Wed, 21 Jan 2009 11:33:58 +0100 + +redhat-cluster (2.20090112-0ubuntu3) jaunty; urgency=low + + * FTBFS as expected :-( + * debian/rules: make /lib/udev/rules.d first and remove /etc/udev/rules.d + after. + + -- Scott James Remnant Mon, 12 Jan 2009 15:29:33 +0000 + +redhat-cluster (2.20090112-0ubuntu2) jaunty; urgency=low + + * debian/rules: Install rules into /lib/udev/rules.d instead; rather than + patching upstream, just do this here because we copy it by hand anyway + * libdlm3.install: Install new rules path + * debian/libdlm3.preinst: Remove old rules if unchanged + * debian/control: Add Breaks to ensure right version of udev gets used. + + (Someone should test this one - I haven't been able to since it helpfully + build-conflicts itself and I can't build it here) + + -- Scott James Remnant Mon, 12 Jan 2009 15:18:52 +0000 + +redhat-cluster (2.20090112-0ubuntu1) jaunty; urgency=low + + * New upstream release from 3.0.0.alpha2 official release. + + -- Fabio M. Di Nitto Mon, 12 Jan 2009 09:11:59 +0100 + +redhat-cluster (2.20090106-0ubuntu1) jaunty; urgency=low + + * New upstream release from 3.0.0.alpha1 official release: + - Drop gnbd* packages in full. They are obsoleted from this upstream and + moved to their own project. + - Use upstream init scripts. + - Thighten requirements around corosync/openais versions. + - Ship liblogthread packages. + - Stop building legacy code. It's time somebody will package conga. + + -- Fabio M. Di Nitto Tue, 06 Jan 2009 10:39:46 +0100 + +redhat-cluster (2.20080826-0ubuntu1) intrepid; urgency=low + + * New upstream release from 2.99.09 official release: + - debian/rules: change from --enable_xen to --enable_virt + - debian/patches: drop patch to get up to git master HEAD. + - debian/control: lib*2 -> lib*3 after upstream soname bump. + - cman.init: remove enterely section that checks for cluster.conf since + we can start the cluster fetching the config from sources other than + cluster.conf itself. Also addresses LP: #259579. + + -- Fabio M. Di Nitto Tue, 26 Aug 2008 12:59:49 +0200 + +redhat-cluster (2.20080812-0ubuntu4) intrepid; urgency=low + + * Upload to intrepid. Obsolete version in PPA. + + -- Fabio M. Di Nitto Wed, 20 Aug 2008 12:49:16 +0200 + +redhat-cluster (2.20080812-0ubuntu3) intrepid; urgency=low + + * Update to git master commit: 6d104bb9a07f29af88cccd080239054665fd8c42 + * Build against latest corosync and drop local build hack in debian/rules. + * Enable legacy code to keep ccsd around as long as ricci is not packaged + for Debian/Ubuntu. + + -- Fabio M. Di Nitto Wed, 20 Aug 2008 07:54:38 +0200 + +redhat-cluster (2.20080812-0ubuntu2) intrepid; urgency=low + + * Update to git master commit: 0fd02f3baed4dd5d8ce6c523d8e52de49a4da3c3 + * debian/control: build deps on latest corosync/openais. Update + descriptions to add corosync bits. + * move cman lcrso to /usr/lib/lcrso. + * debian/rules: add temporary workaround for corosync header breakage. + + -- Fabio M. Di Nitto Wed, 13 Aug 2008 07:27:44 +0200 + +redhat-cluster (2.20080812-0ubuntu1) intrepid; urgency=low + + * New upstream release from 2.99.08 official release: + - Fix serious issue in rgmanager that prevented the daemon to start + + -- Fabio M. Di Nitto Wed, 13 Aug 2008 07:12:25 +0200 + +redhat-cluster (2.20080801-0ubuntu1) intrepid; urgency=low + + * New upstream release from 2.99.07 official release: + - Drop depends on libxml-libxml-perl. + - Add libccs-perl. + - Change debian/rules to add stuff for the new libccs-perl + + -- Fabio M. Di Nitto Tue, 05 Aug 2008 14:53:16 +0200 + +redhat-cluster (2.20080715-0ubuntu4) intrepid; urgency=low + + * Update local headers again. + + -- Fabio M. Di Nitto Tue, 22 Jul 2008 11:11:52 +0200 + +redhat-cluster (2.20080715-0ubuntu3) intrepid; urgency=low + + * Drop versioned depends on linux-libc-dev that makes it impossible to + build things normally. + + * Ship and update local copy of headers required to build. + + -- Fabio M. Di Nitto Tue, 22 Jul 2008 09:16:22 +0200 + +redhat-cluster (2.20080715-0ubuntu2) intrepid; urgency=low + + * Add missing build-dep on libldap2-dev. + + -- Fabio M. Di Nitto Tue, 22 Jul 2008 09:12:23 +0200 + +redhat-cluster (2.20080715-0ubuntu1) intrepid; urgency=low + + * New upstream release from 2.99.06 official release: + - build-depends on openais 0.84-0ubuntu2 for new logging features + + -- Fabio M. Di Nitto Tue, 15 Jul 2008 13:33:49 +0200 + +redhat-cluster (2.20080624-0ubuntu1) intrepid; urgency=low + + * New upstream release from 2.99.05 official release: + - update debian/copyright again. + - build-depends on openais 0.84 + + -- Fabio M. Di Nitto Tue, 24 Jun 2008 11:26:15 +0200 + +redhat-cluster (2.20080609-0ubuntu1) intrepid; urgency=low + + * New upstream release from 2.99.04 official release: + - Update copyright bits following upstream major cleanup. + - Drop libfenced and libgfscontrol as they were supposed to be private. + + -- Fabio M. Di Nitto Mon, 09 Jun 2008 08:33:21 +0200 + +redhat-cluster (2.20080602-0ubuntu1) intrepid; urgency=low + + * New upstream release from 2.99.03 official release: + - Add new depends to cman on telnet and openssh-client. + - create new binary package: libgfscontrol and -dev. + - Drop unrequired patches. + - Update kernel headers patch. + + -- Fabio M. Di Nitto Mon, 02 Jun 2008 07:01:49 +0200 + +redhat-cluster (2.20080521-0ubuntu3) intrepid; urgency=low + + * Add missing Depends on openipmi for fence_ipmilan. + + -- Fabio M. Di Nitto Fri, 23 May 2008 06:29:26 +0200 + +redhat-cluster (2.20080521-0ubuntu2) intrepid; urgency=low + + * Add /var/log/cluster to cman and ship logrotate snippet. + + * Fix build without kernel headers. + + -- Fabio M. Di Nitto Wed, 21 May 2008 11:54:57 +0200 + +redhat-cluster (2.20080521-0ubuntu1) intrepid; urgency=low + + * New upstream release from 2.99.02 official release: + - 000_cluster-dlmheaders from 2.6.26-rcX. + This can be dropped once the new kernel hits intrepid. + - create new binary packages: libccs2, libccs-dev, libfence2, libfence-dev, + libfenced2, libfenced-dev, libdlmcontrol2, libdlmcontrol-dev. + - install new files around. + - bump shared library soname according to upstream. + + * debian/rules: + - cleanup configure: section. All hacks are now proper configure + options. + - do not set SOMAJOR and SOMINOR. This is done upstream now. + - cleanup installed tree before invoking dh_install to reduce noise + from --list-missing. + + * debian/control: + - Build-Conflicts with new generated libraries to make sure we link + applications against the latest build. + - Add the whole new set of binary packages. + - gnbd-server and gnbd-client now recommends cman instead of fence-gnbd. + - Add new Depends to cman to fullfill fence agents requirements: + + sg3-utils, python-pexpect, libxml-perl, snmp. + - Add new Depends to rgmanager: + + perl, gawk, net-tools. + + * Fix few lintian warnings. + + -- Fabio M. Di Nitto Wed, 21 May 2008 05:29:48 +0200 + +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.20090127.orig/debian/patches/001_cluster-dlmheaders.dpatch +++ redhat-cluster-2.20090127/debian/patches/001_cluster-dlmheaders.dpatch @@ -0,0 +1,644 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 001_cluster-dlmheaders.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad redhat-cluster-2.20090106~/dlm/include/linux/dlm.h redhat-cluster-2.20090106/dlm/include/linux/dlm.h +--- redhat-cluster-2.20090106~/dlm/include/linux/dlm.h 1970-01-01 01:00:00.000000000 +0100 ++++ redhat-cluster-2.20090106/dlm/include/linux/dlm.h 2009-01-06 11:01:30.000000000 +0100 +@@ -0,0 +1,169 @@ ++/****************************************************************************** ++******************************************************************************* ++** ++** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. ++** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. ++** ++** This copyrighted material is made available to anyone wishing to use, ++** modify, copy, or redistribute it subject to the terms and conditions ++** of the GNU General Public License v.2. ++** ++******************************************************************************* ++******************************************************************************/ ++ ++#ifndef __DLM_DOT_H__ ++#define __DLM_DOT_H__ ++ ++/* ++ * Interface to Distributed Lock Manager (DLM) ++ * routines and structures to use DLM lockspaces ++ */ ++ ++/* Lock levels and flags are here */ ++#include ++#include ++ ++typedef void dlm_lockspace_t; ++ ++/* ++ * Lock status block ++ * ++ * Use this structure to specify the contents of the lock value block. For a ++ * conversion request, this structure is used to specify the lock ID of the ++ * lock. DLM writes the status of the lock request and the lock ID assigned ++ * to the request in the lock status block. ++ * ++ * sb_lkid: the returned lock ID. It is set on new (non-conversion) requests. ++ * It is available when dlm_lock returns. ++ * ++ * sb_lvbptr: saves or returns the contents of the lock's LVB according to rules ++ * shown for the DLM_LKF_VALBLK flag. ++ * ++ * sb_flags: DLM_SBF_DEMOTED is returned if in the process of promoting a lock, ++ * it was first demoted to NL to avoid conversion deadlock. ++ * DLM_SBF_VALNOTVALID is returned if the resource's LVB is marked invalid. ++ * ++ * sb_status: the returned status of the lock request set prior to AST ++ * execution. Possible return values: ++ * ++ * 0 if lock request was successful ++ * -EAGAIN if request would block and is flagged DLM_LKF_NOQUEUE ++ * -ENOMEM if there is no memory to process request ++ * -EINVAL if there are invalid parameters ++ * -DLM_EUNLOCK if unlock request was successful ++ * -DLM_ECANCEL if a cancel completed successfully ++ */ ++ ++#define DLM_SBF_DEMOTED 0x01 ++#define DLM_SBF_VALNOTVALID 0x02 ++#define DLM_SBF_ALTMODE 0x04 ++ ++struct dlm_lksb { ++ int sb_status; ++ __u32 sb_lkid; ++ char sb_flags; ++ char * sb_lvbptr; ++}; ++ ++#define DLM_LSFL_NODIR 0x00000001 ++#define DLM_LSFL_TIMEWARN 0x00000002 ++#define DLM_LSFL_FS 0x00000004 ++ ++#ifdef __KERNEL__ ++ ++/* ++ * dlm_new_lockspace ++ * ++ * Starts a lockspace with the given name. If the named lockspace exists in ++ * the cluster, the calling node joins it. ++ */ ++ ++int dlm_new_lockspace(char *name, int namelen, dlm_lockspace_t **lockspace, ++ uint32_t flags, int lvblen); ++ ++/* ++ * dlm_release_lockspace ++ * ++ * Stop a lockspace. ++ */ ++ ++int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force); ++ ++/* ++ * dlm_lock ++ * ++ * Make an asyncronous request to acquire or convert a lock on a named ++ * resource. ++ * ++ * lockspace: context for the request ++ * mode: the requested mode of the lock (DLM_LOCK_) ++ * lksb: lock status block for input and async return values ++ * flags: input flags (DLM_LKF_) ++ * name: name of the resource to lock, can be binary ++ * namelen: the length in bytes of the resource name (MAX_RESNAME_LEN) ++ * parent: the lock ID of a parent lock or 0 if none ++ * lockast: function DLM executes when it completes processing the request ++ * astarg: argument passed to lockast and bast functions ++ * bast: function DLM executes when this lock later blocks another request ++ * ++ * Returns: ++ * 0 if request is successfully queued for processing ++ * -EINVAL if any input parameters are invalid ++ * -EAGAIN if request would block and is flagged DLM_LKF_NOQUEUE ++ * -ENOMEM if there is no memory to process request ++ * -ENOTCONN if there is a communication error ++ * ++ * If the call to dlm_lock returns an error then the operation has failed and ++ * the AST routine will not be called. If dlm_lock returns 0 it is still ++ * possible that the lock operation will fail. The AST routine will be called ++ * when the locking is complete and the status is returned in the lksb. ++ * ++ * If the AST routines or parameter are passed to a conversion operation then ++ * they will overwrite those values that were passed to a previous dlm_lock ++ * call. ++ * ++ * AST routines should not block (at least not for long), but may make ++ * any locking calls they please. ++ */ ++ ++int dlm_lock(dlm_lockspace_t *lockspace, ++ int mode, ++ struct dlm_lksb *lksb, ++ uint32_t flags, ++ void *name, ++ unsigned int namelen, ++ uint32_t parent_lkid, ++ void (*lockast) (void *astarg), ++ void *astarg, ++ void (*bast) (void *astarg, int mode)); ++ ++/* ++ * dlm_unlock ++ * ++ * Asynchronously release a lock on a resource. The AST routine is called ++ * when the resource is successfully unlocked. ++ * ++ * lockspace: context for the request ++ * lkid: the lock ID as returned in the lksb ++ * flags: input flags (DLM_LKF_) ++ * lksb: if NULL the lksb parameter passed to last lock request is used ++ * astarg: the arg used with the completion ast for the unlock ++ * ++ * Returns: ++ * 0 if request is successfully queued for processing ++ * -EINVAL if any input parameters are invalid ++ * -ENOTEMPTY if the lock still has sublocks ++ * -EBUSY if the lock is waiting for a remote lock operation ++ * -ENOTCONN if there is a communication error ++ */ ++ ++int dlm_unlock(dlm_lockspace_t *lockspace, ++ uint32_t lkid, ++ uint32_t flags, ++ struct dlm_lksb *lksb, ++ void *astarg); ++ ++#endif /* __KERNEL__ */ ++ ++#endif /* __DLM_DOT_H__ */ ++ +diff -urNad redhat-cluster-2.20090106~/dlm/include/linux/dlm_device.h redhat-cluster-2.20090106/dlm/include/linux/dlm_device.h +--- redhat-cluster-2.20090106~/dlm/include/linux/dlm_device.h 1970-01-01 01:00:00.000000000 +0100 ++++ redhat-cluster-2.20090106/dlm/include/linux/dlm_device.h 2009-01-06 11:01:30.000000000 +0100 +@@ -0,0 +1,112 @@ ++/****************************************************************************** ++******************************************************************************* ++** ++** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. ++** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. ++** ++** This copyrighted material is made available to anyone wishing to use, ++** modify, copy, or redistribute it subject to the terms and conditions ++** of the GNU General Public License v.2. ++** ++******************************************************************************* ++******************************************************************************/ ++ ++#ifndef _LINUX_DLM_DEVICE_H ++#define _LINUX_DLM_DEVICE_H ++ ++/* This is the device interface for dlm, most users will use a library ++ * interface. ++ */ ++ ++#include ++#include ++ ++#ifndef __user ++#define __user ++#endif ++ ++#define DLM_USER_LVB_LEN 32 ++ ++/* Version of the device interface */ ++#define DLM_DEVICE_VERSION_MAJOR 6 ++#define DLM_DEVICE_VERSION_MINOR 0 ++#define DLM_DEVICE_VERSION_PATCH 0 ++ ++/* struct passed to the lock write */ ++struct dlm_lock_params { ++ __u8 mode; ++ __u8 namelen; ++ __u16 unused; ++ __u32 flags; ++ __u32 lkid; ++ __u32 parent; ++ __u64 xid; ++ __u64 timeout; ++ void __user *castparam; ++ void __user *castaddr; ++ void __user *bastparam; ++ void __user *bastaddr; ++ struct dlm_lksb __user *lksb; ++ char lvb[DLM_USER_LVB_LEN]; ++ char name[0]; ++}; ++ ++struct dlm_lspace_params { ++ __u32 flags; ++ __u32 minor; ++ char name[0]; ++}; ++ ++struct dlm_purge_params { ++ __u32 nodeid; ++ __u32 pid; ++}; ++ ++struct dlm_write_request { ++ __u32 version[3]; ++ __u8 cmd; ++ __u8 is64bit; ++ __u8 unused[2]; ++ ++ union { ++ struct dlm_lock_params lock; ++ struct dlm_lspace_params lspace; ++ struct dlm_purge_params purge; ++ } i; ++}; ++ ++struct dlm_device_version { ++ __u32 version[3]; ++}; ++ ++/* struct read from the "device" fd, ++ consists mainly of userspace pointers for the library to use */ ++ ++struct dlm_lock_result { ++ __u32 version[3]; ++ __u32 length; ++ void __user * user_astaddr; ++ void __user * user_astparam; ++ struct dlm_lksb __user * user_lksb; ++ struct dlm_lksb lksb; ++ __u8 bast_mode; ++ __u8 unused[3]; ++ /* Offsets may be zero if no data is present */ ++ __u32 lvb_offset; ++}; ++ ++/* Commands passed to the device */ ++#define DLM_USER_LOCK 1 ++#define DLM_USER_UNLOCK 2 ++#define DLM_USER_QUERY 3 ++#define DLM_USER_CREATE_LOCKSPACE 4 ++#define DLM_USER_REMOVE_LOCKSPACE 5 ++#define DLM_USER_PURGE 6 ++#define DLM_USER_DEADLOCK 7 ++ ++/* Lockspace flags */ ++#define DLM_USER_LSFLG_AUTOFREE 1 ++#define DLM_USER_LSFLG_FORCEFREE 2 ++ ++#endif ++ +diff -urNad redhat-cluster-2.20090106~/dlm/include/linux/dlm_netlink.h redhat-cluster-2.20090106/dlm/include/linux/dlm_netlink.h +--- redhat-cluster-2.20090106~/dlm/include/linux/dlm_netlink.h 1970-01-01 01:00:00.000000000 +0100 ++++ redhat-cluster-2.20090106/dlm/include/linux/dlm_netlink.h 2009-01-06 11:01:30.000000000 +0100 +@@ -0,0 +1,56 @@ ++/* ++ * Copyright (C) 2007 Red Hat, Inc. All rights reserved. ++ * ++ * This copyrighted material is made available to anyone wishing to use, ++ * modify, copy, or redistribute it subject to the terms and conditions ++ * of the GNU General Public License v.2. ++ */ ++ ++#ifndef _DLM_NETLINK_H ++#define _DLM_NETLINK_H ++ ++enum { ++ DLM_STATUS_WAITING = 1, ++ DLM_STATUS_GRANTED = 2, ++ DLM_STATUS_CONVERT = 3, ++}; ++ ++#define DLM_LOCK_DATA_VERSION 1 ++ ++struct dlm_lock_data { ++ uint16_t version; ++ uint32_t lockspace_id; ++ int nodeid; ++ int ownpid; ++ uint32_t id; ++ uint32_t remid; ++ uint64_t xid; ++ int8_t status; ++ int8_t grmode; ++ int8_t rqmode; ++ unsigned long timestamp; ++ int resource_namelen; ++ char resource_name[DLM_RESNAME_MAXLEN]; ++}; ++ ++enum { ++ DLM_CMD_UNSPEC = 0, ++ DLM_CMD_HELLO, /* user->kernel */ ++ DLM_CMD_TIMEOUT, /* kernel->user */ ++ __DLM_CMD_MAX, ++}; ++ ++#define DLM_CMD_MAX (__DLM_CMD_MAX - 1) ++ ++enum { ++ DLM_TYPE_UNSPEC = 0, ++ DLM_TYPE_LOCK, ++ __DLM_TYPE_MAX, ++}; ++ ++#define DLM_TYPE_MAX (__DLM_TYPE_MAX - 1) ++ ++#define DLM_GENL_VERSION 0x1 ++#define DLM_GENL_NAME "DLM" ++ ++#endif /* _DLM_NETLINK_H */ +diff -urNad redhat-cluster-2.20090106~/dlm/include/linux/dlm_plock.h redhat-cluster-2.20090106/dlm/include/linux/dlm_plock.h +--- redhat-cluster-2.20090106~/dlm/include/linux/dlm_plock.h 1970-01-01 01:00:00.000000000 +0100 ++++ redhat-cluster-2.20090106/dlm/include/linux/dlm_plock.h 2009-01-06 11:01:30.000000000 +0100 +@@ -0,0 +1,50 @@ ++/* ++ * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. ++ * ++ * This copyrighted material is made available to anyone wishing to use, ++ * modify, copy, or redistribute it subject to the terms and conditions ++ * of the GNU General Public License v.2. ++ */ ++ ++#ifndef __DLM_PLOCK_DOT_H__ ++#define __DLM_PLOCK_DOT_H__ ++ ++#define DLM_PLOCK_MISC_NAME "dlm_plock" ++ ++#define DLM_PLOCK_VERSION_MAJOR 1 ++#define DLM_PLOCK_VERSION_MINOR 1 ++#define DLM_PLOCK_VERSION_PATCH 0 ++ ++enum { ++ DLM_PLOCK_OP_LOCK = 1, ++ DLM_PLOCK_OP_UNLOCK, ++ DLM_PLOCK_OP_GET, ++}; ++ ++struct dlm_plock_info { ++ __u32 version[3]; ++ __u8 optype; ++ __u8 ex; ++ __u8 wait; ++ __u8 pad; ++ __u32 pid; ++ __s32 nodeid; ++ __s32 rv; ++ __u32 fsid; ++ __u64 number; ++ __u64 start; ++ __u64 end; ++ __u64 owner; ++}; ++ ++#ifdef __KERNEL__ ++int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, ++ int cmd, struct file_lock *fl); ++int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, ++ struct file_lock *fl); ++int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, ++ struct file_lock *fl); ++#endif /* __KERNEL__ */ ++ ++#endif ++ +diff -urNad redhat-cluster-2.20090106~/dlm/include/linux/dlmconstants.h redhat-cluster-2.20090106/dlm/include/linux/dlmconstants.h +--- redhat-cluster-2.20090106~/dlm/include/linux/dlmconstants.h 1970-01-01 01:00:00.000000000 +0100 ++++ redhat-cluster-2.20090106/dlm/include/linux/dlmconstants.h 2009-01-06 11:01:30.000000000 +0100 +@@ -0,0 +1,163 @@ ++/****************************************************************************** ++******************************************************************************* ++** ++** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. ++** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. ++** ++** This copyrighted material is made available to anyone wishing to use, ++** modify, copy, or redistribute it subject to the terms and conditions ++** of the GNU General Public License v.2. ++** ++******************************************************************************* ++******************************************************************************/ ++ ++#ifndef __DLMCONSTANTS_DOT_H__ ++#define __DLMCONSTANTS_DOT_H__ ++ ++/* ++ * Constants used by DLM interface. ++ */ ++ ++#define DLM_LOCKSPACE_LEN 64 ++#define DLM_RESNAME_MAXLEN 64 ++ ++ ++/* ++ * Lock Modes ++ */ ++ ++#define DLM_LOCK_IV (-1) /* invalid */ ++#define DLM_LOCK_NL 0 /* null */ ++#define DLM_LOCK_CR 1 /* concurrent read */ ++#define DLM_LOCK_CW 2 /* concurrent write */ ++#define DLM_LOCK_PR 3 /* protected read */ ++#define DLM_LOCK_PW 4 /* protected write */ ++#define DLM_LOCK_EX 5 /* exclusive */ ++ ++ ++/* ++ * Flags to dlm_lock ++ * ++ * DLM_LKF_NOQUEUE ++ * ++ * Do not queue the lock request on the wait queue if it cannot be granted ++ * immediately. If the lock cannot be granted because of this flag, DLM will ++ * either return -EAGAIN from the dlm_lock call or will return 0 from ++ * dlm_lock and -EAGAIN in the lock status block when the AST is executed. ++ * ++ * DLM_LKF_CANCEL ++ * ++ * Used to cancel a pending lock request or conversion. A converting lock is ++ * returned to its previously granted mode. ++ * ++ * DLM_LKF_CONVERT ++ * ++ * Indicates a lock conversion request. For conversions the name and namelen ++ * are ignored and the lock ID in the LKSB is used to identify the lock. ++ * ++ * DLM_LKF_VALBLK ++ * ++ * Requests DLM to return the current contents of the lock value block in the ++ * lock status block. When this flag is set in a lock conversion from PW or EX ++ * modes, DLM assigns the value specified in the lock status block to the lock ++ * value block of the lock resource. The LVB is a DLM_LVB_LEN size array ++ * containing application-specific information. ++ * ++ * DLM_LKF_QUECVT ++ * ++ * Force a conversion request to be queued, even if it is compatible with ++ * the granted modes of other locks on the same resource. ++ * ++ * DLM_LKF_IVVALBLK ++ * ++ * Invalidate the lock value block. ++ * ++ * DLM_LKF_CONVDEADLK ++ * ++ * Allows the dlm to resolve conversion deadlocks internally by demoting the ++ * granted mode of a converting lock to NL. The DLM_SBF_DEMOTED flag is ++ * returned for a conversion that's been effected by this. ++ * ++ * DLM_LKF_PERSISTENT ++ * ++ * Only relevant to locks originating in userspace. A persistent lock will not ++ * be removed if the process holding the lock exits. ++ * ++ * DLM_LKF_NODLCKWT ++ * ++ * Do not cancel the lock if it gets into conversion deadlock. ++ * Exclude this lock from being monitored due to DLM_LSFL_TIMEWARN. ++ * ++ * DLM_LKF_NODLCKBLK ++ * ++ * net yet implemented ++ * ++ * DLM_LKF_EXPEDITE ++ * ++ * Used only with new requests for NL mode locks. Tells the lock manager ++ * to grant the lock, ignoring other locks in convert and wait queues. ++ * ++ * DLM_LKF_NOQUEUEBAST ++ * ++ * Send blocking AST's before returning -EAGAIN to the caller. It is only ++ * used along with the NOQUEUE flag. Blocking AST's are not sent for failed ++ * NOQUEUE requests otherwise. ++ * ++ * DLM_LKF_HEADQUE ++ * ++ * Add a lock to the head of the convert or wait queue rather than the tail. ++ * ++ * DLM_LKF_NOORDER ++ * ++ * Disregard the standard grant order rules and grant a lock as soon as it ++ * is compatible with other granted locks. ++ * ++ * DLM_LKF_ORPHAN ++ * ++ * not yet implemented ++ * ++ * DLM_LKF_ALTPR ++ * ++ * If the requested mode cannot be granted immediately, try to grant the lock ++ * in PR mode instead. If this alternate mode is granted instead of the ++ * requested mode, DLM_SBF_ALTMODE is returned in the lksb. ++ * ++ * DLM_LKF_ALTCW ++ * ++ * The same as ALTPR, but the alternate mode is CW. ++ * ++ * DLM_LKF_FORCEUNLOCK ++ * ++ * Unlock the lock even if it is converting or waiting or has sublocks. ++ * Only really for use by the userland device.c code. ++ * ++ */ ++ ++#define DLM_LKF_NOQUEUE 0x00000001 ++#define DLM_LKF_CANCEL 0x00000002 ++#define DLM_LKF_CONVERT 0x00000004 ++#define DLM_LKF_VALBLK 0x00000008 ++#define DLM_LKF_QUECVT 0x00000010 ++#define DLM_LKF_IVVALBLK 0x00000020 ++#define DLM_LKF_CONVDEADLK 0x00000040 ++#define DLM_LKF_PERSISTENT 0x00000080 ++#define DLM_LKF_NODLCKWT 0x00000100 ++#define DLM_LKF_NODLCKBLK 0x00000200 ++#define DLM_LKF_EXPEDITE 0x00000400 ++#define DLM_LKF_NOQUEUEBAST 0x00000800 ++#define DLM_LKF_HEADQUE 0x00001000 ++#define DLM_LKF_NOORDER 0x00002000 ++#define DLM_LKF_ORPHAN 0x00004000 ++#define DLM_LKF_ALTPR 0x00008000 ++#define DLM_LKF_ALTCW 0x00010000 ++#define DLM_LKF_FORCEUNLOCK 0x00020000 ++#define DLM_LKF_TIMEOUT 0x00040000 ++ ++/* ++ * Some return codes that are not in errno.h ++ */ ++ ++#define DLM_ECANCEL 0x10001 ++#define DLM_EUNLOCK 0x10002 ++ ++#endif /* __DLMCONSTANTS_DOT_H__ */ +diff -urNad redhat-cluster-2.20090106~/dlm/libdlm/Makefile redhat-cluster-2.20090106/dlm/libdlm/Makefile +--- redhat-cluster-2.20090106~/dlm/libdlm/Makefile 2008-12-17 09:04:54.000000000 +0100 ++++ redhat-cluster-2.20090106/dlm/libdlm/Makefile 2009-01-06 11:01:59.000000000 +0100 +@@ -27,7 +27,7 @@ + include $(OBJDIR)/make/uninstall.mk + + CFLAGS += -fPIC +-CFLAGS += -I$(S) ++CFLAGS += -I$(S) -I$(S)/../include + CFLAGS += -I${incdir} + CFLAGS += -I$(KERNEL_SRC)/include + +diff -urNad redhat-cluster-2.20090106~/dlm/libdlmcontrol/Makefile redhat-cluster-2.20090106/dlm/libdlmcontrol/Makefile +--- redhat-cluster-2.20090106~/dlm/libdlmcontrol/Makefile 2008-12-17 09:04:54.000000000 +0100 ++++ redhat-cluster-2.20090106/dlm/libdlmcontrol/Makefile 2009-01-06 11:01:30.000000000 +0100 +@@ -10,6 +10,7 @@ + include $(OBJDIR)/make/uninstall.mk + + CFLAGS += -fPIC ++CFLAGS += -I$(S)/../include + CFLAGS += -I$(S)/../../group/dlm_controld + CFLAGS += -I${incdir} + CFLAGS += -I$(KERNEL_SRC)/include +diff -urNad redhat-cluster-2.20090106~/dlm/tool/Makefile redhat-cluster-2.20090106/dlm/tool/Makefile +--- redhat-cluster-2.20090106~/dlm/tool/Makefile 2008-12-17 09:04:54.000000000 +0100 ++++ redhat-cluster-2.20090106/dlm/tool/Makefile 2009-01-06 11:01:30.000000000 +0100 +@@ -12,6 +12,7 @@ + + OBJS= main.o + ++CFLAGS += -I$(S)/../include + CFLAGS += -I${dlmincdir} -I${dlmcontrolincdir} + CFLAGS += -I$(SRCDIR)/group/dlm_controld/ + CFLAGS += -I${incdir} +diff -urNad redhat-cluster-2.20090106~/group/dlm_controld/Makefile redhat-cluster-2.20090106/group/dlm_controld/Makefile +--- redhat-cluster-2.20090106~/group/dlm_controld/Makefile 2008-12-17 09:04:54.000000000 +0100 ++++ redhat-cluster-2.20090106/group/dlm_controld/Makefile 2009-01-06 11:01:30.000000000 +0100 +@@ -35,6 +35,7 @@ + CFLAGS += -I${ccsincdir} -I${cmanincdir} -I${logtincdir} + CFLAGS += -I${dlmincdir} -I${dlmcontrolincdir} + CFLAGS += -I${corosyncincdir} -I${openaisincdir} ++CFLAGS += -I$(S)/../../dlm/include/ + CFLAGS += -I$(SRCDIR)/fence/libfenced/ + CFLAGS += -I${KERNEL_SRC}/include/ + CFLAGS += -I$(S)/../lib/ -I$(S)/../include/ +diff -urNad redhat-cluster-2.20090106~/group/gfs_controld/Makefile redhat-cluster-2.20090106/group/gfs_controld/Makefile +--- redhat-cluster-2.20090106~/group/gfs_controld/Makefile 2008-12-17 09:04:54.000000000 +0100 ++++ redhat-cluster-2.20090106/group/gfs_controld/Makefile 2009-01-06 11:01:30.000000000 +0100 +@@ -23,6 +23,7 @@ + + CFLAGS += -I${ccsincdir} -I${cmanincdir} -I${logtincdir} -I${dlmcontrolincdir} + CFLAGS += -I${corosyncincdir} -I${openaisincdir} ++CFLAGS += -I$(S)/../../dlm/include + CFLAGS += -I${KERNEL_SRC}/include/ + CFLAGS += -I$(S)/../libgfscontrol -I$(S)/../../fence/libfenced/ + CFLAGS += -I$(S)/../lib/ -I$(S)/../include/ +diff -urNad redhat-cluster-2.20090106~/group/tool/Makefile redhat-cluster-2.20090106/group/tool/Makefile +--- redhat-cluster-2.20090106~/group/tool/Makefile 2008-12-17 09:04:54.000000000 +0100 ++++ redhat-cluster-2.20090106/group/tool/Makefile 2009-01-06 11:01:30.000000000 +0100 +@@ -12,6 +12,7 @@ + + OBJS= main.o + ++CFLAGS += -I$(S)/../../dlm/include/ + CFLAGS += -I$(S) -I$(S)/../daemon/ -I$(S)/../lib/ + CFLAGS += -I${dlmcontrolincdir} + CFLAGS += -I$(S)/../../fence/libfenced --- redhat-cluster-2.20090127.orig/debian/patches/00list +++ redhat-cluster-2.20090127/debian/patches/00list @@ -0,0 +1 @@ +001_cluster-dlmheaders.dpatch --- redhat-cluster-2.20090127.orig/debian/libccs-dev.links +++ redhat-cluster-2.20090127/debian/libccs-dev.links @@ -0,0 +1 @@ +usr/lib/libccs.so.3 usr/lib/libccs.so --- redhat-cluster-2.20090127.orig/debian/libfence3.install +++ redhat-cluster-2.20090127/debian/libfence3.install @@ -0,0 +1 @@ +usr/lib/libfence.so.3.0 --- redhat-cluster-2.20090127.orig/debian/gfs2-tools.dirs +++ redhat-cluster-2.20090127/debian/gfs2-tools.dirs @@ -0,0 +1 @@ +sbin --- redhat-cluster-2.20090127.orig/debian/modass.redhat-cluster-source +++ redhat-cluster-2.20090127/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.20090127.orig/debian/libcman3.links +++ redhat-cluster-2.20090127/debian/libcman3.links @@ -0,0 +1 @@ +usr/lib/libcman.so.3.0 usr/lib/libcman.so.3 --- redhat-cluster-2.20090127.orig/debian/libcman-dev.install +++ redhat-cluster-2.20090127/debian/libcman-dev.install @@ -0,0 +1,2 @@ +usr/include/libcman.h +usr/lib/libcman.a --- redhat-cluster-2.20090127.orig/debian/control.modules.in +++ redhat-cluster-2.20090127/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 kernel module 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.20090127.orig/debian/libfence-dev.links +++ redhat-cluster-2.20090127/debian/libfence-dev.links @@ -0,0 +1 @@ +usr/lib/libfence.so.3 usr/lib/libfence.so --- redhat-cluster-2.20090127.orig/debian/cman.preinst +++ redhat-cluster-2.20090127/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.20090127.orig/debian/rgmanager.install +++ redhat-cluster-2.20090127/debian/rgmanager.install @@ -0,0 +1,17 @@ +usr/sbin/clubufflush +usr/sbin/clufindhostname +usr/sbin/clulog +usr/sbin/clunfslock +usr/sbin/clurgmgrd +usr/sbin/clustat +usr/sbin/clusvcadm +usr/sbin/rgmanager +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.20090127.orig/debian/liblogthread3.install +++ redhat-cluster-2.20090127/debian/liblogthread3.install @@ -0,0 +1 @@ +usr/lib/liblogthread.so.3.0 --- redhat-cluster-2.20090127.orig/debian/libdlm-dev.links +++ redhat-cluster-2.20090127/debian/libdlm-dev.links @@ -0,0 +1,2 @@ +usr/lib/libdlm.so.3 usr/lib/libdlm.so +usr/lib/libdlm_lt.so.3 usr/lib/libdlm_lt.so --- redhat-cluster-2.20090127.orig/debian/README.Debian +++ redhat-cluster-2.20090127/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.20090127.orig/debian/gfs2-tools.install +++ redhat-cluster-2.20090127/debian/gfs2-tools.install @@ -0,0 +1,17 @@ +usr/sbin/fsck.gfs2 +usr/sbin/gfs2_convert +usr/sbin/gfs2_edit +usr/sbin/gfs2_quota +usr/sbin/gfs2_tool +usr/sbin/mkfs.gfs2 +sbin/mount.gfs2 +usr/share/man/man8/gfs2.8 +usr/share/man/man8/gfs2_convert.8 +usr/share/man/man8/gfs2_edit.8 +usr/share/man/man8/fsck.gfs2.8 +usr/share/man/man8/gfs2_grow.8 +usr/share/man/man8/gfs2_jadd.8 +usr/share/man/man8/mount.gfs2.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.20090127.orig/debian/libccs-perl.install +++ redhat-cluster-2.20090127/debian/libccs-perl.install @@ -0,0 +1,3 @@ +usr/lib/perl5/auto/Cluster/CCS/CCS.so +usr/lib/perl5/Cluster/CCS.pm +usr/share/man/man3/*CCS.3pm* --- redhat-cluster-2.20090127.orig/debian/gfs-tools.docs +++ redhat-cluster-2.20090127/debian/gfs-tools.docs @@ -0,0 +1,2 @@ +doc/min-gfs.txt +doc/usage.txt --- redhat-cluster-2.20090127.orig/debian/gfs-tools.install +++ redhat-cluster-2.20090127/debian/gfs-tools.install @@ -0,0 +1,15 @@ +usr/sbin/fsck.gfs +usr/sbin/gfs_debug +usr/sbin/gfs_grow +usr/sbin/gfs_jadd +usr/sbin/mkfs.gfs +usr/sbin/gfs_quota +usr/sbin/gfs_tool +usr/share/man/man8/gfs.8 +usr/share/man/man8/fsck.gfs.8 +usr/share/man/man8/gfs_grow.8 +usr/share/man/man8/gfs_jadd.8 +usr/share/man/man8/mkfs.gfs.8 +usr/share/man/man8/mount.gfs.8 +usr/share/man/man8/gfs_quota.8 +usr/share/man/man8/gfs_tool.8 --- redhat-cluster-2.20090127.orig/debian/cman.templates +++ redhat-cluster-2.20090127/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.20090127.orig/debian/libccs-dev.install +++ redhat-cluster-2.20090127/debian/libccs-dev.install @@ -0,0 +1,2 @@ +usr/include/ccs.h +usr/lib/libccs.a --- redhat-cluster-2.20090127.orig/debian/libfence-dev.install +++ redhat-cluster-2.20090127/debian/libfence-dev.install @@ -0,0 +1,2 @@ +usr/include/libfence.h +usr/lib/libfence.a --- redhat-cluster-2.20090127.orig/debian/libdlm-dev.install +++ redhat-cluster-2.20090127/debian/libdlm-dev.install @@ -0,0 +1,5 @@ +usr/include/libdlm.h +usr/lib/libdlm.a +usr/lib/libdlm_lt.a +usr/share/man/man3/dlm_*.3 +usr/share/man/man3/libdlm.3 --- redhat-cluster-2.20090127.orig/debian/liblogthread-dev.install +++ redhat-cluster-2.20090127/debian/liblogthread-dev.install @@ -0,0 +1,2 @@ +usr/include/liblogthread.h +usr/lib/liblogthread.a --- redhat-cluster-2.20090127.orig/debian/libccs3.install +++ redhat-cluster-2.20090127/debian/libccs3.install @@ -0,0 +1 @@ +usr/lib/libccs.so.3.0 --- redhat-cluster-2.20090127.orig/debian/libdlmcontrol-dev.links +++ redhat-cluster-2.20090127/debian/libdlmcontrol-dev.links @@ -0,0 +1 @@ +usr/lib/libdlmcontrol.so.3 usr/lib/libdlmcontrol.so --- redhat-cluster-2.20090127.orig/debian/libccs3.links +++ redhat-cluster-2.20090127/debian/libccs3.links @@ -0,0 +1 @@ +usr/lib/libccs.so.3.0 usr/lib/libccs.so.3 --- redhat-cluster-2.20090127.orig/debian/upgrade.txt +++ redhat-cluster-2.20090127/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.20090127.orig/debian/libfence3.links +++ redhat-cluster-2.20090127/debian/libfence3.links @@ -0,0 +1 @@ +usr/lib/libfence.so.3.0 usr/lib/libfence.so.3 --- redhat-cluster-2.20090127.orig/debian/redhat-cluster-source.README.Debian +++ redhat-cluster-2.20090127/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.20090127.orig/debian/liblogthread3.links +++ redhat-cluster-2.20090127/debian/liblogthread3.links @@ -0,0 +1 @@ +usr/lib/liblogthread.so.3.0 usr/lib/liblogthread.so.3 --- redhat-cluster-2.20090127.orig/debian/libdlmcontrol-dev.install +++ redhat-cluster-2.20090127/debian/libdlmcontrol-dev.install @@ -0,0 +1,2 @@ +usr/include/libdlmcontrol.h +usr/lib/libdlmcontrol.a --- redhat-cluster-2.20090127.orig/debian/libdlm3.preinst +++ redhat-cluster-2.20090127/debian/libdlm3.preinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = install ] || [ "$1" = upgrade ]; then + if [ -e "/etc/udev/rules.d/45-dlm.rules" ]; then + if [ "`md5sum \"/etc/udev/rules.d/45-dlm.rules\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' libdlm3 | sed -n -e \"\\\\' /etc/udev/rules.d/45-dlm.rules's/.* //p\"`" ] + then + rm -f "/etc/udev/rules.d/45-dlm.rules" + fi + fi +fi + +#DEBHELPER# --- redhat-cluster-2.20090127.orig/debian/gfs-tools.links +++ redhat-cluster-2.20090127/debian/gfs-tools.links @@ -0,0 +1,4 @@ +usr/sbin/gfs2_edit usr/sbin/gfs_edit +sbin/mount.gfs2 sbin/mount.gfs +usr/share/man/man8/gfs2_edit.8.gz usr/share/man/man8/gfs_edit.8.gz +usr/share/man/man8/mount.gfs2.8.gz usr/share/man/man8/mount.gfs.8.gz --- redhat-cluster-2.20090127.orig/debian/rules +++ redhat-cluster-2.20090127/debian/rules @@ -0,0 +1,149 @@ +#!/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_VIRT = --enable_virt +endif + +BUILDROOT := $(shell pwd) + +configure: patch configure-stamp +configure-stamp: + dh_testdir + + ./configure --sbindir=/usr/sbin \ + $(BUILD_VIRT) \ + --nssincdir=/usr/include/nss \ + --nsprincdir=/usr/include/nspr \ + --libexecdir=/usr/lib \ + --disable_kernel_check \ + --without_kernel_modules + + 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/ + + cp $(BUILDROOT)/debian/tmp/etc/init.d/cman $(BUILDROOT)/debian/cman.init + cp $(BUILDROOT)/debian/tmp/etc/init.d/qdiskd $(BUILDROOT)/debian/cman.qdiskd.init + cp $(BUILDROOT)/debian/tmp/etc/init.d/scsi_reserve $(BUILDROOT)/debian/cman.scsi_reserve.init + cp $(BUILDROOT)/debian/tmp/etc/init.d/gfs $(BUILDROOT)/debian/gfs-tools.init + cp $(BUILDROOT)/debian/tmp/etc/init.d/gfs2 $(BUILDROOT)/debian/gfs2-tools.init + cp $(BUILDROOT)/debian/tmp/etc/init.d/rgmanager $(BUILDROOT)/debian/rgmanager.init + + # no need for upstream doc install + rm -rf $(BUILDROOT)/debian/tmp/usr/share/doc/cluster + + chmod 755 $(BUILDROOT)/debian/tmp/usr/share/fence/telnet_ssl + + # manual craft + install -d -m 0755 debian/tmp/etc/cluster + + install -d -m 0755 debian/tmp/lib/udev/rules.d + mv debian/tmp/etc/udev/rules.d/51-dlm.rules debian/tmp/lib/udev/rules.d/45-dlm.rules + rmdir debian/tmp/etc/udev/rules.d + + dh_install --sourcedir=debian/tmp --list-missing + + # install gfs 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/ + + # 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_installlogrotate + 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 cman --name=qdiskd --no-start --no-restart-on-upgrade -- start 62 S . start 4 0 6 . + dh_installinit -p cman --name=scsi_reserve --no-start --no-restart-on-upgrade -- start 63 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/lcrso/*.lcrso +endif + dh_compress -a + dh_fixperms -a + dh_perl -a + dh_makeshlibs -a + dh_shlibdeps -a -ldebian/tmp/usr/lib -l/usr/lib/openais -l/usr/lib/corosync + 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 + +dist-clean: patch + [ ! -f make/defines.mk ] || $(MAKE) distclean + +clean: dist-clean unpatch + dh_testdir + dh_testroot + dh_clean + + [ ! -f make/defines.mk ] || $(MAKE) distclean + + rm -rf debian/*.init + rm -rf *-stamp + rm -rf debian/patched --- redhat-cluster-2.20090127.orig/debian/redhat-cluster-source.Makefile +++ redhat-cluster-2.20090127/debian/redhat-cluster-source.Makefile @@ -0,0 +1,5 @@ +#! /usr/bin/make -f + +export USING_KBUILD=1 + +obj-m = gfs/ gnbd/ --- redhat-cluster-2.20090127.orig/debian/cman.install +++ redhat-cluster-2.20090127/debian/cman.install @@ -0,0 +1,38 @@ +etc/cluster/cman-notify.d/scsi_reserve_notify +usr/sbin/cman_tool +usr/sbin/cman_notify +usr/sbin/cmannotifyd +usr/sbin/mkqdisk +usr/sbin/qdiskd +usr/sbin/confdb2ldif +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/share/man/man8/confdb2ldif.8 +usr/share/man/man8/cmannotifyd.8 +usr/lib/lcrso/service_cman.lcrso +usr/lib/lcrso/config_cmanpre.lcrso +usr/lib/lcrso/config_xml.lcrso +usr/lib/lcrso/config_ldap.lcrso +usr/sbin/ccs_tool +usr/sbin/ccs_test +usr/share/man/man5/cluster.conf.5 +usr/share/man/man8/ccs_tool.8 +usr/share/man/man8/dlm_controld.8 +usr/share/man/man8/dlm_tool.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/dlm_tool +usr/sbin/gfs_controld +usr/sbin/gfs_control +usr/sbin/group_tool +usr/sbin/groupd +usr/sbin/fence* +usr/share/snmp/mibs/powernet369.mib +usr/share/fence/fencing.py +usr/share/fence/telnet_ssl +usr/share/man/man8/fence* --- redhat-cluster-2.20090127.orig/debian/TODO +++ redhat-cluster-2.20090127/debian/TODO @@ -0,0 +1,39 @@ +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: gfs-tools: binary-without-manpage usr/sbin/gfs_debug +W: gfs-tools: binary-without-manpage usr/sbin/gfs_edit +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.20090127.orig/debian/redhat-cluster-source.rules +++ redhat-cluster-2.20090127/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.20090127.orig/debian/gfs2-tools.links +++ redhat-cluster-2.20090127/debian/gfs2-tools.links @@ -0,0 +1,5 @@ +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 --- redhat-cluster-2.20090127.orig/debian/rgmanager.docs +++ redhat-cluster-2.20090127/debian/rgmanager.docs @@ -0,0 +1 @@ +rgmanager/errors.txt --- redhat-cluster-2.20090127.orig/debian/cman.docs +++ redhat-cluster-2.20090127/debian/cman.docs @@ -0,0 +1 @@ +debian/upgrade.txt --- redhat-cluster-2.20090127.orig/debian/libdlmcontrol3.links +++ redhat-cluster-2.20090127/debian/libdlmcontrol3.links @@ -0,0 +1 @@ +usr/lib/libdlmcontrol.so.3.0 usr/lib/libdlmcontrol.so.3 --- redhat-cluster-2.20090127.orig/debian/compat +++ redhat-cluster-2.20090127/debian/compat @@ -0,0 +1 @@ +5 --- redhat-cluster-2.20090127.orig/debian/libcman3.install +++ redhat-cluster-2.20090127/debian/libcman3.install @@ -0,0 +1 @@ +usr/lib/libcman.so.3.0 --- redhat-cluster-2.20090127.orig/debian/redhat-cluster-modules-_KVERS_.postinst +++ redhat-cluster-2.20090127/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.20090127.orig/debian/cman.dirs +++ redhat-cluster-2.20090127/debian/cman.dirs @@ -0,0 +1 @@ +var/log/cluster --- redhat-cluster-2.20090127.orig/debian/libdlm3.install +++ redhat-cluster-2.20090127/debian/libdlm3.install @@ -0,0 +1,3 @@ +lib/udev/rules.d/45-dlm.rules +usr/lib/libdlm_lt.so.3.0 +usr/lib/libdlm.so.3.0 --- redhat-cluster-2.20090127.orig/debian/cman.logrotate +++ redhat-cluster-2.20090127/debian/cman.logrotate @@ -0,0 +1,8 @@ +/var/log/cluster/*log { + missingok + compress + notifempty + daily + rotate 7 + create 0600 root root +} --- redhat-cluster-2.20090127.orig/debian/control +++ redhat-cluster-2.20090127/debian/control @@ -0,0 +1,217 @@ +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, libcorosync-dev (>= 0.92-0ubuntu3), libopenais-dev (>= 0.91-0ubuntu3), libvolume-id-dev (>= 0.105-4), linux-libc-dev, libvirt-dev (>= 0.3.0) [i386 amd64], libnss3-dev [i386 amd64], libnspr4-dev [i386 amd64], bzip2, libslang2-dev, libldap2-dev, perl-modules + +Package: redhat-cluster-suite +Section: admin +Priority: optional +Architecture: all +Depends: cman, gfs-tools, gfs2-tools, rgmanager, clvm +Description: Red Hat cluster suite (metapackage) + 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}, corosync (>= 0.92-0ubuntu3), openais (>= 0.91-0ubuntu3), python, openipmi, sg3-utils, python-pexpect, libnet-snmp-perl, libnet-telnet-perl, snmp, telnet, openssh-client, python-openssl +Conflicts: libdlm-dev (<= 2.20090112-0ubuntu3) +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: liblogthread3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: cluster logging - libraries + this library provides a simple logging API designed for cluster + applications. + . + This package contains the client libraries. + +Package: liblogthread-dev +Section: libdevel +Architecture: any +Depends: liblogthread3 (= ${binary:Version}) +Description: cluster logging - development files + this library provides a simple logging API designed for cluster + applications. + . + This package contains the files needed for developing applications. + +Package: libccs3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: cluster configuration - libraries + this library provides a simplified xpath implementation to access + cman/corosync configuration objdb retaining the same API as the old + and deprecated libccs provided by ccsd. + . + brand new applications should use libconfdb from corosync. + . + This package contains the client libraries. + +Package: libccs-dev +Section: libdevel +Architecture: any +Depends: libccs3 (= ${binary:Version}) +Description: cluster manager - development files + this library provides a simplified xpath implementation to access + cman/corosync configuration objdb retaining the same API as the old + and deprecated libccs provided by ccsd. + . + brand new applications should use libconfdb from corosync. + . + This package contains the files needed for developing applications. + +Package: libccs-perl +Section: perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends} +Description: Perl module for using the libccs2 library + This modules implements a Perl interface to the Cluster libccs library. + +Package: libcman3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: cluster manager - libraries + cman provides a general purpose, corosync/openais based, cluster manager. + . + This package contains the client libraries. + +Package: libcman-dev +Section: libdevel +Architecture: any +Depends: libcman3 (= ${binary:Version}) +Description: cluster manager - development files + cman provides a general purpose, corosync/openais based, cluster manager. + . + This package contains the files needed for developing applications. + +Package: libdlm3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Breaks: udev (<< 136-1) +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}, libdlm3 (= ${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: libdlmcontrol3 +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: libdlmcontrol-dev +Section: libdevel +Architecture: any +Depends: libdlmcontrol3 (= ${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: libfence3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: fence client - library + fenced is the daemon in charge of controlling cluster node fencing. + . + This is the client library for requesting node fencing. + +Package: libfence-dev +Section: libdevel +Architecture: any +Depends: libfence3 (= ${binary:Version}) +Description: fenced - development files + fenced is the daemon in charge of controlling cluster node fencing. + . + This package contains the files needed for developing applications + that need to request node fencing. + +Package: gfs-tools +Architecture: any +Depends: ${shlibs:Depends}, 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: rgmanager +Architecture: any +Depends: ${shlibs:Depends}, cman (= ${binary:Version}), iproute, iputils-arping, iputils-ping, nfs-kernel-server, nfs-common, perl, gawk, net-tools +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 module source + This package contains the source necessary for compiling the Red Hat + cluster suite out-of-tree kernel module gfs against the + Linux tree. --- redhat-cluster-2.20090127.orig/bindings/perl/ccs/CCS.d +++ redhat-cluster-2.20090127/bindings/perl/ccs/CCS.d @@ -0,0 +1,21 @@ +CCS.o: CCS.c /usr/lib/perl/5.8/CORE/EXTERN.h \ + /usr/lib/perl/5.8/CORE/perl.h /usr/lib/perl/5.8/CORE/config.h \ + /usr/lib/perl/5.8/CORE/embed.h /usr/lib/perl/5.8/CORE/handy.h \ + /usr/lib/perl/5.8/CORE/unixish.h /usr/lib/perl/5.8/CORE/iperlsys.h \ + /usr/lib/perl/5.8/CORE/perlio.h /usr/lib/perl/5.8/CORE/regexp.h \ + /usr/lib/perl/5.8/CORE/sv.h /usr/lib/perl/5.8/CORE/util.h \ + /usr/lib/perl/5.8/CORE/form.h /usr/lib/perl/5.8/CORE/gv.h \ + /usr/lib/perl/5.8/CORE/pad.h /usr/lib/perl/5.8/CORE/cv.h \ + /usr/lib/perl/5.8/CORE/opnames.h /usr/lib/perl/5.8/CORE/op.h \ + /usr/lib/perl/5.8/CORE/reentr.h /usr/lib/perl/5.8/CORE/cop.h \ + /usr/lib/perl/5.8/CORE/av.h /usr/lib/perl/5.8/CORE/hv.h \ + /usr/lib/perl/5.8/CORE/mg.h /usr/lib/perl/5.8/CORE/scope.h \ + /usr/lib/perl/5.8/CORE/warnings.h /usr/lib/perl/5.8/CORE/utf8.h \ + /usr/lib/perl/5.8/CORE/perly.h /usr/lib/perl/5.8/CORE/thrdvar.h \ + /usr/lib/perl/5.8/CORE/intrpvar.h /usr/lib/perl/5.8/CORE/thread.h \ + /usr/lib/perl/5.8/CORE/pp.h /usr/lib/perl/5.8/CORE/proto.h \ + /usr/lib/perl/5.8/CORE/pp_proto.h /usr/lib/perl/5.8/CORE/opcode.h \ + /usr/lib/perl/5.8/CORE/embedvar.h /usr/lib/perl/5.8/CORE/perlvars.h \ + /usr/lib/perl/5.8/CORE/reentr.inc /usr/lib/perl/5.8/CORE/patchlevel.h \ + /usr/lib/perl/5.8/CORE/XSUB.h /usr/lib/perl/5.8/CORE/perlapi.h \ + /home/fabbione/work/cluster/rhcluster/deb/redhat-cluster-2.20090127/config/libs/libccsconfdb/ccs.h