Problem
This document details how to setup NDMP credentials via command line.
Solution
There are two methods for adding NDMP credentials by command line (CLI), use Global Credentials or by a Specific Media Server.
Global Credentials by CLI
1. To define the global (default user) credentials : tpconfig -add -default_user_id <user ID> -password <password>
2. Add a NDMP host using global credentials :tpconfig -add -nh <ndmp_hostname>
3. To list the global credentials :tpconfig -ddnh
Specific Media Server NDMP credentials by CLI
1. On the media server which is to be used as an NDMP control host add NDMP credentials :tpconfig -add -nh <ndmp_hostname> -user_id <user ID> -password <password>
2. To list the NDMP crentials :tpconfig -dnh
Once the credentials have been added by either method, use the command tpautoconf -verify <ndmp-host>
to check the credentials are valid.
Note : The path for tpconfig
and tpautoconf
is /usr/openv/volmgr/bin
on UNIX/Linux and <install-path>\veritas\volmgr\bin
on Windows