Veritas NetBackup for Hadoop Administrator's Guide

Last Published:
Product(s): NetBackup (8.1.1)
Platform: Linux,UNIX
  1. Introduction
    1.  
      Protecting Hadoop data using NetBackup
    2.  
      Backing up Hadoop data
    3.  
      Restoring Hadoop data
    4.  
      NetBackup for Hadoop terminologies
    5.  
      Limitations
  2. Deploying the Hadoop plug-in
    1.  
      About deploying the Hadoop plug-in
    2. Pre-requisites for the Hadoop plug-in
      1.  
        Operating system and platform compatibility
      2.  
        NetBackup server and client requirements
      3.  
        License for Hadoop plug-in for NetBackup
    3.  
      Preparing the Hadoop cluster
    4.  
      Best practices for deploying the Hadoop plug-in
    5.  
      Verifying the deployment of the Hadoop plug-in
  3. Configuring NetBackup for Hadoop
    1.  
      About configuring NetBackup for Hadoop
    2. Managing backup hosts
      1.  
        Whitelisting a NetBackup client on NetBackup master server
      2.  
        Configure a NetBackup Appliance as a backup host
    3.  
      Adding Hadoop credentials in NetBackup
    4. Configuring the Hadoop plug-in using the Hadoop configuration file
      1.  
        Configuring NetBackup for a highly-available Hadoop cluster
      2.  
        Configuring a custom port for the Hadoop cluster
      3.  
        Configuring number of threads for backup hosts
    5.  
      Configuration for a Hadoop cluster that uses Kerberos
    6. Configuring NetBackup policies for Hadoop plug-in
      1. Creating a BigData backup policy
        1. Creating BigData policy using the NetBackup Administration Console
          1.  
            Using the Policy Configuration Wizard to create a BigData policy for Hadoop clusters
          2.  
            Using the NetBackup Policies utility to create a BigData policy for Hadoop clusters
        2.  
          Using NetBackup Command Line Interface (CLI) to create a BigData policy for Hadoop clusters
    7.  
      Disaster recovery of a Hadoop cluster
  4. Performing backups and restores of Hadoop
    1. About backing up a Hadoop cluster
      1.  
        Pre-requisite for running backup and restore operations for a Hadoop cluster with Kerberos authentication
      2.  
        Backing up a Hadoop cluster
      3.  
        Best practices for backing up a Hadoop cluster
    2. About restoring a Hadoop cluster
      1. Restoring Hadoop data on the same Hadoop cluster
        1.  
          Using the Restore Wizard to restore Hadoop data on the same Hadoop cluster
        2.  
          Using the bprestore command to restore Hadoop data on the same Hadoop cluster
      2.  
        Restoring Hadoop data on an alternate Hadoop cluster
      3.  
        Best practices for restoring a Hadoop cluster
  5. Troubleshooting
    1.  
      About troubleshooting NetBackup for Hadoop issues
    2.  
      About NetBackup for Hadoop debug logging
    3. Troubleshooting backup issues for Hadoop data
      1.  
        Backup operation for Hadoop fails with error code 6599
      2.  
        Backup operation fails with error 6609
      3.  
        Backup operation failed with error 6618
      4.  
        Backup operation fails with error 6647
      5.  
        Extended attributes (xattrs) and Access Control Lists (ACLs) are not backed up or restored for Hadoop
      6.  
        Backup operation fails with error 6654
      7.  
        Backup operation fails with bpbrm error 8857
      8.  
        Backup operation fails with error 6617
      9.  
        Backup operation fails with error 6616
    4. Troubleshooting restore issues for Hadoop data
      1.  
        Restore fails with error code 2850
      2.  
        NetBackup restore job for Hadoop completes partially
      3.  
        Extended attributes (xattrs) and Access Control Lists (ACLs) are not backed up or restored for Hadoop
      4.  
        Restore operation fails when Hadoop plug-in files are missing on the backup host
      5.  
        Restore fails with bpbrm error 54932
      6.  
        Restore operation fails with bpbrm error 21296

Managing backup hosts

A backup host acts as a proxy client which hosts all the backup and restore operations for Hadoop clusters. In case of Hadoop plug-in for NetBackup, backup host performs all the backup and restore operations without any separate agent installed on the Hadoop cluster.

The backup host must be a Linux computer. NetBackup 8.1 release supports only RHEL and SUSE platforms as a backup host.

The backup host can be a NetBackup client or a media server or a master server. Veritas recommends that you have media server as a backup host.

Consider the following before adding a backup host:

  • For backup operations, you can add one or more backup hosts.

  • For restore operations, you can add only one backup host.

  • A master, media, or client can perform the role of a backup host.

  • Hadoop plug-in for NetBackup is installed on all the backup hosts.

You can add a backup host while configuring BigData policy using either the NetBackup Administration Console or Command Line Interface.

For more information on how to create a policy, see See Creating a BigData backup policy.

To add a backup host

  1. In the Backup Selections tab, click New and add the backup host in the following format:

    Backup_Host=<IP_address or hostname>

    For more information on how to create a policy, See Creating a BigData backup policy.

    Alternatively, you can also add a backup host using the following command:

    For Windows:

    bpplinclude PolicyName -add "Backup_Host=IP_address or hostname"

    For UNIX:

    bpplinclude PolicyName -add 'Backup_Host=IP_address or hostname'

    For more information, See Using NetBackup Command Line Interface (CLI) to create a BigData policy for Hadoop clusters .

  2. As a best practice, add the entries of all the NameNodes and DataNodes to the /etc/hosts file on all the backup hosts. You must add the host name in FQDN format.

    OR

    Add the appropriate DNS entries in the /etc/resolve.conf file.

To remove a backup host

  1. In the Backup Selections tab, select the backup host that you want to remove.
  2. Right click the selected backup host and click Delete.

    Alternatively, you can also remove a backup host using the following command:

    For Windows:

    bpplinclude PolicyName -delete "Backup_Host=IP_address or hostname"

    For UNIX:

    bpplinclude PolicyName -delete 'Backup_Host=IP_address or hostname'