NetBackup™ Snapshot Manager Install and Upgrade Guide

Last Published:
Product(s): NetBackup (10.2)
  1. Introduction
    1.  
      About the deployment approach
    2.  
      Deciding where to run NetBackup Snapshot Manager
    3.  
      About deploying NetBackup Snapshot Manager in the cloud
  2. Section I. NetBackup Snapshot Manager installation and configuration
    1. Preparing for NetBackup Snapshot Manager installation
      1.  
        Meeting system requirements
      2.  
        NetBackup Snapshot Manager host sizing recommendations
      3.  
        NetBackup Snapshot Manager extension sizing recommendations
      4.  
        Creating an instance or preparing the host to install NetBackup Snapshot Manager
      5.  
        Installing container platform (Docker, Podman)
      6.  
        Creating and mounting a volume to store NetBackup Snapshot Manager data
      7.  
        Verifying that specific ports are open on the instance or physical host
      8.  
        Preparing NetBackup Snapshot Manager for backup from snapshot jobs
    2. Deploying NetBackup Snapshot Manager using container images
      1.  
        Before you begin installing NetBackup Snapshot Manager
      2.  
        Installing NetBackup Snapshot Manager in the Docker/Podman environment
      3.  
        Verifying that NetBackup Snapshot Manager is installed successfully
      4.  
        Restarting NetBackup Snapshot Manager
    3. Deploying NetBackup Snapshot Manager extensions
      1.  
        Before you begin installing NetBackup Snapshot Manager extensions
      2.  
        Downloading the NetBackup Snapshot Manager extension
      3. Installing the NetBackup Snapshot Manager extension on a VM
        1.  
          Prerequisites to install the extension on VM
        2.  
          Installing the extension on a VM
      4. Installing the NetBackup Snapshot Manager extension on a managed Kubernetes cluster (AKS) in Azure
        1.  
          Prerequisites to install the extension on a managed Kubernetes cluster in Azure
        2.  
          Installing the extension on Azure (AKS)
      5. Installing the NetBackup Snapshot Manager extension on a managed Kubernetes cluster (EKS) in AWS
        1.  
          Prerequisites to install the extension on a managed Kubernetes cluster in AWS
        2. Installing the extension on AWS (EKS)
          1.  
            Install extension using the extension script
      6. Installing the NetBackup Snapshot Manager extension on a managed Kubernetes cluster (GKE) in GCP
        1.  
          Prerequisites to install the extension on a managed Kubernetes cluster in GCP
        2.  
          Installing the extension on GCP (GKE)
      7.  
        Install extension using the Kustomize and CR YAMLs
      8.  
        Managing the extensions
    4. NetBackup Snapshot Manager cloud providers
      1.  
        Why to configure the NetBackup Snapshot Manager cloud providers?
      2. AWS plug-in configuration notes
        1.  
          Prerequisites for configuring the AWS plug-in
        2.  
          Configuring AWS permissions for NetBackup Snapshot Manager
        3.  
          AWS permissions required by NetBackup Snapshot Manager
        4.  
          Before you create a cross account configuration
      3. Google Cloud Platform plug-in configuration notes
        1.  
          Google Cloud Platform permissions required by NetBackup Snapshot Manager
        2.  
          Configuring a GCP service account for NetBackup Snapshot Manager
        3.  
          Preparing the GCP service account for plug-in configuration
        4.  
          GCP cross-project restore configuration
      4. Microsoft Azure plug-in configuration notes
        1.  
          Configuring permissions on Microsoft Azure
        2.  
          About Azure snapshots
      5. Microsoft Azure Stack Hub plug-in configuration notes
        1.  
          Configuring permissions on Microsoft Azure Stack Hub
        2.  
          Configuring staging location for Azure Stack Hub VMs to restore from backup
    5. Configuration for protecting assets on cloud hosts/VM
      1.  
        Deciding which feature (on-host agent or agentless) of NetBackup Snapshot Manager is to be used for protecting the assets
      2. Protecting assets with NetBackup Snapshot Manager's on-host agent feature
        1. Installing and configuring NetBackup Snapshot Manager agent
          1.  
            Downloading and installing the NetBackup Snapshot Manager agent
          2. Linux-based agent
            1.  
              Preparing to install the Linux-based agent
            2.  
              Registering the Linux-based agent
          3. Windows-based agent
            1.  
              Preparing to install the Windows-based agent
            2.  
              Registering the Windows-based agent
        2. Configuring the NetBackup Snapshot Manager application plug-in
          1.  
            Configuring an application plug-in
          2. Microsoft SQL plug-in
            1.  
              Microsoft SQL plug-in configuration requirements
            2.  
              Restore requirements and limitations for Microsoft SQL Server
            3.  
              Steps required before restoring SQL AG databases
            4.  
              Additional steps required after restoring SQL AG databases
            5. Additional steps required after a SQL Server instance snapshot restore
              1.  
                Steps required after a SQL Server host-level restore
              2.  
                Steps required after a SQL Server instance disk-level snapshot restore to new location
          3. Oracle plug-in
            1. Oracle plug-in configuration requirements
              1.  
                Optimizing your Oracle database data and metadata files
            2.  
              Restore requirements and limitations for Oracle
            3.  
              Additional steps required after an Oracle snapshot restore
      3. Protecting assets with NetBackup Snapshot Manager's agentless feature
        1. Prerequisites for the agentless configuration
          1.  
            Configuring SMB for Windows (Optional)
          2.  
            Configuring WMI security for Windows (optional)
        2.  
          Configuring the agentless feature
        3.  
          Configuring the agentless feature after upgrading NetBackup Snapshot Manager
    6. NetBackup Snapshot Manager assets protection
      1. NetBackup protection plan
        1.  
          Creating a NetBackup protection plan for cloud assets
        2.  
          Subscribing cloud assets to a NetBackup protection plan
      2.  
        Configuring VSS to store shadow copies on the originating drive
      3.  
        Additional steps required after restoring an AWS RDS database instance
    7. Volume Encryption in NetBackup Snapshot Manager
      1.  
        About volume encryption support in NetBackup Snapshot Manager
      2.  
        Volume encryption for Azure
      3.  
        Volume encryption for GCP
      4.  
        Volume encryption for AWS
    8. NetBackup Snapshot Manager security
      1.  
        Configuring security for Azure Stack
      2.  
        Configuring the cloud connector for Azure Stack
      3.  
        CA configuration for Azure Stack
      4.  
        Securing the connection to NetBackup Snapshot Manager
  3. Section II. NetBackup Snapshot Manager maintenance
    1. NetBackup Snapshot Manager logging
      1.  
        About NetBackup Snapshot Manager logging mechanism
      2. How Fluentd-based NetBackup Snapshot Manager logging works
        1.  
          About the NetBackup Snapshot Manager fluentd configuration file
        2.  
          Modifying the fluentd configuration file
      3.  
        NetBackup Snapshot Manager logs
      4.  
        Agentless logs
      5.  
        Troubleshooting NetBackup Snapshot Manager logging
    2. Upgrading NetBackup Snapshot Manager
      1.  
        About NetBackup Snapshot Manager upgrades
      2.  
        Supported upgrade path
      3.  
        Upgrade scenarios
      4.  
        Preparing to upgrade NetBackup Snapshot Manager
      5.  
        Upgrading NetBackup Snapshot Manager
      6.  
        Upgrading NetBackup Snapshot Manager using patch or hotfix
      7. Migrating and upgrading NetBackup Snapshot Manager
        1.  
          Before you begin migrating NetBackup Snapshot Manager
        2.  
          Migrate and upgrade NetBackup Snapshot Manager on RHEL 8.6 or 8.4
      8.  
        GCP configuration for migration from zone to region
      9. Post-upgrade tasks
        1.  
          Upgrading NetBackup Snapshot Manager extensions
      10.  
        Post-migration tasks
    3. Uninstalling NetBackup Snapshot Manager
      1.  
        Preparing to uninstall NetBackup Snapshot Manager
      2.  
        Backing up NetBackup Snapshot Manager
      3.  
        Unconfiguring NetBackup Snapshot Manager plug-ins
      4.  
        Unconfiguring NetBackup Snapshot Manager agents
      5.  
        Removing the NetBackup Snapshot Manager agents
      6.  
        Removing NetBackup Snapshot Manager from a standalone Docker host environment
      7.  
        Removing NetBackup Snapshot Manager extensions - VM-based or managed Kubernetes cluster-based
      8.  
        Restoring NetBackup Snapshot Manager
    4. Troubleshooting NetBackup Snapshot Manager
      1.  
        Troubleshooting NetBackup Snapshot Manager
      2.  
        SQL snapshot or restore and granular restore operations fail if the Windows instance loses connectivity with the NetBackup Snapshot Manager host
      3.  
        Disk-level snapshot restore fails if the original disk is detached from the instance
      4.  
        Discovery is not working even after assigning system managed identity to the control node pool
      5.  
        Performance issue with GCP backup from snapshot
      6.  
        Post migration on host agents fail with an error message
      7.  
        File restore job fails with an error message
      8.  
        Acknowledgment not received for datamover
      9.  
        Upgrade of extension on AWS (EKS) fails when upgrading through script
      10.  
        Backup from snapshot job fails with timeout error

