[Pacemaker] Multi-level ACLs for the CIB

2009-12-07 Thread Yan Gao
Hi all, Andrew, This planned feature was proposed by Lars. After some discussions with Lars and Tim, I'm sharing it here, and looking forward to hearing your thoughts and suggestions. The goal of this feature is to provide different levels of administration to users. Some of the common

[Pacemaker] How to delete a resource

2009-12-07 Thread Colin
Hi, when trying to delete a resource, either by replacing the whole resources-part of the CIB with cibadmin with a new version where some resources are missing, or by using a crm_resource -t primitive —resource name —delete, I get the following error: Error performing operation: Update does not

Re: [Pacemaker] I Like This But...

2009-12-07 Thread Darren.Mansell
Depends on what you're doing with it to make it challenging or not. The old Linux-HA had a very steep learning curve that isn't there as much anymore. A decent level of networking knowledge is required but the documentation is now excellent and with the CRM shell, Pacemaker is a lot easier to work

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Tim Serong
On 12/7/2009 at 08:53 PM, Colin colin@gmail.com wrote: Hi, when trying to delete a resource, either by replacing the whole resources-part of the CIB with cibadmin with a new version where some resources are missing, or by using a crm_resource -t primitive —resource name —delete, I

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Michael Schwartzkopff
Am Montag, 7. Dezember 2009 10:53:46 schrieb Colin: Hi, when trying to delete a resource, either by replacing the whole resources-part of the CIB with cibadmin with a new version where some resources are missing, or by using a crm_resource -t primitive —resource name —delete, I get the

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Colin
On Mon, Dec 7, 2009 at 11:03 AM, Tim Serong tser...@novell.com wrote: On 12/7/2009 at 08:53 PM, Colin colin@gmail.com wrote: Hi, when trying to delete a resource, either by replacing the whole resources-part of the CIB with cibadmin with a new version where some resources are missing, or

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Colin
On Mon, Dec 7, 2009 at 11:06 AM, Michael Schwartzkopff mi...@multinet.de wrote: Am Montag, 7. Dezember 2009 10:53:46 schrieb Colin: Hi, when trying to delete a resource, either by replacing the whole resources-part of the CIB with cibadmin with a new version where some resources are missing,

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Andrew Beekhof
On Mon, Dec 7, 2009 at 11:10 AM, Colin colin@gmail.com wrote:  # crm configure delete resource-id Thanks, that did the trick — it recursively deletes everything connected to the resource. Wonder why crm_resource —delete doesn't do the same thing… Its not trying to be clever. It does

Re: [Pacemaker] split brain in drbd dual primary setup

2009-12-07 Thread Andrew Beekhof
On Sun, Dec 6, 2009 at 8:31 PM, unni krishnan unnikrishna...@gmail.com wrote: Hi, We are using a cluster setup something like : http://picasaweb.google.com/lh/photo/e_uAYjG-8nh7oRZzXDp5HA?feat=directlink We are using OpenVZ for Virtualization DRBD with ocfs2 in dual primary mode

Re: [Pacemaker] pacemaker's logging level

2009-12-07 Thread Andrew Beekhof
On Thu, Dec 3, 2009 at 10:02 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi guys, Is there a way to increase the logging level of the pacemaker. Yes, but how depends on whether you're using heartbeat or openais underneath. I wish to see debug messages under /var/log/messages in

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Colin
On Mon, Dec 7, 2009 at 12:27 PM, Andrew Beekhof and...@beekhof.net wrote: On Mon, Dec 7, 2009 at 12:14 PM, Colin colin@gmail.com wrote: On Mon, Dec 7, 2009 at 12:07 PM, Andrew Beekhof and...@beekhof.net wrote: On Mon, Dec 7, 2009 at 11:10 AM, Colin colin@gmail.com wrote:  # crm

Re: [Pacemaker] Openais: Corosync Executive couldn't openconfiguration component 'openaisserviceenable'

