Re: [Pacemaker] multistate resource warning

2010-01-06 Thread Frank DiMeo
e, Jan 05, 2010 at 09:20:53AM -0500, Frank DiMeo wrote: > > Hi All, > > > > > > > > I've got a simple multistate resource running on a two node cluster. > > The enclosed configuration is happy accepted by the CIB, and I see > the > > resource r

Re: [Pacemaker] multistate resource warning

2010-01-05 Thread Frank DiMeo
Thank you Lars. -Frank > -Original Message- > From: Lars Ellenberg [mailto:lars.ellenb...@linbit.com] > Sent: Tuesday, January 05, 2010 11:21 AM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] multistate resource warning > > On Tue, Jan 05, 2010 at 09

[Pacemaker] multistate resource warning

2010-01-05 Thread Frank DiMeo
Hi All, I've got a simple multistate resource running on a two node cluster. The enclosed configuration is happy accepted by the CIB, and I see the resource running in the master/slave state on the two nodes, but when I run a crm_verify, I get a warning: cibadmin -replace --xml-file 1rs

[Pacemaker] forcing failure on a master (multistate) resource

2009-12-17 Thread Frank DiMeo
Hi, I need a way to inform the cluster of failures between monitor polls of my multistate resources, and I notice that I cannot use "crm_resource " to inform the cluster of the failure of a master (multistate) resource, as it seems to only process this function for primitive resources. I do

Re: [Pacemaker] crm_master syntax

2009-12-17 Thread Frank DiMeo
> On Wed, Dec 16, 2009 at 10:43 PM, Frank DiMeo > wrote: > > I don't know how to set the target-role for a multistate resource > instance running on a particular node.  Would you mind giving me an > example? > > Use a regular rsc_location (for the master/slave resource)

[Pacemaker] "migration-threshold" for multistate resources?

2009-12-16 Thread Frank DiMeo
Is there a concept of a "migration-threshold" for a multistate resource? This would be defined as the number of failures detected for an multistate instance running as master before it would be considered ineligible to run on that node, be stopped, and another slave would be promoted to Master.

Re: [Pacemaker] crm_master syntax

2009-12-16 Thread Frank DiMeo
9 4:11 PM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] crm_master syntax > > On Wed, Dec 16, 2009 at 8:52 PM, Frank DiMeo > wrote: > > Hi All, > > > > Does anyone know the correct syntax for the crm_master command when > used from a shell? > >

[Pacemaker] crm_master syntax

2009-12-16 Thread Frank DiMeo
Hi All, Does anyone know the correct syntax for the crm_master command when used from a shell? I want to promote (and at some point demote) one of my multistate resources running on one of my nodes, but haven't found the correct syntax for this command yet. I've tried (among other permutation

Re: [Pacemaker] [PATCH] Allow the user to insert a startupconfiguration

2009-12-15 Thread Frank DiMeo
7;t load it again? If the answer to > the last question is "the admin", I'm against the feature. > > Thanks, > > Dejan > > > On Dec 10, 2009, at 9:53 PM, frank.di...@bigbandnet.com wrote: > > > > ># HG changeset patch > > ># User Frank DiMeo >

[Pacemaker] [PATCH] Allow the user to insert a startup configuration

2009-12-10 Thread frank . dimeo
# HG changeset patch # User Frank DiMeo # Date 1260478129 18000 # Branch stable-1.0 # Node ID e7067734add7f3b148cb534b85b5af256db9fad7 # Parent 381160def02a34ae554637e0a26efda850ccc015 initial load of static configuration file diff -r 381160def02a -r e7067734add7 cib/io.c --- a/cib/io.c Thu

[Pacemaker] [PATCH] a fix for the crm_mon html refresh time

2009-12-10 Thread frank . dimeo
# HG changeset patch # User Frank DiMeo # Date 1260454065 18000 # Branch stable-1.0 # Node ID 381160def02a34ae554637e0a26efda850ccc015 # Parent 5957a8ab21acad9ad77189d0ddd6ef2e617ac230 fix refresh time for html interface of crm_mon diff -r 5957a8ab21ac -r 381160def02a tools/crm_mon.c --- a

Re: [Pacemaker] patch for rsc_order loops.

2009-12-10 Thread Frank DiMeo
And I see it's in the repo already :) -Frank > -Original Message- > From: Andrew Beekhof [mailto:and...@beekhof.net] > Sent: Thursday, December 10, 2009 6:30 AM > To: Frank DiMeo > Cc: pacemaker@oss.clusterlabs.org > Subject: Re: patch for rsc_order loops. >

Re: [Pacemaker] bug in ordering syntax?

2009-12-08 Thread Frank DiMeo
Sorry, but I don't have that one anymore. -Frank > -Original Message- > From: Andrew Beekhof [mailto:and...@beekhof.net] > Sent: Tuesday, December 08, 2009 3:42 AM > To: Frank DiMeo > Cc: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] bug in ordering

Re: [Pacemaker] patch for rsc_order loops.

2009-12-08 Thread Frank DiMeo
beekhof.net] > Sent: Tuesday, December 08, 2009 3:10 AM > To: Frank DiMeo > Cc: pacemaker@oss.clusterlabs.org > Subject: Re: patch for rsc_order loops. > > On Mon, Dec 7, 2009 at 8:19 PM, Frank DiMeo > wrote: > > I've enclosed at mercurial patch for what I believe

