We have client with 2 node installation one on premise environment (DC-1), and they are asking to expand it to new Azure cloud environment (DC-2). We tried to do this Apigee expansion installation multiple data centers DC only with 2 Node virtual server installation but Cassandra was failing with the error below. We believe that Cassandra needs to be in increment of +3 Node virtual servers? So my question is can we do a multi DC installation only with 2 Nodes virtual servers? i am not able to find any documentation around this and if you can provide some incite here that would be greatly appreciated.
NFO [SSTableBatchOpen:1] 2019-04-07 21:17:56,578 SSTableReader.java:475 - Opening /opt/apigee/data/apigee-cassandra/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-1 (214 bytes)
ERROR [main] 2019-04-07 21:17:56,823 CassandraDaemon.java:296 - Fatal exception during initialization
org.apache.cassandra.exceptions.ConfigurationException: Cannot start node if snitch’s data center (dc-2) differs from previous data center (default). Please fix the snitch configuration, decommission and rebootstrap this node or use the flag -Dcassandra.ignore_dc=true.
at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:629) ~[apache-cassandra-2.1.16.jar:2.1.16]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:292) [apache-cassandra-2.1.16.jar:2.1.16]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:566) [apache-cassandra-2.1.16.jar:2.1.16]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:655) [apache-cassandra-2.1.16.jar:2.1.16]
