gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] GlusterFS configuration scripts


From: Amar S. Tumballi
Subject: Re: [Gluster-devel] GlusterFS configuration scripts
Date: Thu, 15 May 2008 15:42:55 -0700

Hi Samuel,
  Thanks for sharing the scripts with all. It is very helpful.

Regards,
Amar

On Thu, May 1, 2008 at 2:38 PM, Samuel Douglas <address@hidden>
wrote:

> While working on setting up GlusterFS as part of a University project,
> I started working on some Python scripts to dynamically generate
> GlusterFS configurations, and seeing John's question about separate
> spec files for each server, decided I should post what I had done
> here.
>
> The main 'library' script is available at:
>
>  
> http://cs.waikato.ac.nz/~sjd29/glusterfs-config/glfsconf.py<http://cs.waikato.ac.nz/%7Esjd29/glusterfs-config/glfsconf.py>
>
> Volume definitions are represented as classes in the script which can
> be configured and put together, then output ready to be read into
> GlusterFS as the config file when it starts up. You write a second
> Python script which utilises these classes and functions to actually
> construct your site-specific configuration, either hard coding the
> information or using some config files or whatever -- you write that
> bit.
>
> Here is the example config I came up with to try it on our test cluster:
>
>
> http://www.cs.waikato.ac.nz/~sjd29/glusterfs-config/glusterconf_waikato.py<http://www.cs.waikato.ac.nz/%7Esjd29/glusterfs-config/glusterconf_waikato.py>
>
> Pretty much the result of an afternoon of hacking around. Not very
> well documented but could be a good starting point for anyone looking
> for a dynamic config system.
>
> -- Samuel
>
>
> _______________________________________________
> Gluster-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>


-- 
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Super Storage!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]