Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 30

IBM Tivoli Support Technical Exchange Web

Seminar:
NDMP Configuration for use with Tivoli Storage
Manager
IBM Software Services for Tivoli
Table of Contents
1. Overview of NDMP

2. NDMP Backup Configuration

3. Configuring Virtual Filespaces

4. Configuring NDMP Filer to Server Backups

5. Common Problems and Hints for Backups

6. Common Problems and Hints for Restores

IBM Software Services for Tivoli 2


Overview of NDMP

•The Network Data Management Protocol


is an open standard protocol

•NDMP deals with the relationship


between backup applications and filers

IBM Software Services for Tivoli 3


Overview of NDMP (cont)

•Filers run operating systems similar to


UNIX

•Netapp filers run DATA ONTAP

•EMC filers run DART

•Filers accept various different types of


connections

IBM Software Services for Tivoli 4


Overview of TSM and NDMP

•TSM 5.3 supports typical NDMP setup


which sends data from a filer to a library
in different setups (all of which are
described in detail in the TSM
Administrator’s Guide)
TSM 5.4 supports 3-WAY NDMP backup
•Typical NDMP setup is still used in 5.4,
but 3-WAY NDMP is used in certain
circumstances

IBM Software Services for Tivoli 5


TSM 5.3 NDMP backup configuration setup

IBM Software Services for Tivoli 6


TSM 5.3 NDMP backup configuration setup (cont)

• Step 1. Setting Up Tape Libraries for NDMP Operations


• Step 2. Configuring Tivoli Storage Manager Policy for NDMP
Operations
• Step 3. Registering NAS Nodes with the Tivoli Storage Manager
Server
• Step 4. Defining a Data Mover for the NAS File Server
• Step 5. Defining a Path to a Library
• Step 6. Defining Tape Drives and Paths for NDMP Operations
• Step 7. Labeling Tapes and Checking Tapes into Library
• Step 8. Scheduling NDMP Operations
• Step 9. Defining Virtual File Spaces

IBM Software Services for Tivoli 7


Step 1. Setting Up Tape Libraries for NDMP Operations

1. Set up the tape library and media.

• Supported library types


• SCSI (TSM server controls robotics directly or by passing SCSI
commands through NAS device)
• ACSLS
• 349x (Requires NAS vendor support in NDMP server )

a. Attach the SCSI library to the NAS file server or to the


Tivoli Storage Manager server, or attach the ACSLS
library or 349X library to the Tivoli Storage Manager
server.
b. Define the library with a library type of SCSI, ACSLS, or
349X.
c. Define a device class for the tape drives.

IBM Software Services for Tivoli 8


Step 2. Configuring TSM Policy for NDMP Operations

POLICY DOMAIN • DEFINE DOMAIN


POLICY SET
MANAGEMENT CLASS • DEFINE POLICY SET
COPY GROUP
• DEFINE MGMTCLASS

• DEFINE COPYGROUP

• DEFINE STGPOOL

IBM Software Services for Tivoli 9


Step 3. Registering NAS Nodes with the TSM Server

• REGISTER NODE NASNODE NASPASS


DOMAIN=NASDOMAIN TYPE=NAS

Step 4. Defining a Data Mover for the NAS File Server

• DEFINE DATAMOVER NASNODE TYPE=NAS


HLADDRESS=NETAPP2 LLADDRESS=10000
USERID=ROOT PASSWORD=ADMIN
DATAFORMAT=NETAPPDUMP

IBM Software Services for Tivoli 10


Step 5. Defining a Path to a Library and Drives

• Define a path to the SCSI library from either the Tivoli


Storage Manager or the NAS file server.

DEFINE PATH NASNODE NASLIB SRCT=DATAMOVER


DESTT=LIBRARY DEVICE=mc0

• The value of the DEVICE parameter is the special file


name for the tape library as it is known to the NAS file
server. See Obtaining Special File Names for Path
Definitions. ( Next slide)

IBM Software Services for Tivoli 11


Step 5. Defining a Path to a Library and Drives (cont.)

Obtaining Special File Names for Path Definitions

To display the device names for tape libraries, issue the


following command to the NAS filer:

sysconfig –m

To display the device names for tape drives, issue the


following command to the NAS filer:

sysconfig -t

IBM Software Services for Tivoli 12


Step 6. Defining Tape Drives and Paths for NDMP

1.Define a drive named NASDRIVE for a library named


NASLIB

DEFINE DRIVE NASLIB NASDRIVE ELEMENT=117


 
2. Define a path for the drive:

DEFINE PATH NASNODE NASDRIVE SRCT=DATAMOVER


LIBRARY=NASLIB DEVICE=rst01

IBM Software Services for Tivoli 13


Step 7. Labeling Tapes and Checking Tapes into Library

• You must label the tapes and check the tapes into the
tape library. These tasks are the same as for other
libraries.

Step 8. Scheduling NDMP Operations

• You can schedule the backup or restore of images


produced by NDMP operations by using administrative
schedules that process the BACKUP NODE or RESTORE
NODE administrative commands.

IBM Software Services for Tivoli 14


Step 9. Defining Virtual Filespaces

Server Virtual filespace definitions are used to reference


NAS directory
paths. A virtual filespace definition is used just like a
NAS filespace.

