Re: Cassandra add a node and remove a node
Thanks Jens and Robert !!! On Wed, Dec 3, 2014 at 2:20 AM, Robert Coli wrote: > On Mon, Dec 1, 2014 at 7:10 PM, Neha Trivedi > wrote: > >> No the old node is not defective. We Just want to separate out that >> Server for testing. >> And add a new node. (Present cluster has two Nodes and RF=2) >> > > If you currently have two nodes and RF=2, you must add the new node before > removing the old node, so that you always have at least two nodes in the > cluster. > > =Rob > >
Re: Cassandra add a node and remove a node
On Mon, Dec 1, 2014 at 7:10 PM, Neha Trivedi wrote: > No the old node is not defective. We Just want to separate out that Server > for testing. > And add a new node. (Present cluster has two Nodes and RF=2) > If you currently have two nodes and RF=2, you must add the new node before removing the old node, so that you always have at least two nodes in the cluster. =Rob
Re: Cassandra add a node and remove a node
No the old node is not defective. We Just want to separate out that Server for testing. And add a new node. (Present cluster has two Nodes and RF=2) thanks On Tue, Dec 2, 2014 at 12:04 AM, Robert Coli wrote: > On Sun, Nov 30, 2014 at 10:15 PM, Neha Trivedi > wrote: > >> I need to Add new Node and remove existing node. >> > > What is the purpose of this action? Is the old node defective, and being > replaced 1:1 with the new node? > > =Rob > >
Re: Cassandra add a node and remove a node
On Sun, Nov 30, 2014 at 10:15 PM, Neha Trivedi wrote: > I need to Add new Node and remove existing node. > What is the purpose of this action? Is the old node defective, and being replaced 1:1 with the new node? =Rob
Re: Cassandra add a node and remove a node
Hi Neha, Generally best practice is to add the new node before removing the old one. This is especially important if the cluster’s resources (such as available disk space) are low. Also, adding a node usually asserts that the node is functioning correctly (check logs) before decommisioning the old node. See [1]. [1] http://www.datastax.com/documentation/cassandra/2.0/cassandra/operations/ops_replace_live_node.html Cheers, Jens ——— Jens Rantil Backend engineer Tink AB Email: jens.ran...@tink.se Phone: +46 708 84 18 32 Web: www.tink.se Facebook Linkedin Twitter On Mon, Dec 1, 2014 at 7:15 AM, Neha Trivedi wrote: > Hi, > I need to Add new Node and remove existing node. > Should I first remove the node and then add a new node or Add new node and > then remove existing node. > Which practice is better and things I need to take care? > regards > Neha
Cassandra add a node and remove a node
Hi, I need to Add new Node and remove existing node. Should I first remove the node and then add a new node or Add new node and then remove existing node. Which practice is better and things I need to take care? regards Neha