[Pacemaker] build issues

2009-12-07 Thread Frank DiMeo
Please disregard the build issues I asked about. Another clone that I pulled seems to build fine. Sorry about that. -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Monday, December 07, 2009 5:13 PM To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] patch for

[Pacemaker] crm.dtd

2009-12-07 Thread Frank DiMeo
It looks like "crm.dtd" is a file that's generated during the make. I suggest removing it from the repo, so it's not under control. -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Monday, December 07, 2009 5:13 PM To: pacemaker@oss.cluster

Re: [Pacemaker] patch for rsc_order loops.

2009-12-07 Thread Frank DiMeo
I pulled a copy of the latest corosync sources, and the mar_gen.h file in that package is identical to the one I have in /usr/include/corosync, so that's not the problem. Is anyone else having problems building the tip of the repo? -Frank From: Frank DiMeo [mailto:fra

Re: [Pacemaker] patch for rsc_order loops.

2009-12-07 Thread Frank DiMeo
Actually, now that I look at it more closely, that a corosync file. Maybe I need to update my corosync source? -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Monday, December 07, 2009 4:58 PM To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] patch for

Re: [Pacemaker] patch for rsc_order loops.

2009-12-07 Thread Frank DiMeo
Is the repo at http://hg.clusterlabs.org/pacemaker/stable-1.0 broken? When I try to build it, I get an error in mar_gen.h, line 181. Expected ')' before '*' token. -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Monday, December 07, 2009 2:19 PM T

[Pacemaker] patch for rsc_order loops.

2009-12-07 Thread Frank DiMeo
I've enclosed at mercurial patch for what I believe is a fix for the resource ordering loop creation that I've been chasing. Please look it over and if you approve, I can submit it. -Frank rsc_order_loop_patch Description: rsc_order_loop_patch _

Re: [Pacemaker] bug in ordering syntax?

2009-12-07 Thread Frank DiMeo
please share how you did that. Thanks Shravan On Thu, Dec 3, 2009 at 5:14 PM, Frank DiMeo wrote: After looking at some output of ptest, I'm really unsure of my "fix" ;) I think I'm hunting in the right area though. -Frank > -Original Message- > From

Re: [Pacemaker] Openais: Corosync Executive couldn't openconfiguration component 'openaisserviceenable'

2009-12-07 Thread Frank DiMeo
t; > > What Frank suggests is essentially what we have done in the repo. > > > > Regards > > -steve > > > > On Thu, 2009-12-03 at 12:31 -0500, Frank DiMeo wrote: > >> Try replacing the existing exported symbol in your > /etc/init.d/openai

Re: [Pacemaker] bug in ordering syntax?

2009-12-03 Thread Frank DiMeo
After looking at some output of ptest, I'm really unsure of my "fix" ;) I think I'm hunting in the right area though. -Frank > -Original Message----- > From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] > Sent: Thursday, December 03, 2009 5:06 PM > T

Re: [Pacemaker] bug in ordering syntax?

2009-12-03 Thread Frank DiMeo
AM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] bug in ordering syntax? > > On Wed, Dec 2, 2009 at 11:26 PM, Frank DiMeo > wrote: > > I turned up the logging level in the pengine during processing of the > rsc_order section.  This shows the loop being f

Re: [Pacemaker] Openais: Corosync Executive couldn't openconfiguration component 'openaisserviceenable'

2009-12-03 Thread Frank DiMeo
Try replacing the existing exported symbol in your /etc/init.d/openais file with: export COROSYNC_DEFAULT_CONFIG_IFACE="openaisserviceenableexperimental:corosync_parser" -Frank From: Shravan Mishra [mailto:shravan.mis...@gmail.com] Sent: Thursday, December 03, 2009 10:18 AM To: pacem

Re: [Pacemaker] bug in ordering syntax?

2009-12-03 Thread Frank DiMeo
labs.org > Subject: Re: [Pacemaker] bug in ordering syntax? > > On Wed, Dec 2, 2009 at 11:26 PM, Frank DiMeo > wrote: > > I turned up the logging level in the pengine during processing of the > rsc_order section.  This shows the loop being formed between world2 and > world1 reso

Re: [Pacemaker] bug in ordering syntax?

2009-12-02 Thread Frank DiMeo
I turned up the logging level in the pengine during processing of the rsc_order section. This shows the loop being formed between world2 and world1 resources, but only for stopping, not for starting. -Frank > -Original Message- > From: Frank DiMeo [mailto:frank.di...@bigbandn

Re: [Pacemaker] bug in ordering syntax?

2009-12-02 Thread Frank DiMeo
ion? -Frank > -Original Message- > From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] > Sent: Wednesday, December 02, 2009 2:13 PM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] bug in ordering syntax? > > Here's the output of ptest for the pe-input-**

Re: [Pacemaker] another basic configuration question

