[Pacemaker] don't want to restart clone resource

2011-12-01 Thread Sha Fanghao
Hi, I have a cluster 3 nodes (CentOS 5.2) using pacemaker-1.0.11(also 1.0.12), with heartbeat-3.0.3. You can see the configuration: #crm configure show: node $id="85e0ca02-7aa4-45c8-9911-4035e1e6ee15" node-2 node $id="a046bd1e-6267-49e5-902d-c87b6ed1dcb9" node-0 node $id="d0f0b2ab-f243-

[Pacemaker] Excessive migrate_from is run after migrate_to failed

2011-12-01 Thread Vladislav Bogdanov
Hi Andrew, all, I found that pacemaker runs migrate_from on a migration destination node even if preceding migrate_to command failed (github master). Is it intentional? hb_report? Best, Vladislav ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.

Re: [Pacemaker] 2 node cluster questions

2011-12-01 Thread Hellemans Dirk D
Hello Nick, Florian, Also thanks to both of you for providing insights! Some extra thoughts/comments below... >> >> For 2-node clusters there is no need to at all, really, as the STONITH >> infrastructure in the Pacemaker stack is well suited for fencing >> purposes, both at the storage and at

[Pacemaker] Debian + Pacemaker 1.0.9 + DRBD 8.3.7 with dual primary

2011-12-01 Thread Lutz Reinhardt
hi use a simple config: node node1 node node2 \ attributes standby="off" primitive res_drbd_cluster_ocfs ocf:linbit:drbd \ params drbd_resource="cluster-ocfs" \ op monitor interval="20" role="Master" timeout="20" \ op monitor interval="30" role="Slave" timeout="20"

Re: [Pacemaker] [Partially SOLVED] pacemaker/dlm problems

2011-12-01 Thread Vladislav Bogdanov
Hi Andrew, I investigated on my test cluster what actually happens with dlm and fencing. I added more debug messages to dlm dump, and also did a re-kick of nodes after some time. Results are that stonith history actually doesn't contain any information until pacemaker decides to fence node itsel

[Pacemaker] What versions should we be using and where to get packages?

2011-12-01 Thread Max Williams
Hi All, Are the very latest versions of pacemaker and corosync the most stable? I can find versions pacemaker-1.1.6-4 for corosync-1.4.2-1 for FC16 but packages for EL6 are hard to find. The clusterlabs website doesn't even have any EL6 packages. Is everyone else using older version or building th

Re: [Pacemaker] What versions should we be using and where to get packages?

2011-12-01 Thread Patrick H.
Sent: Thu Dec 01 2011 10:17:06 GMT-0700 (MST) From: Max Williams To: The Pacemaker cluster resource manager (pacemaker@oss.clusterlabs.org) Subject: [Pacemaker] What versions should we be using and where to get packages? Hi All, Are the very latest versions of pacemaker and corosync the mos

[Pacemaker] managing config files as resources

2011-12-01 Thread Larry Brigman
Is there a method to manage individual files as resources? Which RA would be used and any pointer as to how to configure it would be great. Specifically we need to sync some files between nodes that have configuration data for our applications like which IP addresses are assigned to each node and

[Pacemaker] Fedora 16 Cluster

2011-12-01 Thread Charles DeVoe
I've spent the last month or so building linux clusters.  2 of them in a VM environment on fedora 15.  I went through the Clusters from Scratch Tutorial; which sort of worked.  At this time I am looking for a sanity check. My requirements are  to have  a 4 node load balanced cluster with shard a

Re: [Pacemaker] Fedora 16 Cluster

2011-12-01 Thread Patrick H.
Sent: Thu Dec 01 2011 11:34:39 GMT-0700 (MST) From: Charles DeVoe To: pacemaker@oss.clusterlabs.org Subject: [Pacemaker] Fedora 16 Cluster I've spent the last month or so building linux clusters. 2 of them in a VM environment on fedora 15. I went through the Clusters from Scratch Tutorial; wh

Re: [Pacemaker] managing config files as resources

