Media Server De-Duplication Pools

From World History Wiki
Jump to: navigation, search
World History Wiki is Brought to you by:
S.J.'s Adventures

This document is for entertainment purposes only. Use at your own risk. This site is in no way affiliated with Symantec or NetBackup.

For more details see:

Setup Disk

The first step is to setup the disk, present it to the NetBackup server, and format it with a filesystem, and give it a mount point or drive letter. Make sure it is accessible to the OS.

You can also use high speed disk (i.e. SSD) for the database, and less extensive disk (i.e. Fiber or SATA) for the data.

You shouldn't need more then 1TB of disk for 32-64 TB of disk, depending on your data-set.

Configure MSDP storage server

For more details about MSDP Storage Servers see the NetBackup Deduplication Administration documentation.

  1. Start the NetBackup Administration Console
  2. In the left-hand column highlight Media and Device Management'.
  3. On the right side, click on Configure Disk Storage Servers.
  4. Click Next on the "Welcome" screen.
  5. For the Type of disk storage to configure select Media Server De-duplication Pool.
    Click Next.
  6. For the Media Server, I would suggest setting it to be the same as the Storage Server Name unless you are doing something fancy.
    You'll need to provide a Username and Password to be used for this storage server. Depending on your security requirements, it may be easiest to use credentials that are consistent throughout the environment.
    Once all fields are completed, click on Next.
    MSDP Storage Paths
  7. Select the path to the filesystem for the disk to be used.
    Here you can also select a different path for the Database (higher speed, smaller size filesystem), and to force it to use a specific network interface. If you have a complex network configuration or tight security requirements make sure you put the interface in here that data will have to be sent over.
    If you leave it blank, it will use the interface that matches the name of the server according to the OS.
    Once all selections are made click on Next.
  8. Select any Media Servers that should assist in helping with the workload. What you choose will depend on your architectural designs and expected load. It's not a bad idea to select all available Media servers so that if any of them are idle they can help out, but this can also complicate the environment.
  9. Review the Summary, and if everything looks correct click on Next. If any corrections need to be made click on Back.
  10. Monitor the Storage Server Creation for any errors, and correct if needed.
    Click Next When completed.
  11. Click Next again to continue on the the Disk Pool creation, or Close if you want to do it later.

NOTE: if you get an error while trying to create a storage server on a media server that previously had a storage server configured for it you may not have properly removed all the leftover ost-plugin config files

For details see Deleting an MSDP - Step 16 or Support Article 14641.

Create Disk Pool

  • Disk Pool creation is very similar to what you'll find in the Creating Disk Pools section of the Storage Servers page.
MSDP Disk Pool
  1. Within the NetBackup Administration Console
  2. In the left hand column highlight Media and Device Management'.
  3. On the right side, click on Configure Disk Pool.
  4. Click Next on the "Welcome" screen.
  5. For the Type of disk select PureDisk.
    Click Next.
  6. Select the Storage Server the Disk Pool is to reside on.
    Click Next.
  7. Select the appropriate Volume Name. Usually this will default to PureDiskVolume.
    Click Next.
  8. Provide a Disk Pool name following pre-established Naming Standards.
    Once all parameters are entered click on Next.
  9. Review the summary. If everything looks correct click on Next, or Backup to make corrections.
  10. Monitor the Disk Pool creation for any errors. Correct as needed.
    Click Next when complete.
  11. If you would like to create a Storage Unit to use the new Disk Pool, click Next, otherwise click Close.

Expanding A Disk Pool

Sometimes you need more space. There are two ways to increase the space for an MSDP. In either case, be sure you do not compromise performance requirements.

  1. Grow the filesystem according to the OS best practices
    • This is not recommended for anything larger than 64TB.
  2. Add another filesystem to the disk pool
    • This is recommended not to be more than 32TB per file system, and no more than 96 TB total
    • Each filesystem should have sufficient performance when all three are being accessed simultaneously
    • It is also recommended to have the MSDP database on its own high-performance disk, using a sperate filesystem as well.
    1. On the Media Server containing the MSDP, create the new file system as needed
    2. Make a touch file to basically say you know what you are doing and accept any potentially negative consequences.
      • touch /etc/nbapp-release
    3. Create data directories within the filesystem
      • mkdir /path/to/filesystem2/data
    4. Run command to add new filesystem to the diskpool
      • /usr/openv/pdee/pdcr/bin/crcontrol --dsaddpartition /path/to/filesystem2/data

Create Storage Unit

Storage Unit Configuration can be done via the command line as well.

MSDP Wizard - STU Creation
  1. From within the NetBackup Administration Console, expand NetBackup Management
  2. Expand Storage, then highlight Straoge Units
  3. Right click on Storage Units and then click on New Storage Unit...
    1. Provide a Storage Unit Name following creating/naming Storage Units|Naming Standards.
    2. The Storage unit type should be Disk.
    3. The Disk type is PureDisk.
    4. Select the correct 'Disk Pool previously created.
    5. Select the Media Server(s) to use for the Disk Pool.
    6. Select a maximum number of streams/concurrent jobs to allow.
    7. The default Maximum fragment size is usually sufficient.
  4. Click on "OK"

If you have a STU that is already configured the way you need, but with a few changes, you can also right click on that STU and select Copy. This will help you to quickly create multiple STU's for the same Disk Pool, but for different media servers to use, and then you can create groups that include all of those STUs to use for load-balancing or fail-over.

Be sure to follow standards on Naming Storage Units and Groups in NetBackup and OST standards.

MSDP Maintenance


Force Cleanup of used space:

Migrate or rebuild a failed MSDP:


The NetBackup Admin GUI provides a number of different sections that can help you monitor and maintain your MSDP's.

  • Storage Servers: Device Management -> Credentials -> Storage Servers
  • Disk Pools: Device Management -> Devices -> Disk Pools


Some commands are also useful:

  • nbdevquery
  • nbdevconfig
  • tpconfig


For every storage target, the NetBackup master server will periodically request the media server to check that the target is still up.

If the Media server or target are busy and cannot respond to the master servers inquiry fast enough, it may cause the storage target to be marked as "down".

This will not cause currently running backup jobs to fail, but could cause any new jobs to either fail or failover to a secondary target. To adjust the timeouts, on each media server, and/or MSDP server create the following touch files o adjust the timeouts:

touch /usr/openv/netbackup/db/config/DPS_PROXYNOEXPIRE
echo 3600 > /usr/openv/netbackup/db/config/DPS_PROXYDEFAULTSENDTMO
echo 3600 > /usr/openv/netbackup/db/config/DPS_PROXYDEFAULTRECVTMO

This will change the timeout to 3600 seconds, or 1 hour. The downside to this setting, is that you may not know a backup target is down for the set period of time (one hour in this example) after it actually goes off-line.

MSDP Replication

Optimized Duplication

For more details see:

Optimized duplication is the ability to replicate backup images from one de-duplicated storage server (either MSDP, OST or Pure Disk based) to another de-duplicated storage server without re-hydrating the data. Basically only sending the missing blocks of data over the network to/from the remote or secondary de-duplicated storage.

The duplication can be performed via the use of any of these methods:


  • The source and target must be compatible de-duplication pools (basically from the same vendor and comparable versions).
  • The source and target must have at least one common media sever that can access both.
  • The target/destination storage unit must use the common media server(s).
  • The target/destination storage unit cannot be the same as the source.


NOTE: See the de-duplication storage vendors documentation for a full list of capabilities and limitations

  • Optimized duplication jobs are only tried the configured number of times before failing (unless using SLPs).
  • MSDP optimized duplication does not work to storage unit groups. If a group is used, non-optimized duplication is used instead.
  • You cannot create multiple copies in parallel, each copy must be a separate duplication job.
  • maximum Fragment size is based on the source Storage Unit, not the target: Image fragments are copied as is and not re-sized.

Other Specifics

  • Both Push and Pull de-duplication can be performed, depending on which Media Server controls the duplication.
  • A Push will allow the source Media Server to maintain ownership of both copies of the Image.
  • A Pull will allow the target Media Server to gain ownership of the newly created copy.
  • The Media Server specified in the target Storage Unit determines which media server controls the duplication and hows the newly created copy.

Auto Image Replication

A.I.R. or Auto Image Replication, is the method used within NetBackup to replicate backup images from one domain (or master server + associated media severs) to another.

For more details see:

A.I.R. can be done in a one-to-one, one-to-many, or many-to-one model. It's primary function is to provide Disaster Recovery capabilities when one site goes down, and needs to be restored at another site.


  • The source and target domains must be comparable version of NetBackup (I.E. post 7.1).
  • Clocks on masters in both domains must be synchronized for optimal performance (time zones are not a factor).
  • Backups must be performed with a properly configured Storage Lifecycle Policy (SLP).
  • An SLP of the same name must exist on the source and destination domain.
  • The source and destination storage must be compatible Storage Server with de-duplication pools.
  • The Storage Server in the target domain must support A.I.R.


  • Clients in the primary domain cannot directly restore from the target domain.
  • Synthetic Backups are not supported.
  • Storage Unit groups cannot be used for the source copy.
  • Catalog backup images can only be done between domains of the same version.


