I am stumped with what seems like it should be fairly simple to answer, but I cant seem to figure out. I have 2 Cassandra datacenters running in two geographically divided locations, spanning multiple regions. The nodes within each datacenter broadcast themselves using a public IP. I am using Ec2MultiRegionSnitch as recommended for cross region connectivity.
I am attempting to setup the Region Name and suffix for each node within the cassandra-rackdc.properties file as such:
# Add a suffix to a datacenter name. Used by the Ec2Snitch and Ec2MultiRegionSnitch
# to append a string to the EC2 region name.
dc_suffix=_A
How do I assign the Region Name/Datacenter Name?
if I do a "nodetool status" command I see the following:
[root@test1 conf]# nodetool status
Datacenter: nov_A
=================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 72.50.100.91 108.29 KB 256 100.0% eecbe77e-7c19-4fb0-a708-38bb090233f8 nova
?N 107.144.269.100 95.19 KB 256 100.0% c57f9da4-99d5-4634-a9c1-adeadb6659bd nova
Datacenter: nov_B
=================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 76.54.99.80 124.86 KB 256 100.0% c2bbbcd6-760f-4594-8d9e-86ced8ab751c nova
UN 78.204.76.169 121.79 KB 256 100.0% 970a4a4c-e389-4131-88f1-9abec966072a nova
Notice the Datacenter name starts with "nov", E.g. nov_A, nov_B
Where is this "nov" coming from and how I can set the Datacenter name and change it?
Thank you in advance!