implementing an ndmp backup solution using symantec netbackup

97
© Copyright IBM Corporation, 2011. Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS Technical Report Udayasuryan Kodoly IBM Systems and Technology Group ISV Enablement March 2011

Upload: others

Post on 09-Feb-2022

15 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Implementing an NDMP backup solution using Symantec NetBackup

© Copyright IBM Corporation, 2011.

Implementing an NDMP backup solution using Symantec NetBackup on

IBM SONAS Technical Report

Udayasuryan Kodoly

IBM Systems and Technology Group ISV Enablement March 2011

Page 2: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS © Copyright IBM Corporation, 2011.

Table of contents Abstract ..................................................................................................................................... 1 SONAS NDMP ........................................................................................................................... 1

Overview of SONAS NDMP ..................................................................................................................... 1 SONAS NDMP supported physical configuration .................................................................................... 2

Two-way (or remote) SONAS NDMP configuration .......................................................... 2 Three-way SONAS NDMP configuration........................................................................... 3 Fundamentals of SONAS NDMP feature .......................................................................... 4 SONAS NDMP command-line configuration ..................................................................... 6 ISV LAB SONAS system configuration ............................................................................. 6 SONAS NDMP network group configuration ..................................................................... 6 SONAS NDMP node group configuration ......................................................................... 8 Configuring SONAS NDMP backup prefetch .................................................................... 9 Concurrent SONAS NDMP backup and restore usage with other SONAS functions ..... 10 Symantec NetBackup 7.0.1 DMA SONAS NDMP backup considerations ..................... 11 Monitoring NDMP session on SONAS system ................................................................ 12 Monitoring NDMP log information on SONAS system .................................................... 13

Symantec NetBackup NDMP configuration .......................................................................... 14 SONAS NDMP configuration on Symantec NetBackup ........................................................................ 14

SONAS two-way NDMP authentication and detection of tape devices .......................... 14 SONAS three-way NDMP tape server authentication and tape configuration ................ 29 Symantec NetBackup inventory of tape library ............................................................... 43 Creating a Symantec NetBackup NDMP policy .............................................................. 47

SONAS NDMP backup essentials ......................................................................................................... 56 SONAS NDMP backup environment Variables ............................................................... 56 SONAS NDMP backup (full) ............................................................................................ 58 SONAS NDMP backup (incremental).............................................................................. 64

Symantec NetBackup NDMP restore .................................................................................................... 73 Using Symantec NetBackup Direct Access Recovery (DAR) for NDMP restores .......... 73 SONAS NDMP restore using Symantec NetBackup restore .......................................... 73

Summary ................................................................................................................................. 88 Appendix A: Glossary ............................................................................................................ 89 Appendix B: Materials used in the lab setup ........................................................................ 90 Appendix C: Resources ......................................................................................................... 91 About the author..................................................................................................................... 93

Page 3: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 1

Abstract Network Data Management Protocol (NDMP) is an open protocol for managing data stored on networked servers. This document provides the best practices guide for implementing IBM SONAS NDMP backup solution using Symantec NetBackup. The NDMP future development is under the direction of the Storage Networking Industry Association (SNIA), which has a work group for NDMP.

SONAS NDMP

IBM® Scale Out Network Attached Storage (SONAS) is designed to address the new storage challenges posed by the continuing explosion of data. Leveraging mature technology from IBM’s high-performance computing experience, and based upon IBM General Parallel File System (IBM GPFS™), SONAS is an easy-to-install, turnkey, modular, scale out network-attached storage (NAS) solution that provides the performance, clustered scalability, high availability, and functionality that are essential to meet strategic Petabyte Age and cloud-storage requirements.

The high-density, high-performance SONAS can help organizations consolidate and manage data affordably, reduce crowded floor space, and reduce management expense associated with administering an excessive number of disparate storage systems. With its advanced architecture, SONAS virtualizes and consolidates multiple filers into a single, enterprise-wide file system, which can translate into reduced total cost of ownership (TCO), reduced capital expenditure, and enhanced operational efficiency.

This paper is part of the SONAS Network Data Management Protocol (NDMP) information set and is intended for the System Administrator implementing a backup strategy with Symantec NetBackup 7.0.1. The System Administrator should be familiar with backup and restore operations and with the basic administration of Symantec NetBackup 7.0.1.

Overview of SONAS NDMP NDMP is a network-based protocol used by data management applications primarily for backing up and restoring the files contained within a NAS system such as SONAS. The SONAS support the Network Data Management Protocol (NDMP) version 4.

The SONAS NDMP implementation provides the capability to back up and restores the file systems with the SONAS system using NDMP. The granularity of backup is at the directory level. NDMP supports the concept of a full backup and an incremental backup. A full backup backs up all files and directories specified to be backed by SONAS NDMP. An incremental backup backs up those files and directories that have changed since the last full backup. Incremental backups are cumulative.

A cumulative incremental backup backs up the files that are specified in the backup selections list that have changed since the last full backup. All files are backed up if no previous backup has been done. Cumulative incremental backups occur automatically according to schedule criteria. A complete restore requires the last full backup and the last cumulative incremental backup.

Page 4: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 2

A differential incremental backup backs up the files that have changed since the last successful incremental (differential or cumulative) or full backup. All files are backed up if no previous backup has been done. Differential incremental backups occur automatically according to schedule criteria. A complete restore requires the last full backup, the last cumulative incremental backup, and all differential incremental backups that have occurred since the last full backup.

SONAS NDMP supported physical configuration There are two primary methods in which NDMP can be used as an interface with SONAS.

1. Two-way (or remote) NDMP

2. Three-way NDMP

The following sections describe the two-way (or remote) and three-way NDMP configurations in depth.

Two-way (or remote) SONAS NDMP configuration

The two-way NDMP consists of an external data management application, such as Symantec NetBackup, running on a server external to the SONAS system. The data management application has some form of storage hierarchy such as a tape library that it manages for the storage of backup data.

In addition to the external data management application (Symantec NetBackup), an Ethernet network exists that connects the data management application to the SONAS interface nodes on which the NDMP server is running. NDMP control and data traffic flow across this network between the external data management application and the SONAS interface nodes on which the NDMP server is running.

The recommendation is that this network be a high speed 10 Gb Ethernet network to handle the volume of data being backed up or restored. However, nothing prevents this network from being a 1 Gb Ethernet network.

