Re: [Pacemaker] migration-threshold causing unnecessary restart of underlying resources

2010-08-13 Thread Cnut Jansen
Hi, and first of all thanks for answering so far. Am 12.08.2010 18:46, schrieb Dejan Muhamedagic: The migration-threshold shouldn't in any way influence resources which don't depend on the resource which fails over. Couldn't reproduce it here with our example RAs. Well, I now - just to clear

Re: [Pacemaker] Pacemaker 1.0.8 and -INFINITY master score

2010-08-13 Thread Bob Schatz
Dejan, I tested this with 1.0.9.1. If a negative master score is set then it does not call promote. Thanks! However, I still see notifications messages as shown below but it does not appear that the actual notification entry point is called in the agent. If you agree, I will file a bug. A

[Pacemaker] crm and primitive meta id - 1.0.8 vs 1.0.9

2010-08-13 Thread Bob Schatz
On 1.0.6 and 1.0.8 I use to do this to create a primitive: crm configure primitive SS1 ocf:omneon:ss params ss_resource="SS1" \ ssconf="${CONFIG_FILE}" op monitor interval="3s" role="Master" \ timeout="7s" op monitor interval="10s" role="Slave" timeout="7" \ op stop tim

[Pacemaker] clmvd hangs on node1 if node2 is fenced

2010-08-13 Thread Rainer
Hi, i have a strange problem. I am using a cloned dlm-clvm as mentioned in the sles11 hae guide. But when one of my node is fenced by the other - the surving node fails on its volumes because vgscan runs till EOF of CLVMD Any Idea how to solve it? Kind regards, Rainer _

Re: [Pacemaker] Pacemaker 1.0.8 and -INFINITY master score

2010-08-13 Thread Bob Schatz
Dejan, Thanks for the quick response! Comments below with [BS] - Original Message From: Dejan Muhamedagic To: The Pacemaker cluster resource manager Sent: Fri, August 13, 2010 3:03:49 AM Subject: Re: [Pacemaker] Pacemaker 1.0.8 and -INFINITY master score Hi, On Thu, Aug 12, 2010 at

Re: [Pacemaker] Best way to specify colocation and ordering

2010-08-13 Thread Dejan Muhamedagic
Hi, On Fri, Aug 13, 2010 at 02:55:30PM +, Chris Picton wrote: > On Fri, 13 Aug 2010 14:37:18 +, Chris Picton wrote: > > >>> On Fri, Aug 13, 2010 at 01:44:28PM +, Chris Picton wrote: I have a > >>> drbd backed mysql server which has the following resources: > >>> > >>> drbd0 -> lvm_da

Re: [Pacemaker] Best way to specify colocation and ordering

2010-08-13 Thread Chris Picton
On Fri, 13 Aug 2010 14:37:18 +, Chris Picton wrote: >>> On Fri, Aug 13, 2010 at 01:44:28PM +, Chris Picton wrote: I have a >>> drbd backed mysql server which has the following resources: >>> >>> drbd0 -> lvm_data -> mount_data >>> drbd1 -> lvm_logs -> mount_logs >>> mysqld >>> floatingip

Re: [Pacemaker] Best way to specify colocation and ordering

2010-08-13 Thread Chris Picton
>> On Fri, Aug 13, 2010 at 01:44:28PM +, Chris Picton wrote: >> I have a drbd backed mysql server which has the following resources: >> >> drbd0 -> lvm_data -> mount_data >> drbd1 -> lvm_logs -> mount_logs >> mysqld >> floatingip >> >> I would like the drbd based filesystems to start up in pa

Re: [Pacemaker] Best way to specify colocation and ordering

2010-08-13 Thread Dejan Muhamedagic
On Fri, Aug 13, 2010 at 01:44:28PM +, Chris Picton wrote: > Hi all > > I have a drbd backed mysql server which has the following resources: > > drbd0 -> lvm_data -> mount_data > drbd1 -> lvm_logs -> mount_logs > mysqld > floatingip > > I would like the drbd based filesystems to start up in

Re: [Pacemaker] Best way to specify colocation and ordering

2010-08-13 Thread Chris Picton
On Fri, 13 Aug 2010 13:44:28 +, Chris Picton wrote: > Hi all > > I have a drbd backed mysql server which has the following resources: > > drbd0 -> lvm_data -> mount_data > drbd1 -> lvm_logs -> mount_logs > mysqld > floatingip > > I would like the drbd based filesystems to start up in parall

[Pacemaker] Best way to specify colocation and ordering

2010-08-13 Thread Chris Picton
Hi all I have a drbd backed mysql server which has the following resources: drbd0 -> lvm_data -> mount_data drbd1 -> lvm_logs -> mount_logs mysqld floatingip I would like the drbd based filesystems to start up in parallel. Once they have started, start mysql and the ip address. Obviously the

