Veritas NetBackup™ Deduplication Guide

Last Published:
Product(s): NetBackup (9.1)
  1. Introducing the NetBackup media server deduplication option
    1.  
      About the NetBackup deduplication options
  2. Quick start
    1.  
      About client-side deduplication
    2. About the media server deduplication (MSDP) node cloud tier
      1.  
        Configuring the MSDP node cloud tier
    3.  
      About Auto Image Replication (A.I.R.)
  3. Planning your deployment
    1.  
      Planning your MSDP deployment
    2.  
      NetBackup naming conventions
    3.  
      About MSDP deduplication nodes
    4.  
      About the NetBackup deduplication destinations
    5.  
      About MSDP storage capacity
    6. About MSDP storage and connectivity requirements
      1.  
        Fibre Channel and iSCSI comparison for MSDP
    7. About NetBackup media server deduplication
      1.  
        About MSDP storage servers
      2.  
        About MSDP load balancing servers
      3.  
        About MSDP server requirements
      4.  
        About MSDP unsupported configurations
    8. About NetBackup Client Direct deduplication
      1.  
        About MSDP client deduplication requirements and limitations
    9. About MSDP remote office client deduplication
      1.  
        About MSDP remote client data security
      2.  
        About remote client backup scheduling
    10.  
      About the NetBackup Deduplication Engine credentials
    11.  
      About the network interface for MSDP
    12.  
      About MSDP port usage
    13.  
      About MSDP optimized synthetic backups
    14.  
      About MSDP and SAN Client
    15.  
      About MSDP optimized duplication and replication
    16. About MSDP performance
      1.  
        How file size may affect the MSDP deduplication rate
    17. About MSDP stream handlers
      1.  
        Oracle stream handler
      2.  
        Microsoft SQL Server stream handler
    18. MSDP deployment best practices
      1.  
        Use fully qualified domain names
      2.  
        About scaling MSDP
      3.  
        Send initial full backups to the storage server
      4.  
        Increase the number of MSDP jobs gradually
      5.  
        Introduce MSDP load balancing servers gradually
      6.  
        Implement MSDP client deduplication gradually
      7.  
        Use MSDP compression and encryption
      8.  
        About the optimal number of backup streams for MSDP
      9.  
        About storage unit groups for MSDP
      10.  
        About protecting the MSDP data
      11.  
        Save the MSDP storage server configuration
      12.  
        Plan for disk write caching
  4. Provisioning the storage
    1.  
      About provisioning the storage for MSDP
    2.  
      Do not modify MSDP storage directories and files
    3.  
      About volume management for NetBackup MSDP
  5. Licensing deduplication
    1.  
      About the MSDP license
    2.  
      Licensing NetBackup MSDP
  6. Configuring deduplication
    1.  
      Configuring MSDP server-side deduplication
    2.  
      Configuring MSDP client-side deduplication
    3.  
      About the MSDP Deduplication Multi-Threaded Agent
    4. Configuring the Deduplication Multi-Threaded Agent behavior
      1.  
        MSDP mtstrm.conf file parameters
    5.  
      Configuring deduplication plug-in interaction with the Multi-Threaded Agent
    6.  
      About MSDP fingerprinting
    7.  
      About the MSDP fingerprint cache
    8. Configuring the MSDP fingerprint cache behavior
      1.  
        MSDP fingerprint cache behavior options
    9.  
      About seeding the MSDP fingerprint cache for remote client deduplication
    10.  
      Configuring MSDP fingerprint cache seeding on the client
    11. Configuring MSDP fingerprint cache seeding on the storage server
      1.  
        NetBackup seedutil options
    12.  
      Enabling 250-TB support for MSDP
    13. About MSDP Encryption using NetBackup KMS service
      1.  
        Upgrading KMS for MSDP
      2.  
        Enabled KMS encryption for Local LSU
    14.  
      About MSDP Encryption using external KMS server
    15. Configuring a storage server for a Media Server Deduplication Pool
      1.  
        MSDP storage path properties
      2.  
        MSDP network interface properties
    16.  
      About disk pools for NetBackup deduplication
    17. Configuring a disk pool for deduplication
      1.  
        Media Server Deduplication Pool properties
    18.  
      Creating the data directories for 250-TB MSDP support
    19.  
      Adding volumes to a 250-TB Media Server Deduplication Pool
    20. Configuring a Media Server Deduplication Pool storage unit
      1.  
        Media Server Deduplication Pool storage unit properties
      2.  
        MSDP storage unit recommendations
    21.  
      Configuring client attributes for MSDP client-side deduplication
    22.  
      Disabling MSDP client-side deduplication for a client
    23.  
      About MSDP compression
    24.  
      About MSDP encryption
    25.  
      MSDP compression and encryption settings matrix
    26.  
      Configuring encryption for MSDP backups
    27.  
      Configuring encryption for MSDP optimized duplication and replication
    28.  
      About the rolling data conversion mechanism for MSDP
    29.  
      Modes of rolling data conversion
    30.  
      MSDP encryption behavior and compatibilities
    31.  
      Configuring optimized synthetic backups for MSDP
    32.  
      About a separate network path for MSDP duplication and replication
    33.  
      Configuring a separate network path for MSDP duplication and replication
    34. About MSDP optimized duplication within the same domain
      1. About the media servers for MSDP optimized duplication within the same domain
        1.  
          About MSDP push duplication within the same domain
        2.  
          About MSDP pull duplication within the same domain
    35. Configuring MSDP optimized duplication within the same NetBackup domain
      1. Configuring NetBackup optimized duplication or replication behavior
        1.  
          Setting NetBackup configuration options by using the command line
    36.  
      About MSDP replication to a different domain
    37. Configuring MSDP replication to a different NetBackup domain
      1. About NetBackup Auto Image Replication
        1.  
          One-to-many Auto Image Replication model
        2.  
          Cascading Auto Image Replication model
        3.  
          About the domain relationship for replication
        4.  
          About the replication topology for Auto Image Replication
        5. Viewing the replication topology for Auto Image Replication
          1.  
            Sample volume properties output for MSDP replication
      2.  
        About trusted primary servers for Auto Image Replication
      3.  
        About the certificate to be used for adding a trusted master server
      4.  
        Adding a trusted master server using a NetBackup CA-signed (host ID-based) certificate
      5.  
        Adding a trusted primary server using external CA-signed certificate
      6.  
        Removing a trusted primary server
      7.  
        Enabling NetBackup clustered primary server inter-node authentication
      8.  
        Configuring NetBackup CA and NetBackup host ID-based certificate for secure communication between the source and the target MSDP storage servers
      9.  
        Configuring external CA for secure communication between the source MSDP storage server and the target MSDP storage server
      10. Configuring a target for MSDP replication to a remote domain
        1.  
          Target options for MSDP replication
        2.  
          Configuring a NetBackup Deduplication Engine user with limited permissions for Auto Image Replication
    38.  
      About configuring MSDP optimized duplication and replication bandwidth
    39.  
      About performance tuning of optimized duplication and replication for MSDP cloud
    40.  
      About storage lifecycle policies
    41.  
      About the storage lifecycle policies required for Auto Image Replication
    42. Creating a storage lifecycle policy
      1.  
        Storage Lifecycle Policy dialog box settings
    43.  
      About MSDP backup policy configuration
    44.  
      Creating a backup policy
    45. Resilient Network properties
      1.  
        Resilient connection resource usage
    46.  
      Specifying resilient connections
    47.  
      Adding an MSDP load balancing server
    48.  
      About variable-length deduplication on NetBackup clients
    49.  
      About the MSDP pd.conf configuration file
    50. Editing the MSDP pd.conf file
      1.  
        MSDP pd.conf file parameters
    51.  
      About the MSDP contentrouter.cfg file
    52.  
      About saving the MSDP storage server configuration
    53.  
      Saving the MSDP storage server configuration
    54.  
      Editing an MSDP storage server configuration file
    55.  
      Setting the MSDP storage server configuration
    56.  
      About the MSDP host configuration file
    57.  
      Deleting an MSDP host configuration file
    58.  
      Resetting the MSDP registry
    59. About protecting the MSDP catalog
      1.  
        About the MSDP shadow catalog
      2.  
        About the MSDP catalog backup policy
    60.  
      Changing the MSDP shadow catalog path
    61.  
      Changing the MSDP shadow catalog schedule
    62.  
      Changing the number of MSDP catalog shadow copies
    63. Configuring an MSDP catalog backup
      1.  
        MSDP drcontrol options
    64.  
      Updating an MSDP catalog backup policy
    65.  
      About MSDP FIPS compliance
    66.  
      Configuring the NetBackup client-side deduplication to support multiple interfaces of MSDP
    67.  
      About MSDP multi-domain support
    68.  
      About MSDP mutli-domain VLAN Support
    69. About NetBackup WORM storage support for immutable and indelible data
      1.  
        About the NetBackup command line options to configure immutable and indelible data
  7. MSDP cloud support
    1. About MSDP cloud support
      1.  
        Operating system requirement for configuration
      2.  
        Limitations
    2.  
      Create a Media Server Deduplication Pool (MSDP) storage server in the NetBackup web UI
    3.  
      Creating a cloud storage unit
    4.  
      Updating cloud credentials for a cloud LSU
    5.  
      Updating encryption configurations for a cloud LSU
    6.  
      Deleting a cloud LSU
    7.  
      Backup data to cloud by using cloud LSU
    8.  
      Duplicate data cloud by using cloud LSU
    9.  
      Configuring AIR to use cloud LSU
    10.  
      About backward compatibility support
    11.  
      About the configuration items in cloud.json, contentrouter.cfg, and spa.cfg
    12.  
      About the tool updates for cloud support
    13. About the disaster recovery for cloud LSU
      1.  
        Common disaster recovery steps
    14. About Image Sharing using MSDP cloud
      1.  
        Things to consider before you use image sharing to convert VM image to VHD in Azure
      2.  
        Converting the VM image to VHD in Azure
    15.  
      About restore from a backup in Microsoft Azure Archive
    16. About MSDP cloud immutable (WORM) storage support
      1.  
        Creating a cloud immutable storage unit
      2.  
        About MSDP cloud admin command-line tool
      3.  
        Performance tuning
      4.  
        AWS user permissions to create the cloud immutable volume
      5.  
        About bucket policy for immutable storage
  8. Monitoring deduplication activity
    1.  
      Monitoring the MSDP deduplication and compression rates
    2. Viewing MSDP job details
      1.  
        MSDP job details
    3.  
      About MSDP storage capacity and usage reporting
    4.  
      About MSDP container files
    5.  
      Viewing storage usage within MSDP container files
    6.  
      Viewing MSDP disk reports
    7.  
      About monitoring MSDP processes
    8.  
      Reporting on Auto Image Replication jobs
  9. Managing deduplication
    1. Managing MSDP servers
      1.  
        Viewing MSDP storage servers
      2.  
        Determining the MSDP storage server state
      3.  
        Viewing MSDP storage server attributes
      4.  
        Setting MSDP storage server attributes
      5.  
        Changing MSDP storage server properties
      6.  
        Clearing MSDP storage server attributes
      7.  
        About changing the MSDP storage server name or storage path
      8.  
        Changing the MSDP storage server name or storage path
      9.  
        Removing an MSDP load balancing server
      10.  
        Deleting an MSDP storage server
      11.  
        Deleting the MSDP storage server configuration
    2. Managing NetBackup Deduplication Engine credentials
      1.  
        Determining which media servers have deduplication credentials
      2.  
        Adding NetBackup Deduplication Engine credentials
      3.  
        Changing NetBackup Deduplication Engine credentials
      4.  
        Deleting credentials from a load balancing server
    3. Managing Media Server Deduplication Pools
      1.  
        Viewing Media Server Deduplication Pools
      2.  
        Determining the Media Server Deduplication Pool state
      3.  
        Changing OpenStorage disk pool state
      4.  
        Viewing Media Server Deduplication Pool attributes
      5.  
        Setting a Media Server Deduplication Pool attribute
      6. Changing a Media Server Deduplication Pool properties
        1.  
          How to resolve volume changes for Auto Image Replication
      7.  
        Clearing a Media Server Deduplication Pool attribute
      8.  
        Determining the MSDP disk volume state
      9.  
        Changing the MSDP disk volume state
      10.  
        Inventorying a NetBackup disk pool
      11.  
        Deleting a Media Server Deduplication Pool
    4.  
      Deleting backup images
    5.  
      About MSDP queue processing
    6.  
      Processing the MSDP transaction queue manually
    7.  
      About MSDP data integrity checking
    8. Configuring MSDP data integrity checking behavior
      1.  
        MSDP data integrity checking configuration parameters
    9.  
      About managing MSDP storage read performance
    10. About MSDP storage rebasing
      1.  
        MSDP server-side rebasing parameters
    11.  
      About the MSDP data removal process
    12.  
      Resizing the MSDP storage partition
    13.  
      How MSDP restores work
    14.  
      Configuring MSDP restores directly to a client
    15.  
      About restoring files at a remote site
    16.  
      About restoring from a backup at a target master domain
    17.  
      Specifying the restore server
  10. Recovering MSDP
    1.  
      About recovering the MSDP catalog
    2.  
      Restoring the MSDP catalog from a shadow copy
    3.  
      Recovering from an MSDP storage server disk failure
    4.  
      Recovering from an MSDP storage server failure
    5.  
      Recovering the MSDP storage server after NetBackup catalog recovery
  11. Replacing MSDP hosts
    1.  
      Replacing the MSDP storage server host computer
  12. Uninstalling MSDP
    1.  
      About uninstalling MSDP
    2.  
      Deactivating MSDP
  13. Deduplication architecture
    1.  
      MSDP server components
    2.  
      Media server deduplication backup process
    3.  
      MSDP client components
    4.  
      MSDP client - side deduplication backup process
  14. Configuring and using universal shares
    1.  
      About Universal Shares
    2.  
      Configuring and using an MSDP build-your-own (BYO) server for Universal Shares
    3.  
      MSDP build-your-own (BYO) server prerequisites and hardware requirements to configure Universal Shares
    4.  
      Configuring Universal Share user authentication
    5.  
      Mounting a Universal Share created from the NetBackup web UI
    6.  
      Creating a Protection Point for a Universal Share
  15. Troubleshooting
    1. About unified logging
      1.  
        About using the vxlogview command to view unified logs
      2.  
        Examples of using vxlogview to view unified logs
    2. About legacy logging
      1.  
        Creating NetBackup log file directories for MSDP
    3.  
      NetBackup MSDP log files
    4. Troubleshooting MSDP installation issues
      1.  
        MSDP installation on SUSE Linux fails
    5. Troubleshooting MSDP configuration issues
      1.  
        MSDP storage server configuration fails
      2.  
        MSDP database system error (220)
      3.  
        MSDP server not found error
      4.  
        License information failure during MSDP configuration
      5.  
        The disk pool wizard does not display an MSDP volume
    6. Troubleshooting MSDP operational issues
      1.  
        Verify that the MSDP server has sufficient memory
      2.  
        MSDP backup or duplication job fails
      3.  
        MSDP client deduplication fails
      4.  
        MSDP volume state changes to DOWN when volume is unmounted
      5.  
        MSDP errors, delayed response, hangs
      6.  
        Cannot delete an MSDP disk pool
      7.  
        MSDP media open error (83)
      8.  
        MSDP media write error (84)
      9.  
        MSDP no images successfully processed (191)
      10.  
        MSDP storage full conditions
      11.  
        Troubleshooting MSDP catalog backup
      12.  
        Storage Platform Web Service (spws) does not start
      13.  
        Disk volume API or command line option does not work
    7.  
      Viewing MSDP disk errors and events
    8.  
      MSDP event codes and messages
    9.  
      Unable to obtain the administrator password to use an AWS EC2 instance that has a Windows OS
    10. Trouble shooting multi-domain issues
      1.  
        Unable to configure OpenStorage server from another domain
      2.  
        MSDP storage server is down when you configure an OpenStorage server
      3.  
        MSDP server is overloaded when it is used by multiple NetBackup domains
  16. Appendix A. Migrating to MSDP storage
    1.  
      Migrating from another storage type to MSDP
  17.  
    Index

