Re: [Pacemaker] crm_simulate a resource failure

2012-10-23 Thread Jake Smith
Ubuntu 12.04 pacemaker1.1.6-2ubuntu3 If I run crm_simulate -L I get this: root@Vulture:~# crm_simulate -L *** glibc detected *** crm_simulate: double free or corruption (out): 0x01fc2e00 *** === Backtrace: = /lib/x86_64-linux-gnu/libc.so.6(+0x7e62

Re: [Pacemaker] crm_simulate a resource failure

2012-10-23 Thread Andrew Beekhof
On Wed, Oct 24, 2012 at 5:40 AM, Jake Smith wrote: > Maybe try with verbose flag. Maybe try with error for the exit code? Or > try $stop and $error to see if it will show anything - I would expect > something like a node fence from that. > > crm_simulate with -LS for me causes seg fault so I can

Re: [Pacemaker] crm_simulate a resource failure

2012-10-23 Thread Andrew Beekhof
On Wed, Oct 24, 2012 at 5:01 AM, Cal Heldenbrand wrote: > Thanks Jake, that at gives a little better description of the parameters, > but I still just can't seem to get anything to trigger with the various > syntaxes I'm trying. See below, I'm using single quotes so the $ symbol > isn't parsed by

Re: [Pacemaker] crm_simulate a resource failure

2012-10-23 Thread Cal Heldenbrand
Oye, nothing I try seems to work. Verbose doesn't give me any extra output. $stop with $error also didn't do anything. I've tried a whole mess of combinations and none of them seemed to make a difference. On Tue, Oct 23, 2012 at 1:40 PM, Jake Smith wrote: > Maybe try with verbose flag. Maybe

Re: [Pacemaker] crm_simulate a resource failure

2012-10-23 Thread Jake Smith
Maybe try with verbose flag. Maybe try with error for the exit code? Or try $stop and $error to see if it will show anything - I would expect something like a node fence from that. crm_simulate with -LS for me causes seg fault so I can't test :-( Jake - Original Message - From: "

Re: [Pacemaker] crm_simulate a resource failure

2012-10-23 Thread Cal Heldenbrand
Thanks Jake, that at gives a little better description of the parameters, but I still just can't seem to get anything to trigger with the various syntaxes I'm trying. See below, I'm using single quotes so the $ symbol isn't parsed by bash. I've tried using my clone name, different return values,

Re: [Pacemaker] crm_simulate a resource failure

2012-10-23 Thread Jake Smith
- Original Message - > From: "Cal Heldenbrand" > To: pacemaker@oss.clusterlabs.org > Sent: Tuesday, October 23, 2012 11:50:11 AM > Subject: [Pacemaker] crm_simulate a resource failure > Hi everyone, > I'm not able to find documentation or examples on this. If I have a > cloned primiti

[Pacemaker] crm_simulate a resource failure

2012-10-23 Thread Cal Heldenbrand
Hi everyone, I'm not able to find documentation or examples on this. If I have a cloned primitive set across a cluster, how can I simulate a failure of a resource on an individual node? I mainly want to see the scores on why a particular action is taken so I can adjust my configs. I think the -

Re: [Pacemaker] "Simple" LVM/drbd backed Primary/Secondary NFS cluster doesn't always failover cleanly

2012-10-23 Thread Justin Pasher
- Original Message - > From: Andreas Kurz > Date: Sun, 21 Oct 2012 01:38:46 +0200 > Subject: Re: [Pacemaker] "Simple" LVM/drbd backed Primary/Secondary NFS cluster doesn't always failover cleanly > To: pacemaker@oss.clusterlabs.org > > On 10/18/2012 08:02 PM, Justin Pasher wrote: I ha

Re: [Pacemaker] Behavior of Corosync+Pacemaker with DRBD primary power loss

2012-10-23 Thread Andrew Martin
Hello, Under the Clusters from Scratch documentation, allow-two-primaries is set in the DRBD configuration for an active/passive cluster: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Clusters_from_Scratch/index.html#_write_the_drbd_config "TODO: Explain the reason for

Re: [Pacemaker] external/ssh stonith and repeated reboots

2012-10-23 Thread Dejan Muhamedagic
Hi, On Tue, Oct 16, 2012 at 03:00:08PM +1100, Andrew Beekhof wrote: > On Sun, Oct 14, 2012 at 5:04 PM, James Harper > wrote: > > I'm using external/ssh in my test cluster (a bunch of vm's), and for some > > reason the cluster has tried to terminate it but failed, like: > > Try fence_xvm instead

Re: [Pacemaker] Crm configure Error In Centos 5.4

2012-10-23 Thread Dejan Muhamedagic
Hi, On Mon, Oct 15, 2012 at 01:17:47PM +0530, Vinoth Narasimhan wrote: > Hi Guys, > > I just installed the latest heartbeat,pacemaker and corosync as per the > guidelines from the below link > > http://www.clusterlabs.org/wiki/Install#READ_ME_FIRST > > I am able to successfully configure the he

Re: [Pacemaker] Pacemaker Digest, Vol 59, Issue 57

2012-10-23 Thread Dejan Muhamedagic
Hi, On Tue, Oct 23, 2012 at 10:18:36AM +0530, vishal kumar wrote: > Hello Florian, > > Thanks for the help. > > I tried with crm ra meta sshd lsb but it gave me the same meta-data error. > > The problem is while trying to add a lsb resource from crm shell, like > httpd as i am using rhel it gi