[sheepdog-users] Single-node sheepdog for testing
Scott Devoid
devoid at anl.gov
Fri Apr 18 03:16:17 CEST 2014
Thanks Hitoshi,
So I am seeing some interesting behavior when I try to shutdown and restart
my 3 node cluster:
$ for pid in `pgrep | sheep`; do kill -15 $pid; sleep 2; done
$ for i in 0 1 2; do sheep -c local -d /path/to/store/$i -z $i -p 700$i;
sleep 1; done
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.
Here is the tail of the first member logs:
http://paste.openstack.org/show/76195/
Let me know if I am doing things incorrectly.
Thanks,
~ Scott
On Wed, Apr 16, 2014 at 8:44 PM, Hitoshi Mitake <mitake.hitoshi at gmail.com>wrote:
> Hi Scott,
>
> On Thu, Apr 17, 2014 at 7:45 AM, Scott Devoid <devoid at anl.gov> wrote:
> > At some point I saw instructions on setting up a single-node sheepdog
> system
> > for testing, but I cannot find that now. Can someone point me in the
> right
> > direction or tell me I was dreaming? :-)
>
> I think you are talking about the local cluster driver. The
> information can be found in our README.md file:
>
> * Local Driver
>
> This driver just makes use of UNIX IPC mechanism to manage the
> membership
> on a single box, where we start multiple 'sheep' processes to simulate
> the
> cluster. It is very easy and fast setup and especially useful to test
> functionality without involving any other software.
>
> To set up a 3 node cluster using local driver in one liner bash
> with debug mode:
>
> $ mkdir /path/to/store
> $ for i in 0 1 2; do sheep -c local -d /path/to/store/$i -z $i
> -p 700$i;sleep 1;done
>
> As the description says, you can launch multiple sheep daemon with "-c
> local" option on a single box for testing purpose. It would be
> convenient for testing e.g. when you want to try the combination of
> OpenStack components + sheepdog.
>
> Thanks,
> Hitoshi
>
> >
> > ~ Scott
> >
> > --
> > sheepdog-users mailing lists
> > sheepdog-users at lists.wpkg.org
> > http://lists.wpkg.org/mailman/listinfo/sheepdog-users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140417/5733a45b/attachment-0005.html>
More information about the sheepdog-users
mailing list