Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Hi, Dejan Muhamedagic wrote: > Hi Yan, > > On Wed, Jan 13, 2010 at 08:49:00PM +0800, Yan Gao wrote: >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> On Wed, Jan 13, 2010 at 10:04:12AM +0100, Andrew Beekhof wrote: >>> [...] > The user "ygao" is a system account. > We could define severa

Re: [Pacemaker] DC election with downed node in 2-way cluster

2010-01-13 Thread Miki Shapiro
>> And the node really did power down? Yes. 100% certain and positive. OFF. >> But the other node didn't notice?!? Its resources (drbd master and the fence clone) did notice. Its dc-election-mechanism did NOT notice (and the survivor didn't re-elect) Its quorum-election mechanism did NOT notice (a

Re: [Pacemaker] Split Site 2-way clusters

2010-01-13 Thread Miki Shapiro
When you suggest: >>> What about setting no-quorum-policy to freeze and making the third node a >>> full cluster member (that just doesn't run any resources)? That way, if you get a 1-1-1 split the nodes will leave all services running where they were and while it waits for quorum. And if it heal

[Pacemaker] CRM strange errors

2010-01-13 Thread Hunny Bunny
Hello folkz, I have compiled Corosync/OpenAIS, Pacemaker, DRBD and OCFS2 cluster environment,  generated cib.xml file with haresources2cib.py script, and put it into /var/lib/heartbeat/crm directory When I try to run either 'crm configure show' or 'crm configure' I'm getting these error

Re: [Pacemaker] Dutch language documentation Xen HA with pacemaker

2010-01-13 Thread Andrew Beekhof
On Wed, Jan 13, 2010 at 2:25 PM, Sander van Vugt wrote: > Hi list, > > I know there are a few people from my country on the list (and some > Germans that read Dutch). I've written a rather complete document that > describes how to create a high availability solution for Xen virtual > machines. Abo

Re: [Pacemaker] OCF scripts for cups and courier-imap

2010-01-13 Thread Florian Haas
On 01/12/2010 06:42 PM, cheibi welid wrote: > > > On Mon, Jan 11, 2010 at 9:20 AM, Florian Haas > wrote: > > On 2010-01-09 10:00, cheibi welid wrote: > > Hi all, > > > > I am currently testing a HA cluster with DRBD (Pacemaker, Heartbeat, > >

Re: [Pacemaker] [Linux-HA] Multiple Choice test for cluster knowledge

2010-01-13 Thread Florian Haas
On 2010-01-13 14:19, darren.mans...@opengi.co.uk wrote: > Yes please in English for both! > > Have you (or anyone else) thought of doing a Linux-HA certification? Yes. We have. It's called DRBD Certified Engineer but actually covers not only DRBD, but Heartbeat, Corosync and Pacemaker also and wi

[Pacemaker] Dutch language documentation Xen HA with pacemaker

2010-01-13 Thread Sander van Vugt
Hi list, I know there are a few people from my country on the list (and some Germans that read Dutch). I've written a rather complete document that describes how to create a high availability solution for Xen virtual machines. About 80 pages if you also count the pictures. If anyone likes to have

Re: [Pacemaker] [Linux-HA] Multiple Choice test for cluster knowledge

2010-01-13 Thread Darren.Mansell
Yes please in English for both! Have you (or anyone else) thought of doing a Linux-HA certification? Darren -Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Michael Schwartzkopff Sent: 13 January 2010 13:17 To: The Pa

[Pacemaker] Multiple Choice test for cluster knowledge

2010-01-13 Thread Michael Schwartzkopff
Hi, together with the "Clusterbau" book I developed a quick & dirty multiple choice test for your knowledge about pacemaker. Download the test under: http://www.oreilly.de/catalog/linuxhacluster2ger/Clusterbau_Exam4Fun.zip Sorry, the test is at the moment only in German. The book is also in Ger

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Dejan Muhamedagic
Hi Yan, On Wed, Jan 13, 2010 at 08:49:00PM +0800, Yan Gao wrote: > Dejan Muhamedagic wrote: > > Hi, > > > > On Wed, Jan 13, 2010 at 10:04:12AM +0100, Andrew Beekhof wrote: > > [...] > >>> The user "ygao" is a system account. > >>> We could define several roles as we wish, such as "admin",

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Dejan Muhamedagic wrote: > Hi, > > On Wed, Jan 13, 2010 at 10:04:12AM +0100, Andrew Beekhof wrote: > [...] >>> The user "ygao" is a system account. >>> We could define several roles as we wish, such as "admin", >>> "operator" and "monitor", which could contain a member list >>> res

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Hi Dejan, Dejan Muhamedagic wrote: > Hi Yan, > > On Wed, Jan 13, 2010 at 01:21:29PM +0800, Yan Gao wrote: >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> On Tue, Jan 12, 2010 at 08:00:56PM +0800, Yan Gao wrote: Hi Dejan, Dejan Muhamedagic wrote: > Hi, > > On Mon, Jan 11, 20

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Andrew Beekhof wrote: > On Wed, Jan 13, 2010 at 6:21 AM, Yan Gao wrote: >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> On Tue, Jan 12, 2010 at 08:00:56PM +0800, Yan Gao wrote: Hi Dejan, Dejan Muhamedagic wrote: >> The user "ygao" is a system account. >> We could define several

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Andrew Beekhof wrote: > On Tue, Jan 12, 2010 at 1:06 PM, Yan Gao wrote: >> Andrew Beekhof wrote: >>> On Tue, Jan 12, 2010 at 10:41 AM, Dejan Muhamedagic >>> wrote: Hi, On Mon, Jan 11, 2010 at 09:01:30PM +0800, Yan Gao wrote: > BTW, there're some changes comparing to the origin

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Dejan Muhamedagic
Hi, On Wed, Jan 13, 2010 at 10:04:12AM +0100, Andrew Beekhof wrote: [...] > > The user "ygao" is a system account. > > We could define several roles as we wish, such as "admin", > > "operator" and "monitor", which could contain a member list > > respectively if more than one user h

[Pacemaker] Some questions about master/slave clones?

2010-01-13 Thread Jason Lee
hi: what's the difference between anonymous clone and master/slave clones? how to use crm command to set up a apache master/slave clone? #crm(live)configure: primitive www ocf:heartbeat:apache params confile=/etc/apache2/httpd.conf op monitor intervals=10s

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Dejan Muhamedagic
Hi Yan, On Wed, Jan 13, 2010 at 01:21:29PM +0800, Yan Gao wrote: > Dejan Muhamedagic wrote: > > Hi, > > > > On Tue, Jan 12, 2010 at 08:00:56PM +0800, Yan Gao wrote: > >> Hi Dejan, > >> > >> Dejan Muhamedagic wrote: > >>> Hi, > >>> > >>> On Mon, Jan 11, 2010 at 09:01:30PM +0800, Yan Gao wrote: > >

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Andrew Beekhof
On Wed, Jan 13, 2010 at 6:21 AM, Yan Gao wrote: > Dejan Muhamedagic wrote: >> Hi, >> >> On Tue, Jan 12, 2010 at 08:00:56PM +0800, Yan Gao wrote: >>> Hi Dejan, >>> >>> Dejan Muhamedagic wrote: Hi, On Mon, Jan 11, 2010 at 09:01:30PM +0800, Yan Gao wrote: > .. >     >    

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Andrew Beekhof
On Tue, Jan 12, 2010 at 1:06 PM, Yan Gao wrote: > > Andrew Beekhof wrote: >> On Tue, Jan 12, 2010 at 10:41 AM, Dejan Muhamedagic >> wrote: >>> Hi, >>> >>> On Mon, Jan 11, 2010 at 09:01:30PM +0800, Yan Gao wrote: >> >> Ah, I was looking in the patch. >>                    

Re: [Pacemaker] DC election with downed node in 2-way cluster

2010-01-13 Thread Andrew Beekhof
On Wed, Jan 13, 2010 at 9:12 AM, Miki Shapiro wrote: > Halt = soft off - a natively issued poweroff command that shuts stuff down > nicely, then powers the blade off. And the node really did power down? But the other node didn't notice?!? That is insanely bad - looking forward to those logs. > L

Re: [Pacemaker] Split Site 2-way clusters

2010-01-13 Thread Andrew Beekhof
On Wed, Jan 13, 2010 at 8:19 AM, Miki Shapiro wrote: > Separate to my earlier post re CRM DC election in a 2-way cluster, I’m > chasing up the (separate) issue of making the cluster a CROSS-SITE one. > > > > As stated in yay other thread, I’m running a 2-way quorum-agnostic cluster > on a SLES11,

Re: [Pacemaker] DC election with downed node in 2-way cluster

2010-01-13 Thread Miki Shapiro
Halt = soft off - a natively issued poweroff command that shuts stuff down nicely, then powers the blade off. Logs I'll send tomorrow (our timezone is just wrapping up for the day). Thanks! From: Andrew Beekhof [mailto:and...@beekhof.net] Sent: Wednesday, 13 January 2010 7:07 PM To: pacemaker@o

Re: [Pacemaker] DC election with downed node in 2-way cluster

2010-01-13 Thread Andrew Beekhof
On Wed, Jan 13, 2010 at 3:25 AM, Miki Shapiro wrote: > Hi all > > > > I’m attempting to build a 2-way cluster, SLES-11-based with an > openais/pacemaker stack. I’ve got the nodes and a resource (a drbd volume) > happening. What I’m not sure about is the active CRM DC election process. > > > > I c

Re: [Pacemaker] Clarification about corosync timing values

2010-01-13 Thread Andrew Beekhof
On Tue, Jan 12, 2010 at 5:46 PM, Andreas Mock wrote: > Hi all, > > the installation guide at > http://www.clusterlabs.org/wiki/Initial_Configuration#CoroSync > has an example corosync.conf with some values different than > the defaults described by the man page (corosync 1.2.0). > > I would be int

Re: [Pacemaker] Pacemaker/OpenAIS Software for openSuSE 11.2

2010-01-13 Thread Andrew Beekhof
On Tue, Jan 12, 2010 at 10:11 PM, Steven Dake wrote: > >> > d) If I would try to compile from source as described at >> > http://www.clusterlabs.org/wiki/Install#First_Steps >> > one step is to get openais. Why are all the relevant >> > prebuild library packages called corosync? >> > I don't under