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
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
- 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
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
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
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
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
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
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
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
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 @@
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
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
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
14 matches
Mail list logo