NetBackup™ Deduplication Guide
- Introducing the NetBackup media server deduplication option
- Quick start
- Planning your deployment
- About MSDP storage and connectivity requirements
- About NetBackup media server deduplication
- About NetBackup Client Direct deduplication
- About MSDP remote office client deduplication
- About MSDP performance
- About MSDP stream handlers
- MSDP deployment best practices
- Provisioning the storage
- Licensing deduplication
- Configuring deduplication
- Configuring the Deduplication Multi-Threaded Agent behavior
- Configuring the MSDP fingerprint cache behavior
- Configuring MSDP fingerprint cache seeding on the storage server
- About MSDP Encryption using NetBackup Key Management Server service
- Configuring a storage server for a Media Server Deduplication Pool
- Configuring a disk pool for deduplication
- Configuring a Media Server Deduplication Pool storage unit
- About MSDP optimized duplication within the same domain
- Configuring MSDP optimized duplication within the same NetBackup domain
- Configuring MSDP replication to a different NetBackup domain
- About NetBackup Auto Image Replication
- Configuring a target for MSDP replication to a remote domain
- Creating a storage lifecycle policy
- Resilient network properties
- Editing the MSDP pd.conf file
- About protecting the MSDP catalog
- Configuring an MSDP catalog backup
- About NetBackup WORM storage support for immutable and indelible data
- Running MSDP services with the non-root user
- MSDP cloud support
- About MSDP cloud support
- Cloud space reclamation
- About the disaster recovery for cloud LSU
- About Image Sharing using MSDP cloud
- About MSDP cloud immutable (WORM) storage support
- About immutable object support for AWS S3
- About bucket-level immutable storage support for Google Cloud Storage
- About object-level immutable storage support for Google Cloud Storage
- About AWS IAM Role Anywhere support
- About Azure service principal support
- About NetBackup support for AWS Snowball Edge
- S3 Interface for MSDP
- Configuring S3 interface for MSDP on MSDP build-your-own (BYO) server
- Identity and Access Management (IAM) for S3 interface for MSDP
- S3 APIs for S3 interface for MSDP
- Disaster recovery in S3 interface for MSDP
- Monitoring deduplication activity
- Viewing MSDP job details
- Managing deduplication
- Managing MSDP servers
- Managing NetBackup Deduplication Engine credentials
- Managing Media Server Deduplication Pools
- Changing a Media Server Deduplication Pool properties
- Configuring MSDP data integrity checking behavior
- About MSDP storage rebasing
- Managing MSDP servers
- Recovering MSDP
- Replacing MSDP hosts
- Uninstalling MSDP
- Deduplication architecture
- Configuring and using universal shares
- Configuring universal share user authentication
- Using the ingest mode
- Enabling a universal share with object store
- Configure a universal share accelerator
- About the universal share accelerator quota
- Configuring isolated recovery environment (IRE)
- Configuring an isolated recovery environment using the web UI
- Configuring an isolated recovery environment using the command line
- Using the NetBackup Deduplication Shell
- Managing users from the deduplication shell
- About the external MSDP catalog backup
- Managing certificates from the deduplication shell
- Managing NetBackup services from the deduplication shell
- Monitoring and troubleshooting NetBackup services from the deduplication shell
- Managing S3 service from the deduplication shell
- Troubleshooting
- About unified logging
- About legacy logging
- Troubleshooting MSDP configuration issues
- Troubleshooting MSDP operational issues
- Trouble shooting multi-domain issues
- Appendix A. Migrating to MSDP storage
- Appendix B. Migrating from Cloud Catalyst to MSDP direct cloud tiering
- About direct migration from Cloud Catalyst to MSDP direct cloud tiering
- Appendix C. Encryption Crawler
Running MSDP commands with the non-root user
If MSDP command is running with the root user, it automatically switches to the service user. If a non-root user wants to run MSDP command, he can use the wrapper command msdpcmdrun to run MSDP commands. The tool msdpcmdrun is supported on NetBackup BYO, media server on Flex Appliance, and NetBackup Appliance.
If nbcmdrun is configured and enabled, you can use msdpcmdrun as follows:
/usr/openv/netbackup/bin/nbcmdrun msdpcmdrun <msdp commands>
For example,
$ /usr/openv/netbackup/bin/nbcmdrun msdpcmdrun crstats
For more information about nbcmdrun, see Running NetBackup commands using the nbcmdrun wrapper command topic of the NetBackup Security and Encryption Guide.
nbcmdrun does not support to pass environment variable and user inputs to the MSDP commands. Alternately, you can also run msdpcmdrun, as follows:
sudo -E /usr/openv/pdde/pdcr/bin/msdpcmdrun <msdp commands>
It requires configuration of sudoers for the msdpcmdrun and allow only one command msdpcmdrun. Administrator creates and edits /etc/sudoers.d/custom
file, and configures it.
For example, the following configuration helps give the 'test' user the permission to run msdpcmdrun with root user privileges.
test ALL=NOPASSWD:SETENV: /usr/openv/pdde/pdcr/bin/msdpcmdrun
The examples of sudo and msdpcmdrun:
Run the following command to get MSDP LSU data statistics.
$ sudo /usr/openv/pdde/pdcr/bin/msdpcmdrun crstats
Run the following command to list all the users.
$ sudo /usr/openv/pdde/pdcr/bin/msdpcmdrun spauser -l
Run the following command to list immutable cloud volumes and configurations.
$ export MSDPC_ACCESS_KEY=AccessKeyID $ export MSDPC_SECRET_KEY=SecretAccessKey $ export MSDPC_REGION=us-east-1 $ export MSDPC_PROVIDER=amazon $ sudo -E /usr/openv/pdde/pdcr/bin/msdpcmdrun msdpcldutil list
Run msdpcmdrun -l command to list the MSDP commands that are supported by msdpcmdrun.
When MSDP command runs as service user, if the option requires a file path, the file path should be accessible to the service user. For example, msdpcldutil list --credfile /tmp/env.txt. The file /tmp/env.txt
should be readable for MSDP service user because msdpcldutil runs as a service user.
You can find MSDP service user according to MSDP_SERVICE_USER configuration in /etc/pdregistry.cfg
file.
On the NetBackup Appliance, log in to the NetBackup Appliance shell menu with the NetBackup CLI user. Then you can run MSDP commands in the shell.
For example, nbcliuser-!> msdpcmdrun catdbutil --count
For the usage of NetBackup CLI, see About the NetBackupCLI user role topic of the Veritas NetBackup Appliance Security Guide.