You are on page 1of 34

1

NDMP configuration overview

The Network Data Management Protocol (NDMP) is a standardized


protocol for controlling backup, recovery, and other types of data
transfer between primary and secondary storage devices, such as
storage systems and tape libraries.

By enabling NDMP support on a storage system, you enable that


storage system to communicate with NDMP-enabled network-
attached backup applications (also called Data Management
Applications or DMAs), data servers, and tape servers participating in
backup or recovery operations. All network communications occur
over TCPIP or TCP/IPv6 network. NDMP also provides low-level control
of tape drives and medium changers.

You can quickly configure an ONTAP 9 cluster to use the Network Data
Management Protocol (NDMP) to back up data directly to tape using
a third-party backup application.

If the backup application supports Cluster Aware Backup (CAB), you


can configure NDMP as SVM-scoped or node-scoped:

• SVM-scoped at the cluster (admin SVM) level enables you


to back up all volumes hosted across different nodes of the
cluster. SVM-scoped NDMP is recommended where possible.

• Node-scoped NDMP enables you to back up all the


volumes hosted on that node.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 1


2

SVM Scoped NDMP:

If the backup application does not support CAB, you must use node-
scoped NDMP.

SVM-scoped and node-scoped NDMP are mutually exclusive; they


cannot be configured on the same cluster.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 2


3

Node Scoped NDMP:

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 3


4

Tape Backup Topologies in Clustered Data ONTAP

The clustered Data ONTAP operating system supports three tape


backup topologies:
➢ Local tape backups

➢ Three-way tape backups

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 4


5

➢ Remote tape backups

You can configure the LIF role preference.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 5


6

For SVM-Scoped NDMP generate the NDMP password using the


following command.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 6


7

Veritas NetBackup:

Veritas NetBackup™ 10.2 delivers the industry’s most advanced, cloud-


optimized, scalable data protection solution, with enhancements to
cyber resiliency and operational efficiency that strengthen data
protection, while reducing cost and resource demands. With the latest
release, NetBackup continues to radically simplify data protection,
with the benefit of new resiliency and automation features and
expanded workload support.

Veritas NetBackup Admin Interfaces:


1. NetBackup Web UI

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 7


8

2. Veritas NetBackup Admin Console

NetApp ONTAP SVM-Scoped NDMP Backup using


Veritas Netbackup:

1. Login to Veritas NetBackup Admin Console, add a NDMP Host


with the following details.
a. NDMP Host – FQDN or IP Address of SVM LIF (supported
preferred Role) IP Address
b. SVM NDMP User Name – Senthil
c. SVM NDMP Password - ********

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 8


9

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 9


10

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 10


11

In this example, we are using Remote Backup type.


1. Backup device connected to Veritas NetBackup Media Server.

Create Backup Policy:


1. Policy Type – NDMP
2. Storage Unit – Media server Disk library or tape library (Remote
– Not connected in NetApp Storage)

Select NDMP Policy Type

Select the Destination Storage Unit


to store the backup data

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 11


12

Create a Backup Schedule:


1. Start Window
2. Backup Type (Full)
3. Retention Period (2 Weeks)
4. Backup Frequency (1 day)

Add a NetApp ONTAP NDMP Client:


1. Add NDMP Host (ex:10.2.2.71)

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 12


13

Backup Selection:
1. Add a volume to backup.
a. SVM : svm_senthil
b. Volume: volt1 and volt_new

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 13


14

Select the volume to backup

Backup Policy created successfully.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 14


15

Run Manual Backup to test it. Check the Backup job status in Activity
Monitor.

Backup successfully completed.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 15


16

NDMP backup uses the NetApp ONTAP’s Dump and Restore.


It is creating a snapshot, using that snapshot taking backup and then
delete the snapshot also.

To test the restore, delete the files from the volume (CIFS share).

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 16


17

Using NetBackup Client utility (backup Archive and restore), select the
files and restore.
Select the destination client
(NetApp NDMP Host)

Policy
Type
NDMP

Select the files or entire


volume to restore

Restore job successfully completed.

Restore Job Successful

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 17


18

Now after successful restore, you can see the deleted files in CIFS
share.

NDMP Backup using Veritas NetBackup:


Local Tape Backup method (Tape Library connected to NetApp ONTAP
Node)

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 18


19

NetApp ONTAP Tape Management:


Check the compatible or supported tape drives using the following
command.

List the connected drives.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 19


20

Login to Veritas NetBackup and add the NDMP host (Node-Scoped).

Add a node-scope NDMP


Host

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 20


21

Configure the Storage Devices:

Configure Storage Devices

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 21


22

Select the NDMP Server

Select the NDMP Host


(Node-Scope)

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 22


23

NetBackup Media Server


Detected the 4 Tape
drives

NetApp ONTAP connected


drives with path.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 23


24

Configure the devices

Config changes are updated in Media


Server DB.

Restarts the Media manager Device


Daemon

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 24


25

Create a Storage Unit

NDMP Storage Unit Type created


successfully.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 25


26

You can list the connected tape


drives from NetApp ONTAP Cluster
through NDMP

List the tape volumes.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 26


27

Create a NDMP Backup Policy:


Select NDMP Policy Type

Select the NDMP tape Storage Unit and


Default NetBackup Pool

Create a Schedule with 1 day frequency.

Backup Type – Full Backup

Select the Start Window and retention period

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 27


28

Add a NDMP client

Select the volumes to take a backup. It is


listing all the Data SVM and volumes,
because it is enabled with Node-Scope
NDMP Backup

Two volumes are selected for backup


(As per our example )

Svm – svm_senthil

Volumes: volt1 and volt2

Volumes: volt1 and volt_new


SENTHILKUMAR MUTHUSAMY | SAN MASTERS 28
29

Now initiate the manual backup. Once the backup job is initiated, then
media server sends information through NDMP to mount the tape in
NetApp ONTAP Cluster (tape drive is locally connected)

Backup is initiated, tape is mounting.

Backup is writing to
It uses dump and tape
restore

NDMP Backup done


successfully.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 29


30

NetApp ONTAP connected tape


drive is active state.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 30


31

You can verify the backup image


in tape volume (Ex A00000)

Select destination client


and NDMP policy type.

Using NetBackup Client Tool, restore a


single file or volume in PIT.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 31


32

You can check the detailed status of


restore Job.

Restoring the data from NDMP Local-Tape


Host

DAR is enabled.

Restore is done successfully with status code 0.

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 32


33

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 33


34

SENTHILKUMAR MUTHUSAMY | SAN MASTERS 34

You might also like