NetBackup™ for HBase Administrator's Guide
- Introduction
- Deploying HBase plug-in for NetBackup
- Configuring NetBackup for HBase
- Performing backups and restores of HBase
- Troubleshooting
Adding HBase credentials in NetBackup
To establish a seamless communication between HBase clusters and NetBackup for successful backup and restore operations, you must add and update HBase credentials to the NetBackup primary server.
Use the tpconfig command to add credentials in NetBackup primary server.
For HBase you need to provide the RSA fingerprint when you add the credentials.
For more information about the tpconfig command, see the NetBackup Commands Reference Guide.
Consider the following when you add HBase credentials:
For a highly-available HBase cluster, ensure that the user for the primary and the failover HMaster is the same.
Use the credentials of the application server that you want to configure in the BigData policy.
For the HBase cluster that uses Kerberos, specify the actual Kerberos username as application_server_user_id value.
The RSA key must be in the SHA-256 format.
Ensure that RSA is supported on the backup host and to obtain the RSA key, run the following command:
ssh_host_rsa_key.pub | awk '{print $2}' | base64 -d| sha256sum |awk '{print $1}'
This utility is available at
/etc/ssh
.
To add credentials in NetBackup
- Run tpconfig command from the following directory paths:
On UNIX systems, /usr/openv/volmgr/bin/
On Windows systems, install_path\Volmgr\bin\
- Run the tpconfig --help command. A list of options which are required to add, update, and delete HBase credentials is displayed.
- Run the tpconfig -add -application_server application_server_name -application_server_user_id user_ID -application_type hbase -password password command by providing appropriate values for each parameter to add HBase credentials.
For example, if you want to add the credentials for the HBase server that has application_server_name as HBase1, then run the following command using the appropriate <user_ID> and <password> details.
tpconfig -add -application_server HBase1 -application_type hbase -application_server_user_id HBase -password password
- You are prompted to enter the password.
- tpconfig -add -application_server testserver.veritas.com -application_server_user_id hadoop-application_type hbase -requiredport 60010 -password hadoop -host_user_id hadoop -host_password hadoop-host_RSA_key b2352722053ac9f40bc1XXXXXXXXXXXXXXXXXXXXXXXXX419fa241ba9431fd6b9
Note:
Ensure that the HBase user has Admin permissions for SSH and for HBase folders.
- Run the tpconfig -dappservers command to verify if the NetBackup primary server has the HBase credentials added.