[Pacemaker] Corosync or Hearbeat or both ?

2011-03-22 Thread José Pablo Méndez Soto
Hi, I am recently starting to poke around with Pacemaker. Can someone please explain what is the difference between Corosync and Heartbeat, when would you use one or when the other? And why would you have corosync installed accoring to this howto, if Heartbeat is to be the preferred method? (the re

[Pacemaker] "Sending flush op to all hosts for" for stale entries

2011-03-22 Thread AP
Hi, I have a whole bunch of attrd_trigger_update's for things that no longer exist as shown below. How do I get rid of them? Most of the resources they pertain to no longer exist and it's beginning to get a mite spammy here. I've tried cleanups but that doesn't work as the resource no longer exis

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

2011-03-22 Thread tariq fillah
Hello, After adding the ping resource I have the following messages: [root@BACKEND2 user]# crm configure primitive ping ocf:pacemaker:ping op monitor timeout="20" interval="10" params host_list="10.76.44.1" multiplier=1000 expr: division by zero expr: syntax error /usr/lib/ocf/resource.d/pacemake

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

2011-03-22 Thread Pavel Levshin
22.03.2011 23:18, tariq fillah: I didn't disconnect the node from the cluster, I just disconnected the node from the network (which is ensured by a bond), but the cluster layer is still there. Which log file exactly with you like me to show you Most probaly it is /var/log/messages from the i

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

2011-03-22 Thread tariq fillah
I didn't disconnect the node from the cluster, I just disconnected the node from the network (which is ensured by a bond), but the cluster layer is still there. Which log file exactly with you like me to show you Thank you very much for your replys 2011/3/22 Pavel Levshin > > 22.03.2011 21:53,

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

2011-03-22 Thread Pavel Levshin
22.03.2011 21:53, tariq fillah: Hello Pavel, Thank you for your help. I tried what you told me, but it doesn't seem to work, when I take off both networks layers (for the bond), the resource doesn't migrate. Did you disconnect the node from the cluster, taking all network down? If so, it

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

2011-03-22 Thread tariq fillah
Hello Pavel, Thank you for your help. I tried what you told me, but it doesn't seem to work, when I take off both networks layers (for the bond), the resource doesn't migrate. 2011/3/18 Pavel Levshin > 18.03.2011 2:52, tariq fillah: > > I meen this: > > crm configure primitive ping ocf:pace

Re: [Pacemaker] Apparent delay in starting resource during migration

2011-03-22 Thread Pavel Levshin
22.03.2011 17:35, Phil Armstrong: I have 4 primitive resources that I was in the process of migrating from one node (lotus) to the other (aston). I was using the 'crm resource migrate' command (4 times). Normally this process works just fine, but in this instance, one of the resources (copan_sh

[Pacemaker] Apparent delay in starting resource during migration

2011-03-22 Thread Phil Armstrong
Hi, I have 4 primitive resources that I was in the process of migrating from one node (lotus) to the other (aston). I was using the 'crm resource migrate' command (4 times). Normally this process works just fine, but in this instance, one of the resources (copan_shelf_07) got 'stuck', in that

[Pacemaker] Is there any way to reduce the time for migration of the resource from one node to another node in a cluster on failover.

2011-03-22 Thread rakesh k
Hi All I am providing you the configuration I used for testing the resource migration. - Node-1 resource failed . - Message sent to node-2 - the log message i found in ha-debug file (pengine: [15991]: notice: common_apply_stickiness: Tomcat1 can fail 99 more times on mysql3 before

Re: [Pacemaker] Stonith setup hostname params

2011-03-22 Thread Pavel Levshin
22.03.2011 4:56, c...@itri.org.tw: > > I try to setup a simple STONITH-enabled 2-node Cluster, but failed. > > I read the document, > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf, and execute > the following CLI command > > crm configure primitive rsa-fencing stonith:external/ibmrsa para

Re: [Pacemaker] Strange way to shutdown oracle

2011-03-22 Thread Florian Haas
On 2011-03-22 00:58, tariq fillah wrote: > Hello, > > I am using OCF:heartbeat:oracle to manage an oracle database, but I > noticed that the cluster always uses "shutdown abort" instead of using > "shutdown immediate". Is this normal, is there a way to avoid this. "man ocf_heartbeat_oracle" or "c