The Figure 1 shows an example of a two-way SONAS NDMP configuration. It includes an external data management application (Symantec NetBackup) running on a server external to the SONAS system. The data management application has an IBM System Storage® TS7650G ProtecTIER® Deduplication Gateway attached to it through an 8 Gbps Fibre Channel (FC) storage area network (SAN). The System Storage TS7650G ProtecTIER Deduplication Gateway has an IBM System Storage DS5000 storage controller attached to it through 8 Gbps FC links, which in turn has some number of IBM System Storage® DS5020 disk storage expansion units attached to it through 8 Gbps FC links. The data management application connected to a 10 Gbps Ethernet network, to which the SONAS interface nodes are attached. In Figure 1, the lines are intended to show the type and speed on the connections between the various physical components and do not necessarily represent the actual number of physical links.

Page 5: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 3

Figure 1: An example of a two-way SONAS NDMP configuration

Three-way SONAS NDMP configuration

In three-way SONAS NDMP implementation, an NDMP tape server is installed on a server external to the SONAS system and separate from the server on which the Symantec NetBackup data management application is running. Some form of storage devices, such as a virtual tape library or real tape library and tape drives are attached to the server running the NDMP tape server.

The NDMP control traffic flows between the Symantec NetBackup data management application and the SONAS interface nodes and NDMP data traffic flows between the SONAS interface nodes and the NDMP tape server. In this scenario, as only NDMP control traffic is flowing between the Symantec NetBackup data management application and the SONAS interface nodes, the Symantec NetBackup data management application does not need to be on a high-speed network. The Symantec NetBackup (data management application) can use a lower speed 1 Gbps Ethernet network to connect the SONAS interface nodes and the external server on which the NDMP tape server is running.

However, NDMP data traffic (the actual data being backed up or restored) is flowing between the SONAS interface nodes and the external server on which the NDMP tape server is running. Therefore, it is recommended that the Ethernet network between the NDMP tape server and the SONAS interface nodes running the NDMP server be a high-speed 10 Gbps Ethernet network.

Page 6: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 4

The Figure 2 shows an example of an NDMP three-way configuration. In this example, the SONAS interface nodes (used for file serving) and the data management applications are on a 1 Gbps Ethernet network. Other SONAS interface nodes, used for NDMP backup and restore, are on a 10 Gbps Ethernet network along with the NDMP tape server. The server on which the NDMP tape server is running is connected to an 8 Gbps FC SAN along with an IBM System Storage TS3500 tape library with some FC attached tape drives, such as IBM Linear Tape-Open data cartridges, Generation 3, Generation 4, or Generation 5 tape drives.

Figure 2: An example of NDMP three-way configuration

Fundamentals of SONAS NDMP feature The following points explain the fundamentals of SONAS NDMP features:

• An NDMP version 4 compliant data server is available on every interface node of the SONAS system. There is a provision to create a set of interface nodes that will be part of an NDMP_NODE_GROUP. These set of interface nodes is paired with network group IP addresses that can be assigned to a specific network port. This network port is associated with the NDMP service.

Page 7: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 5

• The NDMP server running on an interface node provides for both data and control

connections to servers external to the SONAS system on which a data management appliance is running.

• The ability to configure the NDMP parameters for this set of interface nodes (the

NDMP_NODE_GROUP) is provided through SONAS command-line interface (CLI) commands that are run from the management node, which stores the NDMP configuration parameters in the Samba Registry.

• In addition to the SONAS CLI commands available to store and retrieve NDMP configuration parameters, a set of CLI commands are provided that allow to view NDMP session information and NDMP log information, and to stop currently running NDMP sessions.

• An NDMP backup session will provide backup of a specific directory in a GPFS file system

and all files and subdirectories contained within it. Besides the basic data of the files and directories, all extended GPFS attributes are saved for every file and directory. In order to provide the provision to back up a directory structure at a given point in time, a snapshot is used and it is actually the snapshot of the directory structure that is backed up. This snapshot also accounts for files that may be open or in use during the backup as a point in time representation of the file is backed up by NDMP.

• An NDMP restore session will restore all of the files and directories in the proper structure

of subdirectories, and so on. In addition to the actual file contents, the GPFS extended attributes are also restored.

Page 8: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 6

SONAS NDMP command-line configuration

The following SONAS CLI commands (shown in Table 1) are available for configuring, monitoring, and managing the NDMP configuration parameters and NDMP sessions:

Table 1: SONAS CLI command description

ISV LAB SONAS system configuration In the ISV lab:

• The SONAS appliance has one management node: mgmt001st001 • The SONAS appliance has five interface nodes: int001st001, int002st001,

int003st001,int004st001,int005st001 • The SONAS cluster is defined as: st001.vsofs1.com • There is a 10 Gb Ethernet card on each interface node and configured ethX0 to access

the bonded ports

(Refer to “Appendix B: Materials used in the lab setup” for more information)

SONAS NDMP network group configuration This section provides the guidelines to create and configure network group that includes all of the interface nodes that will service NDMP requests for the NDMP node group.

• Create a network group comprising three interface nodes using mknwgroup SONAS CLI command on SONAS management node.

mknwgroup ndmp_nw_group int001st001,int002st001,int003st001

Validate the network group using the lsnwgroup SONAS CLI command on SONAS management node.

# SONAS CLI command Is used to

1 cfgndmp Configure NDMP

2 cfgndmpprefetch Configuring NDMP backup prefetch

3 lsndmp List NDMP configuration

4 lsndmplog List the actual contents of the NDMP log on the given interface node

5 lsndmpsession List NDMP session information

6 rmndmpcfg Remove NDMP configuration information for a specified NDMP node group

7 stopndmpsession Stop NDMP session

8 lsndmpprefetch List NDMP prefetch configuration

Page 9: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 7

Note: If you want to add an interface node to an existing network group, use the chnwgroup command. For example, you could add an interface node named int005st001 to the network group ndmp_group as follows:

chnwgroup ndmp_nw_group --add int005st001

• Create a network with configurable IP addresses using the mknw SONAS CLI command on SONAS management node.

mknw 17.0.0.0/24 0.0.0.0/0:17.0.0.1 --add 17.0.0.100,17.0.0.101, 17.0.0.102, 17.0.0.103

Note: Visit the URL: http://oav.net/mirrors/cidr.html to figure out the Classless Inter-Domain Routing (CIDR). In this case, the team used 23. mknw 17.0.0.0/24…

Validate the newly created network using the lsnw SONAS CLI command on SONAS management node.

• Attach the newly created network group, ndmp_nw_group, to the newly created network using the attachnw SONAS CLI command on SONAS management node.

