Editing a cluster

About this task

Edit cluster details such as the configuration profile associated with a cluster and run an installation or configuration job to update a cluster.

Upgrade jobs are only applicable at the datacenter or node levels.

If authentication is enabled in the configuration profile associated with a cluster, prompts recommend changing the default password of the cassandra user. After selecting a configuration profile that includes cassandra.yaml settings to enable the internal or password authentication scheme, the Add Cluster or Edit Cluster dialog prompts for old and new passwords for the built-in CQL user named cassandra. The cassandra user is present by default in the internal authentication scheme, and has a publicly known default password of cassandra. LCM changes the default cassandra password using the supplied password fields.

It is a security risk to leave the default cassandra password in place. Change the default password to prevent unauthorized access and avoid security breaches.

Procedure

  1. Click Clusters from the Lifecycle Manager navigation menu.

  2. Select the cluster to edit in the Clusters pane and choose Edit from the Clusters pane menu.

    The Edit Cluster dialog displays.

    If the cluster name has an alias, the Display Name appears as a read-only field above the Cluster Name. To edit or remove the alias, see Changing the display name of a cluster.

    Read-only cluster display name

    opscLCMeditCluster

    If the cluster does not currently have a configuration profile selected, an inline instruction prompts you to select one so that LCM can determine the authentication protocol and prompt for credentials upfront if necessary.

    If authentication is not enabled within the selected configuration profile, there are no prompts for credentials. See authentication schemes supported in LCM for more details.

    If authentication is enabled, the required credentials must be set prior to running the job. Not doing so causes LCM to fail registering the cluster automatically with OpsCenter monitoring. Set the credentials within the Add Cluster or Edit Cluster dialogs in the LCM UI, or set old and new passwords using the LCM API.

  3. Make any changes, such as selecting a new Config Profile to associate with the cluster.

    If prompted, enter the appropriate credentials for internal authentication. Enter the Old Password, New Password, and Confirm Password for the cassandra user if internal authentication is enabled as the default scheme (default).

    When editing a cluster that has authentication enabled in its configuration profile, the changed password fields are shown as already set. Click Change to change the password for the cassandra user again.

    Change password for cassandra user in the Edit Cluster dialog

    For an initial install, set the Old Password to cassandra. Click the tooltip icon for more information.

    If a password has already been set but needs to be changed, click Change for the Old and New Passwords. Enter the old password and new passwords to update them.

    Password already set fields of Edit Cluster dialog

    Click the remove stored password link to explicitly remove stored credentials. After clicking Save, the credential is queued for removal. The LCM API no longer returns old-password: true. The LCM API does not return stored passwords for obvious security reasons. Retaining or removing the stored password is at the discretion of your organization.

    Remove stored password fields of Edit Cluster dialog

  4. Click Save.

What’s next

Depending on the edit, run an install or configure job at the cluster level.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com