Veritas Access NetBackup Solutions Guide

Last Published:
Product(s): Access (7.4)
Platform: Linux
  1. Veritas Access integration with NetBackup
    1.  
      About Veritas Access
    2.  
      About Veritas Access as a NetBackup client
    3.  
      About Veritas Access as backup storage for NetBackup
    4.  
      Use cases for long-term data retention
    5.  
      Benefits of using Veritas Access with NetBackup and OpenDedup/CloudCatalyst
  2. System requirements
    1.  
      System requirements for OpenDedup installation
    2.  
      Supported configurations and versions for NetBackup with OpenDedup
    3.  
      Supported configurations and versions for NetBackup with CloudCatalyst
  3. Configuring Veritas Access backup over S3 with OpenDedup and NetBackup
    1.  
      Workflow for OpenDedup
    2.  
      Use case 1: Backing up deduplicated data (OpenDedup and NetBackup) using the S3 protocol to Veritas Access
    3.  
      Use case 2: Backing up data (NetBackup) and deduplicating the data (OpenDedup) on Veritas Access
    4.  
      Creating an S3 bucket on Veritas Access for storing deduplicated backup data from NetBackup
    5.  
      Creating a Media Server Deduplication Pool (MSDP) for primary backup using NetBackup
    6.  
      Creating an OST disk pool and STU in the NetBackup console
    7.  
      Setting up multiple NetBackup media servers in the same domain
    8.  
      Setting up multiple SDFS volumes on a NetBackup media server
  4. Configuring Veritas Access as a cloud storage server with NetBackup CloudCatalyst
    1.  
      Creating an S3 bucket on Veritas Access for storing deduplicated backup data from NetBackup
    2.  
      Configure Veritas Access as a cloud storage server on NetBackup server
  5. Configuring backup and restore using NetBackup policies
    1.  
      Storage Lifecycle Policies
    2.  
      Backup and restore
    3.  
      Running a backup policy manually
    4.  
      Restoring backed up files
  6. Troubleshooting
    1.  
      Unmounting the SDFS volume before restarting Veritas Access or the NetBackup media server
    2.  
      Log locations for troubleshooting
    3.  
      Additional resources
    4.  
      Generating Veritas Access S3 server keys using the helper script

Creating an S3 bucket on Veritas Access for storing deduplicated backup data from NetBackup