attachnw 17.0.0.0/24 ethX0 -g ndmp_nw_group

Page 10: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 8

SONAS NDMP node group configuration This section provides appropriate guidelines to create and configure the SONAS NDMP node group.

• A SONAS NDMP configuration can be defined only for an NDMP node group. • A SONAS NDMP node group must be created before any other specific SONAS NDMP node

group configuration parameters can be set. • A SONAS NDMP node group is created, configured, and activated appropriately, before an NDMP

backup or restore can be configured on the Symantec NetBackup DMA (Data Management Application) server.

Note: The SONAS NDMP configuration parameters of a single interface node cannot be changed individually.

• Create an NDMP node group using the “--create” option of the “cfgndmp” command on SONAS management node.

cfgndmp -c st001.vsofs1.com ndmp_node_grp1 --create

• Attach the newly configured network group, ndmp_nw_group, refer to “SONAS NDMP network group configuration”, to the newly created SONAS NDMP node group using the cfgndmp SONAS CLI command with the --networkGroup option on the SONAS management node.

cfgndmp -c st001.vsofs1.com ndmp_node_grp1 --networkGroup ndmp_nw_group

• Set the data port range of the NDMP node group using the --dataTransferPortRange option of the cfgndmp command on SONAS management node.

cfgndmp -c st001.vsofs1.com ndmp_node_grp1 --dataTransferPortRange 2048-2098

• Add file system mount point paths to the NDMP node group configuration using the -addPaths option of the cfgndmp command on the SONAS management node.

cfgndmp -c st001.vsofs1.com ndmp_node_grp1 --addPaths /ibm/isvtsm,/ibm/isvvm,/ibm/isvora,/ibm/isv64

• A default NDMP backup prefetch configuration is assigned to a newly created NDMP node group, with the function deactivated. Optionally, use the cfgndmpprefetch CLI command to change the NDMP backup prefetch configuration and activate the function for improved NDMP backup performance. Refer to the “Configuring SONAS NDMP backup prefetch” section for more information.

• Activate the NDMP node group with the –-activate option of the cfgndmp CLI command.

cfgndmp -c st001.vsofs1.com ndmp_node_grp1 --activate

Note: You can use the lsndmp CLI command with the -ndmpServiceStatus option to verify that NDMP has started on all of the nodes in the NDMP node group, on the SONAS management node.

lsndmp -c st001.vsofs1.com [-s] [--ndmpServiceSatus]

Page 11: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 9

Figure 3: An example of lsndmp –s option result

Configuring SONAS NDMP backup prefetch

The NDMP backup prefetch function navigates the directory that is being backed up, reading files in advance to the files actually coming due to be backed up. The prefetch function opens files in read-only mode and places the files in the interface node's cache for improved backup performance.

NDMP backup prefetch is designed to work on files that are less than or equal to 1 MB in size.

Restriction: SONAS NDMP backup prefetch will not work for a file system that has block size that is greater than 1 MB.

• To activate the NDMP backup prefetch feature, use the cfgndmpprefetch CLI command

with the --activate option. Specify the NDMP node group to enable NDMO prefetch feature with SONAS NDMP node group, as in the following example on the SONAS management node.

cfgndmpprefetch -c st001.vsofs1.com ndmp_node_grp1 --activate Note: If NDMP is not active on the specified NDMP node group, a message is displayed indicating that prefetch for NDMP will be activated when NDMP is activated.

• To set a limit for the number of applications that can simultaneously use SONAS NDMP

backup prefetch for a node, (including multiple instances of the same program such as multiple SONAS NDMP sessions) use the cfgndmpprefetch CLI command with the -applimit option, as in the following example on the SONAS management node.

cfgndmpprefetch –c st001.vsofs1.com ndmp_node_grp1 --applimit 4

Note: If NDMP is not active on the specified NDMP node group, a message is displayed indicating that the configuration for Prefetch for NDMP has been updated.

• To set a limit for the number of prefetching threads per interface node, use the

cfgndmpprefetch CLI command with the -numThreads option, as in the following example on the SONAS management node.

cfgndmpprefetch –c st001.vsofs1.com ndmp_node_grp1 --numThreads 100

Note: The value for the --numThreads option must be a positive integer greater than 50 and less than or equal to 180. The default value is 100.

• To display NDMP backup prefetch status information, use the lsndmpprefetch CLI

command using the -s or --status option, and optionally adding the -g option to limit display to the specified NDMP node group, as in the following example on the SONAS management node

lsndmpprefetch –c st001.vsofs1.com –g ndmp_node_grp1 -s

Page 12: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 10

Concurrent SONAS NDMP backup and restore usage with other SONAS functions

The information in Table 2 helps you identify which SONAS features and functions may be currently used on the same SONAS system and on the same set of SONAS interface nodes.

Anti-virus scanning

Asynchronous replication

HSM processing

NDMP backup and

restore

IBM Tivoli Storage Manager

backup and restore

Anti-virus scanning

N/A Same system: Yes Same interface nodes: Yes

Same system: Yes Same interface nodes: Yes Refer Note 3

Same system: Yes Same interface nodes: Yes

Same system: Yes Same interface nodes: Yes

Asynchronous replication

Same system: Yes Same Interface Nodes: Yes

N/A Same system: Yes Same interface nodes: Yes Refer Note 2

Same system: Yes Same interface nodes: Yes

Same system: Yes Same interface nodes: Yes

HSM processing

Same system: Yes Same interface nodes: Yes Refer Note 3

Same system: Yes Same interface Nodes: Yes Refer Note 2

N/A Same system: Yes Same interface nodes: Yes

Same system: Yes Same interface nodes: Yes

NDMP backup and restore

Same system: Yes Same interface nodes: Yes

Same system: Yes Same interface nodes: Yes

Same system: Yes Same interface nodes: Yes

N/A Same system: No Same interface nodes: No Refer Note 1

Tivoli Storage Manager

backup and restore

Same system: Yes Same interface nodes: Yes

Same system: Yes Same interface nodes: Yes

Same system: Yes Same interface nodes: Yes

Same system: No Same interface nodes: No Refer Note 1

N/A

Table 2: Concurrent SONAS NDMP backup and restore usage with other SONAS functions

Notes:

1. IBM Tivoli® Storage Manager backup / restore and NDMP backup / restore provide the same basic functionality of backing up or restoring file systems and the directories and files within the file systems. It is not recommended and not supported to have both Tivoli Storage Manager backup restore processing and NDMP backup restore processing being used on the same SONAS system.

