[Pacemaker] Question about master/slave resource promotion

2012-02-24 Thread David Vossel
Hey, I have a 2 node cluster with a multi-state master/slave resource. When the multi-state resources start up on each node they enter the Slave role.  At that point I can't figure out how to promote the resource to activate the Master role on one of the nodes. Is there anything special I need

Re: [Pacemaker] OFFLINE node after cluster upgrade

2012-02-24 Thread ruslan usifov
I solve this problem! On one node in log i found follow error message. slv009 peer is not p art of our cluster So i stop pacemaker in that host (i use v1 for pacemaker): /etc/pacemaker stop /etc/corosync stop Then remove all cib info from /var/lib/heatbeat/crm and cleanup /var/lib/pen

Re: [Pacemaker] DRBD, Fedora, and systemd (tangent off of Re: Upstart resources)

2012-02-24 Thread Andrew Beekhof
On Sat, Feb 25, 2012 at 1:07 AM, Florian Haas wrote: > On 02/23/12 23:48, Andrew Beekhof wrote: >> On Thu, Feb 23, 2012 at 6:31 PM, Ante Karamatic wrote: >>> On 23.02.2012 00:10, Andrew Beekhof wrote: >>> Do you still have LSB scripts on a machine thats using upstart? >>> >>> Yes, some LSB s

[Pacemaker] OFFLINE node after cluster upgrade

2012-02-24 Thread ruslan usifov
Hello I have 3 nodes cluster setup. After upgrade OS, i get that one node parmanently on OFFLINE state. OS: ubuntu 10.0.4 pacemaker: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c on OFFLINE node i see in log follow: Feb 24 20:27:45 slv009 crmd: [9125]: info: do_dc_release: DC role released

[Pacemaker] DRBD, Fedora, and systemd (tangent off of Re: Upstart resources)

2012-02-24 Thread Florian Haas
On 02/23/12 23:48, Andrew Beekhof wrote: > On Thu, Feb 23, 2012 at 6:31 PM, Ante Karamatic wrote: >> On 23.02.2012 00:10, Andrew Beekhof wrote: >> >>> Do you still have LSB scripts on a machine thats using upstart? >> >> Yes, some LSB scripts can't be easily converted to upstart jobs. Or, >> let's

Re: [Pacemaker] Configuring 3rd Node as Quorum Node in 2 Node Cluster

2012-02-24 Thread Andreas Kurz
Hello, On 02/23/2012 03:59 PM, Andrew Martin wrote: > I set up the 3rd node ("quorum") yesterday by only installing heartbeat, > not pacemaker. Is pacemaker necessary as well? I commented out the > following lines in its ha.cf since it is always going to be running in > standby: > autojoin none >

Re: [Pacemaker] Failing to move around IPaddr2 resource

2012-02-24 Thread Lars Ellenberg
On Fri, Feb 24, 2012 at 11:46:07AM +1100, Andrew Beekhof wrote: > On Mon, Feb 20, 2012 at 12:44 PM, Anlu Wang wrote: > > I have three servers that I'm trying to create IP failover on with > > heartbeat. I have three IPs, one for each machine, and I want an IP to be > > assigned to a different mach

Re: [Pacemaker] How to run heartbeat and pacemaker resources as a non-root user

2012-02-24 Thread Lars Ellenberg
On Fri, Feb 24, 2012 at 10:28:05AM +1100, Andrew Beekhof wrote: > On Tue, Feb 21, 2012 at 2:41 PM, neha chatrath wrote: > > Hello, > > > > Thanks for the reply. > > I have been successfully using Heartbeat as a root user. > > But I have a system requirement for which I need to run my different cus

Re: [Pacemaker] questions about the booth

2012-02-24 Thread Jiaju Zhang
On Thu, 2012-02-23 at 11:10 +0900, Yuusuke Iida wrote: > Hi, Jiaju > > I want to ask some questions about booth. > > I confirm movement of booth by the following constitution. > node1, node2 - siteA(grant ticket) > node3, node4 - siteB > arbitrator > > 1. > boothd which moved in node1 did failov

Re: [Pacemaker] Suse 11 Sp1 gfs_controld not found

