Steps to remove NetBackup Media Server Deduplication Pool (MSDP) configuration from a NetBackup environment
Warning: These steps will expire all images associated with the MSDP that is to be removed!
Note: For NetBackup version 7.0.1, the script in step 13 is only available with the latest dedup bundle from ET2233961 / TECH153190. For version 18.104.22.168, only with the latest dedup bundle from ET2412409. Delivered in 22.214.171.124 and higher and in version 7.5. Please upgrade to obtain this functionality.
All commands are located in the admincmd directory unless mentioned otherwise:
Windows: <install path>\NetBackup\bin\admincmd
Ensure a full backup of the NetBackup catalog has completed successfully before proceeding with next steps. Subsequent steps walk the administrator through deleting the Storage Lifecycle Policies (SLP), Storage Units (STU), and Image references in the NetBackup Catalog.
- Ensure backup policies do not target the MSDP STU to be decommissioned, either directly from the policy or indirectly using SLPs.
- Either delete the SLP or update the SLP such that they do not target the MSDP disk pool to be decommissioned.
- Use the nbstlutil command to cancel processing on any image copies that may be targeting the MSDP disk pool to be decommissioned.
- Expire only the images from the catalog that reside on the MSDP Disk Pool to be removed.
- From the NetBackup administration console, expand NetBackup Management, select Catalog, choose 'Verify' from the Action selection list, choose 'PureDisk' from the 'Disk type' selection list, and the 'disk pool name' from the 'Disk Pool' selection list.
- Set the start date to a value to accommodate the oldest images on the MSDP pool, and click 'Search Now'.
- Select all the images found, right-click and click 'Expire' to mark that particular image copy as Expired.
- Allow the NetBackup 'Image Cleanup'-type jobs to complete; this marks the data for removal from the MSDP storage.
NetBackup status code: 1573
Message: Backup image cannot be expired because its SLP processing is not yet complete
Explanation: You tried to expire one or more copies of an SLP-managed image. The SLP processing that depends on those copies is not complete. The image cannot be expired.
Recommended Action: Do one of the following:
- Wait until SLP processing for that image is complete, then retry the expiration operation.
- Use the nbstlutil -cancel command to cancel further processing on the relevant image. Then retry the expiration operation.
- Add the -force_not_complete option to the bpexpdate command to force expiration even if the image-copy is not SLP complete.
bpexpdate -backupid <backup_image_id> -d 0 -M <Master_server_name> -force_not_complete
To expire ALL backup images on the disk pool, execute:
bpexpdate -stype PureDisk -dp MSDP_DiskPoolName -force_not_complete
Proceed once all the backup images associated on the disk pool to decommissioned have been expired from the NetBackup catalog and Image Cleanup job has completed successfully on this MSDP disk pool.
Delete any SLPs that target the MSDP as a destination. Alternately, update the SLP to remove the MSDP storage unit as a target/destination from all versions of the SLP. Review all SLP versions using the command:
nbstl -L -all_versions
- Delete any storage units that target the MSDP disk pool.
- Expire images using nbdelete and bpimage commands.
nbdelete -allvolumes -force
bpimage -cleanup -allclients
Mark the Disk Pool state as DOWN using nbdevconfig command.
nbdevconfig -changestate -stype PureDisk -dp MSDP_DiskPoolName -dv PureDiskVolume -state DOWN
- Locate the NDMP machinetype entry corresponding to the MSDP storage server to be decommissioned from the output of the following command from the master server:
Delete the MSDP Disk Pool from under Devices > Disk Pools in the NetBackup Administration Console.
Delete the storage server credentials, storage server and the storage server NDMP machinetype entry from the EMM database using the following commands:
tpconfig -delete -storage_server MSDP_StorageServerName -stype PureDisk -sts_user_id root
tpconfig command is located at:
Windows: <install path>\Volmgr\bin\
nbdevconfig -deletedp -stype PureDisk -dp MSDP_DiskPoolName
nbdevconfig -deletests -storage_server MSDP_StorageServerName -stype PureDisk
nbemmcmd -deletehost -machinename MSDP_StorageServerName -machinetype ndmp
Note: The above tpconfig and nbdevconfig commands may fail if the storage server and NDMP credentials (i.e. machinetype entry) were previously deleted from the NetBackup Administration Console/GUI. Continue to the next step.
Stop NetBackup services on the MSDP server.
Execute the PDDE_deleteConfig script to remove the MSDP configurations:
- Remove any storage server configuration files referencing the MSDP storageserver from NetBackup media servers. The configuration files (named MSDP_StorageServerName.cfg) are located in the ost-plugins folder.
Note: If there are other fingerprint load balancing media servers in the configuration, the storage server configuration file MSDP_StorageServerName.cfg should be removed from the ost-plugins folder of those media servers as well.
Delete the deduplication storage directory (and deduplication database path, if any).
Note: If this is a NetBackup appliance, do NOT delete /disk folder. It is easier to perform a Factory Reset when working on an appliance (HOWTO94245)
Start the NetBackup services/processes
This concludes the removal of MSDP storage server and associated deduplication configuration files from a NetBackup media server. To reconfigure MSDP Storage again, re-run the Configure Disk Storage Servers wizard from the Administration Console.