To prevent unauthorized access to data, NetVault SmartDisk (NVSD) allows the configuration of WebDAV authentication for server requests. This can be done by configuring the authentication details on both the NVSD Server and NetVault Backup (NVBU) Server. NVSD uses Digest Access Authentication with WebDAV.
If WebDAV is configured for NVBU but not NVSD, backups to NVSD will complete successfully, however preparing and storing the index will take longer than normal.
If WebDAV is configured for NVSD but not NVBU, backups to NVSD will fail with errors similar to:
Error while closing the backup stream
Failed when finalizing the backup
Job manager lost message channel unexpectedly
If WebDAV credentials for NVBU and NVSD do not match, backups to NVSD will fail with errors similar to:
Credentials not accepted by RAS device
Failed to connect to device 'SD_NAME'
Stream has gone down
For more information on this topic, please see the Administration Module 1 Introduction to NetVault Backup-Web-based Training
Please see the video below:
To configure WebDAV authentication in NVBU, follow these steps:
a. On the NVBU Server, start a terminal session or open a command prompt.
b. Navigate to .../util or ...\util (where ... refers to the NVBU installation directory) and issue the following command:
nvdav --server <NVSD Server Name>
Use sudo, if not logged in as root on Linux/UNIX. On Windows, you must be logged in with administrator privileges.
Follow the prompts to complete the configuration.
To configure WebDAV authentication in NVSD, there are two ways:
1 - Configure the authentication details as part of the installation steps. Select 'Yes' at the WebDAV Authentication Configuration window, and enter the username and password
2 - Configure via CLI following these steps:
a. On the NVSD Server, start a terminal session or open a command prompt.
b. Navigate to .../foundation/bin or ...\foundation/bin (where ... refers to the NVSD installation directory) and issue the following command:
./smartdisk.sh config --update --webdav [port#] --credentials
or
smartdisk.bat config --update --webdav [port#] --credentials
(where [port#] refers to the data port used to communicate with backup clients, the default is 37453)
Use sudo, if not logged in as root on Linux/UNIX. On Windows, you must be logged in with administrator privileges.
Follow the prompts to complete the configuration.
If an NVSD Device is removed from the NVBU Server, it will also remove the WebDAV authentication details configured for that device. The authentication details must be configured again if you re-add the device.
Currently, NVBU does not provide any method to disable WebDAV authentication once it has been enabled for an NVSD Device. The only way to do this is to remove the NVSD Device from the NVBU Server, and re-add the device.
To disable WebDAV authentication in NVSD, follow these steps:
a. On the NVSD Server, start a terminal session or open a command prompt.
b. Navigate to .../foundation/bin or ...\foundation/bin (where ... refers to the NVSD installation directory) and issue the following command:
./smartdisk.sh config --delete --webdav [port#] --credentials
or
smartdisk.bat config --delete --webdav [port#] --credentials