Installing NetBackup Snapshot Manager in the Docker/Podman environment

Note:

When you deploy NetBackup Snapshot Manager, you may want to copy the commands below and paste them in your command line interface. If you do, replace the information in these examples that is different from your own: the product and build version, the download directory path, and so on.

NetBackup Snapshot Manager installation prerequisites on Podman:

  • Run the following commands to install the required packages (lvm2, udev and plugins) on the hosts:

    #yum install -y lvm2-<version>

    #yum install -y lvm2-libs-<version>

    #yum install -y python3-pyudev-<version>

    #yum install -y systemd-udev-<version>

    #yum install -y podman-plugins

Installing NetBackup Snapshot Manager

Perform the following appropriate steps depending on the Docker or Podman environment.

To install NetBackup Snapshot Manager

  1. Download the NetBackup Snapshot Manager image to the system on which you want to deploy NetBackup Snapshot Manager. Navigate to the Veritas Technical Support website.

    Note:

    You must log on to the support site to download.

    From the Products drop-down, select NetBackup and select the required version from the Version drop-down. Click Explore. Click Base and upgrade installers.

    The NetBackup Snapshot Manager image name resembles the following format for Docker and Podman environment:

    NetBackup_SnapshotManager_<version>.tar.gz

    Note:

    The actual file name may vary depending on the release version.

  2. Un-tar the image file and list the contents:
    # ls
    NetBackup_SnapshotManager_10.2.x.x.xxxx.tar.gz
    netbackup-flexsnap-10.2.x.x.xxxx.tar.gz
    flexsnap_preinstall.sh
    
  3. Run the following command to prepare the NetBackup Snapshot Manager host for installation:

    # sudo ./flexsnap_preinstall.sh

    (For Podman on RHEL 8.x) The output resembles as follows:

    NetBackup Snapshot Manager for installation:
    Validate SELINUX                         ...  done
    Check for Podman installation            ...  done
    Validate Podman version support          ...  done
    Checking for required packages           ...  done
    Validate Podman services health          ...  done
    Removing deprecated services             ...  done
    Loading Snapshot Manager service images  ...  done 
  4. Perform the following appropriate step depending on the Docker or Podman environment.
    • (For Docker environment)

      Type the following command to run the NetBackup Snapshot Manager container:

      # sudo docker run -it --rm -u 0
      -v /cloudpoint:/cloudpoint-v /var/run/docker.sock:/var/run/
      docker.sock veritas/flexsnap-deploy:<version>install
    • (For Podman environment)

      Install NetBackup Snapshot Manager with the following command:

      # podman run -it --rm -u 0
      -v /cloudpoint:/cloudpoint -v /run/podman/podman.sock:/run/podman/
      podman.sock veritas/flexsnap-deploy:<version>install

    Note:

    The command mentioned in the above step is a single command. Ensure that you enter the command without any line breaks.

    If the NetBackup Snapshot Manager host is behind a proxy server, use the following command instead:

    • (For Docker environment)

      # sudo docker run -it --rm -u 0
      -v /<full_path_to_volume_name>:/<full_path_to_volume_name> 
      -e VX_HTTP_PROXY=<http_proxy_value>
      -e VX_HTTPS_PROXY=<http_proxy_value>
      -e VX_NO_PROXY=<no_proxy_value>
      -v /var/run/docker.sock:/var/run/docker.sock 
      veritas/flexsnap-deploy:<version> install

    • (For Podman environment)

      # podman run -it --rm -u 0
      -v /<full_path_to_volume_name>:/<full_path_to_volume_name> 
      -e VX_HTTP_PROXY=<http_proxy_value>
      -e VX_HTTPS_PROXY=<http_proxy_value>
      -e VX_NO_PROXY=<no_proxy_value>
      -v /run/podman/podman.sock:/run/podman/podman.sock
      veritas/flexsnap-deploy:<version> install

    Replace the following parameters as per your environment:

    Parameter

    Description

    <full_path_to_volume_name>

    Represents the path to the NetBackup Snapshot Manager data volume, which typically is /cloudpoint.

    <version>

    Represents the NetBackup Snapshot Manager product version that you noted in the earlier step.

    Following parameters are required only if the instance uses a proxy server

    <http_proxy_value>

    Represents the value to be used as the HTTP proxy for all connections.

    For example, "http://proxy.mycompany.com:8080/".

    <https_proxy_value>

    Represents the value to be used as the HTTPS proxy for all connections.

    For example, "http://proxy.mycompany.com:8080/".

    <no_proxy_value>

    Represents the addresses that are allowed to bypass the proxy server. You can specify host names, IP addresses, and domain names in this parameter.

    Use commas to separate multiple entries. For example, "localhost,mycompany.com,192.168.0.10:80".

    Note:

    If NetBackup Snapshot Manager is being deployed in the cloud, ensure that you set the following respective values in this parameter:

    • For an AWS instance: 169.254.169.254

    • For a GCP virtual machine: 169.254.169.254,metadata,metadata.google.internal

    • For an Azure virtual machine: 169.254.169.254

    NetBackup Snapshot Manager uses these addresses to gather instance metadata from the instance metadata service.

    Example

    • (For Docker environment) If the NetBackup Snapshot Manager version is 10.2.xxxx, the command syntax is as follows:

      # sudo docker run -it --rm -u 0 -v /cloudpoint:/cloudpoint 
      -v /var/run/docker.sock:/var/run/docker.sock 
      veritas/flexsnap-deploy:10.2.x.xxxx install

      If using a proxy server, then using the examples provided in the table earlier, the command syntax is as follows:

      # sudo docker run -it --rm -u 0
      -v /cloudpoint:/cloudpoint -e VX_HTTP_PROXY="http://proxy.mycompany.com:8080/"
      -e VX_HTTPS_PROXY="http://proxy.mycompany.com:8080/" 
      -e VX_NO_PROXY="localhost,mycompany.com,192.168.0.10:80"
      -v /var/run/docker.sock:/var/run/docker.sock veritas/
      flexsnap-deploy:10.2.x.xxxx install

      The installer displays messages similar to the following:

      Installing the services 
      
      Configuration started at time: Thu Jun  9 07:49:00 UTC 2022
      docker server version: 20.10.12
      
      This is a fresh install of NetBackup Snapshot Manager 10.2.x.x.xxxx
      Snapshot Manager currently is not configured. Starting initial services before configuration.
      Creating network: flexsnap-network ...done
      Starting container: flexsnap-fluentd ...done
      Starting container: flexsnap-ipv6config ...done
      Creating container: flexsnap-mongodb ...done
      
      Creating container: flexsnap-rabbitmq ...done
      Creating container: flexsnap-certauth ...done
      Creating container: flexsnap-api-gateway ...done
      Creating container: flexsnap-coordinator ...done
      Creating container: flexsnap-listener ...done 
      Creating container: flexsnap-agent ...done 
      Creating container: flexsnap-onhostagent ...done
      Creating container: flexsnap-scheduler ...done 
      Creating container: flexsnap-policy ...done 
      Creating container: flexsnap-notification ...done
      Creating container: flexsnap-idm ...done 
      Starting container: flexsnap-config ...done 
      Creating self signed keys and certs for nginx ...done
      
      Please provide Snapshot Manager admin credentials for configuration:
      Admin username: admin
      Admin password:
      Confirm Admin password:
      Host names for TLS certificate (space or comma separated):10.244.79.36
      Port (default:443):
      
      Starting container: flexsnap-nginx ...done
      Configuring admin credentials ...done
      Waiting for Snapshot Manager configuration to complete (22/22)...done
      Configuration complete at time Thu Jun  9 07:54:00 UTC 2022!
      Please register Snapshot Manager with NetBackup primary server
    • (For Podman environment)

      The output resembles the following:

      Installing the services 
      Configuration started at time: Thu Jun  9 08:42:41 UTC 2022
      podman server version: 4.0.2
      
      This is a fresh install of NetBackup Snapshot Manager 10.2.x.x.xxxxx
      Snapshot Manager currently is not configured. Starting initial services before configuration.
      
      Creating network: flexsnap-network ...done
      Starting container: flexsnap-fluentd ...done
      Creating container: flexsnap-mongodb ...done
      Creating container: flexsnap-rabbitmq ...done
      Creating container: flexsnap-certauth ...done
      Creating container: flexsnap-api-gateway ...done
      Creating container: flexsnap-coordinator ...done
      Creating container: flexsnap-listener ...done
      Creating container: flexsnap-agent ...done
      Creating container: flexsnap-onhostagent ...done
      Creating container: flexsnap-scheduler ...done
      Creating container: flexsnap-policy ...done
      Creating container: flexsnap-notification ...done
      Creating container: flexsnap-idm ...done
      Starting container: flexsnap-config ...done
      Creating self signed keys and certs for nginx ...done
      
      Please provide Snapshot Manager admin credentials for configuration:
      Admin username: admin
      Admin password:
      Confirm Admin password:
      Host names for TLS certificate (space or comma separated):10.239.154.240
      Port (default:443):
      
      Starting container: flexsnap-nginx ...done
      Configuring admin credentials ...done
      Waiting for Snapshot Manager configuration to complete (22/22)...done
      Configuration complete at time Thu Jun  9 08:52:04 UTC 2022!
      Please register Snapshot Manager with NetBackup primary server

    In this step, NetBackup Snapshot Manager does the following:

    • Creates and runs the containers for each of the NetBackup Snapshot Manager services.

    • Creates self-signed keys and certificates for nginx.

    Note:

    If you do not specify the volume as -v full_path_to_volume_name:/full_path_to_volume_name, the container writes to the Docker/Podman host file system.

  5. Provide the following details when prompted on the command prompt:

    Parameter

    Description

    Admin username

    Specify a user name for the NetBackup Snapshot Manager administrator user account.

    Admin password

    Specify a password for the administrator user.

    Confirm Admin password

    Confirm the administrator user password.

    Host name for TLS certificate

    Specify the IP address or the Fully Qualified Domain Name (FQDN) of the NetBackup Snapshot Manager host.

    If you connect to the host using different names (for example, myserver, myserver.mydomain, or myserver.mydomain.mycompany.com), then ensure that you add all the names here if you want to enable NetBackup Snapshot Manager access using those names.

    Use commas to specify multiple entries. The names you specify here must point to the same NetBackup Snapshot Manager host.

    The specified names or IP address are added to the list of host names to use for configuring NetBackup Snapshot Manager. The installer uses these names to generate a server certificate for the NetBackup Snapshot Manager host.

    Port

    Specify the port through which the NetBackup Snapshot Manager can communicate. Default is port 443.

    The installer then displays messages similar to the following:

    Configuring admin credentials ...done
    Waiting for Snapshot Manager configuration to complete (22/22) ...done
    Configuration complete at time Thu Jun 9 06:15:43 UTC 2022!

    Note:

    After the deployment of NetBackup Snapshot Manager, ensure that the IPv6 interface on the system is not disabled.

  6. This concludes the NetBackup Snapshot Manager deployment process. The next step is to register the NetBackup Snapshot Manager with the Veritas NetBackup primary server.

    If NetBackup Snapshot Manager is deployed in the cloud, refer to the NetBackup Web UI Cloud Administrator's Guide for instructions. If NetBackup Snapshot Manager is deployed on-premise, refer to the NetBackup Snapshot Manager for Data Center Administrator's Guide for instructions.

Note:

If you ever need to restart NetBackup Snapshot Manager, use the docker run command so that your environmental data is preserved.

See Restarting NetBackup Snapshot Manager.