A "Wizard" for Initial Gluster Configuration

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

 



On Thu, Oct 10, 2013 at 5:43 PM, Joe Julian <joe at julianfamily.org> wrote:
> If you used the gui to build json hiera data, that would be simple and
> effective.
It's a good point! Actually...

>
> James just needs to document defining peers and volumes in hiera.
Sorry that my documentation is weak...
Check out this patch!

I haven't "announced" this yet, but I've alluded to it a bit. There
are still quite a few pieces missing and maybe some changes to come,
but it's at least fair game for testing.

When adding the relevant patches, I hope I didn't mess up. I've tested
my staging tree, but not the current master as it is. :P

Long story short:
include ::gluster::simple

That's it, that's all.

https://github.com/purpleidea/puppet-gluster/blob/master/examples/gluster-simple-example.pp

More to come!
James


>
>
> On 10/10/2013 2:18 PM, James wrote:
>>
>> On Thu, Oct 10, 2013 at 4:59 PM, Paul Cuzner <pcuzner at redhat.com> wrote:
>>>
>>> Hi James,
>>>
>>> You make some good points ;o)
>>
>> Thank you!
>>
>>> At this stage, my plan is to add "create volume" functionality to
>>> complete the initial setup tasks and then look at next steps.
>>
>> Sounds good.
>>
>>> Looking at adopting puppet sounds like an interesting direction.
>>
>> One use case I have in mind is giving users the tools (eg: sysadmins,
>> new/potential RedHat customers, etc...) to quickly and easily deploy a
>> gluster environment for initial testing. I know JMW had requested this
>> at some point.
>>
>> I don't have plans for a GUI, but I think it would be cool if your GUI
>> wrapped my puppet code. That would save you maintaining the gluster
>> logic separately, and you'd gain my configuration management features.
>>
>> If you want help hacking on this, let me know. I have some not yet
>> published patches that should help.
>>
>>> Cheers,
>>>
>>> Paul C
>>>
>> Cheers,
>> James
>>
>>>
>>>
>>> ----- Original Message -----
>>>>
>>>> From: "James" <purpleidea at gmail.com>
>>>> To: "Paul Cuzner" <pcuzner at redhat.com>
>>>> Cc: gluster-users at gluster.org
>>>> Sent: Friday, 11 October, 2013 4:04:32 AM
>>>> Subject: Re: A "Wizard" for Initial Gluster
>>>> Configuration
>>>>
>>>> On Wed, Oct 9, 2013 at 8:08 PM, Paul Cuzner <pcuzner at redhat.com> wrote:
>>>>>
>>>>> Hi,
>>>>
>>>> Hey there,
>>>>
>>>>> I'm writing a tool to simplify the initial configuration of a cluster,
>>>>> and
>>>>> it's now in a state that I find useful.
>>>>
>>>> Cool...
>>>>
>>>>> Obviously the code is on the forge and can be found at
>>>>> https://forge.gluster.org/gluster-deploy
>>>>>
>>>>> If your interested in what it does, but don't have the time to look at
>>>>> the
>>>>> code I've uploaded a video to youtube
>>>>>
>>>>> http://www.youtube.com/watch?v=UxyPLnlCdhA
>>>>
>>>> I had a quick watch of this...
>>>>>
>>>>> Feedback / ideas / code contributions - all welcome ;o)
>>>>
>>>> I'm biased because I'm the puppet-gluster [1] author, and I think
>>>> puppet is the right tool for this type of thing. Having said that, the
>>>> advantages of my puppet tool include:
>>>>
>>>> 1) recovering from error conditions and continuing.
>>>> 2) ability to change the configuration after initial setup.
>>>> 3) ability to define the entire configuration up front.
>>>> 4) no need to exchange ssh keys.
>>>> 5) puppet-gluster installs packages and starts glusterd too. Also
>>>> manages firewall...
>>>> 6) Future puppet-gluster features which I haven't released yet.
>>>>
>>>> However your tool is quite pretty and offers a UI which puppet doesn't
>>>> provide. If you could be persuaded, one idea comes to mind: modify
>>>> your tool to run a light puppet server. Each client could have ssh
>>>> execute a puppet client.
>>>>
>>>> Ultimately you would get the same effect with a temporary puppet
>>>> server. A permanent one would be preferable, but it would replace the
>>>> need to write the logic in python. You'd benefit from the extra
>>>> features that you can configure with puppet-gluster.
>>>>
>>>> Either way, happy hacking!
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Paul C
>>>>
>>>> Cheers,
>>>> James
>>>> [1] https://github.com/purpleidea/puppet-gluster
>>>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux