Remove ancient Kimberlite diagrams
[clumanager.git] / clumanager.spec.in
blob74e90dea851657488a6bbd03475e6f99a226af8b
1 %define version ##VERSION##
2 %define release ##RELEASE##
5 # Red Hat Cluster Manager RPM spec file.
6 #
7 Summary: Open Source HA Cluster Software for Red Hat Enterprise Linux
8 Name: clumanager
9 Version: %{version}
10 Release: %{release}
11 License: GPL,LGPL
12 Group: System Environment/Base
13 Source: %{name}-%{version}.tar.gz
14 Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
15 Requires: chkconfig initscripts glibc ncurses libxml2 bash grep sed gawk
16 Requires: net-tools mount /sbin/findfs iproute
17 Provides: clumanager librhcm
18 BuildPrereq: glibc-devel ncurses-devel libxml2-devel sed bash /bin/grep
19 BuildPrereq: GFS-devel
20 ExclusiveArch: i386 ia64
21 ExclusiveArch: x86_64
24 # Until there's an easy way to prevent libgulm from being a dependency
25 # in all cases, turn off auto-requires.
27 Autoreq: 0
30 %description
31 Red Hat Cluster Manager provides high availability of critical server
32 applications in the event of planned or unplanned system downtime. The cluster
33 is continuously monitored to safeguard against network, storage, and
34 application failures. It provides interfaces for integration of proprietary
35 applications and includes native support for high availability NFS and Samba
36 services.
39 %prep
40 %setup -q
43 %build
44 make purge
46 %ifarch x86_64
47 export EXTRA_CFLAGS="-DX86_64"
48 %endif
50 %ifarch s390
51 export EXTRA_CFLAGS="-DS390"
52 %endif
54 make
57 %install
58 DESTDIR=$RPM_BUILD_ROOT make install
61 %clean
62 rm -rf $RPM_BUILD_ROOT
65 %files
66 %defattr(-,root,root)
67 %config %{_sysconfdir}/init.d/clumanager
68 /usr/sbin/*
69 /usr/lib/[^d]*
70 /usr/include/rhcm/*
71 /usr/share/doc/clumanager-%{version}/*
72 /usr/share/doc/librhcm-%{version}/*
73 /usr/share/man/man3/*
74 /usr/share/man/man8/*
75 /var/lock/clumanager/*
78 %doc
79 # Nothing here yet.
82 %post
83 ldconfig
86 %preun
87 if [ $1 -eq 0 ]; then
88 /sbin/service clumanager stop
89 chkconfig --del clumanager
93 %postun
94 ldconfig
95 if [ $1 -ge 1 ]; then
96 /sbin/service clumanager condrestart
100 %changelog
101 * Wed Jul 01 2009 Lon Hohberger <lhh at redhat.com> 1.2.38.1
102 - Fix remote lock starvation under load when clulockd is set
103 to debug level.
104 - Resolves: 348671
106 * Thu Feb 19 2009 Lon Hohberger <lhh at redhat.com> 1.2.38
107 - Remove complexity from locking code
108 - Resolves: 348671
110 * Thu Aug 14 2008 Lon Hohberger <lhh at redhat.com> 1.2.37.2
111 - Fix various bugs and build issues on newer GCC
113 * Thu Jan 10 2008 Lon Hohberger <lhh at redhat.com> 1.2.37
114 - Fix clusvcmgrd bug that allowed starting of a service on
115 one node while stopping it on another
117 * Mon Jan 07 2008 Lon Hohberger <lhh at redhat.com> 1.2.36.1
118 - Fix clulockd bug where it could accept connections from
119 nodes it thought were offline (#427577)
120 - Make timeouts more sane in the case of several quick transitions
121 (#427577)
123 * Wed Oct 31 2007 Lon Hohberger <lhh at redhat.com> 1.2.36
124 - Fix 333001 - crash during shutdown due to invalid fd
125 - Fix last-breath processing.
126 - Fix 360541 - membership transition handling if membership
127 transitions before quorum daemon
129 * Mon May 21 2007 Lon Hohberger <lhh at redhat.com> 1.2.35.2
130 - src/daemons/clurmtabd.c: Fix crash bug causing clurmtabd to break
131 (#208995 redux)
133 * Tue Apr 10 2007 Lon Hohberger <lhh at redhat.com> 1.2.35.1
134 - Fix 235933; patch from Satoru Satoh
136 * Thu Feb 22 2007 Lon Hohberger <lhh at redhat.com> 1.2.35
137 - Fix checking of is_nfs_service in svclib_filesystem
138 - Fix bugzillas: 208995 209384 211238 211311 211312 224427 226789
140 * Thu Nov 02 2006 Lon Hohberger <lhh at redhat.com> 1.2.34-3
141 - Fix #212046 (failure to umount causes cross-mounted file systems)
143 * Thu Jul 20 2006 Lon Hohberger <lhh at redhat.com> 1.2.34
144 - Fix checking of is_nfs_service in svclib_filesystem
146 * Thu Jun 22 2006 Lon Hohberger <lhh at redhat.com> 1.2.33.2
147 - Wait for all child processes to exit prior to allowing clusvcmgrd
148 to exit (#194491); original patch from Josef Whiter
150 * Fri Jun 16 2006 Lon Hohberger <lhh at redhat.com> 1.2.33.1
151 - Correct ordering of NFS lock recovery
153 * Tue Jun 13 2006 Lon Hohberger <lhh at redhat.com> 1.2.33
154 - Clean up NFS lock functionality
156 * Tue May 16 2006 Lon Hohberger <lhh at redhat.com> 1.2.32
157 - Add patch from Josef Whiter to make negative max_restart values
158 cause immediate relocation w/o restart
159 - Bump revision
161 * Thu May 04 2006 Lon Hohberger <lhh at redhat.com> 1.2.31.3
162 - Add patch to make services relocate if max_restarts < 0
163 - Add patch to make quotaon be called if usrquota / grpquota is
164 one of the mount options for a given file system
166 * Wed May 03 2006 Lon Hohberger <lhh at redhat.com> 1.2.31.1
167 - Add NFS lock hack patch.
169 * Fri Jan 20 2006 Lon Hohberger <lhh at redhat.com> 1.2.31
170 - Send last breath during clean shutdown to speed up membership
171 transition
172 - If locking fails (e.g. quorum lost during shutdown or lock
173 master not responding), use unclean mode for the remaining services
174 - When stopping servics uncleanly, stop all, not just the ones we
175 think we owned
177 * Wed Dec 14 2005 Lon Hohberger <lhh at redhat.com> 1.2.30.1
178 - Don't zap IP tiebreaker status during reconfiguration
180 * Tue Dec 13 2005 Lon Hohberger <lhh at redhat.com> 1.2.30
181 - Ensure device-ID ordering is not unsorted by svclib_filesystem
182 - Provide (hopefully) helpful information to users on clusters
183 which are inquorate in clustat output.
184 - Update cluforce/clustat man pages for clarity
186 * Tue Dec 06 2005 Lon Hohberger <lhh at redhat.com> 1.2.29
187 - Ensure device-ID ordering for mount/umount so we mount
188 file systems in the specified order
190 * Mon Nov 21 2005 Lon Hohberger <lhh at redhat.com>
191 - Fix cludb manpage for broadcast_primary_only option
193 * Thu Nov 10 2005 Lon Hohberger <lhh at redhat.com> 1.2.28.6
194 - Add local messaging to increase locking performance (#172894)
195 - Fix locking hang (#172893) causing infinite timeout-loop errors
196 - Prevent segfault when doing ops with services locked (#172735)
197 - Retry during unlock phase to prevent FAULT() if a connection fails.
198 (#172894, #168665)
199 - Use lsof -bn so we don't block on gethostbyname() if DNS is down
200 during force unmount (#171637)
201 - Fix erroneous reclaim messages from clulockd
203 * Thu Jul 28 2005 Lon Hohberger <lhh at redhat.com> 1.2.28
204 - Add option to disable ARP checking on inbound connections
205 - Add option to use iproute (netlink-based) utilities to work around
206 bugs related to certain NICS when used in conjunction with ethernet
207 channel bonding.
209 * Wed Mar 23 2005 Lon Hohberger <lhh at redhat.com> 1.2.26.1
210 - Minor timeout fix for ipmilan.
212 * Wed Mar 02 2005 Lon Hohberger <lhh at redhat.com> 1.2.26
213 - Fix #149851 - svclib_filesystem kills too many processes during force
214 unmount
216 * Mon Feb 21 2005 Lon Hohberger <lhh at redhat.com> 1.2.25
217 - Make monitor-links a per-IP configuration option.
219 * Fri Feb 11 2005 Lon Hohberger <lhh at redhat.com> 1.2.24.1
220 - Add support for IPMI over LAN for Tiger systems (uses ipmitool)
221 - Add support for IBM Blade Center
222 - Make link-monitoring (#144488) a configurable option with cludb.
224 * Tue Jan 11 2005 Lon Hohberger <lhh at redhat.com> 1.2.24
225 - Fix bonding patch from #144488
226 - Fix argument processing in svclib_log
227 - Include requirement for "iproute" in the spec file
229 * Fri Jan 07 2005 Lon Hohberger <lhh at redhat.com> 1.2.23
230 - Fail-over services on disconnect of network link (#144488)
231 - Unlink stonith config files after use (#134735)
232 - Add support for Bull NovaScale fame/pap STONITH
233 - Fix signal-blocking passed to child (#143867)
234 - Retry when we get bogus info back from raw reads of service blocks.
235 (#120934)
236 - Zero out *all* of the ping packet (#135098)
237 - Fix no default case in init script (#134995)
238 - Handle other waitpid() return values (#137406)
240 * Tue Sep 28 2004 Lon Hohberger <lhh at redhat.com> 1.2.22
241 - Support alternate logging facilities
242 - NFS recovery bugfixes related to merging rmtabs (#114388)
244 * Wed Sep 22 2004 Lon Hohberger <lhh at redhat.com> 1.2.21
245 - Add support for the APC 7900 switch to the apcmaster.so driver
247 * Wed Sep 22 2004 Lon Hohberger <lhh at redhat.com> 1.2.20
248 - Synchronize max restarts/falsestarts with redhat-config-cluster
249 - Add primary_only to cludb man page.
251 * Tue Sep 21 2004 Lon Hohberger <lhh at redhat.com> 1.2.19
252 - Minor bugfixes
254 * Tue Sep 21 2004 Lon Hohberger <lhh at redhat.com> 1.2.19pre1
255 - Make shutil -i store /etc/cluster.xml
256 - Don't start if we can't determine our member ID.
257 - Support sparse id elements in services (#113080)
259 * Mon Sep 07 2004 Lon Hohberger <lhh at redhat.com> 1.2.18
260 - Build
262 * Mon Sep 07 2004 Lon Hohberger <lhh at redhat.com> 1.2.18-pre2
263 - Implement max_restarts and max_false_starts service constraints
264 to prevent endless cycling on failures on a given node.
266 * Fri Sep 02 2004 Lon Hohberger <lhh at redhat.com> 1.2.18-pre1
267 - Misc changes to make IPv4 TB behave better.
268 - Display a message at DEBUG if getting ARP info for an IP fails.
269 - Add 'ICMP_ECHO' as a valid response.
270 - Fix for double-resource alloc in corner case (#131754)
271 - Fix for lsof hang if other NFS file systems are mounted (#131235)
273 * Fri Aug 27 2004 Lon Hohberger <lhh at redhat.com> 1.2.17
274 - Fixes for bugzillas: #130426 #131006 #129710
276 * Wed Jun 23 2004 Lon Hohberger <lhh at redhat.com>
277 - Fix bug in vf.c causing infinite loop in timeout scenario (#126316)
279 * Wed Jun 09 2004 Lon Hohberger <lhh at redhat.com> 1.2.16
280 - Fix bugs in gulm-bridge.c
282 * Wed Jun 02 2004 Lon Hohberger <lhh at redhat.com> 1.2.15
283 - Allow loss of quorum in clean-exit cases w/o STONITH devices
284 - Make clusvcmgrd relocate services it can't run b/c of RFD
286 * Wed Apr 14 2004 Lon Hohberger <lhh at redhat.com> 1.2.13
287 - GuLM-Stonith bridge integration glue w/ lock_gulmd for
288 I/O fencing.
289 - Increased lock timeouts.
291 * Thu Mar 18 2004 Lon Hohberger <lhh at redhat.com> 1.2.12
292 - Log message fixes, added 'cluquorumd%allow_soft' option,
293 man page fixes.
295 * Fri Feb 27 2004 Lon Hohberger <lhh at redhat.com> 1.2.11
296 - Fix for #116012
297 - Don't include internal static libs in install.
299 * Fri Feb 20 2004 Lon Hohberger <lhh at redhat.com> 1.2.10-0.4
300 - Fixes for #114653, #116380.
302 * Mon Feb 02 2004 Lon Hohberger <lhh at redhat.com>
303 - Fix #114435 behavior. Fix ChangeLog dates. Enable GFS-specific
304 behavior
306 * Fri Jan 23 2004 Lon Hohberger <lhh at redhat.com>
307 - Handle misread of shared configuration header as fatal (#113266)
309 * Wed Jan 14 2004 Lon Hohberger <lhh at redhat.com> 1.2.9
310 - Retry in the case of slowly-responding lock daemon (fixes services
311 not failing over when high-node cable pulled in 2-member cluster)
312 - Never try to start services on members in the 'uncertain'
313 state.
314 - Change 'PANIC' to 'uncertain'; as 'PANIC' causes panic and
315 confusion between cluster & kernel issues.
317 * Tue Dec 16 2003 Lon Hohberger <lhh at redhat.com> 1.2.7
318 - Man page fix.
319 - Lock race condition fix preventing failover after unplugging
320 shared storage from a member.
322 * Fri Nov 14 2003 Lon Hohberger <lhh at redhat.com> 1.2.6
323 - Man page fix. Fix case split-brain scenario not covered
324 in noted fix for 1.2.5.
326 * Wed Nov 05 2003 Lon Hohberger <lhh at redhat.com> 1.2.5
327 - Fix for split-brain at startup when disk-tiebreaker is in
328 use and intra-cluster communication fails. Also adds checks
329 for IP address + disk devices (to make sure they're still
330 configured/mounted).
332 * Thu Oct 16 2003 Lon Hohberger <lhh at redhat.com> 1.2.4
333 - Make loss of IP-tie-breaker a defined action. Don't start
334 the disk thread if the IP tie breaker is in use.
336 * Mon Sep 15 2003 Lon Hohberger <lhh at redhat.com> 1.2.2
337 - Fix erroneous log message from service scripts
339 * Thu Sep 11 2003 Lon Hohberger <lhh at redhat.com> 1.2.1
340 - Tiny bugfixes re: samba behavior, clustat + clusvcadm behavior
342 * Tue Sep 09 2003 Lon Hohberger <lhh at redhat.com> 1.2.0
343 - Stable 1.2.0
345 * Tue Sep 09 2003 Lon Hohberger <lhh at redhat.com> 1.1.85
346 - Minor service manager tweak.
348 * Tue Sep 09 2003 Lon Hohberger <lhh at redhat.com> 1.1.84
349 - Architectural "Enhancements"
351 * Tue Sep 09 2003 Lon Hohberger <lhh at redhat.com> 1.1.83
352 - Misc fixes/cleanups/performance enhancements.
354 * Tue Sep 02 2003 Lon Hohberger <lhh at redhat.com> 1.1.82
355 - Fixed daemon monitoring code. Fixed shared medium error handling.
357 * Tue Aug 26 2003 Lon Hohberger <lhh at redhat.com> 1.1.81
358 - Raw I/O fixes. Gettimeofday() reliance removed (where it would
359 cause problems previously). Fixed daemon monitoring. Fixed
360 APC MasterSwitch driver.
362 * Thu Aug 14 2003 Lon Hohberger <lhh at redhat.com> 1.1.80
363 - ppc fixes
365 * Thu Aug 14 2003 Lon Hohberger <lhh at redhat.com> 1.1.79-1
366 - Misc fixes. Challenge-response auth added (to avoid
367 obvious security hole). 2-member/disk-tiebreaker fixes.
369 * Thu Jul 10 2003 Lon Hohberger <lhh at redhat.com> 1.1.73-1
370 - Failover-domain cleanups. Relocate-on-fail cleanups.
372 * Mon Jul 01 2003 Lon Hohberger <lhh at redhat.com> 1.1.72-1
373 - Handle relocation of disabled service as 'START' in clusvcadm.
375 * Fri Jun 27 2003 Lon Hohberger <lhh at redhat.com> 1.1.71-1
376 - Addition of a cluster-wide service shutdown script, useful
377 for preparing large clusters (>2 nodes) for a total cluster outage.
379 * Fri Jun 27 2003 Lon Hohberger <lhh at redhat.com> 1.1.70-1
380 - Sanitized simultaneous mass-shutdown, fixed calls to syslog in
381 signal handlers.
383 * Thu Jun 26 2003 Lon Hohberger <lhh at redhat.com> 1.1.69-1
384 - Changed relocate-to-same-member -> restart
386 * Wed Jun 25 2003 Lon Hohberger <lhh at redhat.com> 1.1.68-1
387 - Ethernet channel bonding integration tweaks.
389 * Tue Jun 24 2003 Lon Hohberger <lhh at redhat.com> 1.1.67-1
390 - Remove /var/run/samba/<share> and /var/cache/samba/<share> on
391 disabling a Samba service
392 - Minor pool cleanups.
394 * Tue Jun 24 2003 Lon Hohberger <lhh at redhat.com> 1.1.66-1
395 - Lock directory cleanups/fixes.
396 - Include example service scripts in the RPM.
397 - File descriptor cleanups.
399 * Mon Jun 23 2003 Lon Hohberger <lhh at redhat.com> 1.1.65-1
400 - Misc cleanups. Fixed clustat errors.
402 * Fri Jun 20 2003 Lon Hohberger <lhh at redhat.com> 1.1.63-1
403 - Fix for STONITH devices requesing "login" for power switches
404 when they should have been requesting "user"
406 * Thu Jun 19 2003 Lon Hohberger <lhh at redhat.com> 1.1.62-1
407 - Rebuild fix
409 * Thu Jun 19 2003 Lon Hohberger <lhh at redhat.com> 1.1.61-1
410 - Various samba fixes. Changed license on librhcm to LGPL.
412 * Tue Jun 10 2003 Lon Hohberger <lhh at redhat.com> 1.1.60-1
413 - clumanager.spec.in cleanup
414 - Fix for services shown as running when all of the members in its
415 restricted domain have crashed.
417 * Mon Jun 02 2003 Lon Hohberger <lhh at redhat.com> 1.1.59-1
418 - Fix for #92012 - errors when updating RPM when /etc/cluster.xml
419 nonexistent. Disabled auto-editing of /etc/syslog.conf.
421 * Sun Jun 01 2003 Lon Hohberger <lhh at redhat.com> 1.1.58-1
422 - Clustat -v fix.
424 * Wed May 28 2003 Lon Hohberger <lhh at redhat.com> 1.1.57-1
425 - Samba netbios name fixup.
427 * Tue May 27 2003 Lon Hohberger <lhh at redhat.com> 1.1.56-1
428 - Fixup for service manager handling quick transitions. Multicast
429 config changes. WTI power switch enhancement.
431 * Mon May 26 2003 Lon Hohberger <lhh at redhat.com> 1.1.55-1
432 - Misc 64-bit cleanups.
434 * Fri May 23 2003 Lon Hohberger <lhh at redhat.com> 1.1.53-1
435 - Misc cleanups, bugfix in config. code.
437 * Thu May 22 2003 Lon Hohberger <lhh at redhat.com> 1.1.52-1
438 - Allow MAC address authentication for cluster members when their IP
439 is hijacked by a service IP address. Minor cleanups, beautification.
441 * Tue May 20 2003 Lon Hohberger <lhh at redhat.com> 1.1.51-1
442 - Periodic power switch checking of neighbor's power switch, reintegration
443 of disk tie-breaker. Misc. bugfixes, lock split-brain fix.
445 * Wed May 14 2003 Florian La Roche <Florian.LaRoche@redhat.de>
446 - do not include /usr/lib/debug in filelist, small spec file cleanups
448 * Thu May 08 2003 Lon Hohberger <lhh at redhat.com> 1.1.48-1
449 - Import to current CVS version. Man pages (yay), Doxygen
450 cleanups, code cleanups.
452 * Mon May 05 2003 Lon Hohberger <lhh at redhat.com> 1.1.47-1
453 - Import to current CVS version. Disk based tiebreaker ONLY.
454 See changelog.
456 * Thu May 01 2003 Lon Hohberger <lhh at redhat.com> 1.1.46-1
457 - Import to current CVS version. NFS clurmtabd reintegration.
458 Lock fixes, cleanups, Doxygen additions. See ChangeLog.
460 * Fri Apr 04 2003 Lon Hohberger <lhh at redhat.com> 1.1.36-1
461 - Import to CVS server.
463 * Sun Mar 30 2003 Lon Hohberger <lhh at redhat.com> 1.1.34-1
464 - Enable handling and processing of -R (restart) in
465 cluadmin and clusvcmgrd
467 * Fri Mar 28 2003 Lon Hohberger <lhh at redhat.com> 1.1.33-1
468 - Includes COPYING ChangeLog and ReleaseNotes
470 * Fri Mar 28 2003 Lon Hohberger <lhh at redhat.com> 1.1.32-1
471 - Various bugfixes. See ChangeLog.
473 * Wed Mar 26 2003 Lon Hohberger <lhh at redhat.com> 1.1.28-2
474 - Disabled building clumq demo.
476 * Wed Mar 26 2003 Lon Hohberger <lhh at redhat.com> 1.1.28-1
477 - Rebuilt from CVS.
479 * Tue Mar 25 2003 Lon Hohberger <lhh at redhat.com> 1.1.27-1
480 - Rebuilt from CVS.
482 * Mon Mar 03 2003 Lon Hohberger <lhh at redhat.com> 1.1.17-1
483 - RPMlint fixes.
485 * Mon Mar 03 2003 Lon Hohberger <lhh at redhat.com> 1.1.16-1
486 - Change to support PANICed nodes - nodes which we failed
487 to fence/power-cycle. Fixed build problem preventing librhcm
488 from getting installed properly.
490 * Fri Feb 28 2003 Lon Hohberger <lhh at redhat.com> 1.1.15-1
491 - Include development library stuff for AS-Next milestone.
493 * Wed Feb 26 2003 Lon Hohberger <lhh at redhat.com> 1.1.10-1
494 - First real RPM build!