Steven Dake
c44688de57
The testcpg tool now prints IP addresses instead of a hex value indicating the
...
node id.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1103 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-06 22:34:14 +00:00
Steven Dake
ec8b3a4214
The recent endian/32/64 changes broke cpg callbacks. The left list address
...
was incorrectly calculated.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1102 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-06 22:33:41 +00:00
Steven Dake
8f21967d74
The totem rrp incorrectly increased the wrong failure counter.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1101 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-06 21:08:48 +00:00
Steven Dake
d0d088cdf8
marshall of cpg_join name field is wrong.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1100 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-30 19:21:30 +00:00
Steven Dake
ba70bff546
Rework of the timer system to allow timers to be added in dispatch handlers.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1099 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-29 22:03:08 +00:00
Steven Dake
c3354368da
Rewrite of the checkpoint benchmark using threads tool
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1098 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-29 21:41:51 +00:00
Steven Dake
cdfa2c00bf
set serialize lock to proper function.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1097 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-29 04:05:47 +00:00
Steven Dake
2c42f9e9a5
Rework of IPC layer once again
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1096 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-29 00:01:10 +00:00
Steven Dake
b800167c9f
Fix problem where AMF locks up system if two or more components are members
...
of the same service unit. Also fixes problem where AMF asserts if two or
more components are specified in a service unit.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1095 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-27 23:42:38 +00:00
Steven Dake
71ca38d92f
Fix 32/64 endian for all services from a previous missed commit.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1094 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-27 23:37:06 +00:00
Steven Dake
c2f95b2c1d
Fix double free problem in ipc by reworking libais_disconnect to match previous
...
rewritten model in picacho.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1092 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-27 23:31:21 +00:00
Hans Feldt
154a857c3b
AMF changes:
...
- Revised cluster start
- Includes Steven's "amf invalid write patch"
- Includes "components not started with 0.76" patch
- New timer API use backed out of AMF (temporary)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1091 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-27 08:49:07 +00:00
Steven Dake
b98d0e3824
Finally remove all references to ais_amf.h and replace with saAmf.h.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1090 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-26 21:02:00 +00:00
Steven Dake
e0f1ae2f88
Corrected timer deadlock that occurs when a timer add or delete operation
...
occurs within a timer expiration event.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1089 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-26 20:30:44 +00:00
Steven Dake
e6516df88c
Removed ais_amf.h and instead point all refs to saAmf.h
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1088 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-26 20:30:15 +00:00
Steven Dake
872afbd81b
Remove dead file
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1087 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-25 20:29:14 +00:00
Steven Dake
fa13d07215
Missed commit of marshall file for some reason.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1086 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-23 20:49:19 +00:00
Steven Dake
1f60232e88
Make cpg 32/64 userland safe and endian safe.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1085 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-23 18:38:25 +00:00
Patrick Caulfield
d84e890831
Fix message alignment in CPG.
...
we now unpack the message in the same way as we pack it.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1084 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-22 16:07:30 +00:00
Steven Dake
5d5cefd4a5
Change makefile to install swab from correct place
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1081 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 23:32:46 +00:00
Steven Dake
a58dd5a88e
New make release in top level makefile
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1077 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 23:03:11 +00:00
Steven Dake
f9abb3899e
Modify AMF to use new timer.c/timer.h routines properly
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1076 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 21:32:03 +00:00
Steven Dake
01afe82393
32/64/mixed endian support for checkpoint service.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1074 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 21:15:16 +00:00
Steven Dake
bf6fb91a1c
Fix for early logging from Hans.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1073 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 21:13:34 +00:00
Steven Dake
503d46f021
Fix error where pathlist buffer is overrun resulting in segfault
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1072 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 21:10:05 +00:00
Hans Feldt
e993689ac5
Refactoring of AMF into several files (based on classed in inf.
...
model). A central header file (amf.h) keeps all the definitions and
prototypes needed.
New things apart from that:
- some doxygen html generated from AMF e.g. each file has a description
- saAmfHAStateGet() now works
- component invoked healthchecks implemented (but not tested)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1071 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-20 06:45:16 +00:00
Steven Dake
b0c735ee64
Fix off by one error in totemsrp.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1070 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-19 22:59:32 +00:00
Steven Dake
526d81bf91
Missed timer commit.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1069 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-19 10:51:41 +00:00
Steven Dake
f4a40626f8
missed commit
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1068 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-19 10:50:34 +00:00
Steven Dake
ad2fa27191
deferred timer system so that timers may be deferred during synchronization.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1067 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-16 19:51:55 +00:00
Steven Dake
d223eda745
Fix dependencies and install all header files for external service handlers.
...
New defination required to build external service handlers.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1066 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-16 19:16:22 +00:00
Steven Dake
d193826724
Allow CFLAGS and LDFLAGS to be overridden through the environment or command
...
line.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1065 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-16 19:07:28 +00:00
Steven Dake
33d89ae7db
Remove warnings in AMF executive service.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1061 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-05 22:39:07 +00:00
Steven Dake
ef48d868b0
Update TODO file with cluster membership 32/64/endian work being completed.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1060 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-05 22:18:09 +00:00
Steven Dake
e73c6a8a9d
32/64/endian everything should work now for openais clm service.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1059 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-05 22:14:46 +00:00
Hans Feldt
ef284f2b30
- (Re-)introduction of event based multicast messages (not all yet)
...
- Use of Distinguished Names (DN) in API and multicast messages
- CSI resassignment properly handled (by using restarting state)
- State 'setter' functions with uniform printouts
- Simple 'assign SU to host' algorithm:
- based on saAmfSUHostedByNode config attribute
- see config file for example
- Debug print runtime attributes upon user request:
$ pkill -USR2 aisexec
- Object-oriented naming of functions started (but not finished)
- testamf1.c updated with some new tests
- Minor fix in print.h and print.c
- AMF can be started on two nodes (example config file needs
modification for this)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1058 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-31 13:20:43 +00:00
Steven Dake
e691aedbb8
Set to SCHED_RR:1 to match ipc layer
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1057 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-28 22:14:44 +00:00
Steven Dake
31e4df4d79
sched_setscheduler was passing wrong argument
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1056 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-28 22:13:52 +00:00
Steven Dake
77c7852213
Update TODO to match 2006 project priorities.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1055 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-27 07:17:24 +00:00
Steven Dake
6fa2d1e767
This sanitizes the makefiles in several ways
...
* .so and .so.1 files are linked to library.so.1.0.0 and installed with
make install
* renames all build targets to library.so.1.0.0 from library.so.1.0
* puts ld.so.conf.d files in the correct place
* allows not installing static libraries by using make install
STATICLIBS=NO
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1054 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-27 02:19:09 +00:00
Steven Dake
7805cb474d
This patch checks the result of read operations on a socket which can
...
return errors or 0. Now if those cases happen, the operation is
ignored. This part of the code needs more attention later to handle
short reads. This removes a warning when fortify source is defined to
the compiler.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1053 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-27 02:18:11 +00:00
Steven Dake
4a478b17ab
This patch does the following things:
...
* changes the default search path for lcrso files to /usr/libexec/lcrso
* checks the result of getcwd which can fail and return an error - in
that case handle the error appropriately
* changes a comment that was incorrectly stating only the cwd was being
searched for lcrso files
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1052 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-27 02:17:33 +00:00
Steven Dake
45e249b91b
Under load, it was observed that the token could be lost because the
...
totem protocol was not being scheduled above the other I/O processes.
This patch reinstalls the sched_setscheduler call which for some reason
was commented out.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1051 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-27 02:16:21 +00:00
Steven Dake
985d2f3989
defect 1270
...
Fix checkpoint read operation which would return invalid operation in some
circumstances.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1050 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 19:41:01 +00:00
Steven Dake
2eafd51e3d
Remove scandir error=%s printf since it spews a bunch of errors when the
...
aisexec is run after a make install
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1049 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 06:46:24 +00:00
Steven Dake
b280e5047a
sanitize make install in Makefile
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1048 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 06:15:33 +00:00
Steven Dake
a8c449fbae
Fix segfault if rrp_mode: MODE isn't set in configuration file.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1047 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 04:22:55 +00:00
Steven Dake
252fc54461
Remove warning about memb_set_print not being used. This is only useful for
...
debugging.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1046 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 04:19:40 +00:00
Steven Dake
bda4420351
Remove deliver_fn which is not the ipc delivery function handler but the
...
executive multicasted messages delivery function. This was inadvertantly copied
and pasted from main.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1045 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 04:08:18 +00:00
Steven Dake
72d0145e03
Properly process the ld.so.conf file if it has includes.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1044 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 02:31:49 +00:00