2009-12-02 Thread Frank DiMeo
Re: [Pacemaker] another basic configuration question > > On Wed, Nov 25, 2009 at 12:00 AM, Frank DiMeo > wrote: > > Hi All, > > > > I'm using the enclosed .xml file to control the startup sequence and > collocation of two resources.  When I use this xml file, I g

[Pacemaker] bug in ordering syntax?

2009-11-30 Thread Frank DiMeo
I'm experimenting with startup sequence and co-location control, and think I may have stumbled across a bug. I have two xml files that I use in my testing as my initial configuration of a two node cluster. I start each node with no configuration, and then use cibadmin to "source in" the xml

Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Frank DiMeo
mailto:rasto.levr...@linbit.com] > Sent: Monday, November 30, 2009 11:38 AM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] is ptest 1.06 working correctly? > > > On Mon, November 30, 2009 5:21 pm, Frank DiMeo wrote: > > I actually did use "--" on

Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Frank DiMeo
y, November 30, 2009 11:38 AM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] is ptest 1.06 working correctly? > > > On Mon, November 30, 2009 5:21 pm, Frank DiMeo wrote: > > I actually did use "--" on the long options, for some reason the > >

Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Frank DiMeo
; From: Rasto Levrinc [mailto:rasto.levr...@linbit.com] > Sent: Monday, November 30, 2009 11:08 AM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] is ptest 1.06 working correctly? > > > On Mon, November 30, 2009 5:00 pm, Frank DiMeo wrote: > > I ran the command

[Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Frank DiMeo
I ran the command: ptest -live-check - -save-graph tmp.graph -save-dotfile tmp.dot as in the "Configuration explained" document, and got the enclosed files. Unfortunately, there's not much in them. I loaded the graphviz (and libgraphviz-dev) packages. Am I missing a package, or am

[Pacemaker] another basic configuration question

2009-11-25 Thread Frank DiMeo
designator it the wrong place in the collocation area, and it should be: Unfortunately, that didn't change the behavior. -Frank -Frank > -Original Message- > From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] >

[Pacemaker] another basic configuration question

2009-11-24 Thread Frank DiMeo
Hi All, I'm using the enclosed .xml file to control the startup sequence and collocation of two resources. When I use this xml file, I get the following behavior: 1) start both nodes, resources world1 and world2 start up in the correct sequence on ubuntu_2 2) execute crm_standby -U ubuntu_2 v

[Pacemaker] basic configuration question

2009-11-20 Thread Frank DiMeo
Hi All, In a simple two node cluster, I load the enclosed xml file. I expect that this is the simplest syntax to specify two resources, eyes and clock, where "eyes" and "clock" run on the same node. Actual behavior is that "eyes" and "clock" run on opposite nodes. Is my xml file wr

Re: [Pacemaker] getting started

2009-11-18 Thread Frank DiMeo
Sorry, the permissions were the problem I think. It looks like the hacluster user actually is the writer of these files. Thanks for you help hj -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Wednesday, November 18, 2009 5:17 PM

Re: [Pacemaker] getting started

2009-11-18 Thread Frank DiMeo
Well, set the permissions to 755 but still nothing is stored in /var/lib/heartbeat/crm in a running node -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Wednesday, November 18, 2009 5:09 PM To: pacemaker@oss.clusterlabs.org Subject: Re

Re: [Pacemaker] getting started

2009-11-18 Thread Frank DiMeo
Sorry, I just noticed that the directories under /var/lib/heartbeat/ have permissions of 750...not good. This probably explains the persistence problem. -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Wednesday, November 18, 2009 5:04

Re: [Pacemaker] getting started

2009-11-18 Thread Frank DiMeo
] Sent: Wednesday, November 18, 2009 4:57 PM To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] getting started On Wed, Nov 18, 2009 at 2:27 PM, Frank DiMeo wrote: Thanks for you response, some comments: 1) So, if we cannot load a persistent configuration after a restart

Re: [Pacemaker] getting started

2009-11-18 Thread Frank DiMeo
On Wed, Nov 18, 2009 at 2:27 PM, Frank DiMeo wrote: Thanks for you response, some comments: 1) So, if we cannot load a persistent configuration after a restart of the all nodes in the cluster, how does one automatically configure an (rebooted) unattended cluster with a known s

Re: [Pacemaker] getting started

2009-11-18 Thread Frank DiMeo
#x27;ll use your method. -Frank ____ From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Wednesday, November 18, 2009 4:28 PM To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] getting started Thanks for you response, some comments: 5) So, if we cannot load a persistent c

Re: [Pacemaker] getting started

2009-11-18 Thread Frank DiMeo
Thanks for you response, some comments: 1) So, if we cannot load a persistent configuration after a restart of the all nodes in the cluster, how does one automatically configure an (rebooted) unattended cluster with a known set of resources? Is it expected that a person will reconfig

[Pacemaker] getting started

2009-11-18 Thread Frank DiMeo
I've been working with pacemaker/openais for a few weeks now and have several "getting started" questions, so I'll put them all into one email: 1) Is there a way to start pacemaker and specify an xml file as the startup configuration? Right now, I start openais/pacemaker, wait for DC election,