Riak-CS-Control

Sean Cribbs sean at basho.com
Tue Jul 2 08:51:58 EDT 2013


On Tue, Jul 2, 2013 at 5:34 AM, Toby Corkindale <
toby.corkindale at strategicdata.com.au> wrote:

> Riak (and Riak CS and Stanchion) all assume some level of competence at
> Erlang. I found Riak was tricky to get running, but had picked up enough
> knowledge of Erlang's strange syntax and foibles from working with RabbitMQ.
>
>
This assumption is EXACTLY why we publish our own binary packages. You
don't need to know Erlang to run Riak, and haven't for years. When you
become an advanced user, yes, it is helpful, but it is not strictly
necessary. This is especially true of CS, and I'd much rather get the
bottom of Guy's problem than quibble about how hard Riak is to use "because
Erlang".


> Even then, some things weren't obvious, as you'll see from my questions to
> the list a few months ago.
>
> I do wonder if it would be useful for Basho to publish some Chef and
> Puppet manifests that do the work of setting up a small cluster?
>
>
Again, we have had a Chef cookbook for years, and recently others in the
community have contributed solutions for Puppet.


>
> However I believe the best thing would be if Riak shipped with good
> defaults that get people up and running quickly.
> So, for example, instead of requiring the node name to be redefined in the
> vm.args, you'd just have it default to using your FQDN to construct a name.
>
> Stop using Erlang's inpenetrable syntax for the config files, and use
> something people are familiar with, including the UNIX-style of loading
> snippets out of /etc/riak.d/*.conf or similar. Enable Riak CS to add a
> snippet that gets itself loaded, rather than requiring moderate amounts of
> edits to be performed manually, including adding paths to the Erlang
> library search path.
>
>
We are working on exactly these problems, but they are difficult to get
right. Any suggestions on config syntaxes that work well for other products
are appreciated. For now we're looking at a format that resembles sysctl.

It might also be instructive to know that part of why the Erlang syntax in
config is inscrutable is that there's a lot of it. Three years ago, we had
one section --  'riak' -- and there were maybe 5 options. Even with the
arcane syntax, that's not intimidating.


>
> But.. that's just my thoughts, and I'm far from an expert. Maybe once the
> core of Riak has been improved even further and bugs squashed, there'll be
> time for the team to look at improving the initial setup experience. In the
> meantime I've found this list to be very helpful in getting a working
> system up and running.
>
> -Toby
>
>
> On 02/07/13 17:36, Guy Morton wrote:
>
>> Hi Chris
>>
>> The video didn't include any information that I hadn't figured out. My
>> problem is that I can't get it to work. I get the nice riak-cs admin page
>> in my browser on port 8000 but it shows no users (perhaps reasonable
>> because I only have succeeded in creating a single user so far - the admin
>> user) and the create user function fails (with the error previously
>> mentioned).
>>
>> I've sent you my config files, though since then I've tried what feels
>> like a thousand variants all to no avail. If the config is wrong enough
>> riak-cs won't start, and when it does I can't do a thing.
>>
>> I'm sure Riak cs is a great product, once it's set up! I just don't seem
>> to be able to get over that hurdle.
>>
>> --
>> Guy Morton
>> Web Development Manager
>> Brüel & Kjær EMS
>>
>> ______________________________**__________
>> From: Christopher Meiklejohn [cmeiklejohn at basho.com]
>> Sent: Monday, 1 July 2013 4:26 PM
>> To: Guy Morton
>> Cc: riak-users at lists.basho.com
>> Subject: Re: Riak-CS-Control
>>
>> Hi Guy,
>>
>> Here is a good video introduction to configuring Riak CS Control:
>>
>> http://basho.com/getting-**started-with-riak-cs-control/<http://basho.com/getting-started-with-riak-cs-control/>
>>
>> Let me know if you run into any specific issues and I'm happy to help.
>>  I'm also lurking in the #riak room on Freenode (nick: cmeiklejohn) if you
>> need further help (any of us should be able to!)
>>
>> - Chris
>>
>> --
>> Christopher Meiklejohn
>> Software Engineer
>> Basho Technologies, Inc.
>>
>>
>>
>> On Monday, July 1, 2013 at 2:14 AM, Guy Morton wrote:
>>
>>  Also, I just found this - riak-cs-control... None of the install/config
>>> documents I saw previously mentioned it, or that it should be configured,
>>> or how. It seems to control the web interface referred to in my last
>>> email...
>>>
>>> Where is the most up-to-date info about Riak CS and how to set it up? I
>>> am trying to set it up on Debian squeeze and I'm still floundering. I seem
>>> very close to having it working, but not quite. It's a bit frustrating! Is
>>> it just me, or is it complex to get working?
>>>
>>> --
>>> Guy Morton
>>> Web Development Manager
>>> Brüel & Kjær EMS
>>> This e-mail is confidential and may be read, copied and used only by the
>>> intended recipient. If you have received it in error, please contact the
>>> sender immediately by return e-mail. Please then delete the e-mail and do
>>> not disclose its contents to any other person.
>>>
>>> ______________________________**_________________
>>> riak-users mailing list
>>> riak-users at lists.basho.com (mailto:riak-users at lists.**basho.com<riak-users at lists.basho.com>
>>> )
>>> http://lists.basho.com/**mailman/listinfo/riak-users_**lists.basho.com<http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com>
>>>
>>
>>
>>
>>
>> This e-mail is confidential and may be read, copied and used only by the
>> intended recipient. If you have received it in error, please contact the
>> sender immediately by return e-mail. Please then delete the e-mail and do
>> not disclose its contents to any other person.
>>
>> ______________________________**_________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/**mailman/listinfo/riak-users_**lists.basho.com<http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com>
>>
>>
>
> ______________________________**_________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/**mailman/listinfo/riak-users_**lists.basho.com<http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com>
>



-- 
Sean Cribbs <sean at basho.com>
Software Engineer
Basho Technologies, Inc.
http://basho.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130702/1242ea07/attachment.html>


More information about the riak-users mailing list