[Linux-HA] concurrent resources in heartbeat?

2011-02-09 Thread Erik Dobák
i search all ready resources mutual exclusion and concurrent resources but did not find anything usefull. question: is it possible to configure 2 resources with different configurations (jboss where the ip is different) on 2 node cluster, so that resource1 xor resource2 is running? need to do this

[Linux-HA] resource stickness question

2011-02-09 Thread Erik Dobák
i have 2 nodes which are running 2 resource groups in an active/passive cluster. my goal was to run 1 resource active on lc-cl1 and the other resource on node lc-cl2. this is how i configured it: group bamcluster ipaddr2 lcbam \ meta target-role="Started" is-managed="true" group bamcluste

Re: [Linux-HA] failed actions of heartbeat..

2011-02-04 Thread Erik Dobák
script in resources it seemed that its pretty often used. anyway thanks. E On Wed, Jan 19, 2011 at 13:36, Erik Dobák wrote: > thank you i did not ask for exact causes just for hints as i am new to > heartbeat. > > ad 1) yes i know > ad 2) i will not argue with you about this

Re: [Linux-HA] failed actions of heartbeat..

2011-01-19 Thread Erik Dobák
lets see. cheers E ps: there is a shortage of crystal balls worldwide, somebody should do something about this ;) On Wed, Jan 19, 2011 at 13:27, Andrew Beekhof wrote: > On Wed, Jan 19, 2011 at 12:14 PM, Erik Dobák wrote: > > yes but why did it time out? > > you're askin

Re: [Linux-HA] failed actions of heartbeat..

2011-01-19 Thread Erik Dobák
, Andrew Beekhof wrote: > On Wed, Jan 19, 2011 at 11:02 AM, Erik Dobák wrote: > > i have a cluster running on 1 node the resources are active. on the other > > they are passive. > > when i did status i got only STARTED for both resources. > > > > but over night see

[Linux-HA] failed actions of heartbeat..

2011-01-19 Thread Erik Dobák
i have a cluster running on 1 node the resources are active. on the other they are passive. when i did status i got only STARTED for both resources. but over night seems something went wrong see below. the strange thing is that both resources the ipaddr2 and jboss are running correctly but heartbe

[Linux-HA] heartbeat moves the resources when heartbeat starts on a second node

2011-01-18 Thread Erik Dobák
Hi people, i got my active/passive cluster running. when i start the first node all resources are started. but when i start the second node, all resources are stoped on the first node and started on the second node. why? do i something wrong? crm(live)configure# show node $id="b0de7d28-66b6-4720-

Re: [Linux-HA] starting to configure a resource via crm

2011-01-14 Thread Erik Dobák
nothing happened. i just do it for the first time so it takes time. E On Fri, Jan 14, 2011 at 16:11, Dejan Muhamedagic wrote: > On Fri, Jan 14, 2011 at 03:52:37PM +0100, Erik Dobák wrote: > > thanks i have it. > > by the way there is small error with extra ;; at the end of the sc

Re: [Linux-HA] starting to configure a resource via crm

2011-01-14 Thread Erik Dobák
thanks i have it. by the way there is small error with extra ;; at the end of the script. shell i open a bug? E On Fri, Jan 14, 2011 at 14:36, Dejan Muhamedagic wrote: > On Fri, Jan 14, 2011 at 02:09:17PM +0100, Erik Dobák wrote: > > seems like 3.0.3 did not have it but its here:

Re: [Linux-HA] starting to configure a resource via crm

2011-01-14 Thread Erik Dobák
seems like 3.0.3 did not have it but its here: http://hg.linux-ha.org/dev/archive/tip.tar.bz2 E On Fri, Jan 14, 2011 at 12:58, Erik Dobák wrote: > there are some but jboss is missing. > strange because here it is: > > http://www.linux-ha.org/doc/re-ra-jboss.html > > <http:/

Re: [Linux-HA] starting to configure a resource via crm

2011-01-14 Thread Erik Dobák
there are some but jboss is missing. strange because here it is: http://www.linux-ha.org/doc/re-ra-jboss.html <http://www.linux-ha.org/doc/re-ra-jboss.html>E On Fri, Jan 14, 2011 at 12:34, Dejan Muhamedagic wrote: > Hi, > > On Fri, Jan 14, 2011 at 11:11:17AM +0100, Erik Dobá

[Linux-HA] starting to configure a resource via crm

2011-01-14 Thread Erik Dobák
Hi, crm(live)configure# primitive test1 ocf:heartbeat:jboss \ > params \ > jboss_home=/opt/jboss \ > op monitor depth="0" timeout="30s" interval="10s" ERROR: ocf:heartbeat:jboss: could not parse meta-data: ERROR: ocf:heartbeat:jboss: no such resource agent any idea what i do wrong? E ___

[Linux-HA] ha for 2 jboss instancies in an active/passive cluster

2011-01-04 Thread Erik Dobák
Hi i am a completely newbie, but it seems that i will have to use Heartbeat to solve my problem. I have to install 2 jboss instancies on 1 server (multihoming/ vertical cluster) and unfortunataly the aplication inside jboss cant be run in an active/active cluster. now i have found this: http://w