<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 29, 2020 at 9:01 AM Gabriele Bulfon <<a href="mailto:gbulfon@sonicle.com">gbulfon@sonicle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Tahoma;font-size:14px;color:rgb(0,0,0)">That one was taken from a specific implementation on Solaris 11.</div>
<div style="font-family:Tahoma;font-size:14px;color:rgb(0,0,0)">The situation is a dual node server with shared storage controller: both nodes see the same disks concurrently.</div>
<div style="font-family:Tahoma;font-size:14px;color:rgb(0,0,0)">Here we must be sure that the two nodes are not going to import/mount the same zpool at the same time, or we will encounter data corruption:</div></div></blockquote><div><br></div><div><div style="font-family:arial,sans-serif" class="gmail_default">ssh based "stonith" cannot guarantee it. <br></div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Tahoma;font-size:14px;color:rgb(0,0,0)"> node 1 will be perferred for pool 1, node 2 for pool 2, only in case one of the node goes down or is taken offline the resources should be first free by the leaving node and taken by the other node.</div>
<div style="font-family:Tahoma;font-size:14px;color:rgb(0,0,0)"> </div>
<div style="font-family:Tahoma;font-size:14px;color:rgb(0,0,0)">Would you suggest one of the available stonith in this case?</div>
<div style="font-family:Tahoma;font-size:14px;color:rgb(0,0,0)"> </div></div></blockquote><div><br></div><div><div style="font-family:arial,sans-serif" class="gmail_default">IPMI, managed PDU, SBD ...</div><br></div><div style="font-family:arial,sans-serif" class="gmail_default">In practice, the only stonith method that works in case of complete node outage including any power supply is SBD.</div></div></div>