How to perform a backup of NDMP Filers (NAS) with the Veritas Backup Exec Network Data Management Protocol (NDMP) Option
How to perform a backup of NDMP Filers (NAS) with the Veritas Backup Exec Network Data Management Protocol (NDMP) Option.
NDMP is an acronym for Network Data Management Protocol, which is an open standard protocol for enterprise-wide backups of heterogeneous network-attached storage. NDMP is an Internet-Draft standard that uses port 10000 by default.
The Veritas Backup Exec NDMP Option lets Backup Exec use the Network Data Management Protocol (NDMP) to initialize and control backups and restores of Network Attached Storage (NAS) devices such as NetApp filers as explained below.
The architecture follows a client-server model and the backup software is considered to be a client to the NDMP server. For every connection between the client and the NDMP host, there is a virtual state machine on the NDMP host that is controlled using NDMP. This virtual state machine is referred to as the NDMP server.
Currently an NDMP server can be thought of providing two services:
- A DATA server - This service either reads from disk and produces an NDMP data stream (in a specified format) or reads an NDMP data stream and writes to disk, depending upon whether a backup or restore is taking place.
- A TAPE server - This service either reads an NDMP data stream and writes it to tape or reads from tape and writes an NDMP data stream, depending upon whether a backup or restore is taking place. All tape-handling functions, such as split-image issues, are dealt with by this service.
- For more details on NDMP Protocol please see the following site:
NDMP Filers (NAS):
NDMP Filers, or NAS devices, reside on the network with the primary purpose of providing file services. NAS devices that use standard operating systems (for example, Windows-powered NAS devices) support the installation of backup agents, and can therefore be backed up like any other file server. However, some NAS devices use a custom operating system that does not support third party backup agents. A standard backup interface for NAS devices exists in the form of the network data management protocol (NDMP), which is a backup standard for NAS devices that do not support installation of a backup agent.
With Veritas Backup Exec, the NDMP Option lets Backup Exec use the Network Data Management Protocol (NDMP) to initialize and control backups and restores of Network Attached Storage (NAS) devices such as NetApp filers. The NDMP option supports both backing up data to a tape device directly attached to the NDMP device (direct-attached) and backing up data to a tape device attached to another NDMP device (filer-to-filer) as explained and shown in Figure 1 and 2. The NDMP option also supports backing up data to any device attached to the Backup Exec server, such as tape, backup-to-disk or deduplication device.
NDMP - Direct Attached:
In the direct-attached or local model, the backup server uses NDMP over the LAN to instruct the filer to start the backup. The filer then sends the data contained in the backup to a tape device attached directly to the filer via Fibre Channel or SCSI. During the backup, information about files and directories written to tape is transferred via NDMP over the LAN to the backup server where it is maintained in an index. For a restore operation, the backup server uses NDMP over the LAN to instruct the filer to start restoring files. Data is read from the filer's locally attached tape device and stored by the filer. During backup and restore, the backup server does not ever receive the actual data being written or read from tape. As a result, this model is commonly referred to as "LAN-free" backup.
NDMP - Filer to Filer (3-way)
In the filer-to-filer model, often referred to as three-way, the backup server uses NDMP over the LAN to instruct filer A to start backing up data to tape devices attached to filer B via either the same network or a private backup network. During the backup, information about files and directories written to tape is transferred from filer A via NDMP over the LAN to the backup server, where it is maintained in an index.
This is known as 3-way backup, since typically 3 hosts are involved as shown. (Figure 2)
- The host running the NDMP client (1).
- The host running the NDMP DATA server (2).
- The host running the NDMP TAPE server (3).
The Veritas Backup Exec NDMP Option provides support for the following functionality:
1. Support for the backup and restore filers with any device attached to Backup Exec server.
2. Support for NDMPv4. For more on NDMPv4 please visit: https://www.ndmp.org .
3. Support for Direct-Attached (tape device on filer). (Figure 1)
4. Support for Filer-to-Filer (tape attached to a remote filer of same brand, "3 way"). (Figure 2)
5. The NDMP Option supports Backup selections from the directory level.
6. The NDMP Option supports Restore selections to the file level.
For more information about supported feature for individual filers, refer to Hardware Compatibility List below and the vender's documents.
Steps to back up an NDMP Filer
Installing the NDMP Option.
Configuring the NDMP device.
(Optional) Adding an NDMP storage device.
Adding NDMP device to the Backup and Restore server list.
Backing up using the NDMP Option.
Stage 1: Installing the NDMP Option.
The NDMP (Paid) Option is installed locally on the Backup Exec server as a separate add-on component of Backup Exec for Windows Servers to protect supported NAS devices. No files are copied to the NDMP device.
To install the NDMP Option on the local Backup Exec server:
Click on Backup Exec icon towards top left corner of Backup Exec Admin Console -> Installation and Licensing -> Install Options and Licenses on this Backup Exec Server
On the Add Licenses screen, make sure of NDMP option is installed. Gold Subscription license in the example screen includes the NDMP option license. (Figure 3)
On the Configure Features screen, make sure of NDMP Feature is selected (Figure 4)
Click Next and complete the installation
Stage 2: Configuring the NDMP device.
In order for Backup Exec to back up NDMP resources, the NDMP service must be running on the NDMP device. This is an example for NetApp device.
The NDMP Service can be started by entering the following command on the NDMP device (accessed using telnet or the web interface or local login):
- Enabling ndmpd as shown in Figure 5.
NDMPFILER> ndmpd on
- The NDMP device must be configured to use the challenge (MD5) method for authentication as shown in Figure 6.
NDMPFILER> options ndmpd.authtype challenge
- To authenticate with the NDMP server you should use the root password or non-root user with system generated NDMP-specific password.
To configure these and other settings, refer to your NAS documentation.
- Make sure NDMP Version on the Remote Filer is set to "Level -4".
If the level is below "4" then backup is not possible, However user can view the resources but can not expand. To check the NDMP Version, type following command on the Filer. (Figure 7)
NDMPFILER> ndmpd version
To set the NDMP level to "4" type the following command on the Filer. (Figure 8)
NDMPFILER> ndmpd version 4
Stage 3. (Optional) Adding an NDMP storage device.
When using Direct-Attached or Filer-to-Filer (3-way), add the tape device as a Backup Exec storage device
- Go to Storage tab in Backup Exec Admin Console
- Click Configure Storage
- Select a Backup Exec server if the Central Admin Server Option (CASO) is enabled.
- Select Network Storage (Figure 9)
- Select NDMP Storage (Figure 10)
- Enter the server name of the NDMP device, or IP address. (Figure 11)
- Select Logon account to access to the NDMP device.
- Confirm Storage configuration summary, then click Finish
- Restarting Backup Exec services are required after the configuration is completed.
- After the services are restarted, the tape is displayed under the NDMP device name in Storage tab. (Figure 12). The tape is also displayed as a locally attached device.
- If the tape is not displayed, go to the troubleshooting.
Troubleshooting Tape Device Detection Backup Exec for Windows NDMP Option (NetApp)
Stage 4. Adding NDMP device to the Backup and Restore server list.
If the a tape device attached to an NDMP device is added as a storage device, Backup Exec automatically adds the NDMP device to the Backup and Restore server list.
- Go to Backup and Restore tab in Backup Exec Admin Console.
- Click Add in Servers and Virtual Hosts ribbon. (Figure 13)
- Select File server or NDMP data server. (Figure 14)
- Enter the server name of the server or IP address and click Add. Then, click Next
- Select Logon accont to access to the NDMP device.
- Confirm Summary then click Finish.
- The server name will be displayed in Backup and Restore tab. (Figure 15)
Stage 5. Backing up using the NDMP Option.
- Go to Backup and Restore tab in Backup Exec Admin Console.
- Select the server name of the NDMP device.
- Click Backup icon in the ribbon, then select a backup destination device type such as a tape, backup-to-disk or deduplication.(Figure 16)
- Now, Backup Definition Properties is opened. (Figure 16)
- Click Edit in the left side, then select a folder of backup sources.
Note: In order to back up a NetApp snapshot (".snapshot" folder), only one snapshot per volume can be selected, and no other file system resources can be selected.
- Click Edit in the right side, then configure job properties such as schedule, specific target device or options.
- Click OK, then save the Backup Definition Properties.
- A backup job or multiple backup jobs (Full and Incremental) are created and executed according to the specified schedule.
Ce contenu était-il utile ?
Évaluation soumise. Veuillez fournir des commentaires supplémentaires (facultatif) ::