About the configuration items in cloud.json, contentrouter.cfg, and spa.cfg

The cloud.json file is available at: <STORAGE>/etc/puredisk/cloud.json.

The file has the following parameters:

Parameter

Details

Default value

UseMemForUpload

If it is set to true, the upload cache directory is mounted in memory as tmpfs. It is especially useful for high speed cloud that disk speed is bottleneck. It can also reduce the disk competition with local LSU. The value is set to true if the system memory is enough.

The default value is true if there is enough memory available.

true

CachePath

The path of the cache. It is created under an MSDP volume according to the space usage of MSDP volumes. It will reserve some space that local LSU cannot write beyond. Usually you do not need to change this path, unless in some case that some volumes are much freer than others, multiple cloud LSUs may be distributed to the same disk volume. For performance consideration, you may need to change this option to make them distributed to different volumes. This path can be changed to reside in a non-MSDP volume.

NA

UploadCacheGB

It is the maximum space usage of upload cache. Upload cache is a subdirectory named "upload" under CachePath. For performance consideration, it should be set to larger than:

(max concurrent write stream number) * MaxFileSizeMB * 2.

So, for 100 concurrent streams, about 13 GB is enough.

Note:

The initial value of UploadCacheGB in the cloud.json file is the value of CloudUploadCacheSize in the contentrouter.cfg file.

