[Openais] [PATCH 07/13] SAM Confdb integration

2010-09-23 Thread Angus Salkeld
From: Jan Friesse Patch add support for Confdb integration with SAM. It's now possible to use SAM_RECOVERY_POLICY_CONFDB as flag to previous policies. Also new function sam_mark_failed is added for ability to use RECOVERY policy together with confdb and get expected results (specially wi

[Openais] [PATCH 10/13] Add monitoring and watchdog services.

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- configure.ac| 36 ++ corosync.spec.in| 14 + exec/Makefile.am|2 +- exec/service.c | 12 + include/corosync/corodefs.h |4 +- services/Makefile.am|6 + services/mon.c | 63

[Openais] [PATCH 11/13] WD/SAM integration.

2010-09-23 Thread Angus Salkeld
- timestamps -> uint64_t and in nanosecs - use clock_gettime - common object naming - common state names - timeouts in milliseconds Signed-off-by: Angus Salkeld --- include/corosync/corotypes.h | 33 +- lib/sam.c| 15 +-- man/sam_overview.8 |4 +- servic

[Openais] [PATCH 12/13] AUG: add support for resources section & quorum/quorate

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- conf/lenses/corosync.aug| 32 +++- conf/lenses/tests/test_corosync.aug | 24 2 files changed, 55 insertions(+), 1 deletions(-) diff --git a/conf/lenses/corosync.aug b/conf/lenses/corosync.aug in

[Openais] [PATCH 01/13] CPG: remove irratating log "downlist received left_list:"

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- services/cpg.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/services/cpg.c b/services/cpg.c index 94f29eb..a0336ed 100644 --- a/services/cpg.c +++ b/services/cpg.c @@ -1031,10 +1031,6 @@ static void message_handler_req_exec_cpg_downl

[Openais] [PATCH 08/13] configure: cleanup formatting.

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- configure.ac | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 59078ea..b57fdd2 100644 --- a/configure.ac +++ b/configure.ac @@ -216,15 +216,15 @@ LIB_SONAME_IMPORT([votequorum]) # local op

[Openais] [PATCH 09/13] Add a Finite State Machine.

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- exec/Makefile.am |2 +- exec/fsm.h | 125 ++ 2 files changed, 126 insertions(+), 1 deletions(-) create mode 100644 exec/fsm.h diff --git a/exec/Makefile.am b/exec/Makefile.am index b2935de..a3a49bf 1

[Openais] [PATCH 04/13] objdb: object_created_notification() fix the order of the parent and object handles.

2010-09-23 Thread Angus Salkeld
No one must be using this as the parent is passed into object_handle and visa-versa. Signed-off-by: Angus Salkeld --- exec/objdb.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/exec/objdb.c b/exec/objdb.c index 92b0205..ecb8547 100644 --- a/exec/objdb.c +++ b/e

[Openais] Watchdog and Monitoring services

2010-09-23 Thread Angus Salkeld
Hi This patch series adds support for: - monitoring memory and cpu load - recovering from high levels of these by watchdog'ing/rebooting/shuting down. - honzaf's "SAM Confdb integration" - support for using the above recovery when an application fails (integrating honzaf's SAM work with my watch

[Openais] [PATCH 05/13] objdb: delete trackers when an object is deleted

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- exec/objdb.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/exec/objdb.c b/exec/objdb.c index ecb8547..73fc8c7 100644 --- a/exec/objdb.c +++ b/exec/objdb.c @@ -672,6 +672,7 @@ static int _clear_object(struct object_instance

[Openais] [PATCH 02/13] add float and double support to corosync-objctl

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- tools/corosync-objctl.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/tools/corosync-objctl.c b/tools/corosync-objctl.c index 693c312..f9bce65 100644 --- a/tools/corosync-objctl.c +++ b/tools/corosync-objctl.c @@ -130,6 +130,14 @@

[Openais] [PATCH 06/13] objdb: fix some ugly indentation.

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- exec/objdb.c | 168 +- 1 files changed, 84 insertions(+), 84 deletions(-) diff --git a/exec/objdb.c b/exec/objdb.c index 73fc8c7..dc36236 100644 --- a/exec/objdb.c +++ b/exec/objdb.c @@ -172,17 +172,17 @@ s

[Openais] [PATCH 03/13] objdb: fix some strange types (uint8_t* -> void*).

2010-09-23 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- include/corosync/engine/coroapi.h |4 ++-- include/corosync/engine/objdb.h | 18 +- services/confdb.c |8 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/include/corosync/engine/coroapi.h b/inc

Re: [Openais] [Pacemaker] Timeout after nodejoin

2010-09-23 Thread Dan Frincu
Hi, Steven Dake wrote: > On 09/22/2010 05:43 AM, Dan Frincu wrote: >> Hi all, >> >> I have the following packages: >> >> # rpm -qa | grep -i "(openais|cluster|heartbeat|pacemaker|resource)" >> openais-0.80.5-15.2 >> cluster-glue-1.0-12.2 >> pacemaker-1.0.5-4.2 >> cluster-glue-libs-1.0-12.2 >> reso