Steven Dake
5ef02ff3ba
Logsys testing system.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1431 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:43:20 +00:00
Steven Dake
3cbecd98c1
Fixes for the logsys system.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1430 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:41:19 +00:00
Steven Dake
f591f95e30
The man page for the logsys logging system.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1429 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:38:27 +00:00
Steven Dake
113a3c4f88
The logsys logging system. Read logsys_overview.8.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1428 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:38:10 +00:00
Steven Dake
4336be7c4c
totem srp merge from whitetank
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1427 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:24:00 +00:00
Steven Dake
fb2e10bedb
Patch to log security warnings when invalid identifier is used in message
...
header for a totem message.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1425 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:15:31 +00:00
Steven Dake
ca24b42838
Fix problem in synchronization engine which results in possible failures of
...
the synchronization engine.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1424 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:12:56 +00:00
Steven Dake
6d0219394e
Patch to allocate event dispatch data in saEvtInitialize instead of directly
...
on the stack for small thread-stack sized dispatch functions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1421 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-08-24 19:45:23 +00:00
Steven Dake
045d36cb83
Patch to not overwrite defualt configuration file or amf.conf file when
...
executing make install
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1420 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-08-11 04:40:42 +00:00
Steven Dake
96266589fb
Allow make doxygen to work properly
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1418 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-08-11 04:36:52 +00:00
Steven Dake
9d5eefa46c
Patch to add amf_strdup instead of malloc and then copy for amf service.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1417 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-08-11 04:35:50 +00:00
Steven Dake
9d27cc2f35
Fix minor leaks caused by not calling pthread_mutex_destroy throughout the tree.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1412 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-08-07 23:52:21 +00:00
Steven Dake
ba24191073
Patch to fix compile warning on mac platforms.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1411 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-08-07 23:49:24 +00:00
Steven Dake
484ad44f3a
Add the testcpg2 file missing from a previous commit.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1405 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-07-02 21:13:52 +00:00
Fabien Thomas
1c4833edba
remove warnings under Darwin for missing includes and too many parameters in TRACE2
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1404 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-07-02 12:41:53 +00:00
Patrick Caulfield
a245f25ac8
Clear pid when we leave a process group
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1399 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-25 12:34:44 +00:00
Steven Dake
ad3506cfdc
Fix bug where if checkpoint section is expired about the same time as a
...
checkpoint is deleted, a warning would be displayed.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1398 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-25 08:45:58 +00:00
Steven Dake
7c3dcc065d
Update testckpt program to properly test checkpoint system.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1397 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-25 08:45:29 +00:00
Steven Dake
39b3f0d5a6
Add cpg_local_get api to cpg service
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1391 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-25 03:04:35 +00:00
Steven Dake
7b65087d28
Add IP address takeover as an AMF component
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1388 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-24 06:44:27 +00:00
Steven Dake
6377455cd7
Add passive monitoring support to AMF.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1386 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-23 09:14:15 +00:00
Patrick Caulfield
8507e14dd1
Add man pages for cpg_context_* and fix library exports to include them too.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1385 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-14 14:21:49 +00:00
Patrick Caulfield
5e056ec1a2
Install the timer.h file so it can be used by
...
external services and remove a dependency on tlist.h
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1384 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-13 09:09:10 +00:00
Patrick Caulfield
d147700e95
Currently saLckResourceUnlockAsync leaves the lockid in the handle database even
...
when the lock has been unlocked. This can cause exec crashes if the lock is
unlocked twice.
This patch adds an extra field to the res_lib_lck_resourceunlockasync structure
so that the library can remove the lock from the handle database when the lock
is unlocked successfully, as well as code to do it, obviously.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1383 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-13 09:01:30 +00:00
Fabien Thomas
b392956ef4
repair BSD/Darwin build by moving HZ constant in tlist.h
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1381 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-12 16:43:50 +00:00
Patrick Caulfield
2e4394413d
Cast away a compile warning
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1380 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-05 09:52:29 +00:00
Steven Dake
0a19a21f1b
Remove this_ip from the source tree and replace with accessor functions.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1379 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-05 08:55:44 +00:00
Steven Dake
64fb1d1c18
Change timers to add duration and absolute timers. Use nanoseconds since
...
epoch to track timers.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1378 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-04 23:21:46 +00:00
Patrick Caulfield
7c4ee5b91d
Add get/set context API calls to the cpg service.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1377 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-05-31 09:41:37 +00:00
Patrick Caulfield
5e2605c854
Don't try and remove a lock from a list if it's not on one, but DO remove
...
it from the resources list when it gets unlocked.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1376 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-05-30 08:41:46 +00:00
Steven Dake
1b13ebc021
Sanitize the ETCDIR usage in the Makefiles.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1375 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-05-22 15:45:31 +00:00
Steven Dake
f0cf14f7bd
Use rync -a when cp -a is not available on MAC OSX platform install
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1374 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-05-22 15:44:42 +00:00
Patrick Caulfield
4377475cac
This patch fixes the marshalling of lock names in libSaLck, they
...
were copied using memcpy, but the alignment of a mar_name_t is not necessarily
the same as SaNameT. This patch changes memcpy() to marshall_to_mar_name_t().
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1373 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-05-18 07:28:36 +00:00
Steven Dake
a161cc23c8
on 32 bit platforms, the message source conn info could have uninitialized
...
values.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1371 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-05-17 20:37:20 +00:00
Patrick Caulfield
08dd4174c6
In trunk, totemip.h and totem.h call for "../include/swab.h" - this works fine
...
when building openais itself but causes problems when installed as those files
will not be in the right place.
So, I've moved these includes out of totemip.h and totem.h and into the .c files
that call them.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1370 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-05-05 14:02:53 +00:00
Steven Dake
f3cd7588d4
Fix section iteration size comparison
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1367 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-04-24 23:10:51 +00:00
Steven Dake
0fd619a44f
Print Unknown Time if the time is unknown of an event.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1366 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-04-24 23:08:48 +00:00
Steven Dake
6bce9c70ed
Change tab alignment on checkpoint write operation to match coding style guidelines
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1365 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-04-24 23:08:18 +00:00
Steven Dake
e3795ebdef
Fixes problem where if attributes list is zero, library would segfault
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1362 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-04-24 23:02:21 +00:00
Steven Dake
d28ca742c5
change references to evs to cpg to match API
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1361 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-04-21 23:49:47 +00:00
Steven Dake
46fe47823c
Patch from Angus to fix return code of saAmfResponse if the handle was invalid.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1360 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-04-21 00:02:29 +00:00
Steven Dake
f76d8f558e
Fix documentation errors in cpg service.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1358 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-03-21 20:08:29 +00:00
Steven Dake
a4029d65a5
Solaris port patch to fix a few problems from last big patch.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1355 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-03-14 19:02:49 +00:00
Steven Dake
1c5bb34012
Patch to allow BSD/Linux systems to compile with latest Solaris porting patch.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1354 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-03-12 17:28:44 +00:00
Steven Dake
cb154572a2
Patch from Renaud to report some broken Solaris porting from past.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1353 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-03-06 16:18:44 +00:00
Hans Feldt
1675a43aef
This patch improves AMF's behaviour for handling component instantiation level.
...
AMF is complemented to handle termination and instantiation with respect to
instantiation level also for the following scenarios:
- SU restart
- termination/instantiation errors during component/SU restart
- instantiation error during cluster start up
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1352 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-01-26 13:03:55 +00:00
Hans Feldt
06b87e1322
Was writing to random mem using an uninitialized pointer
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1351 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-01-25 08:19:38 +00:00
Steven Dake
aec3f25bc8
Display the names of the configuration files used by openais.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1350 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-01-23 17:39:43 +00:00
Steven Dake
9c2beff446
Add two notifications about things to avoid to ensure proper operation of the parser.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1349 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-01-23 17:38:58 +00:00
Steven Dake
49c06ba23b
Fixes from Zoltan regarding AMF mispellings and type errors.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1348 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-01-23 17:07:50 +00:00