[Pacemaker] HA for apache, doesnot work with pacemaker
Andrew Beekhof
andrew at beekhof.net
Thu May 30 00:35:45 UTC 2013
On 30/05/2013, at 12:48 AM, Gopi Krishna B <gopi97468 at gmail.com> wrote:
> Hi, Thanks for the quick reply,
> Verified the steps and the /status works fine,
> Strangely, the pcs status shows as stopped but the apache process is running fine, and the dashboard (horizon) works.
>
> Is there any bug with the ocf resource agent being used ?
Possibly, but on the unlikely side.
Perhaps add some additional logging to the agent and try running the same commands it uses.
>
> Below are the logs.
>
> openstack_dashboard (ocf::heartbeat:apache): Stopped
>
> Failed actions:
> openstack_dashboard_start_0 (node=cirrus, call=200, rc=1, status=Timed Out): unknown error
> openstack_dashboard_start_0 (node=claudius1, call=144, rc=1, status=Timed Out): unknown error
>
>
> May 29 17:02:27 cirrus lrmd[8312]: notice: operation_finished: openstack_dashboard_start_0:14153 [ 2013/05/29_17:02:26 INFO: waiting for apache /etc/httpd/conf/httpd.conf to come up ]
> May 29 17:02:29 cirrus lrmd[8312]: notice: operation_finished: openstack_dashboard_stop_0:17848 [ 2013/05/29_17:02:28 INFO: apache is not running. ]
> May 29 17:02:29 cirrus lrmd[8312]: notice: operation_finished: openstack_dashboard_stop_0:17848 [ 2013/05/29_17:02:28 INFO: apache children were signalled (SIGTERM) ]
>
>
>
> On Wed, May 29, 2013 at 2:58 PM, Florian Crouzat <gentoo at floriancrouzat.net> wrote:
> Le 29/05/2013 11:48, Gopi Krishna B a écrit :
> Allow from 10.102.228.60
>
> Maybe you need Allow from 127.0.0.1 , or ::1 (localhost).
>
> Anyway, proceed step by step and validate your apache setup first, especially that the /status works fine.
>
> Then you can try to add HA to it, and provides pacemaker logs once you are sure apache is properly configured but pacemaker still fails to bring it up.
>
> --
> Cheers,
> Florian Crouzat
>
> _______________________________________________
> 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://bugs.clusterlabs.org
>
>
>
> --
> Regards
> Gopi Krishna
> Mobile: +919849790912
>
>
> _______________________________________________
> 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://bugs.clusterlabs.org
More information about the Pacemaker
mailing list