Tivoli Header

Administrator's Guide


Configuring Tivoli Data Protection for NDMP

Before beginning the configuration of Tivoli Data Protection for NDMP, ensure that you register the license. See Licensing Tivoli Storage Manager.

The following is a checklist to use for configuring Tivoli Data Protection for NDMP:

  1. Set up the tape library and media. See Step 1. Setting Up Tape Libraries for NDMP Operations, where the following steps are described in more detail.
    1. Attach the tape library to the NAS file server or to the Tivoli Storage Manager server.
    2. Define the library with a library type of SCSI.
    3. Define a device class for the tape drives.
    4. Define a storage pool for NAS backup media.
  2. Configure Tivoli Storage Manager policy for managing NAS image backups. See Step 2. Configuring Tivoli Storage Manager Policy for NDMP Operations.
  3. Register a NAS file server node with the Tivoli Storage Manager server. See Step 3. Registering NAS Nodes with the Tivoli Storage Manager Server.
  4. Define a data mover for the NAS file server. See Step 4. Defining a Data Mover for the NAS File Server.
  5. Define a path from either the Tivoli Storage Manager server or the NAS file server to the library. See Step 5. Defining a Path to a Library.
  6. Define the tape drives to Tivoli Storage Manager, and define the paths to those drives from the NAS file server and optionally from the Tivoli Storage Manager server. See Step 6. Defining Tape Drives and Paths for NDMP Operations.
  7. Check tapes into the library and label them. See Step 7. Labeling Tapes and Checking Tapes into the Library.
  8. Set up scheduled backups for NAS file servers. This step is optional. See Step 8. Scheduling Tivoli Data Protection for NDMP Operations.

Step 1. Setting Up Tape Libraries for NDMP Operations

Before setting up a tape library for NDMP operations, you should have already determined whether you want to attach your library robotics control to the Tivoli Storage Manager server or to the NAS file server. See Planning for Tape Libraries and Drives used in NDMP Operations .

A. Connect the Library and Drives for NDMP Operations

Connect the tape library robotics to the Tivoli Storage Manager server or to the NAS file server. See the manufacturer's documentation for instructions.

Library Connected to Tivoli Storage Manager
Make a SCSI or Fibre Channel connection between the Tivoli Storage Manager server and the library robotics control port. Then connect the NAS file server with the drives you want to use for NDMP operations.

Library Connected to NAS File Server
Make a SCSI or Fibre Channel connection between the NAS file server and the library robotics and drives.

B. Define the Library for NDMP Operations

Define the tape library to Tivoli Storage Manager. For example:

define library tsmlib libtype=scsi

C. Define a Device Class for NDMP Operations

Create a device class for NDMP operations. A device class defined with a device type of NAS is not explicitly associated with a specific drive type (for example, 3570 or 8mm). However, we recommend that you define separate device classes for different drive types.

In the device class definition:

For example, to define a device class named NASCLASS for a library named NASLIB and media whose estimated capacity is 40GB, enter the following command:

define devclass nasclass devtype=nas library=naslib mountretention=0
 estcapacity=40g

D. Define a Storage Pool for NDMP Media

The storage pools you define for NDMP media are different from storage pools you define for Tivoli Storage Manager media because they are defined with different data formats. Tivoli Storage Manager operations use storage pools defined with a NATIVE or NONBLOCK data format. NDMP operations require storage pools with a data format that matches the NAS file server and the backup method to be used. For example, to define a storage pool named NASPOOL for a Network Appliance file server, enter the following command:

define stgpool naspool nasclass maxscratch=10 dataformat=netappdump 

Attention: Ensure that you do not accidentally use storage pools that have been defined for NDMP operations in traditional Tivoli Storage Manager operations. Be especially careful when assigning the storage pool name as the value for the DESTINATION parameter of the DEFINE COPYGROUP command. Unless the destination is a storage pool with the appropriate data format, the backup will fail.

Step 2. Configuring Tivoli Storage Manager Policy for NDMP Operations

Policy allows you to manage the number and retention time of NDMP image backup versions. See Configuring Policy for Tivoli Data Protection for NDMP.

  1. Create a policy domain for NAS file servers. For example, to define a policy domain that is named NASDOMAIN, enter the following command:
    define domain nasdomain description='Policy domain for NAS file servers'
    
  2. Create a policy set in that domain. For example, to define a policy set named STANDARD in the policy domain named NASDOMAIN, enter the following command:
    define policyset nasdomain standard 
    
  3. Define a management class, and then assign the management class as the default for the policy set. For example, to define a management class named MC1 in the STANDARD policy set, and assign it as the default, enter the following commands:
    define mgmtclass nasdomain standard mc1
    

    assign defmgmtclass nasdomain standard mc1
    
  4. Define a backup copy group in the default management class. The destination must be the storage pool you created for NDMP images. In addition, you can specify the number of backup versions to retain. For example, to define a backup copy group for the MC1 management class where up to four versions of each file system are retained in the storage pool named NASPOOL, enter the following command:
    define copygroup nasdomain standard mc1 destination=naspool verexists=4
    

    Attention: Ensure that management classes used for NDMP operations contain the name of a storage pool defined for NDMP operations. Accidentally mixing storage pools used in NDMP operations and those used in Tivoli Storage Manager operations will cause backups to fail.

  5. Activate the policy set. For example, to activate the STANDARD policy set in the NASDOMAIN policy domain, enter the following command:
    activate policyset nasdomain standard 
    

    The policy is ready to be used. Nodes are associated with Tivoli Storage Manager policy when they are registered. For more information, see Step 3. Registering NAS Nodes with the Tivoli Storage Manager Server.

