Juan José Pavlik Salles
2014-Aug-03 15:36 UTC
[Gluster-users] How to see gluster in a picture
Hi guys, yesterday I was trying to get a mental picture of my gluster volumes and I came to realize it was getting complicated, or I was too lazy who knows. I googled a bit and couldn't find any good way to achieve it so I started coding. After a few coffees I did this http://viviendolared.blogspot.com.ar/2014/08/gluster-graficando-mi-gluster-i.html (sorry, spanish is my mother tongue), basically it's a Java program that builds a dot file from your gluster configuration so you can plot it and get a pretty good-enough image of your cluster. So far I've only tested it with Distribute and Distributed-Replicated volumes, if anyone wants to share its "gluster vol info" output I can plot the output for you and debug the program a bit more. I plan to release the code soon, but as I am not a developer perse I've got no idea how or where to do that. Hope you like it, and please give me all the feedback you want. Regards, -- Pavlik Salles Juan Jos? Blog - http://viviendolared.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140803/2d260d91/attachment.html>
Pranith Kumar Karampuri
2014-Aug-03 16:38 UTC
[Gluster-users] How to see gluster in a picture
On 08/03/2014 09:06 PM, Juan Jos? Pavlik Salles wrote:> Hi guys, yesterday I was trying to get a mental picture of my gluster > volumes and I came to realize it was getting complicated, or I was > too lazy who knows. I googled a bit and couldn't find any good way to > achieve it so I started coding. After a few coffees I did this > http://viviendolared.blogspot.com.ar/2014/08/gluster-graficando-mi-gluster-i.html (sorry, > spanish is my mother tongue), basically it's a Java program that > builds a dot file from your gluster configuration so you can plot it > and get a pretty good-enough image of your cluster. So far I've only > tested it with Distribute and Distributed-Replicated volumes, if > anyone wants to share its "gluster vol info" output I can plot the > output for you and debug the program a bit more. I plan to release the > code soon, but as I am not a developer perse I've got no idea how or > where to do that. Hope you like it, and please give me all the > feedback you want.Love the colour coding. what are COD0, COD1 etc? Pranith> > Regards, > > > > -- > Pavlik Salles Juan Jos? > Blog - http://viviendolared.blogspot.com > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140803/18585cf1/attachment.html>
----- Original Message -----> Hi guys, yesterday I was trying to get a mental picture of my gluster volumes > and I came to realize it was getting complicated, or I was too lazy who > knows. I googled a bit and couldn't find any good way to achieve it so I > started coding. After a few coffees I did this > http://viviendolared.blogspot.com.ar/2014/08/gluster-graficando-mi-gluster-i.html > (sorry, spanish is my mother tongue), basically it's a Java program that > builds a dot file from your gluster configuration so you can plot it and get > a pretty good-enough image of your cluster. So far I've only tested it with > Distribute and Distributed-Replicated volumes, if anyone wants to share its > "gluster vol info" output I can plot the output for you and debug the > program a bit more. I plan to release the code soon, but as I am not a > developer perse I've got no idea how or where to do that. Hope you like it, > and please give me all the feedback you want.This is pretty cool. :) Ideally, we'd like you to chuck the source code up on the Gluster Forge: https://forge.gluster.org Git can be a bit of a nightmare to get your head around though, so it _may_ be easier for you to use GitHub instead: http://github.com GitHub has a larger Community, and better user interface. Still not completely trivial to use though. Either way works. Try stuff out, and see how you go. :) Regards and best wishes, Justin Clift
On Sun, Aug 03, 2014 at 12:36:20PM -0300, Juan Jos? Pavlik Salles wrote:> Hi guys, yesterday I was trying to get a mental picture of my gluster > volumes and I came to realize it was getting complicated, or I was > too lazy who knows. I googled a bit and couldn't find any good way to > achieve it so I started coding. After a few coffees I did this > http://viviendolared.blogspot.com.ar/2014/08/gluster-graficando-mi-gluster-i.html > (sorry, > spanish is my mother tongue), basically it's a Java program that builds a > dot file from your gluster configuration so you can plot it and get a > pretty good-enough image of your cluster. So far I've only tested it with > Distribute and Distributed-Replicated volumes, if anyone wants to share its > "gluster vol info" output I can plot the output for you and debug the > program a bit more. I plan to release the code soon, but as I am not a > developer perse I've got no idea how or where to do that. Hope you like it, > and please give me all the feedback you want.Nice! Utilities like this really help in understanding how volumes are distributed over the different storage servers. There is a Python tool for displaying the volumes and bricks on the Gluster Forge too: - https://forge.gluster.org/lsgvt I guess your tool would be a welcome addition to the projects on the Gluster Forge: - https://forge.gluster.org/projects Thanks, Niels