Alfredo Oliviero f163144a65 | ||
---|---|---|
scripts | ||
.gitignore | ||
Dockerfile | ||
README.md | ||
cassandra-rackdc.properties | ||
cassandra.yaml | ||
docker-compose.yml | ||
dump.sh |
README.md
dump:
dump requires nodetool in prod, nodetool is in /usr/bin/
in dev environment, cassandra has been installed manually and nodetool is not in the path
- dev should be aliegned to prod
DOCKER
aggiungere a /etc/host l'entry:
127.0.0.1 cassandra
start composer:
docker compose up --build
check status:
docker exec -it cassandra-cassandra-1 nodetool status
run a single service:
- cassandra1:
docker-compose up cassandra-cassandra1 --build
- cassandra2:
docker-compose up cassandra-cassandra2 --build
- ,...
open bash on server
- cassandra1:
docker exec -it cassandra1 /bin/bash
- cassandra2:
docker exec -it cassandra2 /bin/bash
- cassandra3:
docker exec -it cassandra3 /bin/bash