Applying Policy to Backups Initiated with the Client Interface

When a client node initiates a backup, the policy is affected by the option file for that client node. You can control the management classes that are applied to NDMP backups regardless of which node initiates the backup. You can do this by creating a set of options to be used by the client nodes. The option set can include an include.fs.nas statement to specify the management class for NAS file server backups. See Creating Client Option Sets from the Server for more information.

Step 3. Registering NAS Nodes with the Tivoli Storage Manager Server

Register the NAS file server as a Tivoli Storage Manager node. This node name is used to track the image backups for the NAS file server. For example, to register a NAS file server as a node named NASNODE1, with a password of NASPWD1, in a policy domain named NASDOMAIN, enter the following command:

register node nasnode1 naspwd1 domain=nasdomain type=nas

If you are using a client option set, specify the option set when you register the node.

You can verify that this node is registered by issuing the following command:

query node type=nas

When you specify TYPE=NAS only NAS nodes are displayed.

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

Define a data mover for each NAS file server in your Tivoli Data Protection for NDMP environment. The data mover name must match the node name that you specified when you registered the NAS node to the Tivoli Storage Manager server. For example, to define a data mover for a NAS node named NASNODE1, enter the following command:

define datamover nasnode1 type=nas hladdress=netapp2 lladdress=10000 userid=root 
password=admin dataformat=netappdump
 

In this command:

Step 5. Defining a Path to a Library

Define a path to the library from either the Tivoli Storage Manager or the NAS file server.

Library Connected to Tivoli Storage Manager
For example, issue the following command to define a path from the server, named SERVER1, to the library named TSMLIB:
 define path server1 tsmlib srctype=server desttype=library device=lb0.0.0.2

Library Connected to NAS File Server
For example, issue the following command to define a path between a NAS data mover named NASNODE1 and a library named NASLIB, use the following command:
define path nasnode1 naslib srctype=datamover desttype=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.

Obtaining Special File Names for Path Definitions

When you are creating paths, you must provide special file names for tape libraries and drives. For paths from a NAS data mover, the value of the DEVICE parameter in the DEFINE PATH command is the name by which the NAS file server knows a library or drive. You can obtain these names, known as special file names, by querying the NAS file server. For information about how to obtain names for devices that are connected to a NAS file server, consult the product information for the file server.

For example, for a Network Appliance file server, connect to the file server using telnet and issue the SYSCONFIG command. To display the device names for tape libraries, use this command:

sysconfig -m

To display the device names for tape drives, use this command:

sysconfig -t

Step 6. Defining Tape Drives and Paths for NDMP Operations

Define the tape drives that you want to use in NDMP operations and the paths to those drives. Depending on your hardware and network connections, you can use the drives for only NDMP operations, or for both traditional Tivoli Storage Manager operations and NDMP operations. For example,

  1. Define a drive named NASDRIVE1 for the library named NASLIB.
    define drive naslib nasdrive1 element=117 
    
    Note:
    When you define SCSI drives to Tivoli Storage Manager, you must specify element numbers for the drives when the library contains more than one drive. Element numbers are available from device manufacturers. Element numbers for tape drives are also available in the device support information available on the Tivoli Web site at http://www.tivoli.com/support/storage_mgr/tivolimain.html.
  2. Define a path for the drive:

Step 7. Labeling Tapes and Checking Tapes into the Library

You must label the tapes and check the tapes into the tape library. These tasks are the same as for other libraries. See Labeling Media for more information.

Step 8. Scheduling Tivoli Data Protection for NDMP Operations

You can schedule the backup or restore of NDMP images by using administrative schedules that process the BACKUP NODE or RESTORE NODE administrative commands. The BACKUP NODE and RESTORE NODE commands can be used only for nodes of TYPE=NAS. See Backing Up and Restoring NAS File Servers Using Tivoli Data Protection for NDMP for information about the commands.

For example, to create an administrative schedule called NASSCHED to back up all file systems for a node named NASNODE1, enter the following:

define schedule nassched type=administrative cmd='backup node nasnode1' active=yes
starttime=20:00 period=1 perunits=days

The schedule is active, and is set to run at 8:00 p.m. every day. See Chapter 19, Automating Server Operations for more information.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]