<div dir="ltr"><div><div><div><div><div>Hi gluster ! <br></div><div><br></div><div>For those of you who need to spin up virtual gluster clusters for development and testing: <br><br>Just finished creating a vagrantized, fully automated, totally rebuildable and teardownable two node fedora 19 gluster setup and shared it on the forge!   <br>
<br>It uses fedora19 but since its all vagrant powered, you dont need to grab or download a distro or iso or anything, just clone the git repo, run vagrant up, and let vagrant automagically pull down and manage your base box and set up the rest for you.<br>
<br><b>clone it here: <a href="https://forge.gluster.org/vagrant">https://forge.gluster.org/vagrant</a><br></b><br>So what does this do? This basically means that you can spin up 2 vms , from scratch, by installing vagrant and then, literally, typing:<br>
</div><br></div><b>git clone git@forge.gluster.org:vagrant/fedora19-gluster.git<br>cd fedora19-gluster<br>ln -l Vagrantfile_cluster Vagrantfile<br>vagrant up --provision </b><br><br></div><div>Does it work? Yes !  After watching it spin up , you can ssh in to the cluster by typing: <br>
<br><b>vagrant ssh gluster1</b><br></div><div><br></div>And destroy the same two node cluster by running:<br><br></div><b>vagrant destroy</b><br><br>.............................. Example .........................................<br>
<br></div><div>#Below : ssh into the first node, create a file, and ls it in the other node to confirm that the cluster is working. <br><br></div><div>[jays-macbook]$ vagrant ssh gluster1<br><br>[vagrant@gluster1 ~]$ sudo touch /mnt/glusterfs/a<br>
<br>[vagrant@gluster1 ~]$ ssh 10.10.10.12<br><br>[vagrant@gluster2 ~]$ ls /mnt/glusterfs/<br><br></div><div><div><div>Help wanted to maintain this and make development clusters for different <br>gluster use cases. <br><br>
</div><div>- bug reporting<br></div><div>- testing functionality of different tuning/config options<br></div><div>- testing hadoop interop<br></div><br><div>..........<br><br></div><div>Will blog post about it soon , but till then just ping me if you want to get involved etc.. <br>
<br></div><div><div><div><div>-- <br>Jay Vyas<br><a href="http://jayunit100.blogspot.com" target="_blank">http://jayunit100.blogspot.com</a>
</div></div></div></div></div></div></div>