[Pacemaker] Problems with jboss on pacemaker

Andrew Beekhof andrew at beekhof.net
Wed May 4 02:34:41 EDT 2011


On Tue, May 3, 2011 at 5:03 PM, Benjamin Knoth <knoth at mpdl.mpg.de> 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 the primary server for example to standby, the secondary
> server will switch to primary and all services will start on the new
> primary server. Only JBoss couldn't started, because in the first
> check pacemaker put this message out p_jboss_monitor_0 (node=vm36,
> call=294, rc=5, status=complete): not installed. I think it means,
> that the partion of jboss isn't mounted

something the jboss script needs isn't available without the filesystem mounted.
you might need to have the agent check the ps output and return a
different error code in that case.

>
> If i delete this primitive and create a new for example p_jboss_init
> everything starts but on the secondary server i get a failed action
> again p_jboss_init_monitor_0 (node=vm37, call=257, rc=5,
> status=complete): not installed.
>
> What's the best solution to resolve this problem.
>
>
> ============
>
> Online: [ vm37 vm36 ]
>
>  Resource Group: g_jboss
>     p_fs_jboss    (ocf::heartbeat:Filesystem):    Started vm37
>     ip_test    (ocf::heartbeat:IPaddr2):    Started vm37
>     p_apache2    (ocf::heartbeat:apache):    Started vm37
>     p_jboss    (lsb:jboss):    Started vm37
>
>  Master/Slave Set: ms_drbd_jboss
>     Masters: [ vm37 ]
>     Slaves: [ vm36 ]
>
>
> Failed actions:
>    p_jboss_init_monitor_0 (node=vm37, call=257, rc=5,
> status=complete): not installed
>    p_jboss_monitor_0 (node=vm36, call=294, rc=5, status=complete):
> not installed
>
> Best regards
>
> Benjamin
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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
>




More information about the Pacemaker mailing list