Skip to content
Snippets Groups Projects
Verified Commit 99d8a2d6 authored by Vincent Sellier's avatar Vincent Sellier
Browse files

cassandra: fix the repair command to execute during authentication activation

Related to swh/infra/sysadm-environment#4824
parent e6502d5f
No related branches found
No related tags found
No related merge requests found
Pipeline #4057 passed
......@@ -98,7 +98,7 @@ data volume, with a Replication factor (RF) of 3. Adapt according to your own ne
export PASS=<your jmx password>
ALTER KEYSPACE system_auth WITH replication = {'class': 'NetworkTopologyStrategy', 'sesi_rocquencourt_staging': 3};
seq 1 3 | xargs -t -i{} /opt/cassandra/bin/nodetool -h cassandra{} -u cassandra --password $PASS repair -j4 system_auth
seq 1 3 | xargs -t -i{} /opt/cassandra/bin/nodetool -h cassandra{} -u cassandra --password $PASS repair --full -j4 system_auth
3. Create a new `admin` superuser
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment