<div>If the latest epoch is unrecoverable , or is a  transient epoch,</div><div>should it fall back to the last available epoch?</div><div><br></div><div>Yibin Shen</div><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 11:13 AM, MORITA Kazutaka <span dir="ltr"><<a href="mailto:morita.kazutaka@lab.ntt.co.jp">morita.kazutaka@lab.ntt.co.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">At Tue, 27 Sep 2011 09:45:49 +0800,<br>
<div class="im">Liu Yuan wrote:<br>
><br>
> On 09/27/2011 06:09 AM, MORITA Kazutaka wrote:<br>
> > At Mon, 26 Sep 2011 11:43:34 -0700 (PDT),<br>
> > Ski Mountain wrote:<br>
> >> What happens if one of the nodes in the cluster is not recoverable at all.  IE fried motherboard, can you just start up the vm's that were on the dead machine on another machine in the cluster?<br>
> > If the unrecoverable node doesn't have the latest epoch info, we need<br>
> > to do nothing special.  If you start the sheep daemon on all other<br>
> > machines, then the cluster will work again.<br>
> ><br>
> > But if the failed node has the latest epoch, this is the case we need<br>
> > a manual recovery.  It is because there is a risk of data loss in this<br>
> > case, though I think this rarely happens.<br>
> ><br>
> ><br>
><br>
> Hi Kazutaka,<br>
>      I do have some idea like 'collie cluster recover' hanging over in<br>
> my head. This kind of brutal force manual recovery would be the last<br>
> resort to handle physical highest-epoch node failure in crashed cluster<br>
> or physical nodes failure in shutdown cluster.<br>
<br>
</div>Good point.<br>
<div class="im"><br>
><br>
>      The implementation might be rather easy. I am thinking of adding a<br>
> new SD_MSG_RECOVERY event and broadcast this event to recovery the<br>
> cluster with the epoch incremented by 1. how do you think of it?<br>
<br>
</div>How about adding a new operation SD_OP_CLUSTER_RECOVERY and<br>
broadcasting it with SD_MSG_VDI_OP?  I think It should work like a<br>
"collie cluster format" command.<br>
<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Kazutaka<br>
</font><div><div></div><div class="h5">--<br>
sheepdog mailing list<br>
<a href="mailto:sheepdog@lists.wpkg.org">sheepdog@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/sheepdog" target="_blank">http://lists.wpkg.org/mailman/listinfo/sheepdog</a><br>
</div></div></blockquote></div><br>