On Mon, Mar 14, 2011 at 7:57 PM, tariq fillah <tariq...@gmail.com> wrote: > Hello, > I'am trying to add jboss as a resource in pacemaker. I run the following > command : configure primitive appserv ocf:heartbeat:jboss params > jboss_home=/usr/lib/jboss-5.0.0.GA op monitor depth="0" timeout="240s" > interval="10s" > I get the following warnings : > WARNING: Cluster: default timeout 20s for start is > smaller than the advised 60s > WARNING: Cluster: default timeout 20s for stop is > smaller than the advised 120s
perhaps add: op start interval=0 timeout=60s > And from the output of crm_mon I have the following > Failed actions: > appserv_start_0 (node=web14, call=4, rc=5, status=complete): not > installed > Jboss is correctly installed and I can run it from the run.sh correctly. But does the resource agent call the same thing? In order to understand why the script fails you need to see what its doing and replicate that. > Can anyone help me. > Thanks in advance > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker