Re: [Pacemaker] Need an idea for dynamic configuration dependng on resource distribution

2010-04-29 Thread Florian Haas
On 04/29/2010 12:15 AM, Andreas Mock wrote: -Ursprüngliche Nachricht- Von: Andrew Beekhof and...@beekhof.net Gesendet: 27.04.2010 20:56:48 An: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Betreff: Re: [Pacemaker] Need an idea for dynamic configuration dependng

Re: [Pacemaker] Need an idea for dynamic configuration dependng on resource distribution

2010-04-29 Thread Andrew Beekhof
On Thu, Apr 29, 2010 at 12:15 AM, Andreas Mock andreas.m...@web.de wrote: -Ursprüngliche Nachricht- Von: Andrew Beekhof and...@beekhof.net Gesendet: 27.04.2010 20:56:48 An: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Betreff: Re: [Pacemaker] Need an idea for

Re: [Pacemaker] Which kernel version works reliably together with corosync and clvm?

2010-04-29 Thread Oliver Heinz
Am Mittwoch, 28. April 2010, um 20:25:53 schrieb Andreas Gabriel: Hi, we are currently testing a cluster environment on debian lenny with a self compiled native kernel (2.6.32.2 amd64) because clvm hangs on start on the second node if we are using debian's kernel. Kill -9 cannot stop clvm,

Re: [Pacemaker] Need an idea for dynamic configuration dependng on resource distribution

2010-04-29 Thread Andreas Mock
-Ursprüngliche Nachricht- Von: Florian Haas florian.h...@linbit.com Gesendet: 29.04.2010 09:06:44 An: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Betreff: Re: [Pacemaker] Need an idea for dynamic configuration dependng on resource distribution Hi Florian, Are

Re: [Pacemaker] Split Site 2-way clusters

2010-04-29 Thread Vincent
Hi all, I'm currently working out a similar concept as Miki. The only difference is that my cluster would NOT be in active/active. Here is a brief description of my scenario: 1. Three geographically distinct locations: A,B and X. There are no WAN connections. We have direct multiplexed

[Pacemaker] crm_resource --un-move option

2010-04-29 Thread Schaefer, Diane E
Hi, I would like to migrate my resources from one node to the other and automatically remove the cli-prefer-expr constraint so it can move back if needed. I have a parent resource with many children. When I issue the crm_resource -r parent-rsc -M command, I see the resources stop.

[Pacemaker] Stonith external/sbd problem

2010-04-29 Thread Nicola Sabatelli
I have a problem with STONITH plugin external/sbd. I have configured the system in according to directive that I find at url http://www.linux-ha.org/wiki/SBD_Fencing, and the device that I use is configured with multipath software because this disk is residend on a storage system. I have

Re: [Pacemaker] Stonith external/sbd problem

2010-04-29 Thread Michael Brown
I just set this up myself and it worked fine for me. Did you follow the guide? You need to configure the sbd daemon to run on bootup with appropriate options before external/sbd can use it. M. _ From: Nicola Sabatelli To: pacemaker@oss.clusterlabs.org Sent: Thu Apr 29 08:47:04 2010

Re: [Pacemaker] Stonith external/sbd problem

2010-04-29 Thread Michael Brown
Oh, I forgot a piece: I had simular trouble until I actually properly started sbd and then it worked. M. _ From: Michael Brown To: pacemaker@oss.clusterlabs.org Sent: Thu Apr 29 08:53:32 2010 Subject: Re: [Pacemaker] Stonith external/sbd problem I just set this up myself and it

Re: [Pacemaker] Stonith external/sbd problem

2010-04-29 Thread Vit Pelcak
cat /etc/sysconfig/sbd SBD_DEVICE=/dev/sda1 SBD_OPTS=-W sbd -d /dev/shared_disk create sbd -d /dev/shared_disk allocate your_machine Dne 29.4.2010 14:55, Michael Brown napsal(a): Oh, I forgot a piece: I had simular trouble until I actually properly started sbd and then it worked. M.

Re: [Pacemaker] R: Stonith external/sbd problem

2010-04-29 Thread Vit Pelcak
Dne 29.4.2010 15:46, Nicola Sabatelli napsal(a): I have done exactly the configuration in the SBD_Fencing documentation. That is: /etc/sysconfig/sbd SBD_DEVICE=/dev/mapper/mpath1p1 SBD_OPTS=-W And I start the demon in this manner: /usr/sbin/sbd -d /dev/mapper/mpath1p1 -D -W watch

Re: [Pacemaker] R: Stonith external/sbd problem

2010-04-29 Thread Vit Pelcak
Also, it is needed to add stonith to cib: crm configure primitive sbd_stonith stonith:external/sbd meta target-role=Started op monitor interval=15 timeout=15 start-delay=15 params sbd_device=/dev/sda1 Dne 29.4.2010 15:46, Nicola Sabatelli napsal(a): I have done exactly the configuration in

[Pacemaker] OpenAIS priorities

2010-04-29 Thread Dan Frincu
Greetings all, In the case of two servers in a cluster with OpenAIS, take the following example: location Failover_Alert_1 Failover_Alert 100: abc.localdomain location Failover_Alert_2 Failover_Alert 200: def.localdomain This will setup the preference of a resource to def.localdomain because

Re: [Pacemaker] OpenAIS priorities

2010-04-29 Thread Vadym Chepkov
http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/node-score-equal.html On Apr 29, 2010, at 10:20 AM, Dan Frincu wrote: Greetings all, In the case of two servers in a cluster with OpenAIS, take the following example: location Failover_Alert_1 Failover_Alert

[Pacemaker] Restart Stonith-resource

2010-04-29 Thread Ingmar
Hi, during testing, the failure scenarios I've found the following: If I e.g. the network of my stonith device will disconnect it noticed by pacemaker and the resource is stopped and set to faulty. Is there a setting that the resource will start again once the device is accessible again?

[Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS

2010-04-29 Thread Ruiyuan Jiang
Hi, all I am trying to compiling Pacemaker for Corosync and OpenAIS and got an error from make. Corosync and OpenAIS passed 'make' no problem but not Pacemaker. I downloaded Corosync, OpenAIS and PaceMaker today. I have compiled and setup Pacemaker with Heartbeat no problem about two months no