Re: [Pacemaker] Very strange behavior on asymmetric cluster

2011-03-18 Thread Lars Marowsky-Bree
On 2011-03-17T23:14:45, Pavel Levshin pa...@levshin.spb.ru wrote: To be precise, the cluster will behave fine if the RA is missing, and cluster tries to monitor, and all infrastructure works fine (so return code not installed is not lost somewhere as it have been in my case two weeks ago).

[Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional role parameter

2011-03-18 Thread Holger Teutsch
Hi, I would like to submit 2 patches of an initial implementation for discussion. Patch 1 implements migration of the Master role of an m/s resource to another node in crm_resource Patch 2 adds support for the shell. crm_resource does this with options crm_resource --move --resource ms_test

Re: [Pacemaker] unable to migrate resource between nodes in cluster

2011-03-18 Thread Dejan Muhamedagic
Hi, On Thu, Mar 17, 2011 at 11:29:12AM +0530, rakesh k wrote: Hi All I am unable to migrate apache resource between the nodes 1) To monitor apache resource i had used status url and reg-ex pattern is * */html* which find the exact pattern in statusurl, for monitoring and fail-over

Re: [Pacemaker] Filesystem resource agent patch

2011-03-18 Thread Raoul Bhatia [IPAX]
On 03/18/2011 11:35 AM, Marko Potocnik wrote: If you use symbolic links in Filesystem resource agent directory parameter, then monitoring operation fails, because actual mount point in /proc/mounts (or the output of mount command) is diferent as the configured one. Here is the patch that

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional role parameter

2011-03-18 Thread Dejan Muhamedagic
Hi, On Fri, Mar 18, 2011 at 12:21:40PM +0100, Holger Teutsch wrote: Hi, I would like to submit 2 patches of an initial implementation for discussion. Patch 1 implements migration of the Master role of an m/s resource to another node in crm_resource Patch 2 adds support for the shell.

Re: [Pacemaker] Filesystem resource agent patch

2011-03-18 Thread Dejan Muhamedagic
Hi, On Fri, Mar 18, 2011 at 11:35:01AM +0100, Marko Potocnik wrote: If you use symbolic links in Filesystem resource agent directory parameter, then monitoring operation fails, because actual mount point in /proc/mounts (or the output of mount command) is diferent as the configured one. Why

Re: [Pacemaker] Very strange behavior on asymmetric cluster

2011-03-18 Thread Pavel Levshin
18.03.2011 12:44, Lars Marowsky-Bree пишет: messages can't be lost internally. A network dropping a packet doesn't result in lost state, because the protocols will resent it (of course). Imagine a network where connectivity restores for a couple of seconds then breaks again. A node becomes

Re: [Pacemaker] Switching a Resource based on connectivity (ping)

2011-03-18 Thread Pavel Levshin
18.03.2011 2:52, tariq fillah: I meen this: crm configure primitive ping ocf:pacemaker:ping \ op monitor depth=0 timeout=20s interval=10 ** clone pingdClone ping \ meta globally-unique=false target-role=Started *** crm configure location pingjb ClusterIP \ rule

Re: [Pacemaker] Very strange behavior on asymmetric cluster

2011-03-18 Thread Pavel Levshin
18.03.2011 17:07, Pavel Levshin: Imagine a network where connectivity restores for a couple of seconds then breaks again. A node becomes online, monitoring actions are directed, then connectivity fails. This node will be unclean offline, then. And fencing may fail in this scenario, too,

[Pacemaker] CRM_MASTER unable to set/get value for Master/Slave resource.

2011-03-18 Thread Mike Toler
I have a process (BP) that I need to have running on two servers, in a Master/Slave configuration. host_ip_1 is preferable to host_ip_2, so if it is available, the process should always run on that server. In my OCF file, I have the following sequence that occurs during startup: function

Re: [Pacemaker] Failback problem with active/active cluster

2011-03-18 Thread Robert Schumann
Charles KOPROWSKI cko@... writes: Le 14/03/2011 09:43, Andrew Beekhof a écrit : On Sat, Mar 12, 2011 at 9:53 AM, Pavel Levshinpavel@... wrote: 11.03.2011 16:27, Andrew Beekhof: On Fri, Mar 11, 2011 at 2:19 PM, Charles KOPROWSKIcko@... wrote: Is there any possibility to move

Re: [Pacemaker] [RFC PATCH] Try to fix startup-fencing not happening

2011-03-18 Thread Simone Gotti
On 03/17/2011 11:54 PM, Simone Gotti wrote: Hi, When using corosync + pcmk v1 starting both corosync and pacemakerd (and I think also using heartbeat or anything other than cman) as quorum provider, at startup in the CIB will not be a node_state/ entry for the nodes that are not in cluster.