Re: [Openais] Failover constraint problem

2010-04-19 Thread Andrew Beekhof
On Sat, Apr 17, 2010 at 12:21 AM, Sandor Feher sfe...@bluesystem.hu wrote: Hi, First of all my goal is to set up a two-node cluster with pacemaker to serve our webhosting service. This config sites on two vmware virtual machines for testing purposes now. Both of them runs Debian Lenny.

Re: [Openais] Missing shutdown messages with corosync 1.2.1 and pacemaker

2010-04-19 Thread Andrew Beekhof
On Mon, Apr 12, 2010 at 3:19 PM, Andreas Mock andreas.m...@web.de wrote: -Ursprüngliche Nachricht- Von: Andrew Beekhof and...@beekhof.net Gesendet: 12.04.2010 08:58:44 An: Andreas Mock andreas.m...@web.de Betreff: Re: [Openais] Missing shutdown messages with corosync 1.2.1 and

Re: [Openais] Failover constraint problem

2010-04-19 Thread Andrew Beekhof
2010/4/19 Sándor Fehér sfe...@bluesystem.hu: Hi, I changed the config as you suggested: --- colocation apache-group-on-ms-drbd0 inf: apache-group ms-drbd0:Master colocation co_nfs_client -inf: nfs_client ms-drbd0:Master order ms-drbd0-before-apache-group inf: ms-drbd0:promote

Re: [Openais] Failover constraint problem

2010-04-19 Thread Sándor Fehér
Andrew Beekhof írta: 2010/4/19 Sándor Fehér sfe...@bluesystem.hu: Hi, I changed the config as you suggested: --- colocation apache-group-on-ms-drbd0 inf: apache-group ms-drbd0:Master colocation co_nfs_client -inf: nfs_client ms-drbd0:Master order ms-drbd0-before-apache-group inf:

[Openais] Please remove me from this list.

2010-04-19 Thread Priyanka Ranjan
___ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais

Re: [Openais] Failover constraint problem