To create an S3 bucket on Veritas Access for storing deduplicated backup data from NetBackup

  1. Log on to the Veritas Access GUI as the master user using the following URL:

    https://Veritas Access Management console IP:14161/.

    You can obtain the Veritas Access Management console IP by logging on to the CLISH using the su - master command on the Veritas Access cluster.

  2. Create a storage pool for the S3 buckets.

    Click NAS Infrastructure in the GUI navigation on the left.

    Select the disks that you want to use for the S3 bucket, and click the Add to Storage Pool button to invoke the wizard for storage pool creation.

    Follow the steps in the wizard for creating a new storage pool or adding the disks to an existing pool.

  3. Click Settings > User Management > Configure Active Directory to configure AD.

    Enter the required information, such as the DNS Domain, DNS Name Servers, AD Domain, AD Domain Controller, and the AD Admin and Password.

  4. Click Settings > S3 Management to configure and enable the S3 server.

    Edit the default parameters that are required for the S3 server, such as the storage pool name, underlying S3 bucket layout, and the default size of the bucket.

  5. Double-click S3 Server Status to start the S3 server.
  6. Log out from the GUI, and log in again as an AD user.

    Note:

    Log in using the domainname\\username format.

    Click on the Create keys button to generate the access key and the secret key for the Veritas Access S3 bucket.

    Save the access key and secret key in a safe location, as Veritas Access does not allow retrieval of keys after initial creation.

  7. Log out from the GUI, and log on again as the master user.
  8. Registration of supported public cloud service is optional, and is only required in case you need to add an AWS cloud as a storage tier. Without this, backups are stored locally in Veritas Access S3 buckets.

    Click Settings > Cloud Storage Registration > Add Cloud Subscription to register the supported public or private cloud service.

    Enter information for the cloud service provider, name of subscription, access key, and secret key.

  9. Activate the long-term data retention (LTR) policies.

    Click Policies > LTR Policy.

    Click Activate for either the LTR On-Premises + Cloud policy or the LTR On-Premises policy and provide the storage pool when prompted.

  10. Provision the NetBackup bucket using the policy.

    Under Quick Actions, click Provision Storage. Select S3 Storage for NetBackup and click Next.

    Provide the bucket size, underlying layout of the bucket, the access key, and the secret key of the Veritas Access S3 server generated as the AD user in step 6.

    If you selected the LTR On-Premises + Cloud policy, add information such as which data should be moved to the AWS cloud tier, AWS region, cloud tier type (S3/Glacier), and when the data movement to the cloud should occur.

  11. Monitor the progress of the task under Recent Activity.

    Make a note of the scale-out file system name that was used for the bucket creation.

  12. Click File Systems.

    For the scale-out file system that is created, ensure that the S3 Bucket column displays Yes to indicate that the S3 bucket is enabled.

    You may need to wait for some time for this change to be reflected in the GUI.

  13. Right-click the ellipses (additional options), and click Configure LTR Script.
  14. A pop-up window appears with the following options:

    Do you want to Run the LTR script?

    Do you want to Download the LTR script?

    • Select the Do you want to Run the LTR script? option if OpenDedup is hosted on Veritas Access. You will be prompted to enter you access key. Enter the access key and click Next. Wait for the task to be completed.

      The rest of the configuration steps are done automatically.

      After the configuration is completed successfully, the output message shows the IP address and the port number on which the OpenDedup volume is mounted on Veritas Access. The IP address and port number are required later during OST configuration.

      Note:

      This operation creates/expands a new file system named odd_cache_fs to store the OpenDedup cache data. The default size of this file system is 24 GB. Veritas recommends that you expand the file system to the required size. See the OpenDedup documentation for more details.

      Go to step 21.

    • Select the Do you want to Download the LTR script? option if OpenDedup is hosted on the NetBackup master and/or media server. Click Next. Wait for the task to be completed.

  15. Copy the LTR script to the host where OpenDedup is installed. It can be the host where the NetBackup media server is installed.
  16. Run the downloaded LTR script. The LTR script requires the Veritas Access S3 keys (access and secret key) as arguments that were generated as the AD user.

    The LTR script creates the OpenDedup file system and prompts for the entry in the /etc/hosts file for the bucket to IP address mapping.

    Output of LTR script execution:

    [root@host1 ~]# sh LTRscript_<fsname/volname>_<bucketname>.sh 
    <Access key> <Secret Key> 
    ===================================================================
    Insert the below details in /etc/hosts file
    10.100.100.1 4f459a2d-736e-4be5-9c5a-f821fbc198fds3bucket.s3.access
    ===================================================================
    Attempting to create SDFS volume ...
    Volume [S3fs1497356186] created with a capacity of [10.00GB]
    check [/etc/sdfs/S3fs1497356186-volume-cfg.xml] for configuration 
    details if you need to change anything

    Note:

    The volume name highlighted above and its equivalent .xml file are used to mount and update the SDFS volume parameters in later steps.

  17. Add the IP associated with the virtual hosted-style bucket name (generated from the LTR script) in the /etc/hosts file on the media server.
  18. Mount the SDFS volume under /opendedupe/volumes/ on the host where OpenDedup is installed.
    # mkdir /opendedupe/volumes/filesystem_name
    # mount -t sdfs filesystem_name /opendedupe/volumes/filesystem_name

    The mount command mounts a bucket on the Veritas Access cluster or the NetBackup media server.

    Note:

    After mounting the SDFS volume, it will start listening on a specific port, usually starting from 6442.

    Port information can be found using the mount command.

    Example:

    [root@host1 ~]# mount | grep opendedupe
    sdfs:/etc/sdfs/S3fs1497346133-volume-cfg.xml:6443 on 
    /opendedupe/volumes/S3fs1497346133 type fuse 
    (rw,nosuid,nodev,allow_other,allow_other)
    sdfs:/etc/sdfs/S3fs1497258807-volume-cfg.xml:6442 on 
    /opendedupe/volumes/pool1 type fuse 
    (rw,nosuid,nodev,allow_other,allow_other)
  19. Update the /etc/rc.local script with the following:
    /scripts/mount-opendedupe.sh || exit 1  
    exit 0
    
  20. Create the mount-opendedupe.sh script and /scripts directory.
    cat mount-opendedupe.sh
    !/bin/sh
    mount -t sdfs <volume_name> /opendedupe/volumes/<volume_name>
    
  21. Execute the following commands:
    chmod +x /scripts/mount-opendedupe.sh
    chmod +x /etc/rc.d/rc.local
  22. Update the URL tag in the /etc/sdfs/ostconfig.xml present on the NetBackup media server based on the following two cases:

    Use case 1: OpenDedup on a NetBackup server

    <URL>
    http://localhost:6442/
    </URL>

    Use case 2: OpenDedup on Veritas Access

    <URL>
    http://<IP address that was specified in step 14>:<port number that 
    																																									was specified in step 14>/
    </URL>