[ClusterLabs] fence_apc delay?
Jan Pokorný
jpokorny at redhat.com
Tue Sep 6 18:40:14 UTC 2016
On 06/09/16 10:35 -0500, Ken Gaillot wrote:
> On 09/06/2016 10:20 AM, Dan Swartzendruber wrote:
>> On 2016-09-06 10:59, Ken Gaillot wrote:
>>
>> [snip]
>>
>>> I thought power-wait was intended for this situation, where the node's
>>> power supply can survive a brief outage, so a delay is needed to ensure
>>> it drains. In any case, I know people are using it for that.
>>>
>>> Are there any drawbacks to using power-wait for this purpose, even if
>>> that wasn't its original intent? Is it just that the "on" will get the
>>> delay as well?
>>
>> I can't speak to the first part of your question, but for me the second
>> part is a definite YES. The issue is that I want a long enough delay to
>> be sure the host is D E A D and not writing to the pool anymore; but
>> that delay is now multiplied by 2, and if it gets "too long", vsphere
>> guests can start getting disk I/O errors...
>
> Ah, Marek's suggestions are the best way out, then. Fence agents are
> usually simple shell scripts, so adding a power-wait-off option
> shouldn't be difficult.
Little correction, they are almost exclusively _Python_ scripts, but
that doesn't change much. Just a basic understanding of fencing
library (part of fence-agents) and perhaps its slight modification
will be needed.
--
Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20160906/828e434d/attachment-0004.sig>
More information about the Users
mailing list