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
Configuring NetBackup for a highly-available HBase cluster
To protect a highly-available HBase cluster, when you configure NetBackup for HBase cluster:
Specify one of the HMaster (primary) as the client in the BigData policy.
Specify the same HMaster (primary and fail-over) as application server when you execute the tpconfig command.
Create a
hbase.conf
file, update it with the details of the HMaster (primary and fail-over), and copy it to all the backup hosts. Thehbase.conf
file is in JSON format.Hostname and port of the HMaster must be same as you have specified with the http address parameter in the
hbase-site.xml
of the HBase cluster.User name of the primary and fail-over HMaster must be same.
Do not provide a blank value for any of the parameters, or the backup job fails.
To update the HBase.conf file for highly-available HBase cluster
- Update the
hbase.conf
file with the following parameters:{ "application_servers": { "hostname_of_primary_HMaster1": { "failover_HMaster": [ { "hostname": "hostname_of_failover_HMaster1" } ] } } }
- If you have multiple HBase clusters, use the same
hbase.conf
file to update the details. For example,{ "application_servers": { "hostname_of_primary_HMaster1": { "failover_HMaster": [ { "hostname": "hostname_of_failover_HMaster1" } ], }, "hostname_of_primary_HMaster2": { "failover_HMaster": [ { "hostname": "hostname_of_failover_HMaster2", } ], } } }
- Copy this file to the following location on all the backup hosts:
/usr/openv/netbackup/