Page 13: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 11

2. NDMP backup are normally scheduled operations, which can be scheduled at a time when other

activity, such as general purpose file serving, is low. If possible, it is recommend performing NDMP backup during periods when other file serving activity is generally lower, perhaps late in the evening or early in the mornings.

3. In case, the NDMP backup or restore processing significantly interferes with other SONAS functions, such as network file serving (CIFS, NFS, FTP, HTTP) then please consider increasing the processing power and memory configuration of the SONAS interface nodes or should consider isolating NDMP processing to dedicated SONAS interface nodes. Many SONAS functions invoke the GPFS policy engine to evaluate a GPFS policy to determine the list of files to operate on. These include:

• Tivoli Storage Manager backup processing • Tivoli Storage Manager hierarchical storage management (HSM) processing • NDMP incremental backup processing • Asynchronous replication processing • The runpolicy CLI command and others

The GPFS policy engine scans the file system metadata to determine which files match the criteria specified in the policy. This scan of the file system metadata can generate a significant amount of I/O to the storage systems to read all the file system metadata, especially for file systems containing very large number of files, such as 10s or 100s of millions of files. Therefore, it is recommended that all of these functions not be started at exactly the same time, but instead these SONAS functions be staggered over time.

You need to take care of the following considerations for Symantec NetBackup 7.0.1 DMA SONAS NDMP backup • Obtain either the IP address or host name for the interface node to be used for this NDMP

session. − Host Name: Configure a DNS server with a common hostname mapped to all of the IP

addresses that are associated with the network group that is associated with the NDMP node group. If this hostname is used, any of the interface nodes that are associated with the NDMP node group can be assigned based on a round robin IP address assignment from the DNS server.

− IP address: Submit the lsnwinterface CLI command using the -x option on the management node of the SONAS system and choose an IP address, or multiple IP addresses if multiple backup policies are to be run simultaneously. This method is useful if multiple NDMP backup policies are used and you want to distribute the NDMP workload across multiple interface nodes and ensure that the same interface node will not be used for all of the backup policies that will be run from the DMA server.

• Configure the Symantec NetBackup 7.0.1 DMA server with the configuration parameters of the NDMP server for the interface nodes that are available to perform NDMP services, including the username and password associated with the NDMP node group. If a port other than 10000 was

Page 14: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 12

selected for the NDMP control port, then that control port's information need to be configured on the DMA server.

Monitoring NDMP session on SONAS system

Note: Read this information after configuring Symantec NetBackup NDMP configuration and staging appropriate SONAS NDMP backup or restore. Refer to the “Symantec NetBackup NDMP configuration” section for more information

• The lsndmpsession CLI command enables to monitor NDMP session on SONAS system. Use -n or -nodes option to view NDMP sessions running on specified interface nodes or with the -g or --nodeGroupName option to view NDMP sessions running on specified NDMP node groups.

Only interface nodes can be specified when using the -n or --nodes option. Multiple nodes and multiple node groups in a list must be separated with commas. If no nodes or node groups are specified, the output displays information for all of the interface nodes in the cluster. To determine which interface nodes are running NDMP sessions for an NDMP node group, submit the following command that shows which interface nodes have NDMP sessions running and which sessions are running on the nodes:

lsndmpsession –c st001.vsofs1.com -n int005st001

Or

lsndmpsession –c st001.vsofs1.com –g ndmp_node_grp1

Figure 4: An example of lsndmpsession CLI command usage

• Use the SONAS CLI lsndmpsession command with the -i or --sessionID option to view the verbose information of the NDMP session identified by the specified session id (sid) running on the specified interface node. In the following example, the sid 1284990 is specified. Use the SONAS CLI lsndmpsession command with the -i or --sessionID option to view the verbose information of the NDMP session identified by the specified session id (sid) running on the specified interface node.

lsndmpsession –c st001.vsofs1.com -n int005st001 -i 1284990

Figure 5: An example of lsndmpsession CLI command usage with -i option

Page 15: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 13

Monitoring NDMP log information on SONAS system

You can view SONAS NDMP log using the lsndmplog CLI command.

• Use the SONAS CLI lsndmplog command with the -n or --nodes option to view all of the NDMP log information related to the specified interface node. In the following example, the node int005st001 is specified:

lsndmplog -c st001.vsofs1.com -n int005st001

• Use the SONAS CLI lsndmplog command with the -l or --lines option to view the most

recent lines of the NDMP log information related to the specified interface node. In the following example, the node int005st001 and 25 lines are specified: lsndmplog -c st001.vsofs1.com -n int005st001 -l 25

• Use the SONAS CLI lsndmplog command with the -o or --outputLogFilePath option to

save the log file as a temporary file, as in the following example: lsndmplog -c st001.vsofs1.com -n int001st001 -o /ibm/gpfs0/ndmplog.out

Page 16: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 14

Symantec NetBackup NDMP configuration The Symantec NetBackup enables to use the NDMP to initiate and control backups and restores of NAS systems.

SONAS NDMP configuration on Symantec NetBackup This section describes SONAS NDMP configuration with Symantec NetBackup in detail.

SONAS two-way NDMP authentication and detection of tape devices Perform the following steps for SONAS two-way NDMP authentication and detection of tape devices. 1. Launch Symantec NetBackup Administration Console. 2. In the NetBackup Administration Console window, click Configure Storage Devices to configure

the storage device.

Figure 6: Symantec NetBackup Administration Console

Page 17: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 15

3. The Device Configuration Wizard appears. Click Next to continue.

Figure 7: Device Configuration Wizard

4. Select the NetBackup server host and click Change to continue.

Page 18: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 16

Figure 8: Specifying the host

5. Select NDMP host and click OK.

Figure 9: Selecting NDMP host

Page 19: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 17

6. Click Next to continue.

Figure 10: Proceeding with device detection

Page 20: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 18

7. Click New… and provide appropriate SONAS NDMP interface IP address, and click OK to

continue.

Figure 11: Adding an NDMP host

Page 21: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 19

8. Select the Use the following credentials for this NDMP host on all media servers (Not valid

for back-level servers) option, enter the username and password of the storage system, and click OK to continue.

Note: By default, the SONAS NDMP user name is ndmp and the password is ndmp.

Figure 12: Specifying the credentials

Page 22: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 20

9. Select the newly added SONAS NDMP host and click Next to continue.

Figure 13: Selecting the newly-added NDMP host