You must first configure the MSDP as a replication target

  1. From the Admin GUI go to: Media and Device Management -> Credentials -> Storage Server.
  2. Select the storage server.
  3. Right click and select Change.
  4. Select the "Replication" tab
  5. Click on the "Add" button
    1. Enter the Target Master Server (or select the optional trusted master server)
    2. Enter the Target Storage Server.
    3. Provide the target MSDP servers credentials that were configured when the MSDP was created.
    4. Click on OK when complete.
  6. Back on the Storage Server properties, Click on the OK button, after all replication targets are added.
  7. Now you can Setup the SLP

Deleting an MSDP

  1. Check that you have a good recent catalog backup.
  2. Make sure no policies are configured to use the MSDP: check for Storage Units, SLPs, Schedule's that re-direct to a different target, etc.
    • Check under NetBackup management -> Storage and Policies.
    • Don't forget to check Schedule's configured to override the Policies storage target.
  3. Expire any Backup images still on the Disk Pool. Preferably after they have been duplicated to another location or reached the end of their retention period.
    • From the Administration Console you can use the Catalog section found under NetBackup Management.
    • Also check the nbstlutil for any images controlled by SLPs.
      If any images are controlled by SLPs you can do the following:
    1. Wait for the image to get processed by the SLP (usually the best option).
    2. Use the nbstlutil cancel -backupid <Image_ID> to discontinue the SLP processing
    3. Use the bpexpdate command with the -force_not_complete option; and optionally the -notimmediate if you don't want to wait for a lot of images to get deleted.
      bpexpdate -stype PureDisk -dp <DiskPoolName> -dv <DiskVolume> -force_not_complete -notimmediate
  4. Let NetBackup run an image cleanup, or force it with:
    bpimage -cleanup -allclients
  5. Delete any SLPs that use the MSDP
    • Check under NetBackup management -> Storage and Storage Lifecycle Policies.
      Optionally you can modify the SLP, but make sure no previous versions of the SLP refer to the MSDP:
      nbstl -L -all_versions
  6. Delete all associated Storage Units
  7. Clean up images using the nbdelete and bpimage commands:
    nbdelete -allvolumes -force
    bpimage -cleanup -allclients
  8. Set the Disk pool to a down state using nbdevconfig command from the Media Server the MSDP resides on:
    nbdevconfig -changestate -stype PureDisk -dp <DiskPoolName> -dv PureDiskVolume -state DOWN
  9. Run nbemmcmd -listhosts and note the NDMP machinetype entry for the storage server the MSDP pool resides on.
  10. Delete the Disk Pool
    • Locate it under Media and Device Management -> Devices -> Disk Pools
    • or run nbdevconfig -deletedp -stype PureDisk -dp <disk_pool_name>.
  11. Delete the server credentials and the storage server NDMP machine type from the EMM Database (Run this commands from the Media Server the MSDP resides on):
    tpconfig -delete -straoge_server <MSDP_Straoge_Server_Name> -stype PureDisk -sts_user_id <userid>
  12. Delete the Storage Server
    • Locate it under Media and Device Management -> Credentials -> Storage Servers
    • Or run the command nbdevconfig nbdevconfig -deletests -storage_server <Storage_Server_Name> -stype PureDisk
  13. Remove the reference from the EMM database:
    nbemmcmd -deletehost -machinename <Stroage_Server_Name> -machinetype ndmp
    Note: If you get an error from this command you can try running this command first:
    nbemmcmd -deletealldevices -machinename <Stroage_Server_Name> -machinetype ndmp
    Use Causing with this command as it will remove everything associated with this Storage Server.
  14. Stop NetBackup on the Server housing the MSDP pool.
  15. Run the PDDE_deleteConfig script on the Server in question:
  16. Remove any *.cfg files referring to the MSDP server under /usr/openv/lib/ost-plugins (Unix) or \NetBackup\bin\ost-plugins (Windows) on all servers that were configured to use the MSDP.
  17. Remove the MSDP Storage and Database directories.
  18. Start NetBackup on the server it was stopped on.

Back to NetBackup