have a new node take over the role of a downed, unrecoverable node?

Jesse Newland jesse at railsmachine.com
Sat Oct 16 16:38:58 EDT 2010


The description of leave on the wiki mentions that it "causes the node to leave the cluster it participates in" - I assume "the node" refers to the node this command is run on? How would I "leave" a node that I can't run this command on anymore?

Regards -

Jesse Newland
---
jesse at railsmachine.com
404.216.1093

On Oct 16, 2010, at 3:16 PM, Sean Cribbs wrote:

> `leave` is exactly what you want to do then.  Once the old node has left (use `ringready` to track its exit), add the new neode. 
> 
> If the EBS volume containing the node's data was not lost, you could mount it onto the new node to save some recovery time, and then reip.  However, you'll need to reip on all machines.
> 
> Sean Cribbs <sean at basho.com>
> Developer Advocate
> Basho Technologies, Inc.
> http://basho.com/
> 
> On Oct 16, 2010, at 2:54 PM, Jesse Newland wrote:
> 
>> I'm running through some disaster scenarios before bringing a riak cluster into production, and have run into a scenario that I can't work through the proper resolution for just yet:
>> 
>> Say an ec2 instance that was a part of a ring went away quickly, and data from it was unrecoverable.
>> 
>> How might I go about telling the rest of the ring that a new instance that I've brought up should take over the vnodes that were on that old instance? This sounds like a job for `riak-admin reip`, but after running `reip downed_node new_node`, `riak-admin ringready` still shows that the old nodes are a part of the ring and down. I guess what I'd like to do is a posthumeous `leave`?
>> 
>> Thoughts?
>> 
>> Regards -
>> 
>> Jesse Newland
>> ---
>> jesse at railsmachine.com
>> 404.216.1093
>> 
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101016/b284b1ea/attachment.html>


More information about the riak-users mailing list