2010-04-19 Thread Sándor Fehér
Hi, I changed the config as you suggested: --- colocation apache-group-on-ms-drbd0 inf: apache-group ms-drbd0:Master *colocation co_nfs_client -inf: nfs_client ms-drbd0:Master* order ms-drbd0-before-apache-group inf: ms-drbd0:promote apache-group:start --- Now I get this: Online: [ node0 node1

Re: [Openais] Failover constraint problem

2010-04-19 Thread Sándor Fehér
Now I restarted again node0 and apache-group migrated to node1 (as expected) nsf_client did not start on node1 as expected. When node0 comes up again the apache-group migrated to node0 and nfs_client started on node1 (as expected). I keep continue testing and will feed back about the results.

[Openais] Quick Firewall Configuration Questions

2010-04-19 Thread Jake Bogie
Hello Everyone, Quick question...what ports/protocol does OpenAIS utilize for communications? I know they are configurable however what is the most common configuration settings people are using? Thanks! Jake ___ Openais mailing list

Re: [Openais] Quick Firewall Configuration Questions

2010-04-19 Thread Steven Dake
On Mon, 2010-04-19 at 10:51 -0400, Jake Bogie wrote: Hello Everyone, Quick question…what ports/protocol does OpenAIS utilize for communications? I know they are configurable however what is the most common configuration settings people are using? Thanks! The

Re: [Openais] single node config

2010-04-19 Thread Steven Dake
On Wed, 2010-04-14 at 16:58 -0700, Alan Jones wrote: Hi, I'd like to run Pacemaker in a single node configuration with a network. My thinking is to run with corosync using the loopback (localhost) subnet. Does this make sense? Is there a better way? This may work. Corosync is designed to

Re: [Openais] [PATCH corosync] Fix crash in YKD

2010-04-19 Thread Steven Dake
good for merge regards -steve On Wed, 2010-04-14 at 11:10 +0100, Christine Caulfield wrote: This patch fixes an assert in YKD where an ATTEMPT message is received while the state machine is in SENDSTATE. I have no idea if it's theoretically correct or not, but it works on my 16 node

Re: [Openais] It is possible to use the same multicast address on a network with the openais services configured for different UDP ports

2010-04-19 Thread Steven Dake
On Thu, 2010-04-15 at 18:36 +0530, manik gaur wrote: I am trying to configure openais as a different service uses different ports. It is written in the openais.conf man page. “It is possible to use the same multicast address on a network with the openais services configured for different UDP

Re: [Openais] corosync - Support for store user data in SAM

2010-04-19 Thread Steven Dake
good for merge On Thu, 2010-04-15 at 14:22 +0200, Jan Friesse wrote: Support for store user data in SAM Ability to in-memory storing of user data which survives between instances of process. Also ability needed ability for bi-directional communication between child and parent is added.

Re: [Openais] corosync trunk - proper linking of confdb

2010-04-19 Thread Steven Dake
good for merge On Thu, 2010-04-08 at 17:55 +0200, Jan Friesse wrote: Attached patch solves problem with linking of confdb (linked without -ldl). Regards, Honza plain text document attachment (2010-04-08-libconfdb-linking.patch) commit 4f18594441ffb58495832c40d828f8e31bacea87 Author: Jan

Re: [Openais] [corosync] cpg_model_initialize - Man page

2010-04-19 Thread Steven Dake
good for merge although i think this was inyour final cpg_model_initialize patch regards -steve On Wed, 2010-04-07 at 15:02 +0200, Jan Friesse wrote: SUBJ Regards, Honza plain text document attachment (2010-04-07-cpg_model_initialize-manpage.patch) commit

Re: [Openais] It is possible to use the same multicast address on a network with the openais services configured for different UDP ports

2010-04-19 Thread Vadym Chepkov
What about redundant ring configuration ? Can you use the same multicast ip in different rings? Sincerely yours, Vadym Chepkov --- On Mon, 4/19/10, Steven Dake sd...@redhat.com wrote: From: Steven Dake sd...@redhat.com Subject: Re: [Openais] It is possible to use the same multicast

Re: [Openais] corosync - CPG model_init + callback with totem ringid and members

2010-04-19 Thread David Teigland
On Thu, Apr 08, 2010 at 04:57:22PM +0200, Jan Friesse wrote: commit 0d509f4bf23f618c940c3bcdd7cf0e97faf64876 Author: Jan Friesse jfrie...@redhat.com Date: Thu Apr 8 16:48:45 2010 +0200 CPG model_initialize and ringid + members callback Patch adds new function to initialize

[Openais] [PATCH 2/2] Add autobuild.sh script.

2010-04-19 Thread Angus Salkeld
This add a script for buildbot to call. It uses mock to generate the rpms and scp's them onto the test nodes, then runs cts. Signed-off-by: Angus Salkeld asalk...@redhat.com --- autobuild.sh | 97 ++ 1 files changed, 97 insertions(+), 0

[Openais] [PATCH 1/2] CTS: increase the token timeout on some tests

2010-04-19 Thread Angus Salkeld
This increases the token timeout on some tests to test that config events still happen. -Angus Signed-off-by: Angus Salkeld asalk...@redhat.com --- cts/corotests.py | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cts/corotests.py b/cts/corotests.py index

[Openais] [PATCH 2/2] CTS: add CpgCfgChgOnNodeRestart

2010-04-19 Thread Angus Salkeld
Add a new test that will 1 isolate a node 2 kill corosync 3 restart it 4 confirm the cpg left config event happens -Angus Signed-off-by: Angus Salkeld asalk...@redhat.com --- cts/corotests.py | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git

Re: [Openais] [PATCH 2/2] CTS: add CpgCfgChgOnNodeRestart

2010-04-19 Thread Steven Dake
good for merge regards -steve On Tue, 2010-04-20 at 13:10 +1000, Angus Salkeld wrote: Add a new test that will 1 isolate a node 2 kill corosync 3 restart it 4 confirm the cpg left config event happens -Angus Signed-off-by: Angus Salkeld asalk...@redhat.com --- cts/corotests.py |

Re: [Openais] [PATCH 1/2] CTS: increase the token timeout on some tests

2010-04-19 Thread Steven Dake
good for merge regards -steve On Tue, 2010-04-20 at 13:09 +1000, Angus Salkeld wrote: This increases the token timeout on some tests to test that config events still happen. -Angus Signed-off-by: Angus Salkeld asalk...@redhat.com --- cts/corotests.py | 12 ++-- 1 files