we'd need at least the logs to be able to help you

On Mon, Jan 26, 2009 at 12:59, Tobias Appel <tap...@eso.org> wrote:
> Hi,
>
> I've added Monitor Operations to most of my resources and status
> operations to the ones I only have a lsb script for.
>
> I then stopped the resource not via the cluster but just via it's init
> script. I thought heartbeat would try to restart the resource, but
> instead it said: (unmanaged) failed and did nothing.
>
> I tried the same for apache webserver which runs via ocf script, here it
> also went into a failed state and did not restart but it was not
> unmanaged.
>
> I manually had to intervene then and cleanup the resource before it
> worked again.
>
> Here are parts of my resource configuration in the cib, where did I mess
> up? On another machine I did exactly the same and iirc it worked.
>
>     <primitive id="resource_http" class="ocf" type="apache"
> provider="heartbeat">
>       <instance_attributes id="resource_http_instance_attrs">
>         <attributes>
>           <nvpair id="6d4eb3c0-f34a-4931-8354-ff3e5aae5463"
> name="configfile" value="/etc/httpd/conf/
> httpd.conf"/>
>           <nvpair id="71e8aff1-f4c5-4a9a-a16d-a96e11234378"
> name="httpd" value="/usr/sbin/httpd"/>
>         </attributes>
>       </instance_attributes>
>       <operations>
>         <op id="op_http" name="monitor" interval="60" timeout="20"
> start_delay="1m" disabled="false"
> role="Started" prereq="quorum" on_fail="restart"/>
>       </operations>
>     </primitive>
>
>     <primitive id="nagios-core" class="lsb" type="nagios"
> provider="heartbeat">
>       <operations>
>         <op id="op_nagios" name="status" interval="60" timeout="20"
> start_delay="1m" disabled="false"
>  role="Started" prereq="quorum" on_fail="restart"/>
>       </operations>
>     </primitive>
>
>
> Bye,
> Tobi
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to