[Pacemaker] trouble configuring location with clones

2011-07-01 Thread Joshua Hoblitt
Hello, I'm relatively new to pacemaker and I'm working on my second HA setup. The setup I need is very simplistic, I have two nodes (VMs actually) running pacemaker 1.0.10 on top of heartbeat 3.0.4. The goal is two have both nodes running apache (for testing, etc) which a single VIP that fails o

Re: [Pacemaker] Custom OCF Resource Agents

2011-07-01 Thread Sean.Feeney
Okay, my script is now passing the ocf-tester but it is exhibiting strange behavior. It is based on: #!/bin/sh service=smbd if ps ax | grep -v grep | grep ${service} > /dev/null then echo "$service service running, everything is OK" else echo "$service is not running" fi So in the monito

Re: [Pacemaker] Pacemaker+Corosync from OBS

2011-07-01 Thread Ciro Iriarte
2011/6/23 Tim Serong : > On 22/06/11 22:14, Ciro Iriarte wrote: >> >> 2011/6/21 Tim Serong: >>> >>> On 22/06/11 08:57, Ciro Iriarte wrote: Hi, I'm trying pacemaker from OBS and I don't see any init script for corosync or pacemaker, am I overlooking something obvious? Name  

[Pacemaker] WARN: ..... unmanaged failed resources cannot prevent clone shutdown

2011-07-01 Thread Andreas Kurz
Hello, In a cluster without stonith enabled (yes I know ) the monitor failure of one resource followed by the stop failure of a dependent resource lead to a cascade of errors especially because the cluster did not stop the shutdown sequence on stop (timeout) failures: WARN: should_dump_input:

Re: [Pacemaker] [PATCH] Dev: build: avoid GCC 4.6 warnings

2011-07-01 Thread Pádraig Brady
On 01/07/11 07:34, Andrew Beekhof wrote: > 2011/6/28 Pádraig Brady : >> # HG changeset patch >> # User Pádraig Brady >> # Date 1309255312 -3600 >> # Node ID 7948a86a7e9510db13baa318fe64e9015fdbbd72 >> # Parent 75575ce398615dff21e2309c6b97523e99499498 >> Dev: build: avoid GCC 4.6 warnings >> >> di

Re: [Pacemaker] R:Re: Multiple Active Cluster

2011-07-01 Thread Michael Schwartzkopff
> >Search for the "localnode" feature of the LVS. You can install the > >Loadbalancer on the application machines. No "waste" or hardware. > > > >So my suggestion: > >- 5 machines with the application > > > >- on two of there machines install the cluster software and the > >ldirectord. > > > >Have

[Pacemaker] R:Re: Multiple Active Cluster

2011-07-01 Thread Mirko Leanza
>Search for the "localnode" feature of the LVS. You can install the >Loadbalancer on the application machines. No "waste" or hardware. > >So my suggestion: >- 5 machines with the application > >- on two of there machines install the cluster software and the ldirectord. >Have the ldirectord resour

Re: [Pacemaker] Group not started/stopped in correct order with -INF collocation

2011-07-01 Thread Kulovits Christian - OS ITSC
Hello Andrew, No, there are no ordering constraint between the groups! Regards, Christian From: Andrew Beekhof [mailto:and...@beekhof.net] Sent: Freitag, 01. Juli 2011 09:31 To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Group not started/stopped in correct order with -INF c

Re: [Pacemaker] Not connected to AIS

2011-07-01 Thread Andrew Beekhof
On Tue, Jun 28, 2011 at 10:48 PM, Proskurin Kirill wrote: > On 06/27/2011 09:15 AM, Andrew Beekhof wrote: >> >> On Fri, Jun 24, 2011 at 6:56 PM, Proskurin Kirill >>  wrote: >>> >>> Hello. >>> >>> I have a strange problem. >>> One node in cluster are not work right. >>> >>> >>> In logs: >>> Jun 23

Re: [Pacemaker] [pacemaker] Error while executing crm_attribute command from command line

2011-07-01 Thread Andrew Beekhof
On Tue, May 17, 2011 at 2:55 AM, Rakesh K wrote: > Andrew Beekhof writes: > >> >> # CIB_file=./cib.xml crm_attribute -N mysql3 -n master-Mysql:0 -l >> forever -v 3 -V >> crm_attribute[23703]: 2011/05/10_08:42:59 info: Invoked: crm_attribute >> -N mysql3 -n master-Mysql:0 -l forever -v 3 -V >> crm

Re: [Pacemaker] Group not started/stopped in correct order with -INF collocation

2011-07-01 Thread Andrew Beekhof
On Tue, May 31, 2011 at 10:05 PM, Kulovits Christian - OS ITSC < christian.kulov...@austrian.com> wrote: > Hello, > > In a 2-node cluster two groups (prod, test) are defined with a collocation > score=“-INFINITY“. When the node running the group prod failed, the test > group on the other node

Re: [Pacemaker] Beginner Fencing Help

2011-07-01 Thread Andrew Beekhof
On Tue, Jun 7, 2011 at 12:02 AM, imnotpc wrote: > On Monday, June 06, 2011 03:11:24 Errol Neal wrote: >> On Fri, 06/03/2011 12:31 PM, imnotpc wrote: >> > I have a working 3 node cluster with a couple of resources defined. If I >> > shutdown a node crm_mon shows the cluster correctly identifies th

Re: [Pacemaker] Resources are not restarted on definition change after f59d7460bdde (devel)

2011-07-01 Thread Andrew Beekhof
Hmm. Interesting. I will investigate. On Tue, Jun 28, 2011 at 3:46 AM, Vladislav Bogdanov wrote: > Hi all, > > I'm pretty sure I bisected commit which breaks restart of (node local) > resources after definition change. > > Nodes which has f59d7460bdde applied (v03-a and v03-b in my case) do not