At 2018-12-08 01:51:10, "Digimer" <li...@alteeve.ca> wrote:
>On 2018-12-07 8:28 a.m., zhongbin wrote:
>> hi.
>> I have a two-node Active/Passive clusters.When heartbeat was
>> lost,Active-node  and Passive-node  are both fenced(reboot) by each
>> other at the same time.But I don't want the Active-node to
>> reboot,because I don't want the resources on the Active-node being
>> interrupted.So,I set a delay-time ,before the Passive-node reboot the
>> Active-node,and the Passive-node is always fenced.
>>
>> Is there any problem with this? Do you have any suggestions?
>
>You can prevent this by adding 'delay="15"' to the stonith configuration
>for the primary/active node. This way, when the passive node looks up
>how to fence the active node, it sees the delay and pauses. The active
>node looks up how to fence the passive node, sees no delay, and fences
>immediately. The passive node dies before the delay exits.
Thanks for your answer. Why does the Active-node see no deley and fence 
immediately,and the passive node see delay and pause. How do I add  
'delay="15"' to the stonith configuration for the primary/active node,for both 
node,or for one node ?
>If the active node does actually fail, then after the 15 second delay,
>it proceeds with the fence action as normal.
>
>PS - Your question came to the list three times...
I am sorry for my question  came to the list three times.The first e-mail was 
not sent successfully for a long time,so,I resend it two times.
And  I will post  the similar application problems  to the users  mail list.




thanks


       zhongbin
_______________________________________________
Developers mailing list
Developers@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/developers

Reply via email to