Re: Add new DC to cluster

2015-06-07 Thread Prem Yadav
ndroid > <https://overview.mail.yahoo.com/mobile/?.src=Android> > -- > *From*:"Prem Yadav" > *Date*:Sun, 7 Jun, 2015 at 8:19 pm > *Subject*:Add new DC to cluster > > Hi, > We have an existing cluster consisting of 3 DCs. A

Re: Add new DC to cluster

2015-06-07 Thread Anuj Wadehra
Hi Prem, I think system_auth keyspace uses SimpleStrategy by default and thus not applicable across dc.Please alter the keyspace to use NetworkTopology and set appropriate replication factor for both Dc. After that you can run full repair across dc on this keyspace. I dnt see any drawbacks o

Add new DC to cluster

2015-06-07 Thread Prem Yadav
Hi, We have an existing cluster consisting of 3 DCs. Authentication is enabled. I am trying to add a new DC. I followed the steps mentioned at: http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_add_dc_to_cluster_t.html Bit, I still can't login to any of the nodes in the new DC us

Re: How to add new DC to cluster when GossipingPropertyFileSnitch is used

2013-05-17 Thread aaron morton
> But I've read in some sources (for example > http://www.datastax.com/docs/1.0/initialize/cluster_init_multi_dc) that seed > list MUST include at least one seed from each DC and seed lists should be the > same for each node. That article is about creating a new cluster, to add an a DC to an ex

Re: How to add new DC to cluster when GossipingPropertyFileSnitch is used

2013-05-17 Thread Igor
On 05/17/2013 11:19 AM, Sergey Naumov wrote: But I've read in some sources (for example http://www.datastax.com/docs/1.0/initialize/cluster_init_multi_dc) that seed list MUST include at least one seed from each DC and seed lists should be the same for each node. Or it is fine if nodes from ne

Re: How to add new DC to cluster when GossipingPropertyFileSnitch is used

2013-05-17 Thread Sergey Naumov
But I've read in some sources (for example http://www.datastax.com/docs/1.0/initialize/cluster_init_multi_dc) that seed list MUST include at least one seed from each DC and seed lists should be the same for each node. Or it is fine if nodes from new DC have all seeds specified and nodes from old D

Re: How to add new DC to cluster when GossipingPropertyFileSnitch is used

2013-05-17 Thread Igor
I see no reason to restart all nodes. You can continue to use seed from first DC - seed used for loading ring configuration(locations, token ranges, etc), not data. On 05/17/2013 10:34 AM, Sergey Naumov wrote: If I understand you correctly, GossipingPropertyFileSnitch is useful for manipulatio

Re: How to add new DC to cluster when GossipingPropertyFileSnitch is used

2013-05-17 Thread Sergey Naumov
If I understand you correctly, GossipingPropertyFileSnitch is useful for manipulations with nodes within a single DC, but to add a new DC without having to restart every node in all DCs (because seeds are specified in cassandra.yaml and I need to restart a node after addition of a new seed from new

Re: How to add new DC to cluster when GossipingPropertyFileSnitch is used

2013-05-16 Thread aaron morton
You should configure the seeds as recommended regardless of the snitch used. You need to update the yaml file to start using the GossipingPropertyFileSnitch but after that it reads the cassandra-rackdc.properties file to get information about the node. It reads uses the information in gossip to

How to add new DC to cluster when GossipingPropertyFileSnitch is used

2013-05-15 Thread Sergey Naumov
As far as I understand, GossipingPropertyFileSnitch supposed to provide more flexibility in nodes addition/removal. But what about addition of a DC? In datastax documentation ( http://www.datastax.com/docs/1.2/operations/add_replace_nodes#add-dc) it is said that cassandra-topology.properties could