<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 0, 0); font-family: arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px; word-wrap: break-word;">At 2018-12-08 01:51:10, "Digimer" <lists@alteeve.ca> wrote:<br>>On 2018-12-07 8:28 a.m., zhongbin wrote:<br>>> hi.<br>>> I have a two-node Active/Passive clusters.When heartbeat was<br>>> lost,Active-node  and Passive-node  are both fenced(reboot) by each<br>>> other at the same time.But I don't want the Active-node to<br>>> reboot,because I don't want the resources on the Active-node being<br>>> interrupted.So,I set a delay-time ,before the Passive-node reboot the<br>>> Active-node,and the Passive-node is always fenced.<br>>> <br>>> Is there any problem with this? Do you have any suggestions?<br>><br>>You can prevent this by adding 'delay="15"' to the stonith configuration<br>>for the primary/active node. This way, when the passive node looks up<br>>how to fence the active node, it sees the delay and pauses. The active<br>>node looks up how to fence the passive node, sees no delay, and fences<br>>immediately. The passive node dies before the delay exits.<br>
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 <span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 0, 0); font-family: arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px; word-wrap: break-word;"> 'delay="15"' to the stonith configuration </span><span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 0, 0); font-family: arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px; word-wrap: break-word;">for the primary/active node,for both node,or for one node ?</span>
<br>>If the active node does actually fail, then after the 15 second delay,<br>>it proceeds with the fence action as normal.<br>><br>>PS - Your question came to the list three times...<br></span>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.<br>And  I will post  the similar application problems  to the users  mail list.<br><br></div><div><br></div><div>thanks</div><div><br></div><div>       zhongbin</div><pre>
</pre></div><br><br><span title="neteasefooter"><p> </p></span>