Does the second vm.args have the same -name setting as the first node? Each 
node will need to have a unique name configured.

Grant Schofield
Developer Advocate
Basho Technologies, Inc.


On Jul 25, 2010, at 9:00 AM, Misha Gorodnitzky wrote:

> Hi all,
> 
> I'm trying to run multiple instances of Riak on my server with the
> goal to run both the staging environment and eventually the production
> environment on the same server (I only have one for this project).
> This is an Ubuntu server and if at all possible I'd prefer not to
> build Riak from source, although I understand that it would be easier
> to have multiple instances running that way. I would rather keep
> software managed with the package manager here.
> 
> What I've done is I've modified /usr/sbin/riak to allow specifying the
> config files to use (app.config, vm.args), the log dir, run dir (for
> the pipe) and the home dir, and I can startup an instance of Riak
> using my "staging" environment. However, when I try to start up the
> second Riak instance, it fails with just a couple of things
> out-of-the-ordinary in it's logs:
> 
>  =INFO REPORT==== 25-Jul-2010::13:54:35 ===
>      application: riak_kv
>      exited: {shutdown,{riak_kv_app,start,[normal,[]]}}
>      type: permanent
>  =INFO REPORT==== 25-Jul-2010::13:54:35 ===
>      alarm_handler: {clear,system_memory_high_watermark}
>  {"Kernel pid 
> terminated",application_controller,"{application_start_failure,riak_kv,{shutdown,{riak_kv_app,start,[normal,[]]}}}"}^M
>  Kernel pid terminated (application_controller)
> ({application_start_failure,riak_kv,{shutdown,{riak_kv_app,start,[normal,[]]}}})^M
> 
> And the Riak process that's already running logs this:
> 
>  ** Connection attempt from disallowed node 'riak_stag...@127.0.0.1' **
> 
> Any ideas what this might be? Has anyone managed to do this using the
> Riak .deb package?
> 
> Thanks,
> 
> --Misha
> 
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to