Re: [Pacemaker] how to run a remote script [SOLVED]

2009-10-29 Thread gilberto migliavacca
Hi I solved the problem using the APACHE for the moment I created the the apache resource and the ip resource qith the crm command line tool than with the crm resource start command I can start (and after that stop) the apache server on the node there was a problem with the APACHE installatio

Re: [Pacemaker] how to run a remote script

2009-10-28 Thread Andrew Beekhof
On Mon, Oct 26, 2009 at 12:11 PM, gilberto migliavacca wrote: > Hi Dejan > > unfortunately I cannot find a solution about my problem > in the docs. > My concern is about the steps I have to take, maybe it's > not completly clear to me the entore process, sorry but this > is the first time for me;

Re: [Pacemaker] how to run a remote script

2009-10-26 Thread gilberto migliavacca
Hi Dejan unfortunately I cannot find a solution about my problem in the docs. My concern is about the steps I have to take, maybe it's not completly clear to me the entore process, sorry but this is the first time for me; could you please confirm the following procedure? thanks in advance 1) I h

Re: [Pacemaker] how to run a remote script

2009-10-22 Thread Dejan Muhamedagic
Hi, On Thu, Oct 22, 2009 at 06:54:29PM +0200, gilberto migliavacca wrote: > Hi > > I need a step behind now > > I installed a java stand alone process with its onw start and stop scripts > on the 2 nodes and my purpose is to start/stop these services using > pacemaker > > how can I create the "

Re: [Pacemaker] how to run a remote script

2009-10-22 Thread gilberto migliavacca
Hi I need a step behind now I installed a java stand alone process with its onw start and stop scripts on the 2 nodes and my purpose is to start/stop these services using pacemaker how can I create the "myapp resource agent" on the nodes, somthing like the ocf:heartbeat:tomcat? thanks in a

Re: [Pacemaker] how to run a remote script

2009-10-22 Thread gilberto migliavacca
Hi Schmidt I'll try, thanks for the info gilberto Schmidt, Torsten wrote: Hi Gilberto, take a look at the tomcat ocf-script: start 'crm' to to 'ra' and do: crm(live)ra# meta tomcat ocf here you see the parameters (required and optional) implement the tomcat as primitive resource dependen

Re: [Pacemaker] how to run a remote script

2009-10-22 Thread Schmidt, Torsten
Hi Gilberto, take a look at the tomcat ocf-script: start 'crm' to to 'ra' and do: crm(live)ra# meta tomcat ocf here you see the parameters (required and optional) implement the tomcat as primitive resource dependend on a cluster-ip (IPaddr2) like this: primitive res.ocf.tomct ocf:heartbeat:to