Angus Salkeld
2a568d6e79
Add dbus and snmp notifier
...
This is to send dbus events on major cluster events:
- membership changes
- application connect/dissconnet from corosync
- quorum changes
dbus events can then be converted into snmp traps by foghorn or
corosync-notifyd can be run to directly send snmp traps.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Signed-off-by: Lon Hohberger <lhh@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Russell Bryant <russell@russellbryant.net>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-02-04 09:47:35 -07:00
Fabio M. Di Nitto
b2400314b2
add release script and git based versioning
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2010-11-10 07:46:53 -07:00
Angus Salkeld
07d06c0c0f
Add monitoring and watchdog services.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3053 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 21:12:03 +00:00
Angus Salkeld
04dcca855b
configure: cleanup formatting.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3049 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-25 07:05:54 +00:00
Steven Dake
d9fde27b22
Patch from Kacper Kowalik to add support for --enable-user-flags configure
...
option.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3041 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-14 17:27:27 +00:00
Steven Dake
6db1291e74
Bump version to 1.2.8.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3034 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-08-31 19:02:19 +00:00
Steven Dake
3f564e2be1
Build properly with different versions of libc by including all posix APIs
...
in header definitions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3030 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-08-31 18:55:27 +00:00
Steven Dake
8374740020
Change trunk version to 1.2.7.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3007 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-07-27 21:32:39 +00:00
Steven Dake
d95e91d6e0
Bump trunk revision to 1.2.6.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2980 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-06-30 19:42:04 +00:00
Steven Dake
37ce634603
Change version to 1.2.5 in trunk.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2956 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-06-21 18:17:47 +00:00
Steven Dake
d5ba2d38c1
update version to 1.2.4.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2939 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-06-09 21:56:37 +00:00
Steven Dake
68c580fc54
Bump revision to 1.2.3.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2901 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-19 14:01:06 +00:00
Steven Dake
5211e03908
Bump version to 1.2.2.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2818 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-13 04:42:06 +00:00
Angus Salkeld
534891da2b
configure: minor change to get tab completion to work
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2811 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-12 09:24:03 +00:00
Angus Salkeld
9e21960b6f
test for augtool before using it in "make check"
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2762 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-04-14 23:09:57 +00:00
Jan Friesse
4b18364c61
Support for specific libraries version
...
Patch adds support for changing version number of library simply by edit
lib$(LIB).verso file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2752 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-04-01 12:35:31 +00:00
Angus Salkeld
9a862803aa
Fix code coverage with lcrso's
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2729 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-24 22:14:25 +00:00
Steven Dake
65695c3149
Bump version to 1.2.1.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2723 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-23 21:49:46 +00:00
Christine Caulfield
1baa7b2ab3
Add a reload callback to libconfdb.
...
This also increments the libconfdb version to 4.1.0
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2683 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-16 09:51:30 +00:00
Angus Salkeld
4e7ded5bf3
Add tsafe (thread safe) file to catch unsafe function calls.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2669 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-03 01:27:37 +00:00
Angus Salkeld
824fd8e82a
Add a test harness to corosync that uses CTS from pacemaker.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2668 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-03 00:08:57 +00:00
Angus Salkeld
07f506f0ac
Add augeas lense for corosync.conf
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2658 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-02-17 00:27:35 +00:00
Steven Dake
d891884c27
Bump verion to 1.2.0.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2581 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-12-08 00:02:00 +00:00
Jan Friesse
c6242c9a52
Remove potentially thread unsafe call of strftime
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2571 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-12-07 17:14:44 +00:00
Jan Friesse
9edbf61401
bsd: Fix mlockall on FreeBSD version >= 8.0
...
FreeBSD version 8.0 and greater supports mlockall
syscall correctly. So configure.ac is changed to detect
FreeBSD version and main.c is changed to support it.
Resolves: rhbz#513687
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2560 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-12-02 15:09:18 +00:00
Fabio M. Di Nitto
dac5df7dd8
Clean up init scripts and make a single generic one
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2554 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-11-30 18:56:28 +00:00
Steven Dake
c3191a8f95
Bump version to 1.1.2.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2537 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-10-22 22:30:59 +00:00
Steven Dake
181bfb6908
Bump revision to 1.1.1.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2533 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-10-20 22:40:29 +00:00
Steven Dake
95de20fb8f
Change version to 1.1.0 in trunk.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2504 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-09-25 07:00:32 +00:00
Steven Dake
978b60806b
Totem IBA implementation.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2481 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-09-25 06:23:04 +00:00
Andrew Beekhof
8ec3339ba3
Darwin libraries need -install_name otherwise they're not usable without DYLD_LIBRARY_PATH (which is highly unrecommended)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2417 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-09-16 09:02:35 +00:00
Angus Salkeld
350cc0ae42
log the built-in features at startup
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2411 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-09-10 01:51:32 +00:00
Angus Salkeld
b13a7aba13
add small-memory-footprint option to configure
...
This adds the following option to configure:
--enable-small-memory-footprint
When enabled the following defines are set
to reduce the overall memory footprint.
MESSAGE_SIZE_MAX=1024*64
MESSAGE_QUEUE_MAX=512
PROCESSOR_COUNT_MAX=16
IPC_REQUEST_SIZE=1024*64
IPC_RESPONSE_SIZE=1024*64
IPC_DISPATCH_SIZE=1024*64
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2410 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-09-09 18:58:38 +00:00
Angus Salkeld
f3b92eb6b3
Only insert the filename into the log, not the path.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2408 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-09-09 00:25:36 +00:00
Jan Friesse
db87fb8f56
Implementation of cpg_iteration functions
...
This functions allows iterate available cpg groups
and their members. API is modelled like ckpt iteration
functions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2399 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-08-31 09:23:16 +00:00
Jan Friesse
9931d50b31
Support for -v (version) feature
...
This can be usefull for easier way to get informations
of the corosync version from users. Version and SVN
revision (get by svninfo -c) are displayed.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2381 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-08-04 07:39:03 +00:00
Steven Dake
5225b3809c
Initial infrastructure changes to support iba. Split totemnet into
...
totemiba and totemudp and have totemnet call the appropriate transport
calls.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2367 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-07-21 18:17:15 +00:00
Steven Dake
279e297842
Darwin is missing the sched_setscheduler system call.
...
Patch detects it and resolves the build failure.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2366 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-07-21 01:31:39 +00:00
Fabio M. Di Nitto
021ef592b2
Bump version in trunk
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2355 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-07-10 04:55:34 +00:00
Fabio M. Di Nitto
ed9beee011
Reset version to 0.99 in configure.ac to unbreak rpm/srpm.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2321 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-30 07:05:50 +00:00
Steven Dake
f4f2c01a17
Reset 0.98 in configure.ac to trunk so toplevel makefile works properly
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2319 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-29 23:32:17 +00:00
Fabio M. Di Nitto
2e1da23f9d
Fix rpm version generation and adapt release manager Makefile.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2307 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-27 04:00:15 +00:00
Fabio M. Di Nitto
b5fc4494a3
Add support for make srpm and make rpm targets
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2293 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-25 17:09:28 +00:00
Fabio M. Di Nitto
47a2a42f72
Fix make dist target
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2292 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-25 11:06:24 +00:00
Steven Dake
0cf6c6c7db
Add tests for posix scheduling apis to configure.ac and use them to determine
...
if we should set scheduling priorities or not.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2277 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-21 16:33:25 +00:00
Fabio M. Di Nitto
2135d91c27
Fix handling of sysconfdir
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2265 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-19 07:02:55 +00:00
Steven Dake
4620ca4e0b
Ensure Linux, BSD, Solaris, Darwin function with security authentication in
...
IPC system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2259 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-18 21:32:45 +00:00
Jim Meyering
d5a1f73714
build: silence automake portability warnings
...
* configure.ac: Enable automake's -Wno-portability option.
We depend on GNU make.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2244 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-17 10:13:57 +00:00
Steven Dake
83fbff6237
Use rsync -a instead of cp -a to install on Solaris.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2239 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-14 11:37:11 +00:00
Steven Dake
0389b65725
Port of coroipc system to Solaris.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2238 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-06-14 11:36:18 +00:00