Re: Best Practice to add a node in a Cluster

2015-04-28 Thread Neha Trivedi
Interesting Eric !!! Not sure if this would be allowed. Alter keyspace to RF=3 and then add a node. On Tue, Apr 28, 2015 at 8:54 PM, Eric Stevens wrote: > I would double check in a test cluster (or with a tool like CCM to confirm > to set up a local throwaway cluster), but for this *specific* us

Re: Best Practice to add a node in a Cluster

2015-04-28 Thread Eric Stevens
I would double check in a test cluster (or with a tool like CCM to confirm to set up a local throwaway cluster), but for this *specific* use case (going from RF==NodeCount to RF==NodeCount with a higher number) you should be able to have a simpler path. Set RF=3 before you add your new node, then

Re: Best Practice to add a node in a Cluster

2015-04-27 Thread Neha Trivedi
Thans Arun ! On Tue, Apr 28, 2015 at 9:44 AM, arun sirimalla wrote: > Hi Neha, > > > After you add the node to the cluster, run nodetool cleanup on all nodes. > Next running repair on each node will replicate the data. Make sure you > run the repair on one node at a time, because repair is an ex

Re: Best Practice to add a node in a Cluster

2015-04-27 Thread arun sirimalla
Hi Neha, After you add the node to the cluster, run nodetool cleanup on all nodes. Next running repair on each node will replicate the data. Make sure you run the repair on one node at a time, because repair is an expensive process (Utilizes high CPU). On Mon, Apr 27, 2015 at 8:36 PM, Neha Tr

Re: Best Practice to add a node in a Cluster

2015-04-27 Thread Neha Trivedi
Thanks Eric and Matt :) !! Yes the purpose is to improve reliability. Right now, from our driver we are querying using degradePolicy for reliability. *For changing the keyspace for RF=3, the procedure is as under:* 1. Add a new node to the cluster (new node is not in seed list) 2. ALTER KEYSPA

RE: Best Practice to add a node in a Cluster

2015-04-27 Thread Matthew Johnson
Hi Neha, I guess it depends why you are adding a new node – do you need more storage capacity, do you want better resilience, or are you trying to increase performance? If you add a new node with the same amount of storage as the previous two, but you increase the RF, you will use up all of t

Re: Best Practice to add a node in a Cluster

2015-04-27 Thread Eric Stevens
It depends on why you're adding a new node. If you're running out of disk space or IO capacity in your 2 node cluster, then changing RF to 3 will not improve either condition - you'd still be writing all data to all three nodes. However if you're looking to improve reliability, a 2 node RF=2 clus