- Change
cassandra-rackdc.properties
to: - dc=datacenter1
- rack=rack1
- Change cassandra.yaml snitch:
GossipingPropertyFileSnitch
- Rolling restart of nodes:
nodetool flush && nodetool drain && service cassandra stop
- Update application specific keyspaces to use NetworkTopology w/ only existing DC
ALTER KEYSPACE {keyspace} WITH replication = {'class': 'NetworkTopologyStrategy', 'datacenter1': '3'} AND durable_writes = true;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EPOCH_START=1472838 | |
JBOD_DRIVES=/app/cassandra/datastax/dse-data* | |
SNAPSHOT_DATE="Sep 2" | |
SNAPSHOT_TIME="10:4" | |
## don't edit below | |
declare -A refresh_tables | |
SNAPS=$(ls -R $JBOD_DRIVES | grep $EPOCH_START | grep "app/") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
######################################################################## | |
### ### | |
### Install Script to install DSE 5.0 on Ubuntu or CentOS ### | |
### created by Brad Vernon [email protected] ### | |
### ### | |
######################################################################## | |
# AWS Instance gathering, do not delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import re | |
import sys | |
REGEX_KEYSPACE = re.compile(r'^Keyspace: (.*)|^Keyspace : (.*)') | |
REGEX_TABLE = re.compile(r'^\t\tTable: (.*)') | |
REGEX_READ_CNT = re.compile(r'^\t\tLocal read count: (.*)') | |
REGEX_WRITE_CNT = re.compile(r'^\t\tLocal write count: (.*)') | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[s3] | |
#s3 bucket name | |
bucket_name = my_backups | |
download_threads = 6 | |
# other s3 access is defined in the default aws cli settings file | |
[opscenter] | |
backup_job_uuid = # get this from s3 bucket | |
[node] |
OlderNewer