On Fri, Sep 02, 2011 at 09:56:14AM -0700, Steven Dake wrote:
Signed-off-by: Steven Dake sd...@redhat.com
ACK
---
corosync.spec.in |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/corosync.spec.in b/corosync.spec.in
index 74ab851..5c651aa 100644
---
On Thu, Aug 25, 2011 at 05:16:20AM +0200, Fabio M. Di Nitto wrote:
On 08/25/2011 04:56 AM, Angus Salkeld wrote:
Possible Solutions
==
1] API
We really just want to get/set values do we really need a tree?
as you already mentioned before, tree make it easy to load
On Tue, Aug 23, 2011 at 01:03:48PM -0700, Steven Dake wrote:
The files in this patch do not use the hdb.h header.
ACK
Signed-off-by: Steven Dake sd...@redhat.com
---
exec/totemrrp.c |1 -
exec/totemsrp.c |1 -
exec/totemudp.c |1 -
exec/totemudp.h |1 -
On Tue, Aug 23, 2011 at 02:13:07PM -0700, Steven Dake wrote:
hdb has some expense and is not necessary in the totempg.so runtime. This
patch removes the dependence on hdb and instead uses a direct pointer.
ACK
Signed-off-by: Steven Dake sd...@redhat.com
---
exec/main.c
On Mon, Aug 22, 2011 at 12:47:05PM -0700, Steven Dake wrote:
This removes a sprintf operation in the totem and ipc logging operations
ACK, will now need the latest libqb (else you can put a configure check
for that function).
-A
Signed-off-by: Steven Dake sd...@redhat.com
---
exec/main.c
On Mon, Aug 22, 2011 at 12:53:41PM -0700, Steven Dake wrote:
This file is only used by totemsrp.c. Move out of general include
directory.
ACK
-A
Signed-off-by: Steven Dake sd...@redhat.com
---
exec/Makefile.am|2 +-
exec/cs_queue.h | 229
On Mon, Aug 22, 2011 at 03:30:49PM -0700, Steven Dake wrote:
This API allows totem to operate as a multithreaded library. Performance is
better without threads but some library users may only have multithreaded
systems. In the corosync case where we have removed threads, this reduces
cpu
On Mon, Aug 22, 2011 at 08:08:09PM -0700, Steven Dake wrote:
Rid ourselves of the mutex usage still in the code base
ACK
-Angus
Signed-off-by: Steven Dake sd...@redhat.com
---
include/corosync/hdb.h | 307
+++-
lcr/Makefile.am|3
On Wed, Aug 17, 2011 at 12:47:49PM +1200, Tim Beale wrote:
As a corosync-newbie it can be hard to bridge the gap between where a
particular message is sent and where the receive handler processes it,
and vice versa.
---
Thanks Tim, Applied.
-Angus
exec/totemsrp.c | 16 ++--
On Wed, Aug 17, 2011 at 01:19:53PM +1200, Tim Beale wrote:
Hi,
I'm resending this patch in a separate thread because I think this part of the
cluster formation problems I'm seeing has been overlooked. The patch attached
is one way of addressing the problem, but I'm open to alternatives.
On Tue, Aug 09, 2011 at 09:23:50AM +0200, Jan Friesse wrote:
corosync_timer_handle_t is know conditionally defined to prevent double
definition causing compile fault on RHEL 6 systems.
Reviewed-by: Angus Salkeld asalk...@redhat.com
Signed-off-by: Jan Friesse jfrie...@redhat.com
---
exec
On Tue, Aug 09, 2011 at 02:55:03PM -0700, Steven Dake wrote:
Signed-off-by: Steven Dake sd...@redhat.com
Reviewed-by: Angus Salkeld asalk...@redhat.com
---
exec/totemiba.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/exec/totemiba.c b/exec/totemiba.c
index
On Tue, Aug 09, 2011 at 02:55:04PM -0700, Steven Dake wrote:
Signed-off-by: Steven Dake sd...@redhat.com
Reviewed-by: Angus Salkeld asalk...@redhat.com
---
exec/totemiba.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/exec/totemiba.c b/exec/totemiba.c
On Tue, Aug 09, 2011 at 02:55:05PM -0700, Steven Dake wrote:
Signed-off-by: Steven Dake sd...@redhat.com
Reviewed-by: Angus Salkeld asalk...@redhat.com
---
exec/totemiba.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/exec/totemiba.c b/exec/totemiba.c
index
On Tue, Aug 09, 2011 at 02:55:06PM -0700, Steven Dake wrote:
Signed-off-by: Steven Dake sd...@redhat.com
Reviewed-by: Angus Salkeld asalk...@redhat.com
---
tools/Makefile.am |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/Makefile.am b/tools/Makefile.am
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
configure.ac |8
corosync.spec.in | 12
init/.gitignore |2 ++
init/Makefile.am | 15 +++
init/corosync-notifyd.service.in | 11
On Tue, Aug 02, 2011 at 03:36:39PM +0800, Yingliang Yang wrote:
Hi,
In the directory /etc/corosync, there are 2 sub-directory called 'uidgid.d'
and 'service.d', I'd like to know their usage and functions, would anyone
please help to answer that? thank you very much!
It is so other
On Mon, Aug 08, 2011 at 12:00:47PM +1000, Angus Salkeld wrote:
Hi
All the topic-libqb patches are Ack'ed.
Now they need merging into master.
All good to go?
Steve ACK'ed on IRC... All pushed to master.
-Angus
Regards
Angus Salkeld
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
configure.ac |6 ++
exec/main.c| 21 +++--
man/corosync.8 |7 +--
3 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index 35e3cfb..e00edeb 100644
Hi
All the topic-libqb patches are Ack'ed.
Now they need merging into master.
All good to go?
Regards
Angus Salkeld
___
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
TODO | 73 +
1 files changed, 19 insertions(+), 54 deletions(-)
diff --git a/TODO b/TODO
index 9a2db8f..fa30e36 100644
--- a/TODO
+++ b/TODO
@@ -3,69 +3,34 @@ The Corosync
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
lib/cpg.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/cpg.c b/lib/cpg.c
index caf3efe..71704c0 100644
--- a/lib/cpg.c
+++ b/lib/cpg.c
@@ -777,7 +777,7 @@ cs_error_t cpg_zcb_alloc (
void **buffer
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
configure.ac |4 +-
exec/crypto.c |2 -
exec/main.c |3 --
exec/objdb.c | 76
lib/confdb.c |3 ++
services/confdb.c |7 +++-
services/cpg.c
On Mon, Jun 27, 2011 at 03:34:56PM +1000, Angus Salkeld wrote:
Wouldn't it be cleaner if we put this macro in logsys.h:
#define log_perror(err_num, level, format, args...) do { \
...
#endif
Then use it like a normal log function:
log_perror(errno, LOG_ERR, bad stuff);
It then logs
(), ENTER(), LEAVE(), etc) while only some are in
lower case (log_printf(), log_rec()).
Well I suppose that's OK then - good work.
Reviewed-by: Angus Salkeld asalk...@redhat.com
On 27.06.2011 13:17, Angus Salkeld wrote:
Cool, much better. Any reason for the capitals? Not a big deal
but the other
Wouldn't it be cleaner if we put this macro in logsys.h:
#define log_perror(err_num, level, format, args...) do { \
...
#endif
Then use it like a normal log function:
log_perror(errno, LOG_ERR, bad stuff);
It then logs:
ERR bad stuff : error string
-Angus
On Fri, Jun 24, 2011 at 03:17:50PM
, I don't why left Linux out.
Reviewed-by: Angus Salkeld asalk...@redhat.com
Signed-off-by: Jan Friesse jfrie...@redhat.com
---
lib/coroipcc.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/coroipcc.c b/lib/coroipcc.c
index b017155..d1f82e0 100644
.
Reviewed-by: Angus Salkeld asalk...@redhat.com
Signed-off-by: Jan Friesse jfrie...@redhat.com
---
services/confdb.c | 29 +
1 files changed, 21 insertions(+), 8 deletions(-)
diff --git a/services/confdb.c b/services/confdb.c
index b57a041..64def8a 100644
On Tue, May 31, 2011 at 06:25:56PM -0300, william felipe_welter wrote:
Thanks Steven,
Now im try to run on the MCP:
- Uninstall the pacemaker 1.0
- Compile and install 1.1
But now i have problems to initialize the pacemakerd: Could not initialize
Cluster Configuration Database API
of memory it is taken care of the the third mmap which maps
the address back to the top of the file for you. This means you
don't have to worry about ringbuffer wrapping which can be a headache.
-Angus
2011/5/31 Angus Salkeld asalk...@redhat.com
On Tue, May 31, 2011 at 06:25:56PM -0300
On Thu, May 19, 2011 at 07:54:20PM -0700, Steven Dake wrote:
Allow a make coverity target for those developers with coverity tools
available to them.
Gasp, no configure check for coverity?
-Angus
Signed-off-by: Steven Dake sd...@redhat.com
---
Makefile.am |5 +
1 files changed,
Hi
Just one comments inline.
-Angus
On Wed, May 11, 2011 at 05:35:44PM +0200, Jan Friesse wrote:
Information about processes using cpg are now stored in objdb.
Each process info is object stored in cpg object, with nodeid,
pid and group name keys.
---
services/cpg.c | 124
Looks good.
Reviewed-by: Angus Salkeld asalk...@redhat.com
On Wed, May 04, 2011 at 05:27:11PM +0200, Jan Friesse wrote:
memb_state_gather_enter increase stats.continuous_gather only if
previous state was gather also. This should happen only if multicast is
not working properly (local firewall
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
cts/corotests.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cts/corotests.py b/cts/corotests.py
index ede2a5d..8175042 100644
--- a/cts/corotests.py
+++ b/cts/corotests.py
@@ -907,7 +907,7 @@ class
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
autobuild.sh | 37 +++--
1 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/autobuild.sh b/autobuild.sh
index 17e1a37..01ecf9c 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -1,6 +1,6 @@
#!/bin
Else payload won't be sent
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
cts/agents/cpg_test_agent.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cts/agents/cpg_test_agent.c b/cts/agents/cpg_test_agent.c
index e668737..86191cb 100644
--- a/cts/agents
) largest (previous #nodes - #nodes know to have left)
2) (then as a tie-breaker) node with smallest nodeid
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
services/cpg.c | 23 ++-
1 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/services/cpg.c b/services
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
cts/corosync.py |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/cts/corosync.py b/cts/corosync.py
index 0fce75e..bcaa796 100644
--- a/cts/corosync.py
+++ b/cts/corosync.py
@@ -180,7 +180,8 @@ class corosync_flatiron
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
cts/agents/cpg_test_agent.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cts/agents/cpg_test_agent.c b/cts/agents/cpg_test_agent.c
index a0af9c1..e668737 100644
--- a/cts/agents/cpg_test_agent.c
+++ b/cts/agents
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
cts/corosync.py | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/cts/corosync.py b/cts/corosync.py
index 70dff3c..0fce75e 100644
--- a/cts/corosync.py
+++ b/cts/corosync.py
@@ -425,8 +425,10 @@ class TestAgent
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
cts/corolab.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cts/corolab.py b/cts/corolab.py
index 340c751..3541f47 100755
--- a/cts/corolab.py
+++ b/cts/corolab.py
@@ -133,7 +133,7 @@ class CoroLabEnvironment(CtsLab
Reviewed-by: Angus Salkeld asalk...@redaht.com
On Mon, Jan 03, 2011 at 04:40:55PM -0700, Steven Dake wrote:
Align all ipc messages on 8 byte boundaries. This alignment will remove bus
errors on systems that can't access non-byte aligned data and should improve
performance.
Signed-off
Missed this:
Reviewed-by: Angus Salkeld asalk...@redhat.com
On Mon, Jan 03, 2011 at 04:40:54PM -0700, Steven Dake wrote:
Signed-off-by: Steven Dake sd...@redhat.com
---
exec/totemip.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/exec/totemip.c b/exec
This is to prevent nasty deadlocks between IPC and objdb.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/coroipcs.c | 55 ---
1 files changed, 36 insertions(+), 19 deletions(-)
diff --git a/exec/coroipcs.c b/exec/coroipcs.c
index
On Thu, Mar 17, 2011 at 05:56:46PM +0100, Jan Friesse wrote:
open_ais_service_connect creates SYS V semaphores and shms.
If system limit for semaphores/shms is exceeded code looped
in endless cycle.
Reviewed-by: Angus Salkeld asalk...@redhat.com
Now ENOSPC is correctly handled
I noticed this while testing the high FD usage patch.
It can get stuck in the while loop.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
lib/util.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/util.c b/lib/util.c
index f285eb5..76b3891 100644
--- a/lib
If we get EMFILE from accept() then withdraw the published
server listening socket. Then when a connection closes
see if we need to re-publish the server sockect.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/ipc.c | 161 +--
1
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
tools/corosync-notifyd.c | 14 +++---
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/tools/corosync-notifyd.c b/tools/corosync-notifyd.c
index 7af573c..4a58189 100644
--- a/tools/corosync-notifyd.c
+++ b/tools
of the dbus/snmp events
what is going on.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/coroipcs.c | 106 +++
1 files changed, 99 insertions(+), 7 deletions(-)
diff --git a/exec/coroipcs.c b/exec/coroipcs.c
index b64c5a9..bfb638b 100644
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
tools/corosync-notifyd.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/tools/corosync-notifyd.c b/tools/corosync-notifyd.c
index 4a58189..7f231fa 100644
--- a/tools/corosync-notifyd.c
+++ b/tools/corosync
of the dbus/snmp events
what is going on.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/coroipcs.c | 26 +++---
exec/util.c | 47 +++
exec/util.h |6 ++
3 files changed, 72 insertions(+), 7 deletions(-)
diff
()
before the object gets destroyed.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/coroipcs.c |2 +-
services/confdb.c |3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/exec/coroipcs.c b/exec/coroipcs.c
index 29655ba..dbafb18 100644
--- a/exec
On Mon, Mar 21, 2011 at 06:46:03PM +0530, Ramesh Random wrote:
Hi,
i am using coroipcc_dispatch_get() to read the asynchronous buffer
response. i am not able to differentiate between return values for it
CS_ERR_TRY_AGAIN and CS_OK. i tried to look into source code of
This is avoid getting stuck in the dispatch processing
messages when the user is trying to shutdown the service.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
tools/corosync-notifyd.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/corosync-notifyd.c b
On Tue, Mar 15, 2011 at 08:30:10AM +0100, Fabio M. Di Nitto wrote:
Patch 1 and 2 ACK. I´ll leave 3 to Steven, but it looks good.
applied + pushed.
-Angus
Fabio
___
Openais mailing list
Openais@lists.linux-foundation.org
1) both IPv4 and IPv6 mcast should default to ttl=1
2) the range should be 0..255
0 is valid meaning localhost only (cluster of one)
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/totemconfig.c | 10 +++---
man/corosync.conf.5 |2 +-
2 files changed, 4 insertions(+), 8
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/totemconfig.c |5 +
exec/totemudpu.c| 21 -
man/corosync.conf.5 |1 +
3 files changed, 6 insertions(+), 21 deletions(-)
diff --git a/exec/totemconfig.c b/exec/totemconfig.c
index 7039ba0..0b9732b
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/logsys.c |5 +
exec/main.c|3 ---
exec/syncv2.c |9 +++--
exec/totemconfig.c |2 +-
exec/totempg.c |3 +--
exec/totemsrp.c| 15 ---
exec/totemudp.c
g, ya I forgot that bit.
Applied.
-Angus
On Sat, Mar 12, 2011 at 06:37:53AM -0600, Russell Bryant wrote:
Signed-off-by: Russell Bryant russ...@russellbryant.net
---
.gitignore |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index
On Mon, Mar 14, 2011 at 08:57:06PM -0500, Russell Bryant wrote:
On Mon, Mar 14, 2011 at 6:44 PM, Angus Salkeld asalk...@redhat.com wrote:
- res = totempg_groups_mcast_joined (sync_group_handle,
+ (void)totempg_groups_mcast_joined (sync_group_handle,
iovec, 1
content.
Reviewed-by: Angus Salkeld asalk...@redhat.com
Nice work, applied.
Signed-off-by: Russell Bryant russ...@russellbryant.net
---
exec/main.h | 10 ++-
exec/mainconfig.h|4 +-
exec/service.h | 13 ++-
exec/tlist.h
On Tue, Mar 08, 2011 at 05:00:34PM -0600, Russell Bryant wrote:
On Tue, Mar 8, 2011 at 2:06 PM, Steven Dake sd...@redhat.com wrote:
A developer internals guidebook would be immensely helpful - as long
as it can be segregated from the external consumable APIs in the
documentation.
I
old_ring_state_saved;
exec/totemsrp.c:instance-old_ring_state_saved = 1;
exec/totemsrp.c:instance-old_ring_state_saved = 0;
Reviewed-by: Angus Salkeld asalk...@redhat.com
Signed-off-by: Steven Dake sd...@redhat.com
---
exec/totemsrp.c | 59
Hi Russell
Some gneral comments:
1)
I don't think you need all those \brief keywords. I think they look
quite ugly in the code. Below works fine for me and is cleaner.
/**
* this is always a brief
*
* leave a line and this is the vebose description.
*/
2)
I think there little point
fresh ring id file data when the
incorrect number of bytes are read from the ring id.
Amend to use sizeof the strerror string length and PATH_MAX for the path
length.
Signed-off-by: Steven Dake sd...@redhat.com
Reviewed-by: Angus Salkeld asalk...@redhat.com
I hope the change from:
read (fd
know ...
I want automate the creation of the authkeys file.
That might be problematic, corosync-keygen requires you to type
on the keyboard - try it by it's self.
Thanks
Camille
2011/2/20 Angus Salkeld asalk...@redhat.com
On Thu, Feb 17, 2011 at 02:14:07PM +0100, Camille Néron wrote
On Sun, Feb 20, 2011 at 07:48:59PM -0600, Russell Bryant wrote:
Add -l option to corosync-keygen.
You should also update the man page:
man/corosync-keygen.8
-Angus
This option (-l or --less-secure) causes corosync-keygen to read from
/dev/urandom instead of /dev/random to ensure that no
On Thu, Feb 17, 2011 at 02:14:07PM +0100, Camille Néron wrote:
Hello,
I'm French user, so sorry for my English :-).
I need to automate the installation and configuration of Pacemaker and I
encounter a problem when I want script corosync-generate. This command
need I tape on my keyboard.
On Sun, Feb 20, 2011 at 12:45:32AM +0100, Alessio Gennari wrote:
Hello to everyone,
I'm tryingo to compile Corosync 1.3.0 in a Ubuntu Server 10.10 64bit system:
after autogen.sh when I run configure, I receive a syntax error at row with
PKG_CHECK_MODULE(nss,nss).
I have heard of this before -
On Sun, Feb 20, 2011 at 12:52:32AM +0100, Thomas Elsäßer wrote:
hi all,
I suggest you try the pacemaker mailing list :pacema...@oss.clusterlabs.org.
-Angus
i have a problem wtih my cluster. I have a resource with drbd master master
here my config: the homeFS is not running (with ocfs2)
This deletes files like .version that cause problems.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
autobuild.sh |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/autobuild.sh b/autobuild.sh
index df429ef..17e1a37 100755
--- a/autobuild.sh
+++ b/autobuild.sh
as a manual ssh works fine.
Basically I think it's more important the we get reliable
testing than have these test in there.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
cts/corotests.py |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cts/corotests.py b/cts
Salkeld wrote:
Ryan noticed this inconsistency, all other status's
are string so this should be too.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
conf/COROSYNC-MIB.txt|6 +-
tools/corosync-notifyd.c | 11 +--
2 files changed, 2 insertions(+), 15 deletions
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
corosync.spec.in |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/corosync.spec.in b/corosync.spec.in
index 1eb07f0..ba54123 100644
--- a/corosync.spec.in
+++ b/corosync.spec.in
@@ -2,8 +2,6 @@
%global numcomm
Ryan noticed this inconsistency, all other status's
are string so this should be too.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
conf/COROSYNC-MIB.txt|6 +-
tools/corosync-notifyd.c | 11 +--
2 files changed, 2 insertions(+), 15 deletions(-)
diff --git a/conf
On Tue, Feb 01, 2011 at 07:14:22AM -0600, Russell Bryant wrote:
+int
+main(int argc, char *argv[])
+{
+ int ch;
+
+ conf[CS_NTF_FG] = 0;
+ conf[CS_NTF_LOG] = 0;
+ conf[CS_NTF_STDOUT] = 0;
+ conf[CS_NTF_SNMP] = 0;
+ conf[CS_NTF_DBUS] = 0;
+
On Tue, Feb 01, 2011 at 08:51:43AM -0700, Steven Dake wrote:
Can you amend your first patch with this change?
Well, it's Lon's patch. If he doesn't mind sure.
-Angus
Regards
-steve
On 01/31/2011 08:16 PM, Angus Salkeld wrote:
From: Lon Hohberger l...@redhat.com
Signed-off-by: Lon
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
conf/COROSYNC-MIB.txt | 20 +---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/conf/COROSYNC-MIB.txt b/conf/COROSYNC-MIB.txt
index c8a257a..b62ffa3 100644
--- a/conf/COROSYNC-MIB.txt
+++ b/conf/COROSYNC
This is a first cut of the snmp series. Thanks to Lon for his mib
work!
Reviewers please look at:
1) the init script (order requires).
2) There is a man page. Some of the TODO section could be put into
it. Can you check the arguments -f -d -s -l -o -m to make sure they
don't clash with
From: Lon Hohberger l...@redhat.com
Signed-off-by: Lon Hohberger l...@redhat.com
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
tools/corosync-notifyd.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/tools/corosync-notifyd.c b/tools/corosync-notifyd.c
From: Lon Hohberger l...@redhat.com
Signed-off-by: Lon Hohberger l...@redhat.com
Reviewed-by: Angus Salkeld asalk...@redhat.com
---
tools/corosync-notifyd.c | 77 ++
1 files changed, 64 insertions(+), 13 deletions(-)
diff --git a/tools/corosync
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
corosync.spec.in |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/corosync.spec.in b/corosync.spec.in
index aec13c6..79d4c28 100644
--- a/corosync.spec.in
+++ b/corosync.spec.in
@@ -112,7 +112,6 @@ fi
%files
%defattr
From: Lon Hohberger l...@redhat.com
Signed-off-by: Lon Hohberger l...@redhat.com
Reviewed-by: Angus Salkeld asalk...@redhat.com
---
conf/COROSYNC-MIB.txt | 237 +
1 files changed, 119 insertions(+), 118 deletions(-)
diff --git a/conf/COROSYNC
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 asalk
status (just to keep it
simple).
Feel free to contribute, just note I am going on holiday
for 2 weeks and Steven will continue this work.
Read the TODO section to see how to run/test and what needs doing.
Regards
Angus Salkeld
Example dbus signals output from dbus-monitor --system
signal sender
Hi
These are needed for topic-snmp but could be put straight into master.
-Angus
___
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
services/confdb.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/services/confdb.c b/services/confdb.c
index b9de935..78770ed 100644
--- a/services/confdb.c
+++ b/services/confdb.c
@@ -565,7 +565,7 @@ static void
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/coroipcs.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/exec/coroipcs.c b/exec/coroipcs.c
index 703802a..1897231 100644
--- a/exec/coroipcs.c
+++ b/exec/coroipcs.c
@@ -1545,8 +1545,8 @@ static char
and once reaching the const value, marks it as missing in the retransmit list.
This improves performance and doesn't display warning messages about missed
multicast messages when operating in these switching environments.
Reviewed-by: Angus Salkeld asalk...@redhat.com
-Angus
Signed-off
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
tools/corosync-objctl.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/corosync-objctl.c b/tools/corosync-objctl.c
index 131bc2b..2332b79 100644
--- a/tools/corosync-objctl.c
+++ b/tools/corosync-objctl.c
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
.gitignore |2 ++
test/.gitignore |4
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index d853a2a..ec5b871 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,8 +3,10 @@
*.lcrso
*.so
CTS tests rpm building.
This just uses the branch name instead of a tag (if no tag).
Also move shell scripting into build-aux/git-spec-version
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
Makefile.am| 39 +-
build-aux/git-spec-version | 66
Make them all protected by #ifndef timersub
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
services/pload.c | 21 ++---
test/cpgbench.c| 20 ++--
test/cpgbenchzc.c | 18 +-
tools/corosync-pload.c | 18
.
Original-Author: Christine Caulfield ccaul...@redhat.com
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/totemnet.c | 14 +++
exec/totemsrp.c | 69 ++-
2 files changed, 82 insertions(+), 1 deletions(-)
diff --git a/exec/totemnet.c
Also use hdb_error_to_cs() as expected.
(won't change behavior but will better match the
other uses of it).
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/coroipcs.c |6 +++---
exec/util.h |2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/exec
This prevents a shared mem leak if corosync dies while clients
are connected.
Calling cpg_finalize() did not release the shared mem as
coroipcc_msg_send_reply_receive() returned an error and
thus coroipcc_service_disconnect() did not get called.
Signed-off-by: Angus Salkeld asalk...@redhat.com
On Wed, Dec 22, 2010 at 08:52:30AM +, Dietmar Maurer wrote:
Corosync v1.3.0 (single node)
Debian Squeeze AMD64 with latest 2.6.32 kernel
When I run corosync-pload it prints:
# corosync-pload
Init result 1
The process never stops (but I can stop it with cntrl-c), but it seems to
On Wed, Dec 22, 2010 at 01:43:48PM +0100, Haussecker, Armin wrote:
In our 2-node-cluster with pacemaker 1.1.2 and corosync 1.2.1 we have defined
a resource 'auvm1' with 'on-fail=restart' for op's start and monitor and we
have set 'on-fail=restart' in op_defaults.
The resource 'auvm1' was
If any sys call in memory_map() fails the failure currently gets ignored.
Now we pass a CS_ERR_LIBRARY back to the client app.
Signed-off-by: Angus Salkeld asalk...@redhat.com
---
exec/coroipcs.c | 22 +-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/exec
These iron out some bugs and generally improve the topic branch.
I'll look into whether or not the CPG patches are applicable to the master
branch.
Regards
Angus
___
Openais mailing list
Openais@lists.linux-foundation.org
1 - 100 of 517 matches
Mail list logo