Skip to main content
Skip table of contents

Cassandra installation and upgrade

Prerequisites

  • Install a Delphix Continuous Data Engine of a version compatible with the connector version of the choice. Refer the Upgrade matrix page.

  • Install Cassandra binaries on source, staging, and target servers.

Downloading the connector

The Connector is provided as a zip file on the Delphix download site. Follow the below steps to download the connector:

  1. In the web browser, go to the Delphix download site.

  2. Log in to the download site using email and password credentialsCustomer support credentials.

  3. Go to: Delphix Product Releases > Continuous Data Connectors > Cassandra > v<version_number> > sc_cassandra-<version_number>.json and download the connector (JSON file). 

Installing the connector

  1. Login to the Delphix Management application.

  2. Click Manage > Plugins.

    cassandra2.png
  3. To upload a plugin, click the cassandra1.png icon.

    cassandra3.png

  4. This step displays the Upload or Upgrade a Plugin dialog. Upload the <file_name>.json. For example, sc_cassandra-<version>.json.

    cassandra4.png

    For more information, refer to the Delphix Continuous Data Engine connector management section.

Upgrade the dSource

Periodically Production and Lower environments are upgraded for various reasons like

  • To be in compliance

  • To mitigate bugs

  • Security concerns

  • To meet compatibility with other software.

Upgrading the Source database to a higher version will impact dSource snapsyncs if the version upgarded is not compatible with version of staging database. Delphix can handle the upgrade of the databases by updating the configuration in dSource.

Upgrade dSource to a higher version

  1. Install the same version of Cassandra software on the staging host. (same version as source).

  2. Refresh Environment in Delphix hosting Staging dSource.

  3. Verify the new Cassandra Binaries are discovered in the environment with the entry [DataStax Cassandra - (version: x.x.x) ].

    cassandra5.png
  4. Disable dSource by navigating to Manage Datasets > Select dSource > disable.

  5. Log in to the Delphix engine via CLI (ssh) interface and execute the following commands.

    CODE
    >cd sourceconfig  
    >select <dSource_Name>  
    >update  
    >set repository = <New Cassandra Binaries discovered in Step 3 >  
    >commit;
  • Enable dSource by navigating to Manage Datasets >Select dSource > enable.

  • Take a new snapshot to validate that snapsync works as expected.

Upgrade the VDB

Periodically Lower environments are upgraded for various reasons like

  • To be in compliance

  • To mitigate bugs

  • Security concerns

  • To meet compatibility with other software.

Upgrade VDB to a higher version.

  1. Install the new version of Cassandra Binaries on the target host.

  2. Follow the Cassandra upgrade process to upgrade VDB to a higher version.

  3. Refresh Target Environment in Delphix.

  4. Verify new Cassandra Binaries are discovered in the environment with entry [DataStax Cassandra - (version: x.x.x) ].

    cassandra6.png

  5. Disable VDB by navigating to Manage Datasets > Select VDB > disable.

  6. Update VDB configuration using the Migrate option in Delphix GUI.

    1. Navigate to Manage Datasets > Select VDB > Migrate.

      cassandra7.png
    2. Select Correct Environment.

    3. Select Correct CASSANDRA repository under Installation where you wish to migrate VDB.

      cassandra8.png

    4. Click Migrate.

  7. Enable VDB by navigating to Manage Datasets >Select VDB >enable.

  8. Take a new snapshot to validate that the VDB snapshot works as expected.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.