NetBackup™ in Highly Available Environments Administrator's Guide

Last Published:
Product(s): NetBackup (10.2)
  1. About in this guide
    1.  
      What's in this guide
    2.  
      Documents related to NetBackup in highly available environments
  2. NetBackup protection against single points of failure
    1. Protecting against component failures
      1.  
        Network link failures
      2. Storage device connection failures
        1.  
          SAN connection failures
        2.  
          Robotic control connection failures
      3.  
        Storage device failure
      4.  
        Media availability failures
      5.  
        Primary server failures
      6. Media server failures
        1.  
          Dedicated media server failures
        2.  
          Non-dedicated media servers failures
        3.  
          SAN media server failures
        4.  
          Restoring tape backups using an alternative media server
        5.  
          Restoring disk backups using an alternative media server
      7.  
        LAN client failures
      8.  
        SAN client failures
    2.  
      Site failures
    3.  
      Protecting the catalog in highly available environments
  3. About site disaster recovery with catalog backup and recovery
    1.  
      Disaster recovery packages
    2. About catalog recovery
      1.  
        About full catalog recovery
      2.  
        Performing full catalog restore
      3.  
        Making the DR environment consistent after a full catalog restore
      4.  
        About partial catalog recovery
      5.  
        Performing a partial catalog restore
      6.  
        Making the DR environment consistent after a partial catalog restore
    3. About disk recovery in DR domain
      1.  
        Disk recovery in single-domain replication DR environment
      2.  
        Auto Image Replication
      3.  
        Disk recovery in cross-domain replication DR environment
  4. About site loss protection with auto image and catalog replication
    1.  
      About Auto Image Replication (AIR)
    2. About NetBackup catalog replication
      1.  
        About conditions for support of replicated NetBackup catalogs
      2.  
        About catalog synchronization
      3. About multi-site single domain replication
        1.  
          About multi-site single domain with stretched SAN
        2.  
          About multi-site single domain with optimized duplication
      4. About multi-site cross domain replication
        1.  
          About multi-site cross domain and BasicDisk storage
        2.  
          Planning a cross domain replication disaster recovery domain
      5. About full catalog replication
        1.  
          Recovering the catalog with full catalog replication
        2.  
          Making the DR environment consistent with full catalog replication
      6. About partial catalog replication
        1.  
          Preparing an environment for partial catalog replication
        2.  
          Recovering the environment with partial catalog replication
        3.  
          Making the disaster recovery environment consistent with partial catalog replication
        4.  
          Considerations for managing tapes with partial catalog replication
  5. Deploying NetBackup primary servers with full catalog replication
    1.  
      About replication considerations
    2. About non-clustered NetBackup primary server with catalog replication
      1. Installing and configuring non-clustered NetBackup primary server with catalog replication
        1.  
          Installing and configuring the main NetBackup primary server
        2.  
          Installing and configuring an alternate NetBackup primary server
        3.  
          Upgrading NetBackup primary server in a non-clustered replicated configuration
    3. About globally clustered NetBackup primary servers with catalog replication
      1. Installing and configuring a globally clustered NetBackup primary server with catalog replication
        1.  
          About clustering considerations
        2.  
          Installing and configuring the main NetBackup primary server cluster
        3.  
          Installing and configuring an alternate NetBackup primary server cluster
      2.  
        Populating the server tables in the NetBackup database
      3.  
        Upgrading NetBackup in a clustered replication configuration
      4.  
        Failing over to an alternate primary server cluster
      5.  
        Testing the NetBackup primary server cluster in clustered replication environment
  6. Using NetBackup to perform backups and restores in a cluster
    1. About backups and restores with NetBackup in a cluster
      1.  
        Performing user-directed backups with NetBackup in a cluster
      2. About restoring data in a cluster
        1.  
          Example: Performing a user-directed restore in a NetBackup cluster
    2.  
      About supported NetBackup application agents in a cluster

Performing full catalog restore

With full catalog recovery the complete catalog backup is recovered to the DR primary server. The media servers that do not exist in the DR environment are deactivated to avoid unnecessary pooling. All device records are removed because the device configuration at the DR site can be different to the production site. Device discovery is run to update the NetBackup database. You must perform the following procedure before restores can be started. Also, document the procedure in your DR plan.

