Re: [Pacemaker] Migration of "lower" resource causes dependent resources to restart

2012-03-28 Thread Vladislav Bogdanov
29.03.2012 09:43, Vladislav Bogdanov wrote: > 29.03.2012 09:35, Andrew Beekhof wrote: >> On Thu, Mar 29, 2012 at 5:28 PM, Vladislav Bogdanov >> wrote: >>> Hi Andrew, all, >>> >>> Pacemaker restarts resources when resource they depend on (ordering >>> only, no colocation) is migrated. >>> >>> I mea

Re: [Pacemaker] Migration of "lower" resource causes dependent resources to restart

2012-03-28 Thread Vladislav Bogdanov
29.03.2012 09:35, Andrew Beekhof wrote: > On Thu, Mar 29, 2012 at 5:28 PM, Vladislav Bogdanov > wrote: >> Hi Andrew, all, >> >> Pacemaker restarts resources when resource they depend on (ordering >> only, no colocation) is migrated. >> >> I mean that when I do crm resource migrate lustre, I get >>

Re: [Pacemaker] Resource Agent ethmonitor

2012-03-28 Thread Fiorenza Meini
Il 21/03/2012 09:06, Florian Haas ha scritto: On Tue, Mar 20, 2012 at 4:18 PM, Fiorenza Meini wrote: Hi there, has anybody configured successfully the RA specified in the object of the message? I got this error: if_eth0_monitor_0 (node=fw1, call=2297, rc=-2, status=Timed Out): unknown exec err

Re: [Pacemaker] [Patch]Patch for crmd-transition-delay processing.

2012-03-28 Thread Andrew Beekhof
The patch makes sense, could you resend as a github pull request? :-D On Thu, Mar 22, 2012 at 8:18 PM, wrote: > Hi All, > > Sorry > > My patch was wrong. > I send a right patch. > > Best Regards, > Hideo Yamauchi. > > --- On Thu, 2012/3/22, renayama19661...@ybb.ne.jp > wrote: > >> Hi All,

Re: [Pacemaker] 2012年3月26日 10:13:08 自动保存草稿

2012-03-28 Thread Andrew Beekhof
2012/3/26 sinchb : > 2012/3/23 sinchb : >> What's the meanings of "native_color","group_color","clone_color" and so >> on,when I use crm_simulate -L -s to calculate the scores of the cluster >> resource? And difference ? > > Show us the output you're looking at and we can try to explain it. > >> I

Re: [Pacemaker] Migration of "lower" resource causes dependent resources to restart

2012-03-28 Thread Andrew Beekhof
On Thu, Mar 29, 2012 at 5:28 PM, Vladislav Bogdanov wrote: > Hi Andrew, all, > > Pacemaker restarts resources when resource they depend on (ordering > only, no colocation) is migrated. > > I mean that when I do crm resource migrate lustre, I get > > LogActions: Migrate lustre#011(Started lustre03-

[Pacemaker] Migration of "lower" resource causes dependent resources to restart

2012-03-28 Thread Vladislav Bogdanov
Hi Andrew, all, Pacemaker restarts resources when resource they depend on (ordering only, no colocation) is migrated. I mean that when I do crm resource migrate lustre, I get LogActions: Migrate lustre#011(Started lustre03-left -> lustre04-left) LogActions: Restart mgs#011(Started lustre01-left)

Re: [Pacemaker] how to using rules to control resource option?

2012-03-28 Thread Andrew Beekhof
try reading clusters from scratch 2012/3/26 sinchb : > how to write the command when I want ro using some rules to control resource > option(like resource-sticikiness).how to add a rule and a score to the > instance attribute? > > I am looking forward to your reply! > > > > ___

Re: [Pacemaker] problem: stonith executes stonith command remote on the dead host and not local

2012-03-28 Thread Andrew Beekhof
On Tue, Mar 6, 2012 at 5:12 AM, Thomas Boernert wrote: > Hi again, > > should i open a bug report about this issue ? Which distro is this? Any chance to try 1.1.7? > Thanks > > Thomas > > Thomas Börnert schrieb am 02.03.2012 um 12:06 Uhr > > >> Hi List, >> >> my problem is that stonith will ex

Re: [Pacemaker] [PATCH] pingd checks pidfile on start

2012-03-28 Thread Andrew Beekhof
Any chance you could redo this as a github pull request? :-D On Wed, Mar 14, 2012 at 6:49 PM, Takatoshi MATSUO wrote: > Hi > > I use pacemaker 1.0.11 and pingd RA. > Occasionally, pingd's first monitor is failed after start. > > It seems that the main cause is pingd daemon returns 0 before creati

Re: [Pacemaker] Question about Pacemaker & mysql master/slave replication and DRBD replication

2012-03-28 Thread Andrew Beekhof
On Thu, Mar 15, 2012 at 11:09 PM, coma wrote: > Hello, > > I'm a new Pacemaker user and i trying to understand exactly what it can do / > can't do in case of MySQL Replication or DRBD replication. > > I have two MySQl servers, for the moment with a simple Master/Slave > replication, my need is to

Re: [Pacemaker] [Problem] The cluster fails in the stop of the node.

2012-03-28 Thread Andrew Beekhof
This appears to be resolved with 1.1.7, perhaps look for a patch to backport? On Tue, Mar 27, 2012 at 4:46 PM, wrote: > Hi All, > > When we set a group resource within Master/Slave resource, we found the > problem that a node could not stop. > > This problem occurs in Pacemaker1.0.11. > > We co

Re: [Pacemaker] unable to join cluster

