Veritas NetBackup™ for HBase Administrator's Guide
- Introduction
- Deploying HBase plug-in for NetBackup
- Configuring NetBackup for HBase
- Managing backup hosts
- Configuring the HBase plug-in using the HBase configuration file
- Configuring NetBackup policies for HBase plug-in
- 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 master server.
Use the tpconfig command to add credentials in NetBackup master 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 fail-over HMaster is the same.
Use the credentials of the application server that you will use when configuring the BigData policy.
For the HBase cluster that uses Kerberos, specify the actual Kerberos user name as application_server_user_id value.
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 credentials for HBase server which 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.
Run the tpconfig -add -application_server application_server_name -application_server_user_id user_ID -application_type application_type -requiredport IP_port_number [-password password ] [-host_user_id user_ID] [-host_password password] [-host_RSA_key RSA_key_fingerprint]
For example:
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 HBase user has admin permissions for SSH and for HBase folders.
- Run the tpconfig -dappservers command to verify if the NetBackup master server has the HBase credentials added.