Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-19 Thread Benjamin Knoth
Hi Nakahira, i use only modified running jboss, which i used with my application, which runs on jboss. I set also the parms with the right directories. I got everytime the same error, if i think the parms configuration should be ok. Now i modified the orginal used LSB script and now i think it shou

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-09 Thread NAKAHIRA Kazutomo
Hi, Benjamin primitive p_jboss_ocf ocf:heartbeat:jboss \ params java_home="/usr/lib64/jvm/java" jboss_home="/usr/share/jboss" jboss_pstring="java -Dprogram.name=run.sh" jboss_stop_timeout="30" \ op start interval="0" timeout="240s" \ op stop interval="0" timeout="240s" \

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-06 Thread Dejan Muhamedagic
On Thu, May 05, 2011 at 06:39:09PM +0200, Benjamin Knoth wrote: > Hi > > Am 05.05.2011 16:35, schrieb Dejan Muhamedagic: > > On Thu, May 05, 2011 at 12:26:57PM +0200, Benjamin Knoth wrote: > >> Hi again, > >> > >> i copied the jboss ocf and modified the variables, that the script use > >> my varia

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-05 Thread Benjamin Knoth
Hi Am 05.05.2011 16:35, schrieb Dejan Muhamedagic: > On Thu, May 05, 2011 at 12:26:57PM +0200, Benjamin Knoth wrote: >> Hi again, >> >> i copied the jboss ocf and modified the variables, that the script use >> my variables ifi start it. Now if i start the ocf script i get the >> following everytim

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-05 Thread Dejan Muhamedagic
On Thu, May 05, 2011 at 12:26:57PM +0200, Benjamin Knoth wrote: > Hi again, > > i copied the jboss ocf and modified the variables, that the script use > my variables ifi start it. Now if i start the ocf script i get the > following everytime. > > ./jboss-test start > jboss-test[6165]: DEBUG: [jbo

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-05 Thread Dejan Muhamedagic
On Thu, May 05, 2011 at 12:03:45PM +0200, Benjamin Knoth wrote: > Hi, > > Am 05.05.2011 11:46, schrieb Dejan Muhamedagic: > > On Wed, May 04, 2011 at 03:44:02PM +0200, Benjamin Knoth wrote: > >> > >> > >> Am 04.05.2011 13:18, schrieb Benjamin Knoth: > >>> Hi, > >>> > >>> Am 04.05.2011 12:18, schri

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-05 Thread Benjamin Knoth
Hi again, i copied the jboss ocf and modified the variables, that the script use my variables ifi start it. Now if i start the ocf script i get the following everytime. ./jboss-test start jboss-test[6165]: DEBUG: [jboss] Enter jboss start jboss-test[6165]: DEBUG: start_jboss[jboss]: retry monitor

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-05 Thread Benjamin Knoth
Hi, Am 05.05.2011 11:46, schrieb Dejan Muhamedagic: > On Wed, May 04, 2011 at 03:44:02PM +0200, Benjamin Knoth wrote: >> >> >> Am 04.05.2011 13:18, schrieb Benjamin Knoth: >>> Hi, >>> >>> Am 04.05.2011 12:18, schrieb Dejan Muhamedagic: Hi, On Wed, May 04, 2011 at 10:37:40AM +0200, B

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-05 Thread Dejan Muhamedagic
On Wed, May 04, 2011 at 03:44:02PM +0200, Benjamin Knoth wrote: > > > Am 04.05.2011 13:18, schrieb Benjamin Knoth: > > Hi, > > > > Am 04.05.2011 12:18, schrieb Dejan Muhamedagic: > >> Hi, > >> > >> On Wed, May 04, 2011 at 10:37:40AM +0200, Benjamin Knoth wrote: > >> > >> > >> Am 04.05.2011 09:42

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-04 Thread Benjamin Knoth
Am 04.05.2011 13:18, schrieb Benjamin Knoth: > Hi, > > Am 04.05.2011 12:18, schrieb Dejan Muhamedagic: >> Hi, >> >> On Wed, May 04, 2011 at 10:37:40AM +0200, Benjamin Knoth wrote: >> >> >> Am 04.05.2011 09:42, schrieb Florian Haas: > On 05/04/2011 09:31 AM, Benjamin Knoth wrote: >> Hi Fl

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-04 Thread Benjamin Knoth
Hi, Am 04.05.2011 12:18, schrieb Dejan Muhamedagic: > Hi, > > On Wed, May 04, 2011 at 10:37:40AM +0200, Benjamin Knoth wrote: > > > Am 04.05.2011 09:42, schrieb Florian Haas: On 05/04/2011 09:31 AM, Benjamin Knoth wrote: > Hi Florian, > i test it with ocf, but i couldn't run.

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-04 Thread Dejan Muhamedagic
Hi, On Wed, May 04, 2011 at 10:37:40AM +0200, Benjamin Knoth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > Am 04.05.2011 09:42, schrieb Florian Haas: > > On 05/04/2011 09:31 AM, Benjamin Knoth wrote: > >> Hi Florian, > >> i test it with ocf, but i couldn't run. > > > > Well

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-04 Thread Benjamin Knoth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 04.05.2011 09:42, schrieb Florian Haas: > On 05/04/2011 09:31 AM, Benjamin Knoth wrote: >> Hi Florian, >> i test it with ocf, but i couldn't run. > > Well that's really helpful information. Logs? Error messages? Anything? Logs May 4 09:55:10

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-04 Thread Florian Haas
On 05/04/2011 09:31 AM, Benjamin Knoth wrote: > Hi Florian, > i test it with ocf, but i couldn't run. Well that's really helpful information. Logs? Error messages? Anything? Florian signature.asc Description: OpenPGP digital signature ___ Pacemaker

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-04 Thread Benjamin Knoth
Hi Florian, i test it with ocf, but i couldn't run. What params do i need to run jboss successfully? Cheers, Benjamin Am 04.05.2011 09:23, schrieb Florian Haas: > On 05/03/2011 05:03 PM, Benjamin Knoth wrote: >> Hi all, >> i testing pacemaker with jboss. >> My lsb-skript for jboss checks on sta

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-04 Thread Florian Haas
On 05/03/2011 05:03 PM, Benjamin Knoth wrote: > Hi all, > i testing pacemaker with jboss. > My lsb-skript for jboss checks on start the availability of jboss files. Any specific reason for using an LSB script to manage JBoss, rather than ocf:heartbeat:jboss? Cheers, Florian signature.asc Descr

Re: [Pacemaker] Problems with jboss on pacemaker

2011-05-03 Thread Andrew Beekhof
On Tue, May 3, 2011 at 5:03 PM, Benjamin Knoth wrote: > Hi all, > i testing pacemaker with jboss. > My lsb-skript for jboss checks on start the availability of jboss files. > Everything will be start on the primary server. But on the secondary > server i get an monitor failed action. > If i set th

[Pacemaker] Problems with jboss on pacemaker

2011-05-03 Thread Benjamin Knoth
Hi all, i testing pacemaker with jboss. My lsb-skript for jboss checks on start the availability of jboss files. Everything will be start on the primary server. But on the secondary server i get an monitor failed action. If i set the primary server for example to standby, the secondary server will