2012-02-24 Thread emmanuel segura
Sorry but i would to know why in my novell official repository i found the gfs2 kernel support? Il giorno 24 febbraio 2012 11:19, Andreas Kurz ha scritto: > On 02/24/2012 11:09 AM, emmanuel segura wrote: > > Hello > > > > I don't know why i don't find gfs_controld on suse 11 > > I'm quite sure G

Re: [Pacemaker] Suse 11 Sp1 gfs_controld not found

2012-02-24 Thread Andreas Kurz
On 02/24/2012 11:09 AM, emmanuel segura wrote: > Hello > > I don't know why i don't find gfs_controld on suse 11 I'm quite sure GFS2 is not supported/available in SLES 11 SP1 ... go with OCFS2. Regards, Andreas -- Need help with Pacemaker? http://www.hastexo.com/now > > -- > esta es mi vida

[Pacemaker] Suse 11 Sp1 gfs_controld not found

2012-02-24 Thread emmanuel segura
Hello I don't know why i don't find gfs_controld on suse 11 -- esta es mi vida e me la vivo hasta que dios quiera ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.

Re: [Pacemaker] Last chance to object to the syntax for cluster tickets (multi-site clusters)

2012-02-24 Thread Gao,Yan
Hi Florian, On 02/24/12 16:00, Florian Haas wrote: > On 02/24/12 02:53, Andrew Beekhof wrote: >> We're about to lock in the syntax for cluster tickets (used for >> multi-ste clusters). >> >> The syntax rules are at: >> >> https://github.com/gao-yan/pacemaker/commit/9e492f6231df2d8dd548f111a2490

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-24 Thread Johan Rosing Bergkvist
Den 24. feb. 2012 09.30 skrev Florian Haas : > On 02/24/12 09:21, Johan Rosing Bergkvist wrote: > > Sorry parameter, you're right. > > But still It didn't mount untill I added the drbdconf parameter. > > > > primitive clusterDRBD ocf:linbit:drbd \ > > params drbd_resource="cluster-ocfs" *d

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-24 Thread Florian Haas
On 02/24/12 09:21, Johan Rosing Bergkvist wrote: > Sorry parameter, you're right. > But still It didn't mount untill I added the drbdconf parameter. > > primitive clusterDRBD ocf:linbit:drbd \ > params drbd_resource="cluster-ocfs" *drbdconf="/etc/drbd.conf" > *#This is what I added \ >

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-24 Thread Johan Rosing Bergkvist
Sorry parameter, you're right. But still It didn't mount untill I added the drbdconf parameter. primitive clusterDRBD ocf:linbit:drbd \ params drbd_resource="cluster-ocfs" *drbdconf="/etc/drbd.conf" *#This is what I added \ op monitor interval="20" role="Master" timeout="20" \

Re: [Pacemaker] How to prevent restart of a resource?

2012-02-24 Thread Adrian Fita
On Fri, Feb 24, 2012 at 01:37, Andrew Beekhof wrote: > On Thu, Feb 16, 2012 at 2:57 AM, Adrian Fita wrote: >> Hi. >> >> This is related to the previous email, "Advisory ordering on clones >> not working", >> http://oss.clusterlabs.org/pipermail/pacemaker/2012-February/013119.html. >> I read some

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-24 Thread Florian Haas
On 02/24/12 08:50, Johan Rosing Bergkvist wrote: > Hi > Just an update. > So I upgraded to pacemaker 1.1.6 and tried to configure it all again, > without dlm. > It didn't work, I still got the "OCF_ERR_INSTALLED so I started looking > through the setup and found that I didn't specify the drbd.conf

Re: [Pacemaker] Last chance to object to the syntax for cluster tickets (multi-site clusters)

2012-02-24 Thread Florian Haas
On 02/24/12 02:53, Andrew Beekhof wrote: > We're about to lock in the syntax for cluster tickets (used for > multi-ste clusters). > > The syntax rules are at: > > https://github.com/gao-yan/pacemaker/commit/9e492f6231df2d8dd548f111a2490f02822b29ea > > And its use, along with some examples, can