Page 23: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 21

10. Symantec NetBackup scans the Symantec NetBackup host and the tape drives that are

connected on the NetBackup host. Click Next to continue.

Figure 34: Symantec NetBackup scanning the host and tape drives

Page 24: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 22

11. Click Next to continue.

Figure 15: Symantec NetBackup San Client configuration

Page 25: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 23

12. Validate the appropriate tape library connected to the Symantec NetBackup host, and then click

Next to continue.

Note: Click Properties to validate the appropriate serial number of the connected tape library.

Figure 4: Reviewing the devices that NetBackup has found

Figure 57: Validating the properties

Page 26: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 24

13. After the scanning process, Symantec NetBackup would detect all available tape devices

connected to the host. Select the appropriate tape library and click Next to continue.

Note: To change tape device mapping, drag and drop the tape devices between robots (only if you are sure about tape library element ID and device ID). However, it is not recommended to change default configuration.

Figure 68: Verifying drive configuration

14. Click Yes to commit the new device configuration.

Figure 79: Committing the new device configuration

Page 27: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 25

15. Symantec NetBackup updates new device configuration changes and restart the device-related

services. Click Next to continue.

Figure 20: Updating device configuration

Page 28: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 26

16. Click Next to continue.

Note: Click properties… to validate tape device configuration.

Figure 28: Storage unit (tape device) configuration

Page 29: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 27

Figure 22: Validating the tape device configuration

Page 30: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 28

17. After successful completion of the steps, click Finish.

Figure 23: Message displaying successful completion of the NetBackup device configuration

18. Validate the configured tape library and tape drives in Symantec NetBackup Administrator console under the Media and Device Management -> Devices-> Robots section.

Figure 24: NetBackup Administration Console

Page 31: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 29

19. Validate the NDMP host information on Symantec NetBackup Administration console under Media

and Device Management -> Credentials -> NDMP Hosts section.

Figure 25: Symantec NetBackup Administration Console

SONAS three-way NDMP tape server authentication and tape configuration Perform the following steps for SONAS three-way NDMP tape server authentication and tape configuration.

1. Launch Symantec NetBackup Administration Console. 2. Click Configure Storage Devices in the console window.

Figure 26: NetBackup Administration Console with the option to configure storage devices

Page 32: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 30

3. The Device Configuration Wizard appears. Click Next to continue.

Figure 27: Device configuration wizard

Page 33: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 31

4. Select the NetBackup server host and click Change to continue.

Figure 28: Device configuration wizard with the options to specify hosts

5. Select NDMP host and click OK.

Figure 29: Change Device Host dialog box

Page 34: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 32

6. Click New… and provide an appropriate SONAS NDMP interface node and NDMP tape server IP

address. Then, click OK to Continue.

Figure 30: Device configuration wizard with the option to add NDMP host

Page 35: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 33

7. Select the Use the following credentials for this NDMP host on all media servers (Not valid

for back-level servers) option, enter the username and password of the storage system, and click OK to continue.

Note: By default, the SONAS NDMP user name is ndmp and the password is ndmp.

Figure 31: Change NDMP Host dialog box

Page 36: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 34

8. Select the NDMP tape server IPaddress and click Next to continue.

Figure 32: Selecting the NDMP host

Page 37: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 35

9. Symantec NetBackup scans the NDMP tape server and the tape drives that are connected to the

NDMP tape server. Click Next to continue.

Figure 33: Scanning the hosts

Page 38: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 36

10. Click Next to continue.

Figure 34: The SAN Clients page

Page 39: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 37

11. Validate the appropriate tape library connected to the NDMP tape Server. Click Next to continue.

Note: Click Properties to validate the appropriate serial number of the connected tape library.

Figure 35: Validating the tape library

Figure 36: Reviewing the properties in the Device Properties dialog box

Page 40: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 38

12. After the scanning process is complete, Symantec NetBackup would detect all available tape

devices connected to the NDMP tape server. Select the appropriate tape library and click Next to continue.

Note: To change tape device mapping, drag and drop the tape devices between robots (only if you are sure about tape library element ID and device ID). However, it is not recommended to change the default configuration.

Figure 37: A listing of the tape devices connected to the NDMP tape server

13. Click Yes to commit the new device configuration.

Figure 38: Committing the new device configuration

Page 41: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 39

14. Symantec NetBackup will update new device configuration changes and restart the device-related services. Click Next to continue.

Figure 39: Updating the new device configuration changes

Page 42: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 40

15. Click Next to continue.

Note: Select properties… to validate tape device configuration.

Figure 40: Device Configuration Wizard with the Properties option

Page 43: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 41

Figure 41: Validating the tape device configuration

Page 44: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 42

16. After successful completion of the steps, click Finish.

Figure 42: Message indicating successful completion of the NetBackup Device Configuration Wizard

17. Validate the configured tape library and tape drives in Symantec NetBackup Administration Console under the Media and Device Management Devices Robots section.

Figure 43: Symantec NetBackup Administration Console

Page 45: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 43

18. Validate the configured Tape Server in Symantec NetBackup Administration Console under Media

and Device Management Credentials NDMP hosts.

Figure 44: Symantec NetBackup Administration Console

Symantec NetBackup inventory of tape library This section provides the steps involved in inventorying the tape library on NetBackup Administration console.

1. On the Symantec NetBackup Administration Console window, right-click Robots and click the Inventory Robot.

Figure 45: Opening the Robot inventory

Page 46: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 44

2. From the Robot drop-down list, select the tape library that is appropriate to the device host, select

the Update volume configuration option, and then click Start.

Figure 46: Selecting the device host and the inventory operation

Page 47: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 45

3. Click Yes to confirm the updation of volume configuration.

Figure 47: Confirming to update volume configuration

4. The Robot Inventory will provide information about the configured tape library volume information. Repeat the steps for tape library configuration of NDMP tape server for three-way NDMP configuration.

Page 48: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 46

5. In the NetBackup Administration Console window, click Device monitor to validate the configured

tape library volumes.

Figure 48: Validating the configured tape library volumes

Page 49: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 47

Creating a Symantec NetBackup NDMP policy Perform the following steps to create an NDMP policy on NetBackup Administration Console.

1. In the NetBackup Administration Console window, right-click Summary of all Policies and click New policy to create a new SONAS NDMP policy.

Figure 49: Creating a new SONAS NDMP policy

Page 50: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 48

2. Enter a new SONAS NDMP policy name, select the Use Backup Policy Configuration Wizard

