<div dir="ltr">Thanks Hitoshi,<div><br></div><div>So I am seeing some interesting behavior when I try to shutdown and restart my 3 node cluster:</div><div><br></div><div>$ for pid in `pgrep | sheep`; do kill -15 $pid; sleep 2; done</div>
<div>$ for i in 0 1 2; do sheep -c local -d /path/to/store/$i -z $i -p 700$i; sleep 1; done</div><div><br></div><div>Shutdown works fine, but when I go to start the cluster up the first member fails when the second joins. I think this is because the second member has a later epoch than the first.</div>
<div><br></div><div>Here is the tail of the first member logs: <a href="http://paste.openstack.org/show/76195/">http://paste.openstack.org/show/76195/</a></div><div><br></div><div>Let me know if I am doing things incorrectly.</div>
<div><br></div><div>Thanks,</div><div>~ Scott</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 8:44 PM, Hitoshi Mitake <span dir="ltr"><<a href="mailto:mitake.hitoshi@gmail.com" target="_blank">mitake.hitoshi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Scott,<br>
<div><div class="h5"><br>
On Thu, Apr 17, 2014 at 7:45 AM, Scott Devoid <<a href="mailto:devoid@anl.gov">devoid@anl.gov</a>> wrote:<br>
> At some point I saw instructions on setting up a single-node sheepdog system<br>
> for testing, but I cannot find that now. Can someone point me in the right<br>
> direction or tell me I was dreaming? :-)<br>
<br>
</div></div>I think you are talking about the local cluster driver. The<br>
information can be found in our README.md file:<br>
<br>
* Local Driver<br>
<br>
This driver just makes use of UNIX IPC mechanism to manage the membership<br>
on a single box, where we start multiple 'sheep' processes to simulate the<br>
cluster. It is very easy and fast setup and especially useful to test<br>
functionality without involving any other software.<br>
<br>
To set up a 3 node cluster using local driver in one liner bash<br>
with debug mode:<br>
<br>
$ mkdir /path/to/store<br>
$ for i in 0 1 2; do sheep -c local -d /path/to/store/$i -z $i<br>
-p 700$i;sleep 1;done<br>
<br>
As the description says, you can launch multiple sheep daemon with "-c<br>
local" option on a single box for testing purpose. It would be<br>
convenient for testing e.g. when you want to try the combination of<br>
OpenStack components + sheepdog.<br>
<br>
Thanks,<br>
Hitoshi<br>
<br>
><br>
> ~ Scott<br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> sheepdog-users mailing lists<br>
> <a href="mailto:sheepdog-users@lists.wpkg.org">sheepdog-users@lists.wpkg.org</a><br>
> <a href="http://lists.wpkg.org/mailman/listinfo/sheepdog-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/sheepdog-users</a><br>
><br>
</font></span></blockquote></div><br></div>