• Example:
VFS Name represents Full path to Directory on
NAS device
/NasDir represents /vol/vol2/home

IBM Software Services for Tivoli 15


Configuring Virtual Filespaces

Virtual filespaces definitions provide the following


advantages:

• A file system backup can be partitioned among


several NDMP backup operations and multiple tape
drives.
• You can also use different backup schedules to back
up sub-trees of a file system.
• Backup and restore times will be reduced
• Provides more flexibility in configuring your NAS
backups
• Virtual filespaces provide a mechanism for the
server to manage NAS directory level backups just
like NAS filespaces

IBM Software Services for Tivoli 16


Configuring Virtual Filespaces (cont.)

• Virtual Filespace Notes:

• The virtual file space name cannot be identical to any file


system on the NAS node.

• NDMP Component only “sees” full NAS directory path not


the VFS name.

• VFS names can be used wherever NAS filespace names


are used such as in:

BACKUP NODE, RESTORE NODE, QUERY TOC,


QUERY NAS BACKUP, QUERY FILESPACE

IBM Software Services for Tivoli 17


Configuring Virtual Filespaces (cont)
• Server commands related to Virtual Filespaces and NDMP

• DEFINE VIRTUALFSMAPPING

• DELETE VIRTUALFSMAPPING

• QUERY VIRTUALFSMAPPING

• UPDATE VIRTUALFSMAPPING

IBM Software Services for Tivoli 18


Configuring NDMP Filer to Server Backups

IBM Software Services for Tivoli 19


Configuring NDMP Filer to Server Backups
This is also known as “3-way NDMP Backup”

1. Set up a native storage pool

DEFINE STGPOOL NASPOOL DISK FORMATSIZE=100G

2. Set the copy destination to the storage pool

UPDATE COPYGROUP STANDARD STANDARD STANDARD


DESTINATION=NASPOOL TOCDESTINATION=NASPOOL

3. Activate the associated policy set

ACTIVATE POLICYSET STANDARD STANDARD

IBM Software Services for Tivoli 20


 
Configuring NDMP Filer to Server Backups ( Cont.)  

4. Set up a node for the NAS device.

• REGISTER NODE NASNODE NASPASS


DOMAIN=NASDOMAIN TYPE=NAS

5. Set up a datamover for the NAS device.

• DEFINE DATAMOVER NASNODE TYPE=NAS


HLADDRESS=NETAPP2 LLADDRESS=10000
USERID=ROOT PASSWORD=ADMIN
DATAFORMAT=NETAPPDUMP

IBM Software Services for Tivoli 21


Configuring NDMP Filer to Server Backups (Cont.)

There are several advantages to sending data via


NDMP backup directly over the LAN to the Tivoli Storage
Manager server.

• There are fewer library and device restrictions

• You can also backup NAS images to disk.

• Migration, Reclamation, Backup Storage Pool and


Disaster Recovery module can now be used for Nas
data,

IBM Software Services for Tivoli 22


Common problems and hints for NAS backups

• The filer can be backed up 2 different


ways:

1. Backup using DSMC (the TSM


command-line client). The TOC option
can be used with this command.

2. Backup using BACKUP NODE from


DSMADMC (the TSM administrative
client).

IBM Software Services for Tivoli 23


Common problems and hints for NAS backups (cont.)

• A TOC is stored in the


TOCDESTINATION and can be used
later for file-level restore and file-level
browsing

• NAS Backups pin the recovery log until


completion

IBM Software Services for Tivoli 24


Common problems and hints for NAS backups (cont.)

•There are a few common problems that


can be experienced when running NAS
backups.

•ANR1104 Operation process process ID


terminated - NDMP session errors
encountered.

•Investigate TSM and NDMP logs for a root


cause

IBM Software Services for Tivoli 25


Common problems and hints for NAS backups (cont.)

•09:22:29.127 [54][output.c][6273]:
ANR0102E tocbuild.c(946): Error 1
inserting row in table
"NDMP.Image.Contents(TEMP)".~

• http://www-1.ibm.com/support/docview.wss?uid=swg212
23424

•Install SNAPSURE for EMC or another


open-file utility for NETAPP or another
vendor

IBM Software Services for Tivoli 26


Common problems and hints for NAS restores

• As with NDMP backup, there are 3


different methods for restore:

1. Webclient – The webclient can be used


to restore images or for file-level
restore. Since TSM supports DAR, but
not DDAR, file-level restore of
directories will exhibit slow
performance

IBM Software Services for Tivoli 27


Common problems and hints for NAS restores (cont.)

2. RESTORE NODE – This command can


be used to restore images or for file-level
restore. File-level restore performance
will be poor because DAR will not be
used.

3. RESTORE NAS – This command can


only restore images and is issued by
DSMC (TSM command-line client)

IBM Software Services for Tivoli 28


Where to Find More Information:

• More information can be found in the following


locations:
• Chapter 7 of the Tivoli Storage Manager
Administrator’s Guide
• http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/t
opic/com.ibm.itsmcw.doc/anrwgd54178.htm#nscfg
• www.ndmp.org
• www.netapp.com
• www.emc.com

IBM Software Services for Tivoli 29


Q&A:
The operator will instruct you on how
to ask your questions of the
presenters.

IBM Software Services for Tivoli 30

You might also like