check box, and click OK to continue.

Figure 50: Specifying a name for the new policy

3. In the Backup Policy Configuration Wizard that is displayed, click Next to continue.

Figure 51: Backup Policy Configuration Wizard

Page 51: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 49

4. Select NDMP as the policy type and click Next to continue.

Figure 52: Specifying the policy type

Page 52: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 50

5. Click Add and then provide appropriate SONAS NDMP configured interface node IP address (as

source SONAS NDMP client to backup) and press Enter, and then click Next to continue.

Figure 53: Specifying clients

6. Select the NDMP, NDMP option for client hardware and operating system. Then, click OK to continue.

Figure 54: Selecting the client hardware and operating system

Page 53: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 51

7. Click Next to continue.

Figure 55: The Client List page

8. Add an appropriate file system path that needs to be backed up and click Next to continue.

Page 54: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 52

Figure 56: Adding the file system path to be backed up

9. Select Full Backup as the backup type and click Next to continue.

Note: This wizard page is self-explanatory. There are two types of incremental backup in Symantec NetBackup.

• Differential: The differential backup will backup files that change since last full backup or incremental backup

• Cumulative: The cumulative backup will backup the files changed since last full backup.

Page 55: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 53

Figure 57: Specifying the backup type

Page 56: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 54

10. Provide appropriate SONAS NDMP backup retention period parameters and click Next to

continue.

Figure 58: Specifying the SONAS NDMP backup retention period

Page 57: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 55

11. Schedule the SONAS NDMP backup as per the requirement and click Next to continue.

Figure 59: Scheduling the SONAS NDMP backup

12. Click Finish to complete the SONAS NDMP policy creation.

Page 58: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 56

Figure 60: Saving the NetBackup policy

SONAS NDMP backup essentials

This section illustrates SONAS NDMP essential backup details and how to configure the SONAS NDMP differential and incremental backup with Symantec NetBackup

SONAS NDMP backup environment Variables

There are specific SONAS NDMP environment variables, which are treated as parameters and can be passed to the NDMP server from data management applications performing NDMP backups. The following two parameters can be configured through data management applications are:

• BACKUP_GROUP_NAME: This is the name of a backup group where all the backup directories within the backup group share the same SONAS snapshot.

− NOTE 1: The way to set this environment variable is to have a line similar to the following

in the backup policy: SET BACKUP_GROUP_NAME=NDMP_EXISTING_snap1

− NOTE 2: If the BACKUP_GROUP_NAME begins with NDMP_EXISTING then it is

assumed that the SONAS system configured to use a snapshot, which has a name corresponding to this environment variable value. In this special case, it is also assumed that the user will delete the corresponding snapshot manually.

− NOTE 3: The maximum length of the backup group name is 32 characters (inclusive of a

possible NDMP_EXISTING).

• BACKUP_GROUP_EXPIRATION: This parameter helps to configure the amount of valid time that the snapshot is associated with BACKUP_GROUP_NAME. After the age of the snapshot has surpassed the expiration value, a new snapshot will be taken and all new NDMP backup

Page 59: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 57

sessions associated with BACKUP_GROUP_NAME will use the new snapshot. This SONAS NDMP parameter is very important to effectively schedule incremental or differential backup which has less than 1 hour incremental and differential backup expiration schedule time.

− NOTE 1: The way to set this environment variables is to have a line similar to the following

line in the backup policy: SET BACKUP_GROUP_EXPIRATION = 1_DAY

− NOTE 2: The following values are acceptable for this environment variable:

• 0_SEC … 60_SEC • 0_MIN … 60_MIN • 0_HOUR … 168_HOUR • 0_ DAY … 31_DAY • 0_MONTH … 12_MONTH

− NOTE 3: If no value is given for the expiration, the default will be 1 hour. − NOTE 4: If the user wants to ensure that a separate snapshot is taken for every directory,

then an expiration value of 0_SEC should be specified.

Page 60: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 58

SONAS NDMP backup (full) Perform the following steps for a manual full SONAS NDMP backup

1. In the NetBackup Administration Console window, right-click a newly-created SONAS NDMP backup policy and click Change.

Figure 61: Changing the backup policy setting

Page 61: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 59

2. Select the appropriate storage unit for SONAS NDMP backup and click OK to continue.

Figure 62: Specifying the storage unit for the backup

Page 62: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 60

3. Click the Backup Selections tab and click New to update SONAS NDMP backup policy (full) with

appropriate SONAS NDMP environment variables. Click OK to continue.

Figure 63: Updating SONAS NDMP backup policy with SONAS NDMP environment variables

Page 63: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 61

4. Right-click the newly-created SONAS NDMP policy and click Manual Backup to run the SONAS

NDMP backup.

Figure 64: Running SONAS NDMP backup

5. Select the schedule type and click OK to continue.

Figure 65: Specifying the schedule type

Page 64: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 62

6. In the NetBackup Administration Console notification message, click OK to continue.

Figure 66: Notification message for the manual backup

7. In the NetBackup Administration Console window, click Activity Monitor and view the backup progress.

Figure 67: Viewing the backup progress

Page 65: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 63

8. Right-click the NDMP backup job to validate the backup information.

Figure 68: Validating the backup information

Page 66: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 64

SONAS NDMP backup (incremental)

Perform the following steps for an incremental SONAS NDMP backup manually on the Symantec NetBackup Administration console.

1. In the Symantec NetBackup Administration Console window, right-click the newly-created SONAS

NDMP backup policy and click Copy to New Policy.

Figure 69: Select Copy to New Policy option

2. Provide an appropriate name for the new policy and click OK to continue.

Figure 70: Providing a new policy name

Page 67: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 65

3. Validate the new policy attributes.

Figure 71: Validating the new policy attributes

Page 68: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 66

4. On the Schedules tab, click New.

Figure 72: Creating a schedule for the policy

Page 69: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 67

5. Provide a name for the schedule and from the Type of backup drop-down list, select Differential

Incremental Backup and click OK to continue.

Figure 73: Setting the attributes for the schedule

6. Delete the previous full backup schedule.

Page 70: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 68

Figure 74: Deleting the previous fall backup schedule

7. On the Backup Selections tab, and click New to update SONAS NDMP backup policy (incremental) with appropriate SONAS NDMP environment variables. Click OK to continue.

Page 71: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 69

Figure 75: Updating SONAS NDMP backup policy with appropriate SONAS NDMP environment variables

Page 72: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 70

8. New NDMP incremental backup is appropriately copied and created. 9. Right-click the newly copied SONAS NDMP policy and click Manual Backup to run the SONAS

NDMP backup.

Figure 76: Running SONAS NDMP backup

10. Select the schedule type and click OK to continue.

Page 73: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 71

Figure 77: Specifying the schedule type

Page 74: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 72

11. On the NetBackup Administration Console notification message, click OK to continue.

Figure 78: A notification message indicating the startup of manual backup for the policy

12. On the NetBackup Administration Console window, click Activity Monitor and view the backup progress.

Page 75: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 73

Symantec NetBackup NDMP restore

Using Symantec NetBackup Direct Access Recovery (DAR) for NDMP restores

By default, Symantec NetBackup for NDMP is configured to use DAR when restoring files or directories. DAR is used somewhat differently for file restore than for directory restore, as follows:

• For each restore of files (not of directories), Symantec NetBackup automatically determines if the use of DAR speeds up the restore. Symantec NetBackup uses DAR only when it results in a faster restore.

• For restore of directories, by default DAR is always used when restoring a subdirectory

but never used when restoring the directory containing an entire image. For example, if /vol/vol0 contains the entire image, and /vol/vol0/dir1 is a subdirectory, DAR is used by default when restoring /vol/vol0/dir1. But it is not used when restoring /vol/vol0. For restore of subdirectories, Symantec NetBackup does not attempt to gauge the effectiveness of using DAR. Unless DAR is manually disabled, Symantec NetBackup always uses DAR when restoring subdirectories.

SONAS NDMP restore using Symantec NetBackup restore

This section provides the steps involved in SONAS NDMP restore on Symantec NetBackup Backup, Archive, and Restore NetBackup client.

1. Launch the Symantec Symantec NetBackup Backup, Archive, and Restore NetBackup client.

Note: On Microsoft® Windows®, click Start All Programs Symantec NetBackup Backup, Archive, Restore.

On Linux®, click Backup, Archive, Restore node.

Page 76: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 74

Figure 79: Symantec NetBackup window

Page 77: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 75

2. Click File Specify NetBackup machines and Policy Type.

Figure 80: Opening the Specify NetBackup Machines and Policy Type dialog box

3. Select the appropriate source and destination client to restore. However, in case you are not able to select the appropriate source and destination client from the drop-down lists, click Edit client List to continue.

Figure 81: Specifying the source and destination client

Page 78: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 76

4. Provide the appropriate IP Address of SONAS NDMP configured interface node and click Add

Name(s).

Figure 82: Adding the IP address of the SONAS NDMP configured interface node

Page 79: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 77

5. Click OK to continue.

Figure 83: Edit Client List dialog box displaying the client list

6. After selecting the source client and the destination client, select NDMP as the restore policy type click OK to continue.

Figure 84: Specifying the NetBackup machines and the policy type

Page 80: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 78

7. From the Select for Restore drop-down list, select Restore from Normal Backup.

Figure 85: Options in the Select for Restore drop-down list

Page 81: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 79

8. Select appropriate SONAS file system to be restored.

Figure 86: Selecting the SONAS file system to be restored

9. Click Actions Preview Media.

Page 82: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 80

Figure 87: Selecting the Preview Media option

10. The Media Required dialog displays the media that are required for SONAS NDMP restore. Click Close.

Page 83: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 81

Figure 88: List of media that are required for SONAS NDMP restore

Page 84: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 82

11. Click Actions Restore.

Figure 89: Enabling Symantec NetBackup Restore.

Page 85: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 83

12. Restore data to the preferred location.

• To restore data to original location, select Restore everything to its original location and click Start Restore to initiate restore.

Figure 90: Restoring data to original location

Page 86: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 84

• To restore data to a different location, select Restore everything to a different location

(maintaining existing structure) and click Start Restore to initiate restore.

Figure 91: Restoring data to a different location

Page 87: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 85

• To restore individual files, select Restore individual folders and files to different

locations (double-click to modify) and click Start Restore to initiate the restore.

Figure 92: Restoring individual files and folders to a different location

Page 88: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 86

13. Click Yes to view the progress of the restore job. The job status can also be viewed from the Job

screen, similar to backup jobs details.

Figure 93: NetBackup message indicating that the restore was successfully initiated

The NDMP restore progress status is displayed in the View Status window.

Figure 94: Viewing the restore progress status

Page 89: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 87

The View Status window shows the successful NDMP restore and validates the SONAS file system for a successful NDMP restore.

Figure 95: The View Status window indicating successful NDMP restore

Page 90: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 88

Summary SONAS is designed to address the new storage challenges posed by the continuing explosion of data. Leveraging mature technology from IBM high performance computing experience and based upon IBM GPFS, SONAS is an easy-to-install, turnkey, modular, scale out NAS solution that provides performance, clustered scalability, high availability and functionality that are essential to meet strategic Petabyte Age and cloud-storage requirements.

The high-density, high-performance SONAS can help organizations consolidate and manage data affordably, reduce crowded floor space, and reduce management expense associated with administering an excessive number of disparate storage systems. With its advanced architecture, SONAS virtualizes and consolidates multiple filers into a single, enterprise-wide file system, which can translate into reduced total cost of ownership, reduced capital expenditure and enhanced operational efficiency.

The SONAS has incorporated the NDMP technology and support the NDMP protocol version 4. Leveraging Symantec NetBackup NDMP backup support, the SONAS data files can seamlessly backup to the tape devices and perform restore from the tape device.

This technical content is intended to be a reference guide for users who want to use Symantec NetBackup for backing up files using NDMP protocol that are created on SONAS. It is not meant to be an implementation or solution guide. For details on actual implementation or solution design, see the documentation provided in the “Resources” section of this technical paper.

Page 91: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 89

Appendix A: Glossary

• IBM Scale Out Network Attached Storage (SONAS) - Build on IBM’s high-performance computing experience, and based upon IBM General Parallel File System (GPFS), scale out network-attached storage (NAS) solution that provides the performance, clustered scalability, high availability, and functionality that are essential to meet strategic Petabyte Age and cloud-storage requirements.

• Network Data Management Protocol (NDMP) - An industry standard protocol created to

ease the process of integrating backup and restore for NAS with data protection software such as NetBackup. The NDMP is the data transfer protocol and one piece of the overall data protection solution. For more information about the NDMP protocol and the NDMP standards group visit http://www.ndmp.org/info/faq.shtml.

• Two-way (or remote) SONAS NDMP - NDMP configuration supported by SONAS. The

