[Pacemaker] Tomcat and "unmanaged failed"
Andreas Kurz
andreas at hastexo.com
Wed May 30 23:14:24 UTC 2012
On 05/30/2012 03:41 PM, Stallmann, Andreas wrote:
> Hi!
>
>> Yes, that is default behaviour ... Pacemaker tries to stop, that fails so it must assume (worst case) it is still running, now STONITH would trigger to make sure the node including the resource is definitely down ... without STONITH it stays unmanaged until cleared.
>
> STONITH is not possible in our scenario, unfortunately. I'd rather have the tomcat script try to "stop" the daemon twice and if this does not succeed get the PID and kill it hard (and then report "0" on the stop action to crm). Should be possible by changing the script, shouldn't it?
Of course, this is possible ... please share your changes with the
community ;-)
>
>> First attempt should be to fix your application. There is also the "failure-timeout" resource meta-attribute ... in combination with the cluster-recheck-interval cluster property, this clears resource failures on a regular base.
>
> Our developers are currently trying to fix the bug, but it might remain for some time. Thus we need an interim solution. I'll try the property and attribut you named. Still, this won't help if the resource remains "un-stop-able", right?
>
It will also "forget" stop-failures.
Regards,
Andreas
--
Need help with Pacemaker?
http://www.hastexo.com/now
> Cheers,
>
> Andreas
> --
> Need help with Pacemaker?
> http://www.hastexo.com/now
>
>
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Andreas
>>
>> --
>> CONET Solutions GmbH
>> Andreas Stallmann,
>> Theodor-Heuss-Allee 19, 53773 Hennef
>> Tel.: +49 2242 939-677, Fax: +49 2242 939-393
>> Mobil: +49 172 2455051
>> Internet: http://www.conet.de, mailto: AStallmann at CONET.DE
>> <mailto:AStallmann at CONET.DE>
>>
>>
>>
>> ----------------------------
>> CONET Solutions GmbH, Theodor-Heuss-Allee 19, 53773 Hennef.
>> Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 9136)
>> Geschäftsführer/Managing Director: Anke Höfer
>>
>> ----------------------------
>>
>>
>>
>>
>>
>>
>
> -----------------------------
> CONET Solutions GmbH, Theodor-Heuss-Allee 19, 53773 Hennef.
> Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 9136)
> Geschäftsführer/Managing Directors: Anke Höfer
> -----------------------------
>
> _______________________________________________
>> 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
>
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120531/b24b9ab6/attachment-0004.sig>
More information about the Pacemaker
mailing list