# Requirements for Cassandra Cluster in a Docker Container

To backup and restore Cassandra clusters in docker containers, verify that your environment meets the requirements.

- Deploy the Cassandra cluster on the docker container and install the Commvault agent on the Docker host computer.

- The Cassandra data directory and config file directory must be accessible to the host computer. Verify that the data directory and the Cassandra config directory is shared between the Cassandra docker container and the Commvault agent on the host computer.

- The Commvault user must have the ability to write data into the data directory.

- If you are using the sstableloader tool for the restore operations, verify that the sstableloader tool is available on the host computer, in one of the following methods:

  - Install the DSE 6.0 base package on the Commvaultdocker host computer, and stop the DSE services.

  - Create a soft link for the sstableloader tool from a location on the docker host computer to the actual location on the Cassandra docker container. In this case, set the DSE_ENV and DSE_HOME environment variables to the actual DSE location on the Cassandra docker container.

  In any of these methods, if the sstableloader is not created under the /usr/bin folder, then set the priam key `priam.sstableloader.path= < full path of sstableloader >` in the /etc/priam/cvPriam.properties file.

  Also, the staging folder that you configure to restore the data, must be on a path that is accessible by the docker container and the Commvault host computer.

- In the Cassandra Instance properties dialog box on the CommCell Console, configure the Cassandra Data Directory with the available path on the Docker host computer.

- All the paths configured in the Instance properties dialog box should be paths relative to the host.

- You can simultaneously back up and restore multiple docker containers running on the same host.

- Staging path for restores should be the path relative to the host.

- For each cluster, create a separate pseudo client in the CommCell Console.

×

Loading...