Re: Cassandra Maintenance Best practices

2014-12-16 Thread Neha Trivedi
Hi Jonathan,QUORUM = (sum_of_replication_factors / 2) + 1, For us Quorum = (2/2) +1 = 2. Default CL is ONE and RF=2 with Two Nodes in the cluster.(I am little confused, what is my read CL and what is my WRITE CL?) So, does it mean that for every WRITE it will write in both the nodes? and For

Re: Cassandra Maintenance Best practices

2014-12-16 Thread Ryan Svihla
CL quorum with RF2 is equivalent to ALL, writes will require acknowledgement from both nodes, and reads will be from both nodes. CL one will write to both replicas, but return success as soon as the first one responds, read will be from one node ( load balancing strategy determines which one).

Re: Cassandra Maintenance Best practices

2014-12-16 Thread Neha Trivedi
Thanks Ryan. So, as Jonathan recommended, we should have RF=3 with Three nodes. So Quorum = 2 so, CL= 2 (or I need the CL to be set to two) and I will not need the downgrading retry policy, in case if my one node goes down. I can dynamically add a New node to my Cluster. Can I change my RF to 3,

Re: Cassandra Maintenance Best practices

2014-12-16 Thread Ryan Svihla
you'll have to run repair and that will involve some load and streaming, but this is a normal use case for cassandra..and your cluster should be sized load wise to allow repair, and bootstrapping of new nodes..otherwise when you're over whelmed you won't be able to add more nodes easily. If you

Re: Cassandra Maintenance Best practices

2014-12-16 Thread Neha Trivedi
thanks Ryan.. We will get a new node and add it in the cluster. I will mail if I have any question regarding the same. On Tue, Dec 16, 2014 at 10:52 PM, Ryan Svihla rsvi...@datastax.com wrote: you'll have to run repair and that will involve some load and streaming, but this is a normal use

Re: Cassandra Maintenance Best practices

2014-12-15 Thread Neha Trivedi
Thanks very much Jonathan !! On Wed, Dec 10, 2014 at 1:00 PM, Jonathan Haddad j...@jonhaddad.com wrote: I did a presentation on diagnosing performance problems in production at the US Euro summits, in which I covered quite a few tools preventative measures you should know when running a

Cassandra Maintenance Best practices

2014-12-09 Thread Neha Trivedi
Hi, We have Two Node Cluster Configuration in production with RF=2. Which means that the data is written in both the clusters and it's running for about a month now and has good amount of data. Questions? 1. What are the best practices for maintenance? 2. Is OPScenter required to be installed or

Re: Cassandra Maintenance Best practices

2014-12-09 Thread Jonathan Haddad
I did a presentation on diagnosing performance problems in production at the US Euro summits, in which I covered quite a few tools preventative measures you should know when running a production cluster. You may find it useful: