I'm really sorry!
It's fine: it wasn't Riak confusing instances. It was me!! I exchanged
the config files :((
Sorry
Massimiliano

2014-03-28 18:17 GMT+01:00 Massimiliano Ciancio <[email protected]>:
> Hello list,
> I'm trying to start two different instances of riak on the same server
> in order to have a test instance. I replicated the ..../riak/rel/riak
> dir  into two dfferent dirs (prod and test) and changed node name and
> ports.
> To start/stop a node I use full path "/..../riak/rel/prod/bin/riak
> start" and "/..../riak/rel/test/bin/riak start"
> But starting/stopping a node doesn't work: the two instances of riak
> are confused. For example:
> - all stopped
> - start prod instance -> ok
> - start test instance -> the node is already running....
> Same problems even when stopping: the two instances are confused.
>
> Is there some name/ port I haven't changed?
>
> Follows my changes:
> PROD:
>             {pb, [ {"0.0.0.0", 8087 } ]}
>               {http, [ {"0.0.0.0", 8098 } ]},
>               {https, [{ "127.0.0.1", 8069 }]},
>               {handoff_port, 8099 },
>              -name [email protected]
>
> TEST:
>             {pb, [ {"0.0.0.0", 18087 } ]}
>               {http, [ {"0.0.0.0", 18098 } ]},
>               {https, [{ "127.0.0.1", 18069 }]},
>               {handoff_port, 18099 },
>               -name [email protected]
>
> There is more to change?
> Is there a better strategy to test on the same servers?
>
> Thanks in advance
> Massimiliano

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to