<div dir="ltr">- screencast is perfect :) that should help enough for us to hack the rest of the bits. <br><div><div><br>- re: private keys, ah yes, no problem. Thats the "insecure" private/public vagrant key used for simple setups, see <a href="https://github.com/mitchellh/vagrant/tree/master/keys" target="_blank">https://github.com/mitchellh/vagrant/tree/master/keys</a>.<br>
<br></div><div>- regarding the "big data" stuff: the spirit here is to unify and simplify gluster deployment, possibly using your puppet recipes, so that all of us can build new tech on top of it. <br><br></div>
<div>- just saw your updated docs email. they look beautiful :) thanks james. now i guess we have even less of an excuse to leverage the existing gluster puppet incantations you've been working on !<br></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 17, 2013 at 6:28 PM, James <span dir="ltr"><<a href="mailto:purpleidea@gmail.com" target="_blank">purpleidea@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, 2013-11-17 at 17:29 -0500, Jay Vyas wrote:<br>
> hi james, moving this to public.<br>
</div>Moved to gluster-users then.<br>
<div class="im"><br>
> The subject was how to start using jame's<br>
> puppet modules with the vagrant/gluster examples that we are working on.<br>
</div>I can't help you with anything vagrant related until it properly<br>
supports libvirt/kvm.<br>
<br>
I think it's actually a F20 goal:<br>
<a href="https://fedoraproject.org/wiki/Changes/Vagrant" target="_blank">https://fedoraproject.org/wiki/Changes/Vagrant</a><br>
<div class="im"><br>
<br>
> So here are some bullets to move things forward.<br>
><br>
> - Here are the functions for creating the gluster setup :<br>
> <a href="https://forge.gluster.org/vagrant/fedora19-gluster/blobs/master/gluster-hbase-example/setup.sh" target="_blank">https://forge.gluster.org/vagrant/fedora19-gluster/blobs/master/gluster-hbase-example/setup.sh</a><br>
<br>
</div>You know that your _private_ key is visible in that file, right?<br>
<div class="im"><br>
> We<br>
> basically create a fake disk using truncate, assign it as a brick for<br>
> the gluster volume, and then mount. From there , we point hbase to that<br>
> mount point and thats all there is.<br>
<br>
<br>
><br>
> - lets disregard the hbase part for now,<br>
</div>Agreed.<br>
<div class="im"><br>
> and maybe you could create a<br>
> "vagrant+puppet+gluster" starter project that uses some of the logic from<br>
</div>See above about vagrant. Maybe after F20 is released.<br>
<div class="im"><br>
> this? From there maybe we could work together to hack in the<br>
> hbase/hadoop/whatever bits to make a puppetized version of these bash<br>
> files.<br>
><br>
> The advantage in my eyes of moving to your puppet:<br>
><br>
> 1) mister james maintains the gluster bits :) :) :)<br>
</div>This I'm happy to do.<br>
<div class="im"><br>
> 2) Less implementation details, more logic on how we integrate gluster with<br>
> bigdata tools<br>
</div>I'm happy to work on this type of thing, but this sounds more like a<br>
consulting or needs donations project. I only have 2 vm's to test<br>
puppet/gluster on. bigdata probably implies > 20GiB :P<br>
<div class="im"><br>
> 3) the gluster community gets a cool example for learning how to use puppet<br>
> and gluster together in a completely reproducible, zero startup<br>
> environment.<br>
<br>
</div>Have you looked at gluster::simple ?<br>
<a href="https://github.com/purpleidea/puppet-gluster/blob/master/examples/gluster-simple-example.pp" target="_blank">https://github.com/purpleidea/puppet-gluster/blob/master/examples/gluster-simple-example.pp</a><br>
<br>
AFAICT, that's all you need. My understanding is that you're just trying<br>
to build a simple throw away cluster... Let me know if I misunderstood.<br>
If you want to customize your volume further, you can use it like this:<br>
<br>
class { '::gluster::simple':<br>
#path => '', # defaults to $vardir/data/<br>
# NOTE: this can be a list...<br>
volume => ['hbase', 'foobar'],<br>
replica => 1,<br>
}<br>
<br>
HTH! For now, I'll think about adding a screencast and better docs.<br>
<span class="HOEnZb"><font color="#888888"><br>
James<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
><br>
><br>
><br>
><br>
> On Sun, Nov 17, 2013 at 5:03 PM, James <<a href="mailto:purpleidea@gmail.com">purpleidea@gmail.com</a>> wrote:<br>
><br>
> > On Sun, 2013-11-17 at 10:52 -0500, Jay Vyas wrote:<br>
> > > Hi there mister james... !<br>
> > Hey,<br>
> ><br>
> > ><br>
> > > As im not much of a puppet expert, im still not quite sure how to replace<br>
> > > my bash scripts with your puppet gluster modules.<br>
> > That I can help with ;)<br>
> ><br>
> > Tell you what, if you send me your bash scripts, I'll even "port" them<br>
> > to puppet-gluster for you. (Or I'll try anyways.)<br>
> ><br>
> ><br>
> > ><br>
> > > Can we create a "puppet on gluster from zero" community page or blog<br>
> > post<br>
> > > or readme update? I'd LOVE to use your puppet modules to drive some<br>
> > stuff<br>
> > > I'm doing for bigtop, and think it would be a huge win for broader<br>
> > gluster<br>
> > > adoption.<br>
> > Can you give me more information about what/how you're trying to drive?<br>
> > I don't know what a bigtop is (other than a circus tent).<br>
> ><br>
> > Do you think a screencast would help too?<br>
> ><br>
> > I should really improve the docs. Ironically, I started writing puppet<br>
> > so that I wouldn't have to do docs. Haha. I'll try and get on this a<br>
> > bit.<br>
> ><br>
> > ><br>
> > ><br>
> > <a href="https://forge.gluster.org/puppet-gluster/puppet-gluster/blobs/master/README" target="_blank">https://forge.gluster.org/puppet-gluster/puppet-gluster/blobs/master/README</a><br>
> > ><br>
> > > Thanks !<br>
> > ><br>
> > > I beleive you pinged me to remind you to make a "tutorial for idiots" at<br>
> > > some point. so... this is your reminder :) :) :)<br>
> ><br>
> > Okay!<br>
> ><br>
> > Cheers,<br>
> > James<br>
> ><br>
> > ><br>
> > ><br>
> > ><br>
> > > On Mon, Jun 10, 2013 at 3:40 PM, James <<a href="mailto:purpleidea@gmail.com">purpleidea@gmail.com</a>> wrote:<br>
> > ><br>
> > > > On Mon, Jun 10, 2013 at 3:35 PM, Jay Vyas <<a href="mailto:jayunit100@gmail.com">jayunit100@gmail.com</a>><br>
> > wrote:<br>
> > > > > Hi james: I didnt know were behind this :) I saw it the other day ..<br>
> > > > ><br>
> > > > > I guess i better play some with<br>
> > <a href="https://forge.gluster.org/puppet-gluster" target="_blank">https://forge.gluster.org/puppet-gluster</a> to<br>
> > > > > see whats available and maybe ill post directly here or leave<br>
> > feedback on<br>
> > > > > glusterforge<br>
> > > ><br>
> > > > Cool. Short disclaimer: I don't have any test hardware at the moment,<br>
> > > > so it's possible you might experience some problems. (I've written a<br>
> > > > bit of untested code :P) Feel free to email me if you need help<br>
> > > > getting it going, or if you want to add code for a more specific<br>
> > > > gluster deployment script.<br>
> > > ><br>
> > > > In other news, if someone has vm hosting or hardware to donate, when I<br>
> > > > have time, I'm happy to keep hacking/testing puppet-gluster.<br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
> ><br>
><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jay Vyas<br><a href="http://jayunit100.blogspot.com" target="_blank">http://jayunit100.blogspot.com</a>
</div>