This procedure shows how to upgrade a cluster of Ubuntu 11.10 nodes from DataStax Community 1.0.x/1.1 to DataStax Enterprise 2.2.x. The installer migrates the data from the old to the new version of Cassandra automatically.
Perform these upgrade steps on each node in the cluster. If the cluster is a mixed workload cluster, upgrade in the order described in Order of Upgrading Nodes. Complete all steps on one node before starting to upgrade the next node.
To upgrade a node
Remove the old packages and dependencies on them.
sudo apt-get remove dsc cassandra
sudo apt-get autoremove
This action shuts down Cassandra on the node.
Add the DataStax repository to the /etc/apt/sources.list.
deb http://<username>:<password>@debian.datastax.com/enterprise stable main
Get the <username> and <password> from your DataStax registration confirmation email. If you don’t have the email, register on the DataStax web site.
Upgrade the node.
sudo apt-get update
sudo apt-get install dse-full
If the prompt appears informing you of the disk space to be used, type Y to continue.
Configure the upgraded node as described in the next section.
To configure the upgraded node