To prepare for full catalog restore

  1. Run the nbgetconfig command and save the output. This output can be used after the catalog recovery to recover the host-specific information that is overwritten during the catalog recovery.

    For example:

    ./nbgetconfig > sample.txt

  2. Run the bprecover command to recover the entire catalog.

    Note:

    The DR primary server must have the same name and topology as the production primary server. If the production primary server is a cluster then the DR primary server must also be a cluster. The number of member nodes and the names of the nodes can be different.

    Note:

    If a catalog backup that was created on a separate media server is used, then a media server with the same name is required for the catalog recovery.

  3. After you run the bprecover command, set a passphrase for the disaster recovery package so that subsequent catalog backups are successful.

    See Disaster recovery packages.

  4. During catalog recovery, security certificates for cluster nodes are not recovered. Only the virtual name certificate is recovered.

    If NetBackup certificates are used for host communication

    For successful host communication, you must deploy NetBackup certificates (host name-based and host ID-based certificates) on all cluster nodes after a disaster.

    For more details, refer to the Generating a certificate on a clustered primary server after disaster recovery installation chapter from the NetBackup Security and Encryption Guide.

    If external certificates are used for host communication

    For successful host communication, you must configure all cluster nodes to use external certificates after a disaster.

    For more details, refer to the NetBackup Security and Encryption Guide.

  5. Clear allowed list cache and restart the service on all hosts in the domain.
  6. Deactivate all the backup policies to prevent backups from starting automatically. Use one of the following methods:
    • The NetBackup web UI.

    • Run the bpplinfo <policy> -modify -inactive CLI.

  7. Shut down NetBackup.
  8. Recover the host settings that you backed up in step 1. Run the following command.
    ./nbsetconfig sample.txt
  9. Start the NetBackup Scale-Out Relational Database Manager, NetBackup PBX, and EMM services on the new primary server.
    • On Linux primary servers, run the following commands:

      • /usr/openv/netbackup/bin/nbdbms_start_stop start

      • start /opt/VRTSpbx/bin/pbx_exchange

      • /usr/openv/netbackup/bin/nbemm

    • On Windows primary servers, start the following Windows services:

      • NetBackup Scale-Out Relational Database Manager

      • Veritas Private Branch Exchange

      • NetBackup Enterprise Media Manager

      Note:

      The PBX process may already be running because the NetBackup commands do not stop and start PBX.

      For more information about NetBackup Scale-Out Relational Database Manager, see the NetBackup Troubleshooting Guide.

  10. Deactivate the media servers that are not part of the DR environment. Run the following command:

    nbemmcmd -updatehost -machinename media_server -machinestateop set_admin_pause -machinetype media -masterserver primary_server

  11. Delete all the tape devices from the EMM database. Run the following command:

    nbemmcmd -deletealldevices -allrecords

  12. This step is required if you have NAT clients in your environment.

    If the NetBackup Messaging Broker (or nbmqbroker) service is configured, after the catalog restore you need to enable the cluster to monitor the service using the configureMQ -enableCluster command.

    For more information on the command, refer to the NetBackup Command Reference Guide.

  13. Restart NetBackup.
  14. Create the new tape drive and library configuration.
  15. If the barcode masking rules were used at step 9, ensure that the same rules are set here. If necessary, add them.
  16. Verify that all the recovery media are set to non-robotic.
    • If some recovery media still need to be set to non-robotic, do the following:

    • Select the robotic media, right-click, and select Move.

    • Change the robot field to Standalone.

    • Click OK to save the changes.

  17. Once all the recovery media are set to non-robotic, in the Inventory all the tape libraries field ensure that the media are identified in the correct library.

You can now start restore and recovery operations of the client data that is backed up at the production datacenter.

If you have configured an external CA-signed certificate for the NetBackup web server, you must run the configureWebServerCerts command on the active node. This action ensure that the external certificate is used after the failover.

For more information on the command, see the NetBackup Commands Reference Guide.

For all cluster nodes, do the following:

  • Define the external certificate configuration options (ECA_CERT_PATH, ECA_CRL_PATH, and so on) in the configuration file on the node.

  • Run the nbcertcmd -enrollCertificate on the node.

    For more details, refer to the NetBackup Security and Encryption Guide.