Upgrading your cluster from DSE 5.1.10 to 6.7.6
Due to the complexity of upgrading to DSE 6.7, we strongly advise that you attempt the upgrade on a test cluster before upgrading in your production environment.
Also we advise that you upgrade 5.1.10 directly to 6.7.6, skipping 6.7.2, as it has a problem in upgrading when TLS is enabled.
Prerequisites
In order to upgrade your cluster from DSE 5.1.10 to DSE 6.7.6 you must:
- Review official DSE upgrade docs
- follow instructions in the Upgrade restrictions and limitations
- if using CFS, copy your data from it
- Using
cqlsh
, drop CFS keyspaces:cfs
andcfs_archive
- If authentication is configured by client in the cluster, then before running the upgrade command, you must create file
dse-data/cqlshrc
on node-0 with authentication options as below :[authentication] username = user password = password
Procedure
-
Run the following command to upgrade your DSE package:
dcos datastax-dse update start --package-version=3.1.0-6.7.6
This will run a script to drop
COMPACT_STORAGE
from all keyspaces and then upgrade each DSE node to version6.7.6
-
After DSE upgrade, you can upgrade OpsCenter with the following command:
dcos datastax-ops update start --package-version=3.1.0-6.7.6
-
After the OpsCenter upgrade finishes, run the following command to convert
sstables
to the proper version:dcos datastax-dse plan start nodetool-ser \ [-p NODETOOL_CONNECTION_OPTS='-p 7199'] \ ## optional -p NODETOOL_SUBCOMMAND='upgradesstables' \ -p NODETOOL_CMD_ARGS='-a'