Re: [Pacemaker] CFP: Linux Plumbers Mini-Conf on High-Availability/Clustering

2010-08-13 Thread Florian Haas
On 08/11/2010 01:53 PM, Florian Haas wrote: > On 08/10/2010 07:48 PM, Lars Marowsky-Bree wrote: >> On 2010-08-04T15:59:27, Lars Marowsky-Bree wrote: >> >>> Hi all, >>> >>> there will (hopefully!) be a mini-conference on HA/Clustering at this >>> year's LPC in Cambridge, MA, Nov 3-5th. >> >> Just a

Re: [Pacemaker] IPv6addr resource error messages on startup

2010-08-13 Thread Dusty Mabe
Dejan, You narrowed down the problem perfectly. My interface had ipv6 addresses but they were the auto-configured addresses with scope of link. I reconfigured it with a globally scoped address and starting the resource works fine now. I really appreciate your input and thank you again! Dusty M

Re: [Pacemaker] Occasional error running ocf scripts

2010-08-13 Thread Dejan Muhamedagic
Hi, On Fri, Aug 13, 2010 at 10:29:43AM +, Chris Picton wrote: > On Fri, 13 Aug 2010 12:06:27 +0200, Dejan Muhamedagic wrote: > > > Hi, > > > > On Fri, Aug 13, 2010 at 11:20:38AM +0200, Chris Picton wrote: > >> Hi all > >> > >> I have seen the following behaviour on a few occasions in the pa

Re: [Pacemaker] Occasional error running ocf scripts

2010-08-13 Thread Bernd Schubert
> > 99% of the time, the resource will stop correctly, it is just on a few > > occasions that I see an error like this. > > > > Is this a known problem, or can I generate extra logging to try help > > debug? > > Never heard of it. That sounds quite serious. Yes, extra logging > would be helpful.

Re: [Pacemaker] Occasional error running ocf scripts

2010-08-13 Thread Chris Picton
On Fri, 13 Aug 2010 12:06:27 +0200, Dejan Muhamedagic wrote: > Hi, > > On Fri, Aug 13, 2010 at 11:20:38AM +0200, Chris Picton wrote: >> Hi all >> >> I have seen the following behaviour on a few occasions in the past few >> months. It seems as if the resource script get called, but without the >

Re: [Pacemaker] Occasional error running ocf scripts

2010-08-13 Thread Dejan Muhamedagic
Hi, On Fri, Aug 13, 2010 at 11:20:38AM +0200, Chris Picton wrote: > Hi all > > I have seen the following behaviour on a few occasions in the past few > months. It seems as if the resource script get called, but without the > correct OCF_RESOURCE parameters. > > Here is an example: > >

Re: [Pacemaker] Pacemaker 1.0.8 and -INFINITY master score

2010-08-13 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 12:54:10PM -0700, Bob Schatz wrote: > I upgraded to Pacemaker 1.0.8 since my application consists of Master/Slave > resources and I wanted to pick up the fix for setting negative master scores. Why not to 1.0.9.1? > I am now able to set negative master scores when a

Re: [Pacemaker] IPv6addr resource error messages on startup

2010-08-13 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 01:50:26PM -0700, Dusty Mabe wrote: > Hi, > > I captured the output from var log messages while grepping for > IPv6addr. The output was captured during an execution of crm > resource start myIPv6addr. The significant messages seem to be: > > > Aug 12 16:01:18 hasync-

[Pacemaker] Occasional error running ocf scripts

2010-08-13 Thread Chris Picton
Hi all I have seen the following behaviour on a few occasions in the past few months. It seems as if the resource script get called, but without the correct OCF_RESOURCE parameters. Here is an example:

Re: [Pacemaker] Unable to install pacemaker on Debian Lenny

2010-08-13 Thread Brett Delle Grazie
On Thu, 2010-08-12 at 14:53 +0200, Daniel Meier wrote: > > Which Apt Source? Madkiss? > > http://people.debian.org/~madkiss/ha lenny main > > yeah. sorry. forgot to provide the link for [0], it is > http://www.clusterlabs.org/wiki/Debian_Lenny_HowTo > > According to Florian, the packages for Len

Re: [Pacemaker] About specifications of on-fail="block".

2010-08-13 Thread renayama19661014
Hi, I compared movement in a version of pacemaker about this problem. * 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b [r...@srv02 ~]# crm_mon -1 Last updated: Fri Aug 13 13:02:24 2010 Stack: openais Current DC: srv01 - partition with quorum Version: 1.0.9-74392a28b7f31d7ddc866895