Re: [Pacemaker] Colocation / Order question

2010-12-08 Thread Vadym Chepkov
On Dec 8, 2010, at 9:43 AM, Michael Schwartzkopff wrote: > Hi, > > I have two groups each located on one node. So GroupA on nodeA and GroupB on > nodeB. > > I want to have a third resource (i.e. IP-Address) make run on any node where > one of the above groups are running, i.e. on nodeA or node

Re: [Pacemaker] Do I need a resource for a clustered LVM volume group or not?

2010-12-08 Thread Mike Diehn
On Wed, Dec 8, 2010 at 4:11 PM, Florian Haas wrote: > On 12/08/2010 09:34 PM, Mike Diehn wrote: > > > I want > > > to use OCFS2 on an LVM2 logical volume. > > > > Why why why??? > > > > > > Load balancing cluster. > > And that DAV locking thingy or whatever Subversion uses is actually

[Pacemaker] corosync rpm from cluster.org/rpm repo

2010-12-08 Thread Larry Brigman
Why is there no 1.2.8 corosync rpm in any of the http://www.clusterlabs.org/rpm repo directories? It says that the latest version of pacemaker was tested that version here: http://www.clusterlabs.org/wiki/Install#Versions_and_Compatibilty Was there no public rpm version built? __

Re: [Pacemaker] Do I need a resource for a clustered LVM volume group or not?

2010-12-08 Thread Florian Haas
On 12/08/2010 09:34 PM, Mike Diehn wrote: > > I want > > to use OCFS2 on an LVM2 logical volume. > > Why why why??? > > > Load balancing cluster. And that DAV locking thingy or whatever Subversion uses is actually cluster aware? > > > The PV for the volume group is > > a

Re: [Pacemaker] Do I need a resource for a clustered LVM volume group or not?

2010-12-08 Thread Mike Diehn
On Wed, Dec 8, 2010 at 3:01 PM, Florian Haas wrote: > On 12/08/2010 04:54 PM, Mike Diehn wrote: > > > > Hello all. > > > > First post. :-) > > > > I'm building a cluster for an Apache served subversion server. > > Why? Well I presume you must, otherwise whoever you're building this > fore would h

[Pacemaker] ERROR: crm_abort: clone_update_actions_interleave: Triggered assert at clone.c:1121 : then_action != NULL

2010-12-08 Thread Nikola Ciprich
Hello, I'd like to ask for help, I'm getting quite lots of those messages: ERROR: crm_abort: clone_update_actions_interleave: Triggered assert at clone.c:1121 : then_action != NULL What do they mean? I'm getting quite strange cluster behaviour so I'm trying to find out where the problem might be.

Re: [Pacemaker] Do I need a resource for a clustered LVM volume group or not?

2010-12-08 Thread Florian Haas
On 12/08/2010 04:54 PM, Mike Diehn wrote: > > Hello all. > > First post. :-) > > I'm building a cluster for an Apache served subversion server. Why? Well I presume you must, otherwise whoever you're building this fore would have long switched to git or Mercurial. > I want > to use OCFS2 on an

[Pacemaker] Do I need a resource for a clustered LVM volume group or not?

2010-12-08 Thread Mike Diehn
Hello all. First post. :-) I'm building a cluster for an Apache served subversion server. I want to use OCFS2 on an LVM2 logical volume. The PV for the volume group is a SAN LAN connected to the nodes with fiber channel. Some examples I found showed configuring a resource with ocf:heartbeat:L

Re: [Pacemaker] crmd exits and restarts after failback

2010-12-08 Thread Simon Jansen
During other tests I found out that the error only occurs when the Rsyslog resource is promoted on node1 during the start. If I change the constraints that refer to the Rsyslog resource to node2 Rsyslog is promoted on node2 and works as expected. The failover and failback are performed correctly.

[Pacemaker] crmd exits and restarts after failback

2010-12-08 Thread Simon Jansen
During other tests I found out that the error only occurs when the Rsyslog resource is promoted on node1 during the start. If I change the constraints that refer to the Rsyslog resource to node2 Rsyslog is promoted on node2 and works as expected. The failover and failback are performed correctly.

[Pacemaker] Colocation / Order question

2010-12-08 Thread Michael Schwartzkopff
Hi, I have two groups each located on one node. So GroupA on nodeA and GroupB on nodeB. I want to have a third resource (i.e. IP-Address) make run on any node where one of the above groups are running, i.e. on nodeA or nodeB. Can I realize this with constraint sets? Is it possible to have simp

Re: [Pacemaker] Reboot host when service fails

2010-12-08 Thread Pavlos Parissis
On 8 December 2010 10:50, Marko Potocnik wrote: > Hi, > is it possible to configure pacemaker to reboot host machine when a service > pacemaker monitors fails (or migration-threshold) for the service is > reached? > Service could be Virtual Machine or ordinary service (apache, database, ...) > Reg

[Pacemaker] crmd exits and restarts after failback

2010-12-08 Thread Simon Jansen
Hi, I have set up a pacemaker cluster on Ubuntu 10.04 LTS Server. Further I wrote an multistate OCF RA for the Rsyslog service. This RA passes all tests that are run by the ocf-tester tool. Now the problem: When I firstly start the msSyslog resource it promotes on node1 and is fully functional. A

Re: [Pacemaker] Constraints on cluster options

2010-12-08 Thread Andrew Beekhof
On Tue, Dec 7, 2010 at 1:52 PM, Evgeniy Ivanov wrote: > Hello, > > As I understand there is no constraints on cluster options, correct? > Resource FOO should be started only after B is started and event E > happened. Currently E is a node attribute set by some BAR resource on > all nodes, which lo

[Pacemaker] Master Slave resource

2010-12-08 Thread ruslan usifov
hello I have 2 node cluster with follow conf: node storage0 node storage1 primitive drbd_web ocf:linbit:drbd \ params drbd_resource="web" \ op monitor interval="30s" timeout="60s" primitive iscsi_ip ocf:heartbeat:IPaddr2 \ params ip="192.168.17.19" nic="eth1:1" cidr_netmask

Re: [Pacemaker] pacemaker segfault

2010-12-08 Thread ruslan usifov
i build pacemaker from latest source and problem gone 2010/12/6 Dejan Muhamedagic > Hi, > > On Mon, Dec 06, 2010 at 03:11:03PM +0300, ruslan usifov wrote: > > hello > > > > I run pacemaker on ubuntu (Ubuntu 10.04.1 LTS) with corosync, i installed > it > > from apt, and my pacemaker version is: >

[Pacemaker] Reboot host when service fails

2010-12-08 Thread Marko Potocnik
Hi, is it possible to configure pacemaker to reboot host machine when a service pacemaker monitors fails (or migration-threshold) for the service is reached? Service could be Virtual Machine or ordinary service (apache, database, ...) Regards, Marko __

Re: [Pacemaker] OCF RA dev guide: final heads up

2010-12-08 Thread Andrew Beekhof
On Mon, Dec 6, 2010 at 4:25 PM, Florian Haas wrote: > Hello Bob, > > On 2010-12-03 20:12, Bob Schatz wrote: >> Florian, >> >> Thanks for writing this! >> >> I already found one or two errors related to return codes in my agent based >> on >> your document. :) >> >> I have not read the entire docu