Re: [Pacemaker] [PATCH 2 of 2] low: remove various bashisms

2010-07-12 Thread Simon Horman
On Mon, Jul 12, 2010 at 12:13:45PM +0200, Lars Ellenberg wrote: > On Mon, Jul 12, 2010 at 10:01:08AM +0900, Simon Horman wrote: > > > # because its friday, I'll give you some irrelevant input, > > > # doing it all in one pipe. feel free to ignore ;-) > > > > > > eval $( > > > printf "Garbage igno

Re: [Pacemaker] Pacemaker and ocfs2 file locking

2010-07-12 Thread Matteo
2010/7/12 Florian Haas > On 2010-07-12 17:17, Matteo wrote: > > Hi, I'm running a DRBD 2 node dual-primary cluster for some tests. > > Everything works fine, but my cluster doesn't do file locking. > > What evidence do you have that it doesn't? > If I open a file from server1, for example by "vi

Re: [Pacemaker] Pacemaker and ocfs2 file locking

2010-07-12 Thread Florian Haas
On 2010-07-12 17:17, Matteo wrote: > Hi, I'm running a DRBD 2 node dual-primary cluster for some tests. > Everything works fine, but my cluster doesn't do file locking. What evidence do you have that it doesn't? Cheers, Florian signature.asc Description: OpenPGP digital signature _

Re: [Pacemaker] /.crm_help_index file (in system root aka /)

2010-07-12 Thread Lars Ellenberg
On Mon, Jul 12, 2010 at 05:17:34PM +0200, Raoul Bhatia [IPAX] wrote: > On 07/02/2010 03:26 PM, Dejan Muhamedagic wrote: > > On Thu, Jul 01, 2010 at 07:46:44PM +0200, Raoul Bhatia [IPAX] wrote: > >> On 07/01/2010 05:46 PM, Dejan Muhamedagic wrote: > >>> The help index is created in the user's home.

Re: [Pacemaker] /.crm_help_index file (in system root aka /)

2010-07-12 Thread Raoul Bhatia [IPAX]
On 07/02/2010 03:26 PM, Dejan Muhamedagic wrote: > On Thu, Jul 01, 2010 at 07:46:44PM +0200, Raoul Bhatia [IPAX] wrote: >> On 07/01/2010 05:46 PM, Dejan Muhamedagic wrote: >>> The help index is created in the user's home. Is that the home of >>> the root user? Shouldn't it be /root? BTW, there are

[Pacemaker] Pacemaker and ocfs2 file locking

2010-07-12 Thread Matteo
Hi, I'm running a DRBD 2 node dual-primary cluster for some tests. Everything works fine, but my cluster doesn't do file locking. this is my cib configuration: node server1 node server2 primitive DLM ocf:pacemaker:controld \ op monitor interval="120s" primitive DRBD ocf:linbit:drbd \ params drbd_

Re: [Pacemaker] [PATCH 2 of 2] low: remove various bashisms

2010-07-12 Thread Lars Ellenberg
On Mon, Jul 12, 2010 at 10:01:08AM +0900, Simon Horman wrote: > > # because its friday, I'll give you some irrelevant input, > > # doing it all in one pipe. feel free to ignore ;-) > > > > eval $( > > printf "Garbage ignored\nCPU Type: speedy\nCPU Speed: gonzales\nNumber Of > > Cores: you won't

[Pacemaker] [patch v2] low: remove various bashisms

2010-07-12 Thread Simon Horman
# HG changeset patch # User Simon Horman # Date 1278925288 -32400 # Node ID e78d5591acbc9b76e85d8e31b410dea5bfe8e574 # Parent 110d056193472fa64ffabd3069d5ed20d32b01c2 low: remove various bashisms --- v2 Address concerns raised by Dejan Muhamedagic * Use awk -F'; ' instead of awk 'BEGIN {FS="; "

Re: [Pacemaker] crm configure update and properties

2010-07-12 Thread Dejan Muhamedagic
Hi, On Fri, Jul 09, 2010 at 09:53:04PM -0400, Vadym Chepkov wrote: > Hi, > > I am not sure if it's a bug or not, but certainly not a pleasant feature. > At first I configured cluster with property > stonith-enabled="false", because I didn't have a stontih device handy. > Then, after I got an APC

Re: [Pacemaker] [PATCH 2 of 2] low: remove various bashisms

2010-07-12 Thread Simon Horman
On Mon, Jul 12, 2010 at 10:40:22AM +0200, Dejan Muhamedagic wrote: > Hi, > > On Mon, Jul 12, 2010 at 09:54:01AM +0900, Simon Horman wrote: > > On Fri, Jul 09, 2010 at 04:05:13PM +0200, Dejan Muhamedagic wrote: > > > Hi, > > > > > > On Thu, Jul 08, 2010 at 03:16:03PM +0900, Simon Horman wrote: > >

Re: [Pacemaker] [PATCH 2 of 2] low: remove various bashisms

2010-07-12 Thread Dejan Muhamedagic
Hi, On Mon, Jul 12, 2010 at 09:54:01AM +0900, Simon Horman wrote: > On Fri, Jul 09, 2010 at 04:05:13PM +0200, Dejan Muhamedagic wrote: > > Hi, > > > > On Thu, Jul 08, 2010 at 03:16:03PM +0900, Simon Horman wrote: > > > # HG changeset patch > > > # User Simon Horman > > > # Date 1278569313 -32400

Re: [Pacemaker] [PATCH] suggested bashism fixes for hb2openais.sh

2010-07-12 Thread Andrew Beekhof
On Fri, Jul 9, 2010 at 3:53 PM, Dejan Muhamedagic wrote: > Hi, > > On Wed, Jul 07, 2010 at 12:39:57PM +0200, Raoul Bhatia [IPAX] wrote: >> On 07/07/2010 11:37 AM, Dejan Muhamedagic wrote: >> > Yes, this is just an auxiliary script, I'll make it a bash >> > script. >> >> why not apply the rather tr

Re: [Pacemaker] [PATCH 1 of 2] low: Use awk instead of bash to calculate memory and disk sizes

2010-07-12 Thread Andrew Beekhof
On Mon, Jul 12, 2010 at 3:02 AM, Simon Horman wrote: > On Fri, Jul 09, 2010 at 03:57:17PM +0200, Dejan Muhamedagic wrote: >> Hi Horms, >> >> Amazing work :) If nobody objects, I'll apply the patch. Go for it. Its a much better implementation :-) > > There don't seem to be any objections. > Coul