When you add a new cloud LSU, the value of UploadCacheGB is equal to CloudUploadCacheSize. You can later change this value in the cloud.json file.

12

DownloadDataCacheGB

It is the maximum space usage of data file, mainly the SO BIN file. The larger this cache, the more data files can reside in the cache. Then there is no need to download these files from cloud when doing restore.

Note:

The initial value of DownloadDataCacheGB in the cloud.json file is the value of CloudDataCacheSize in the contentrouter.cfg file.

When you add a new cloud LSU, the value of DownloadDataCacheGB is equal to CloudDataCacheSize. You can later change this value in the cloud.json file.

500

DownloadMetaCacheGB

It is the maximum space usage of metadata file, mainly the DO file and SO BHD file. The larger this cache, the more meta files can reside in the cache. Then there is no need to download these files from cloud when doing restore.

Note:

The initial value of DownloadMetaCacheGB in the cloud.json file is the value of CloudMetaCacheSize in the contentrouter.cfg file.

When you add a new cloud LSU, the value of DownloadMetaCacheGB is equal to CloudMetaCacheSize. You can later change this value in the cloud.json file.

500

MapCacheGB

It is the max space usage of map file that is used for compatibility of MD5 type fingerprint. The larger this cache, the more map files can reside in the cache.

Note:

The initial value of MapCacheGB in the cloud.json file is the value of CloudMapCacheSize in the contentrouter.cfg file.

When you add a new cloud LSU, the value of MapCacheGB is equal to CloudMapCacheSize. You can later change this value in the cloud.json file.

5

UploadConnNum

Maximum number of concurrent connections to the cloud provider for uploading. Increasing this value is helpful especially for high latency network.

60

DataDownloadConnNum

Maximum number of concurrent connections to the cloud provider for downloading data. Increasing this value is helpful especially for high latency network.

40

MetaDownloadConnNum

Maximum number of concurrent connections to the cloud provider for downloading metadata. Increasing this value is helpful especially for high latency network.

40

MapConnNum

Maximum number of concurrent connections to the cloud provider for downloading map.

40

DeleteConnNum

Maximum number of concurrent connections to the cloud provider for deleting. Increasing this value is helpful especially for high latency network.

100

KeepData

Keep uploaded data to data cache. The value always false if UseMem is true.

false

KeepMeta

Keep uploaded meta to meta cache, always false if UseMem is true.

false

ReadOnly

LSU is read only, cannot write and delete on this LSU.

false

MaxFileSizeMB

Max size of bin file in MB.

64

WriteThreadNum

The number of threads for writing data to the data container in parallel that can improve the performance of IO.