two-way NDMP consists of an external data management application, such as Symantec NetBackup, running on a server external to the SONAS system. The data management application has some form of storage hierarchy such as a tape library that it manages for the storage of backup data.

• Three-way SONAS NDMP - NDMP configuration supported by SONAS. NDMP

configuration supported by SONAS. In a three-way SONAS NDMP configuration, an NDMP tape server is installed on a server external to the SONAS system and separate from the system where Symantec NetBackup data management application is running.

• Symantec NetBackup - NDMP Data Management Application used to backup SONAS

data, using SONAS NDMP technology. • Direct access recovery (DAR) - Symantec NetBackup uses DAR to restore a directory or

individual files from a backup image. DAR can greatly reduce the time it takes to restore files and directories. DAR is enabled by default (no configuration is required).

Page 92: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 90

Appendix B: Materials used in the lab setup Infrastructure component Vendor Quantity Details

DMA server IBM 1 IBM x3650 M3

Storage IBM IBM SONAS

Management node – 1

Interface nodes – 5

Storage nodes – 2

Nearline SAS and SAS drives

Network adapter (interface nodes)

Broadcom 2 Broadcom NetXtreme II BCM 5709 1000Base-T

Network adapter (DMA server)

Broadcom 2 Broadcom NetXtreme II BCM 5709 1000Base-T

Switch (DMA server back-end SAN)

IBM 1 IBM Switch Model 2498-B24

For more information, refer to IBM System Storage SAN24B-4 Express Switch at ibm.com/systems/storage/san/b-type/san24b-4/express/specifications.html

HBA QLogic 2 QLogic QLA 2432

Tape Library IBM 2 IBM TS3200 Tape Library Express Model

For more information, visit ibm.com/systems/storage/tape/ts3200/index.html

Software

IBM SONAS 1.2.0.0

IBM SONAS NDMP version 4

Symantec Symantec NetBackup 7.0.1

Page 93: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 91

Appendix C: Resources These websites provide useful references to supplement the information contained in this paper:

• IBM Systems on PartnerWorld ibm.com/partnerworld/systems

• IBM Redbooks®

ibm.com/redbooks • IBM Publications Center

www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi?CTY=US

• IBM SONAS on IBM PartnerWorld® ibm.com/partnerworld/systems/sonas

IBM SONAS documentation

• IBM Scale Out Network Attached Storage Concepts ibm.com/redbooks/redpieces/abstracts/sg247874.html?Open

• IBM SONAS Introduction and Planning Guide (GA32-0716): http://publib.boulder.ibm.com/infocenter/sonasic/sonas1ic/topic/com.ibm.sonas.doc/sonas_ipg.pdf

• IBM SONAS administration and user documentation: http://publib.boulder.ibm.com/infocenter/sonasic/sonas1ic/index.jsp

• IBM Scale Out Network Attached Storage Administrator's Guide (GA32-0713): http://publib.boulder.ibm.com/infocenter/sonasic/sonas1ic/topic/com.ibm.sonas.doc/sonas_admin_guide.pdf

• IBM SONAS User's Guide (GA32-0714):

http://publib.boulder.ibm.com/infocenter/sonasic/sonas1ic/topic/com.ibm.sonas.doc/sonas_user_guide.pdf

• IBM SONAS Configuration Guide (GA32-0718):

http://publib.boulder.ibm.com/infocenter/sonasic/sonas1ic/topic/com.ibm.sonas.doc/configuration_guide.pdf

• IBM SONAS Troubleshooting Guide (GA32-0717): http://publib.boulder.ibm.com/infocenter/sonasic/sonas1ic/topic/com.ibm.sonas.doc/sonas_pd_guide.pdf

Page 94: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 92

Symantec NetBackup 7.0.1 documentation

• Symantec NetBackup Administrator’s Guide for Windows: http://www.symantec.com/business/support/resources/sites/BUSINESS/content/live/TECHNICAL_SOLUTION/135000/TECH135525/en_US/357098.pdf

• Symantec NetBackup Administrator's Guide for UNIX and Linux: http://www.symantec.com/business/support/resources/sites/BUSINESS/content/live/TECHNICAL_SOLUTION/135000/TECH135524/en_US/357099.pdf

Page 95: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 93

About the author Udayasuryan Kodoly is a Storage Technology Specialist in IBM Systems and Technology Group (ISV Enablement) Organization. Uday has more than 10 years of experience on designing, architecting, and developing solution best practices on various NAS and SAN appliance data protection (backup) solutions. Uday also has expertise on various virtualization technologies such as (VMware, Hyper-V, KVM (Kernel-based Virtual Machine) and the virtual machine data protection strategies. Presently, Uday is working on enabling various ISV backup, disaster recovery, and virtualization solutions for IBM SONAS.

You can reach Uday at [email protected].

Page 96: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 94

Trademarks and special notices

© Copyright IBM Corporation 2011. All rights Reserved.

References in this document to IBM products or services do not imply that IBM intends to make them available in every country.

IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.

Intel, Intel Inside (logos), MMX, and Pentium are trademarks of Intel Corporation in the United States, other countries, or both.

UNIX is a registered trademark of The Open Group in the United States and other countries.

Linux is a trademark of Linus Torvalds in the United States, other countries, or both.

SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC.

Linear Tape-Open, LTO, the LTO Logo, Ultrium, and the Ultrium logo are trademarks of HP, IBM Corp. and Quantum in the U.S. and other countries.

Other company, product, or service names may be trademarks or service marks of others.

Information is provided "AS IS" without warranty of any kind.

All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.

Information concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources and does not constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers are taken from publicly available information, including vendor announcements and vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, or any other claims related to non-IBM products. Questions on the capability of non-IBM products should be addressed to the supplier of those products.

Page 97: Implementing an NDMP backup solution using Symantec NetBackup

Implementing an NDMP backup solution using Symantec NetBackup on IBM SONAS

© Copyright IBM Corporation, 2011.

P a g e | 95

All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Contact your local IBM office or IBM authorized reseller for the full text of the specific Statement of Direction.

Some information addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment to specific levels of performance, function or delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented here to communicate IBM's current investment and development activities as a good faith effort to help with our customers' future planning.

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here.

Photographs shown are of engineering prototypes. Changes may be incorporated in production models.

Any references in this information to non-IBM websites are provided for convenience only and do not in any manner serve as an endorsement of those websites. The materials at those websites are not part of the materials for this IBM product and use of those websites is at your own risk.