NetBackup™ for Cassandra Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.0)

Adding Cassandra credentials in NetBackup

To establish a seamless communication between Cassandra clusters and NetBackup for successful backup and restore operations, you must add and update Cassandra credentials in NetBackup.

Use the tpconfig command to add credentials in NetBackup primary server.

For Cassandra you need to provide the SHA 256 RSA fingerprint when you add the credentials. To obtain the RSA key run the cat /etc/ssh/ssh_host_rsa_key.pub |awk '{print $2}' |base64 -d |sha256sum |awk '{print $1}' command.

To add credentials in NetBackup

  1. Run tpconfig command from the following directory paths:

    On UNIX systems, /usr/openv/volmgr/bin/

    On Windows systems, install_path\Volmgr\bin\

  2. Run the tpconfig --help command. A list of options which are required to add, update, and delete Cassandra credentials is displayed.
  3. All the servers/nodes in the cassandra cluster must support one non-root host user id which can be used by NetBackup to connect to all the node using ssh. This host user id and its password must be specified in the command of tpconfig while configuring the cassandra cluster.

    ./tpconfig -add -application_type cassandra -application_server cassandra cluster name -application_server_user_id app user id -password app password -host_user_id host user -host_password host password -host_RSA_key host rsa key

    Note:

    Host_user_Id is the OS user (non -root) on te Cassandra nodes. And -application_sever_user_id is the Cassandra shell user.

  4. Similarly, one non-root host user id must be supported on all the nodes of the DSS cluster. This host user id and its password must be specified in the command of tpconfig while configuring the DSS cluster.

    ./tpconfig -add -application_type cassandra -application_server DSS cassandra cluster name -application_server_user_id DSS app user id -password DSS app password -host_user_id DSS host user -host_password DSS host password -host_RSA_key DSS host rsa key -requiredport 80 command.

    Note:

    Host_user_Id is the OS user (non -root) on te DSS nodes. And -application_sever_user_id is the DSS Cassandra shell user.

  5. Run the tpconfig -dappservers command to verify if the NetBackup primary server has the Cassandra credentials added.