2009-12-07 Thread Frank DiMeo
AFAIK, this version uses /etc/corosync/corosync.conf. I get the impression this things are in flux right now, but once you find the right directories/files to use, it works. I'm sure that after some cleanup these seemingly conflicting elements will be removed. -Frank -Original

Re: [Pacemaker] pacemaker's logging level

2009-12-07 Thread Shravan Mishra
I'm using corosync, I assume I have to get cluster-glue for logd daemon, is that correct? I'm asking this is because we have an appliance and don't have a build env in-house , the appliance guys build it for us. There is a back-forth delay so I have to know in advance. Thanks Shravan On Mon,

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Dejan Muhamedagic
Hi, On Mon, Dec 07, 2009 at 01:01:19PM +0100, Colin wrote: On Mon, Dec 7, 2009 at 12:27 PM, Andrew Beekhof and...@beekhof.net wrote: On Mon, Dec 7, 2009 at 12:14 PM, Colin colin@gmail.com wrote: On Mon, Dec 7, 2009 at 12:07 PM, Andrew Beekhof and...@beekhof.net wrote: On Mon, Dec 7,

Re: [Pacemaker] pacemaker's logging level

2009-12-07 Thread Dejan Muhamedagic
Hi, On Mon, Dec 07, 2009 at 11:59:54AM -0500, Shravan Mishra wrote: I'm using corosync, I assume I have to get cluster-glue for logd daemon, is that correct? Yes. You need cluster-glue for pacemaker anyway. Thanks, Dejan I'm asking this is because we have an appliance and don't have a

[Pacemaker] patch for rsc_order loops.

2009-12-07 Thread Frank DiMeo
I've enclosed at mercurial patch for what I believe is a fix for the resource ordering loop creation that I've been chasing. Please look it over and if you approve, I can submit it. -Frank rsc_order_loop_patch Description: rsc_order_loop_patch

Re: [Pacemaker] pacemaker's logging level

2009-12-07 Thread Shravan Mishra
Thanks Shravan On Mon, Dec 7, 2009 at 1:59 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Mon, Dec 07, 2009 at 11:59:54AM -0500, Shravan Mishra wrote: I'm using corosync, I assume I have to get cluster-glue for logd daemon, is that correct? Yes. You need cluster-glue for

Re: [Pacemaker] patch for rsc_order loops.

2009-12-07 Thread Frank DiMeo
Is the repo at http://hg.clusterlabs.org/pacemaker/stable-1.0 broken? When I try to build it, I get an error in mar_gen.h, line 181. Expected ')' before '*' token. -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Monday, December 07, 2009 2:19 PM To: Andrew Beekhof

Re: [Pacemaker] patch for rsc_order loops.

2009-12-07 Thread Frank DiMeo
Actually, now that I look at it more closely, that a corosync file. Maybe I need to update my corosync source? -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Monday, December 07, 2009 4:58 PM To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] patch for

[Pacemaker] crm.dtd

2009-12-07 Thread Frank DiMeo
It looks like crm.dtd is a file that's generated during the make. I suggest removing it from the repo, so it's not under control. -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Monday, December 07, 2009 5:13 PM To: pacemaker@oss.clusterlabs.org Subject: Re:

[Pacemaker] build issues

2009-12-07 Thread Frank DiMeo
Please disregard the build issues I asked about. Another clone that I pulled seems to build fine. Sorry about that. -Frank From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] Sent: Monday, December 07, 2009 5:13 PM To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] patch for

[Pacemaker] Asymmetrical cluster : should it probe resources that won't be installed on a node ?

2009-12-07 Thread Thomas Guthmann
Hi, I was wondering why pacemaker is throwing errors about program not installed when it is normal that is not. For instance, on a loadbalancer node (ed-lb2) we don't want to host named (DNS daemon). The cluster is working so far even if pacemaker seems not happy because it still tries to