2012-03-28 Thread Andrew Beekhof
On Thu, Mar 22, 2012 at 3:07 PM, Hisashi Osanai wrote: > > Hello, > > I have three nodes cluster using pacemaker/corosync. When I reboot one node, > > the node unable to join cluster. I can see that kind of split brain 10-20% > (recall ration) if I shutdown a node. > > What do you think of this pr

Re: [Pacemaker] VirtualDomain Shutdown Timeout

2012-03-28 Thread Andrew Beekhof
On Sun, Mar 25, 2012 at 6:27 AM, Andrew Martin wrote: > Hello, > > I have configured a KVM virtual machine primitive using Pacemaker 1.1.6 and > Heartbeat 3.0.5 on Ubuntu 10.04 Server using DRBD as the storage device (so > there is no shared storage, no live-migration): > primitive p_vm ocf:heartb

Re: [Pacemaker] Cluster crash

2012-03-28 Thread Andrew Beekhof
On Tue, Mar 27, 2012 at 9:36 PM, Hugo Deprez wrote: > Hello, > > I do have no-quorum-policy="ignore" What about fencing? > Any idea how to reproduce this ? > Regards, > > On 23 February 2012 23:43, Andrew Beekhof wrote: >> >> On Thu, Feb 23, 2012 at 9:17 PM, Hugo Deprez >> wrote: >> > I don't

Re: [Pacemaker] "allow-migrate"

2012-03-28 Thread Andrew Beekhof
it doesn't mean the resource can't be moved to another host, only that it will do it with a stop+start rather than a migrate action. 2012/3/29 sinchb : > I have a resource named myrsc .And it have the allow-migrate meta-attribute > set to false.However,when I tried to migrate it ,I successed.Why i

[Pacemaker] "allow-migrate"

2012-03-28 Thread sinchb
I have a resource named myrsc .And it have the allow-migrate meta-attribute set to false.However,when I tried to migrate it ,I successed.Why it is? Definition: primitive myrsc ocf:heartbeat:IPaddr2 \ params ip="1.1.1.1" cidr_netmask="32" \ meta target-role="Started" allow-migrate

Re: [Pacemaker] resources show as running on all nodes right after adding them

2012-03-28 Thread Florian Haas
On Wed, Mar 28, 2012 at 5:07 PM, Brian J. Murrell wrote: > On 12-03-28 10:39 AM, Florian Haas wrote: >> >> Probably because your resource agent reports OCF_SUCCESS on a probe >> operation > > To be clear, is this the "status" $OP in the agent? Nope, monitor. Of course, in your implementation moni

Re: [Pacemaker] resources show as running on all nodes right after adding them

2012-03-28 Thread Brian J. Murrell
On 12-03-28 10:39 AM, Florian Haas wrote: > > Probably because your resource agent reports OCF_SUCCESS on a probe > operation To be clear, is this the "status" $OP in the agent? Cheers, b. signature.asc Description: OpenPGP digital signature ___ Pac

Re: [Pacemaker] resources show as running on all nodes right after adding them

2012-03-28 Thread Bernd Schubert
On 03/28/2012 04:39 PM, Florian Haas wrote: [...] Clearly this resource is not running on all nodes, so why is it being reported as such? Probably because your resource agent reports OCF_SUCCESS on a probe operation when it ought to be returning OCF_NOT_RUNNING. Pastebin the source of ocf:hydra

Re: [Pacemaker] resources show as running on all nodes right after adding them

2012-03-28 Thread Florian Haas
On Wed, Mar 28, 2012 at 4:26 PM, Brian J. Murrell wrote: > We seem to have occasion where we find crm_resource reporting that a > resource is running on more (usually all!) nodes when we query right > after adding it: > > # crm_resource -resource chalkfs-OST_3 --locate > resource chalkfs-OST00

[Pacemaker] resources show as running on all nodes right after adding them

2012-03-28 Thread Brian J. Murrell
We seem to have occasion where we find crm_resource reporting that a resource is running on more (usually all!) nodes when we query right after adding it: # crm_resource -resource chalkfs-OST_3 --locate resource chalkfs-OST_3 is running on: chalk02 resource chalkfs-OST_3 is running on

Re: [Pacemaker] Nodes will not promote DRBD resources to master on failover

2012-03-28 Thread Andreas Kurz
On 03/28/2012 03:47 PM, Andrew Martin wrote: > Hi Andreas, > >> hmm ... what is that fence-peer script doing? If you want to use >> resource-level fencing with the help of dopd, activate the >> drbd-peer-outdater script in the line above ... and double check if the >> path is correct > fence-peer

Re: [Pacemaker] Nodes will not promote DRBD resources to master on failover

2012-03-28 Thread Andrew Martin
Hi Andreas, > hmm ... what is that fence-peer script doing? If you want to use > resource-level fencing with the help of dopd, activate the > drbd-peer-outdater script in the line above ... and double check if the > path is correct fence-peer is just a wrapper for drbd-peer-outdater that doe

Re: [Pacemaker] Nodes will not promote DRBD resources to master on failover

2012-03-28 Thread Andreas Kurz
On 03/28/2012 12:13 AM, Andrew Martin wrote: > Hi Andreas, > > Thanks, I've updated the colocation rule to be in the correct order. I > also enabled the STONITH resource (this was temporarily disabled before > for some additional testing). DRBD has its own network connection over > the br1 interfa

Re: [Pacemaker] don't want to restart clone resource

2012-03-28 Thread Fanghao Sha
Hi Andrew, After your patch, I encountered a new problem, and I have reported it in bugzilla. http://bugs.clusterlabs.org/show_bug.cgi?id=5038 2012/2/23 Fanghao Sha > Hi Andrew, > Hi Lars, > I have reported it in bugzilla. > http://bugs.clusterlabs.org/show_bug.cgi?id=5038 > > > 2012/2/13 Andre