Hi,

  I have a cluster running on ec2, and would like to do some ring
management.  Specifically, I'd like to replace an existing node
without another node (I want to change the instance type).

  I was looking over http://wiki.apache.org/cassandra/Operations
and it seems like I could do something like.

1) shutdown cassandra on instance I want to replace
2) create a new instance, start cassandra with AutoBootstrap = true
3) run nodeprobe removetoken against the token of the instance I am
   replacing

Then according to the 'Handling failure' the new instance will "find the
appropriate position automatically".  However, it's not clear to me
if this means it will take the same range as the shutdown node or not,
because normally AutoBootstrap == true means it will take "half the keys
from the node with the most disk space used." (from the 'Bootstrap' section).

So will the process I describe above result in what I want, a new node
replacing an old one?

Also, if the new instance takes over the range of the old instance how
does removetoken know which instance to remove, does it remove the Down
instance?

Another hopefully minor question, if I bring up a new node with
AutoBootstrap = false, what happens?
Does it join the ring but without data and without token range?
Can I then 'nodeprobe move <token for range I want to take over>', and
achieve the same as step 2 above?

Thanks,

-Anthony

-- 
------------------------------------------------------------------------
Anthony Molinaro                           <antho...@alumni.caltech.edu>

Reply via email to