Hi,

You can use

riak-admin reip <old nodename> <new nodename>

to rename a node from what it was before your crash, to the new node name after 
the crash.  That way the other nodes will know that the data has "moved".  Run 
this command on one of the live nodes before the new node is started.

Documentation here: https://wiki.basho.com/Command-Line-Tools---riak-admin.html

While your node is off-line, the other nodes will be accepting updates on 
behalf of the down node; and forwarded to it once it gets online again.


Kresten
Trifork


On Sep 28, 2012, at 10:51 AM, Jonas Tehler 
<[email protected]<mailto:[email protected]>> wrote:


Hi

If a node goes down for some reason and I start up a new node, with a new name, 
is it a good idea to reuse the old nodes data dir or should I throw it away and 
start the new node from scratch?

This is on Amazon EC2 and I could keep the EBS volume with the riak data from 
the old node and attach it to the new.

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



Mobile: + 45 2343 4626 | Skype: krestenkrabthorup | Twitter: @drkrab
Trifork A/S  |  Margrethepladsen 4  | DK- 8000 Aarhus C |  Phone : +45 8732 
8787  |  www.trifork.com<http://www.trifork.com>





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

Reply via email to