2

RebaseThresholdMB

Rebasing threshold (MB), when image data in container less than the threshold, all of the image data in this container will not be used for deduplication to achieve good locality. Allowed values: 0 to half of MaxFileSizeMB, 0 = disabled

4

The contentrouter.cfg file is available at: <STORAGE>/etc/puredisk/contentrouter.cfg.

The file has the following parameters:

Parameter

Details

Default value

CloudDataCacheSize

Default data cache size when adding Cloud LSU.

Decrease this value if enough free space is not available.

500 GiB

CloudMapCacheSize

Default map cache size when adding Cloud LSU.

Decrease this value if enough free space is not available.

5 GiB

CloudMetaCacheSize

Default meta cache size when adding Cloud LSU.

Decrease this value if enough free space is not available.

500 GiB

CloudUploadCacheSize

Default upload cache size when adding Cloud LSU.

The minimum value is 12 GiB.

12 GiB

MaxCloudCacheSize

Specify the maximum cloud cache size in percentage. It is based on total system memory, swap space excluded.

20 %

CloudBits

The number of top-level entries in the cloud cache. This number is (2^CloudBits). Increasing this value improves cache performance, at the expense of extra memory usage. Minimum value = 16, maximum value = 48.

Auto-sized according to MaxCloudCacheSize

