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 and hadoop 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 a hadoop cluster that uses Kerberos, specify "kerberos" as application_server_user_id value.
For a hbase cluster that uses Kerberos, specify the actual Kerberos user name as application_server_user_id value.
RSA key must be in MD5 format.
Ensure that RSA is supported on the backup host and to obtain the RSA key, run the following command:
ssh-keygen -l -f ssh_host_rsa_key
This utility is available at
/etc/ssh
To authorize HMaster servers without providing RSA key
- Login to each of your backup hosts as root user.
- Run the following command to make HMaster as known host.
Note:
Ensure that the
root/.ssh
directory is present.Remove any old keys for HMaster from
/root/.ssh/known_hosts
file before running the command.ssh-keyscan -t ssh-rsa <HMASTER_HOST_NAME> >> ~/.ssh/known_hosts
- Run the -tpconfig command without the RSA fingerprint.
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 application_type [-password password command by providing appropriate values for each parameter to add hadoop credentials.
For example, if you want to add credentials for hadoop server which has application_server_name as Hadoop1, then run the following command using the appropriate <user_ID> and <password> details.
tpconfig -add -application_server servername -application_type 1 -application_server_user_id Hadoop -
- 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 e2:53:a3:11:96:a5:65:ff:f4:c2:e7:b6:9a:85:ed:18
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.