2011-12-01 Thread Florian Haas
Hi Larry, On Thu, Dec 1, 2011 at 6:59 PM, Larry Brigman wrote: > Is there a method to manage individual files as resources? > Which RA would be used and any pointer as to how to configure it would be > great. > > Specifically we need to sync some files between nodes that have > configuration data

Re: [Pacemaker] Fedora 16 Cluster

2011-12-01 Thread Patrick H.
Yes, the original documentation you came across that talks about CMAN :-) http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/ch08s02.html Though you dont need the gfs stuff if youre not going to be using gfs Sent: Thu Dec 01 2011 14:00:44 GMT-0700 (MST) From: Charles

Re: [Pacemaker] managing config files as resources

2011-12-01 Thread Larry Brigman
On Thu, Dec 1, 2011 at 10:59 AM, Florian Haas wrote: > Hi Larry, > > On Thu, Dec 1, 2011 at 6:59 PM, Larry Brigman > wrote: > > Is there a method to manage individual files as resources? > > Which RA would be used and any pointer as to how to configure it would be > > great. > > > > Specifically

Re: [Pacemaker] managing config files as resources

2011-12-01 Thread Florian Haas
On Thu, Dec 1, 2011 at 10:35 PM, Larry Brigman wrote: > Yes, the files can be changed dynamically - mostly by a user doing a > configuration change. Is "a user" someone with shell access to the box, or a visitor on your web site (or whatever the service is)? Florian -- Need help with Pacemaker

Re: [Pacemaker] managing config files as resources

2011-12-01 Thread Larry Brigman
On Thu, Dec 1, 2011 at 1:42 PM, Florian Haas wrote: > On Thu, Dec 1, 2011 at 10:35 PM, Larry Brigman > wrote: > > Yes, the files can be changed dynamically - mostly by a user doing a > > configuration change. > > Is "a user" someone with shell access to the box, or a visitor on your > web site (

Re: [Pacemaker] Fedora 16 Cluster

2011-12-01 Thread Patrick H.
Yes. P.S. Dont remove the mailing list from the recipients. Bad etiquette :-) Sent: Thu Dec 01 2011 14:50:21 GMT-0700 (MST) From: Charles DeVoe To: Patrick H. Subject: Re: [Pacemaker] Fedora 16 Cluster That document says to remove the pacemaker plugin. Should I start pacemaker as a service

Re: [Pacemaker] managing config files as resources

2011-12-01 Thread Florian Haas
On Thu, Dec 1, 2011 at 10:45 PM, Larry Brigman wrote: > > > On Thu, Dec 1, 2011 at 1:42 PM, Florian Haas wrote: >> >> On Thu, Dec 1, 2011 at 10:35 PM, Larry Brigman >> wrote: >> > Yes, the files can be changed dynamically - mostly by a user doing a >> > configuration change. >> >> Is "a user" so

Re: [Pacemaker] Fedora 16 Cluster

2011-12-01 Thread Charles DeVoe
Apologies.   I am using yahoo mail and couldn't find the reply all button.  Found it. --- On Thu, 12/1/11, Patrick H. wrote: From: Patrick H. Subject: Re: [Pacemaker] Fedora 16 Cluster To: "Charles DeVoe" , pacemaker@oss.clusterlabs.org Date: Thursday, December 1, 2011, 4:55 PM

Re: [Pacemaker] Debian + Pacemaker 1.0.9 + DRBD 8.3.7 with dual primary

2011-12-01 Thread Andreas Kurz
Hello Lutz, On 12/01/2011 01:26 PM, Lutz Reinhardt wrote: > hi > > use a simple config: > > node node1 > node node2 \ > attributes standby="off" > primitive res_drbd_cluster_ocfs ocf:linbit:drbd \ > params drbd_resource="cluster-ocfs" \ > op monitor interval="20" role="Master"

Re: [Pacemaker] How to start resources in a Resource Group in parallel

2011-12-01 Thread Kashif Jawed Siddiqui
Hi All, I am using pacemaker 1.0.11 + corosync 1.4.2 for a 2 node cluster. The old cib.xml for Heartbeat based cluster had an option "ordered=true | false" for "group" tag which supported starting of resources in series or parallel. By default, resources in Resource Group sta