Add SSH credentials to use for connecting to the target machines being managed by LCM.

Adding SSH credentials

Add SSH credentials to use for connecting to the target machines being managed by
LCM.

lcm.db

The location of the Lifecycle Manager database lcm.db depends on the
type of installation:

Package installations: /var/lib/opscenter/lcm.db

Tarball installations:
install_location/lcm.db

Note: The data (cluster topology models, configuration profiles, credentials, repositories, job
history, and so forth) for Lifecycle Manager is stored in the lcm.db
database. Your organization is responsible for backing up the database. You must also configure failover to mirror the
lcm.db.

Add SSH credentials to use for connecting to the target machines being managed by
LCM.

The Login User and SSH Login options allow LCM to remotely log in to a machine over
SSH using a password or private key. LCM requires superuser privileges to install
software and manage configuration on a target machine. The Privileges Escalation
options allow specifying SU or SUDO mechanisms to elevate privileges if necessary
after the remote login.

Note: The data (cluster topology models, configuration profiles,
credentials, repositories, job history, and so forth) for Lifecycle Manager is stored in the
lcm.db database. Your organization is responsible for backing up
the lcm.db database. You must also configure failover to mirror the lcm.db.

All passwords and private keys are encrypted and safely stored by Lifecycle
Manager.

Procedure

Click SSH Credentials > Add Credential.

The Add Credential dialog appears.

Required: Enter a Name for the credential.

Optional: Enter a Comment that describes the credential. Example:
Superuser access to all nodes.

For Escalate Privileges, select an option to enter any
necessary secondary credentials.

SU: Enter the SU to this
user (optional to switch to another user's account;
typically the default root) and SU
password.

SUDO: (Default) Enter the SUDO to this
user and SUDO password of the
Login User.

None: The login user is root or otherwise has all
privileges required to run LCM jobs, including the ability to install
packages and start services; no additional SUDO or SU privileges are
required beyond the SSH password or private key.

Click Save.

The newly defined SSH credential is listed on the SSH Credentials page
along with edit and delete options.

Repositories use predefined credentials for automatically downloading Debian or RPM packages from the DataStax Enterprise
repository or from a private repository that is an internal mirror of the DataStax repository.

DataStax is a registered trademark of DataStax, Inc. and its subsidiaries in the United States and/or other countries.

Apache Cassandra, Apache, Tomcat, Lucene, Solr, Hadoop, Spark, TinkerPop, and Cassandra are trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.