You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Magic Collaboration Studio no longer supports Apache Cassandra 3.x, therefore before upgrading Magic Collaboration Studio, you need to upgrade Cassandra to version 4.x (we recommend using Cassandra 4.0.3).

If you are running Cassandra in a cluster environment, upgrade it one node at a time to allow clients to access the cluster during the process.

Before upgrading

  • Make sure that all the nodes are ready.
  • Create a snapshot of your data for backup.


To upgrade Cassandra


  1. Flush memtables to the disk by executing the following command:

    nodetool drain
  2. Shut down the 3.x node.

  3. Install Cassandra 4.x. for installation instructions, see Installing Cassandra on Linux or Installing Cassandra on Windows.
  4. Configure the 4.x node to point to the appropriate data files as shown in the example below.

    Example
    data_file_directories:
    - /data/data
    commitlog_directory: /logs/commitlog
    hints_directory: /data/hints
    saved_caches_directory: /data/saved_caches
  5. Start the Cassandra 4.x node.
  6. Check the log files for errors.
  7. After the upgrade is complete, perform required post-installation configuration changes. For more information, see Post-installation steps on Linux or Post-installation steps on Windows.

Additional resources

For more information about upgrading Apache Cassandra, see https://www.datastax.com/learn/whats-new-for-cassandra-4/migrating-cassandra-4x.