/usr/sbin/ndmpadm [-? ] subcommand [options] [direct-object]
The ndmpadm command supports the following subcommands:
# ndmpadm disable -a auth-type
This subcommand disables the authentication type specified by auth-type for an NDMP client's remote access. Valid values for auth-type are cram-md5 or cleartext.
# ndmpadm enable -a auth-type -u username
This subcommand prompts for the user's password twice for confirmation and activates the specified authentication type with the given username and password for NDMP client access. Valid values for auth-type are cram-md5 or cleartext.
# ndmpadm get [-p] [property] [[-p] property=value]...
The property names are the same as used for the set subcommand and are described below. If you do not specify a property, the get subcommand returns all configuration properties.
The syntax for the kill-sessions subcommand is:
# ndmpadm kill-sessions ID
# ndmpadm set [-p] property=value [[-p] property=value]...
The properties you can set with the set subcommand are described in the ndmp(4) man page.
# ndmpadm show-devices
This subcommand lists the name, vendor, serial number, and other information about the current tape drive and libraries connected to the system.
# ndmpadm show-sessions [-i tape,scsi,data,mover] [ID]
The show-sessions subcommand supports the following arguments:
The following command obtains status on all connections.
# ndmpadm show-devices
Example 2 Obtaining the Status of Certain Types of Connections
The following command obtains status on tape and SCSI interfaces.
# ndmpadm show-sessions -i scsi,tape
Example 3 Limiting Protocol Version
The following command limits the use of the NDMP protocol to version 3.
# ndmpadm set -p version=3
Example 4 Turning on Debugging
The following command enables debugging. It also sets the NDMP protocol to version 3.
# ndmpadm set -p debug-mode=yes -p version=3
Example 5 Obtaining Current Version Number
The following command obtains the version number of the currently running NDMP.
# ndmpadm get -p version
Example 6 Disconnecting a Specific Session
The command shown below disconnects session 5. The session number was previously obtained from an ndmpadm show-sessions command.
# ndmpadm kill-session 5
Example 7 Obtaining the Values for All NDMP Properties
The following command obtains the values for all NDMP properties.
# ndmpadm get
Example 8 Enabling CRAM-MD5 Authentication
The following command enables CRAM-MD5 authentication.
# ndmpadm enable -a cram-md5 -u admin Enter new password:***** Re-enter password:*****
Example 9 Disabling Clear Text Password Authentication
The following command disables clear text password authentication.
# ndmpadm disable -a cleartext
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
Administrative actions on this service, such as setting and getting a property can be alternatively performed using svccfg(1M). For example to enable Direct Access Recovery (DAR) mode:
# svccfg -s svc:/system/ndmpd svc:/system/ndmpd> setprop ndmpd/dar-support = yes
...and to get the list of properties:
# svccfg -s svc:/system/ndmpd svc:/system/ndmpd> listprop
|April 9, 2016||OmniOS|