DCSCANDownloadTmpPath

While using the dcscan to check cloud LSU, data gets downloaded to this folder. For details, see the dcscan tool in cloud support section.

disabled

UsableMemoryLimit

Specify the maximum usable memory size in percentage.

MaxCacheSize + MaxCloudCacheSize + Cloud in-memory upload cache size must be less than or equal to the value of UsableMemoryLimit

80%

MaxSamplingCacheSize

Specify the maximum sampling cache size in percentage for all cloud LSUs here. UsableMemoryLimit + MaxSamplingCacheSize must be less than or equal to 95%.

By default, each cloud LSU uses 1% memory as sampling cache, so when adding the 6th cloud LSU, the 6th cloud LSU cannot get the memory allocated, we can restart MSDP services to resolve this. When MSDP restarts, all cloud LSUs re-allocate memories equally for sample cache and make sure the total memory usage does not exceed the limit.

We can update 1% default value for each cloud LSU by adding a configuration item LSUSamplingCacheSize under this item.

5%

Adding a new cloud LSU fails if no partition has free space more than the following:

CloudDataCacheSize + CloudMapCacheSize + CloudMetaCacheSize + CloudUploadCacheSize + WarningSpaceThreshold * partition size

Use thecrcontrol --dsstat 2 --verbosecloud command to check the space of each of the partition.

Note:

Each Cloud LSU has a cache directory. The directory is created under an MSDP volume that is selected according to the disk space usage of all the MSDP volumes. Cloud LSU reserves some disk space for cache from that volume, and the local LSU cannot utilize more disk space.

The initial reserved disk space for each of the cloud LSU is the sum of values of UploadCacheGB, DownloadDataCacheGB, DownloadMetaCacheGB, and MapCacheGB in the <STORAGE>/etc/puredisk/cloud.json file. The disk space decreases when the caches are used.

There is a Cache options in crcontrol --dsstat 2 --verbosecloud output:

# crcontrol --dsstat 2 --verbosecloud

=============== Mount point 2 ===============

Path = /msdp/data/dp1/1pdvol

Data storage

Raw Size Used Avail Cache Use%

48.8T 46.8T 861.4G 46.0T 143.5G 2%

Number of containers : 3609

Average container size : 252685915 bytes (240.98MB)

Space allocated for containers : 911943468161 bytes (849.31GB)

Reserved space : 2156777086976 bytes (1.96TB)

Reserved space percentage : 4.0%

The Cache option is the currently reserved disk space by cloud for this volume. The disk space is the sum of the reserved space for all cloud LSUs that have cache directories on this volume. The actually available space for Local LSU on this volume is Avail - Cache.

The spa.cfg file is available at: <STORAGE>/etc/puredisk/spa.cfg.

The file has the following parameters:

Parameter

Details

Default value

CloudLSUCheckInterval

The check cloud LSU status interval in seconds.

1800