'riak stop' will only shutdown the node cleanly - it will not relinquish that 
node's portion of the ring.  However, you should be able to safely take it 
down, upgrade your OS and restart the node.  Hinted handoff will ensure that, 
when it comes back up, it receives the data it missed while down.  If you are 
concerned about the safety of the data stored on that node, use 'riak-admin 
backup' to backup its contents, or copy the data directory to an external 
device or machine after a clean shutdown.  Of course, in order to maintain 
normal operations, it makes sense to upgrade one machine at a time.

Sean Cribbs <s...@basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On May 4, 2010, at 4:02 PM, Matthew Pflueger wrote:

> Scenario:  I need to upgrade the OS of my nodes in my cluster which
> will result in a reboot of each node.  What would be the process to
> nicely migrate data away from each node?
> 
> If my understanding is correct, performing a nice shutdown of a riak
> node via `riak stop` will migrate the data away from the node.  Am I
> correct?  If so, approximately how long would it take to do the
> migration if say each node represents 1 gig of data?  Does that whole
> gig get migrated away or only the data that is not replicated?
> 
> 
> --Matthew
> 
> _______________________________________________
> 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