Currently, enabling NDMP on a Brickstor can only be done from the command line. The first step is to create a user and password that the backup software will use to connect to the Brickstor. This user and password is specific to NDMP and is not shared by any other part of the system. To create the user, run the following (and follow the prompts to enter the password):
# ndmpadm enable -a cram-md5 -u ndmp
Enter new password:
Re-Enter password:
In this example, a user named 'ndmp' was created. Once the user has been created, configure the NDMP service itself. First, determine if the NDMP service is already enabled:
# svcs ndmpd
disabled 9:58:05 svc:/system/ndmpd:default
In the above example, the NDMP service is disabled.
Since some backup clients will only communicate with NDMP servers that present OS names and versions known to the backup client. The first two commands set the reported OS name and version to something known by most backup clients.
# svccfg -s ndmpd 'setprop ndmpd/os-type = astring: SunOS'
# svccfg -s ndmpd 'setprop ndmpd/os-version = astring: 5.11'
# svccfg -s ndmpd 'setprop ndmpd/mover-nic = 0.0.0.0'
# svcadm refresh ndmpd
# svcadm enable ndmpd
If the NDMP service was already enabled, instead of running
# svcadm enable ndmpd
as the last command, run:
# svcadm restart ndmpd
If the OS name and version are changed, the following two commands must be run for the change to take effect (note that this will disconnect any in-progress backups):
# svcadm refresh ndmpd
# svcadm restart ndmpd
Once this is complete, you add the Brickstor as an NDMP backup client in your software using the instructions for your specific backup software. The user and password for the NDMP connection will be the user and password set during the configuration.
The same 'ndmpadm' command used to create the NDMP user can be also used to reset the user password for the NDMP user if the password is lost.