Changing Cassandra Configuration Parameters via Shell/SSH

This article describes how you can change the configuration parameters for your database via Shell/SSH in the Control Panel.

Note: For security reasons, only the account holders who have passed our verification will be granted permission to the Shell / SSH service. If you would like to enable it, please update your billing information.

1. Locate the target deployment

Log in to the Control Panel and locate your target deployment on the Home page or the My Applications page.

2. Navigate to the “Shell / SSH” page

Click the "Manage" button on the Home page or the My Applications page to go to the Shell / SSH page.

3. Change the configuration parameters

Note: Before you actually make changes to setting parameters, be sure to back up your database. This will give you peace of mind if mistakes are made during the change and your service is down.

Connect to the instance via SSH

Click the “Connect” icon on the Shell / SSH page to launch the command-line interface.

For security reasons, only the account holders who have passed our verification will be granted permission to the Shell / SSH service. If you would like to enable it, please update your billing information. Our staff will finish verifying your information within 2 hours.

Check the setting parameters

Enter the command “cd config/” to go to the “/cloudclusters/config” directory, followed by the command “ls” to check the files under the directory. You can see the configuration file for Cassandra: cassandra.yaml.

Change the setting parameters

Input the command “vim cassandra.yaml” to go to the editing interface.

Now press the “a” key on your keyboard so you can start changing configurations. After the editing, hit the “Esc” key, followed by entering the “:wq” to save the changes.

Make the changes effective

Click “Reboot” on the Shell / SSH page to make the changes effective. Once you start the reboot process, the status will be changed to “Startup”. It may take 1-2 minutes to complete the reboot process. When it’s finished, the status will be changed back to “Running”, and you can repeat the steps as said above to check the configuration file.

Copyright © 2021 Cloud Clusters Inc. all right reserved,powered by GitbookRevised on 05/31/2021

results matching ""

    No results matching ""