Re: [Pacemaker] Master/Slave resource cannot start

2009-08-21 Thread hj lee
Hi, I had the same problem after upgrading to pacemaker 1.0.5 in RHLE 5.3. After deleting all the files in /var/lib/pengine/ directory, this problem seems gone, I haven't seen it so far. Maybe it is related the UID change in pengine(hacluster to daemon) in 1.0.5, but not exactly sure. hj On Fri,

Re: [Pacemaker] non-standby node scores

2009-08-21 Thread Dejan Muhamedagic
On Fri, Aug 21, 2009 at 05:00:17PM +0200, Raoul Bhatia [IPAX] wrote: > On 08/21/2009 09:07 AM, Andrew Beekhof wrote: > > On Thu, Aug 20, 2009 at 8:18 PM, Raoul Bhatia [IPAX] > > wrote: > >> hi, > >> > >> i have a node that is placed in standby mode. when i use showscores.sh, > >> i can see that re

Re: [Pacemaker] Master/Slave resource cannot start

2009-08-21 Thread Diego Remolina
Here is what I am seeing now right after stopping openais, updating heartbeat and pacemaker and trying to start openais again: [r...@phys-file02 ~]# /etc/init.d/openais status Stopped [r...@phys-file02 ~]# /etc/init.d/openais start Starting OpenAIS daemon (aisexec): starting... rc=0: OK [r...@ph

Re: [Pacemaker] non-standby node scores

2009-08-21 Thread Raoul Bhatia [IPAX]
On 08/21/2009 09:07 AM, Andrew Beekhof wrote: > On Thu, Aug 20, 2009 at 8:18 PM, Raoul Bhatia [IPAX] wrote: >> hi, >> >> i have a node that is placed in standby mode. when i use showscores.sh, >> i can see that resources have a score of -100 (-INFINITY) for this >> host. >> >> is it possible to

Re: [Pacemaker] Problem with drbd 2 primary + OCFS2 + server

2009-08-21 Thread cu...@sonet.internetdsl.pl
Dejan Muhamedagic pisze: Hi, On Wed, Aug 19, 2009 at 07:51:58PM +0200, cu...@sonet.internetdsl.pl wrote: hj lee pisze: I found two issues in your configuration. 1. Still the last location constraint does not make sense. The server-www is a group, not multistate master/slave, so role=

Re: [Pacemaker] Pacemaker 1.0.4 & drbd 8 resource script problem.

2009-08-21 Thread Max Lock
http://www.datanet.co.uk/default.aspx http://www.datanet.co.uk/default.aspx -- Thanks folks. Well spotted, I feel like a muppet now :) -Cheers Max. -

Re: [Pacemaker] Pacemaker 1.0.4 & drbd 8 resource script problem.

2009-08-21 Thread Florian Haas
The OCF agent that ships with DRBD 8.3.2 (ocf:linbit:drbd) checks for a valid "drbd_resource" parameter and correctly returns $OCF_ERR_CONFIGURED when it's not set. http://www.drbd.org/users-guide/ch-pacemaker.html Cheers, Florian On 2009-08-21 12:12, Michael Schwartzkopff wrote: > Am Freitag, 2

[Pacemaker] Feature request: Syntax error prevention

2009-08-21 Thread Michael Schwartzkopff
Hi, there just was a mail on the list about an error in a resource. The problem was a simple syntex error: primitive drbd0-block ocf:heartbeat:drbd \ params drbd_resrource="nfs01" It also happened sometimes to me so I'd like to see some kind of syntax check in the CRM subshell. Perhaps it

Re: [Pacemaker] Pacemaker 1.0.4 & drbd 8 resource script problem.

2009-08-21 Thread Michael Schwartzkopff
Am Freitag, 21. August 2009 11:50:03 schrieb Max Lock: > params drbd_resrource="nfs01" \ Should be drbd_resource. Syntax error. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Pacemaker 1.0.4 & drbd 8 resource script problem.

2009-08-21 Thread Andreas Kurz
Max Lock wrote: > http://www.datanet.co.uk/default.aspx http://www.datanet.co.uk/default.aspx > > -- > Hi Folks, > > I'm running pacemaker 1.0.4 and drbd 8 on a Debian 5(Lenny) test cluster, > having followed the lenny and

[Pacemaker] Pacemaker 1.0.4 & drbd 8 resource script problem.

2009-08-21 Thread Max Lock
http://www.datanet.co.uk/default.aspx http://www.datanet.co.uk/default.aspx -- Hi Folks, I'm running pacemaker 1.0.4 and drbd 8 on a Debian 5(Lenny) test cluster, having followed the lenny and drbd howtos on the wiki. When

Re: [Pacemaker] non-standby node scores

2009-08-21 Thread Andrew Beekhof
On Thu, Aug 20, 2009 at 8:18 PM, Raoul Bhatia [IPAX] wrote: > hi, > > i have a node that is placed in standby mode. when i use showscores.sh, > i can see that resources have a score of -100 (-INFINITY) for this > host. > > is it possible to get a "if this node wasn't in standby" score for > tho

Re: [Pacemaker] issue regarding command line parsing

2009-08-21 Thread Andrew Beekhof
it is fixed in 1.0.5 On Thu, Aug 20, 2009 at 2:51 PM, Raoul Bhatia [IPAX] wrote: > hi, > > as already mentioned on irc, i encounter some issues when passing > mixed upper- and lowercase arguments to pacemaker binaries. > > e.g. >> ptest -Ls >> ptest: option `-Ls' is ambiguous >> ... > >> # crm_res