+ All Categories
Home > Documents > EMC NetWorker Module for SAP with Oracle 4.0...

EMC NetWorker Module for SAP with Oracle 4.0...

Date post: 26-Mar-2018
Category:
Upload: vobao
View: 235 times
Download: 3 times
Share this document with a friend
120
EMC Corporation Corporate Headquarters: Hopkinton, MA 01748-9103 1-508-435-1000 www.EMC.com EMC ® NetWorker ® Module for SAP with Oracle Release 4.0 Administration Guide P/N 300-009-525 REV A01
Transcript

EMC CorporationCorporate Headquarters:

Hopkinton, MA 01748-9103

1-508-435-1000www.EMC.com

EMC® NetWorker®

Module for SAP with OracleRelease 4.0

Administration GuideP/N 300-009-525

REV A01

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide2

Copyright © 1998 - 2009 EMC Corporation. All rights reserved.

Published November, 2009

EMC believes the information in this publication is accurate as of its publication date. The information is subject to change without notice.

THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS IS.” EMC CORPORATION MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.

For the most up-to-date regulatory document for your product line, go to the Technical Documentation and Advisories section on EMC Powerlink.

For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com.

All other trademarks used herein are the property of their respective owners.

Contents

Preface

Chapter 1 Introduction Naming conventions .............................................................................................. 12 Complete backup protection................................................................................. 12 NetWorker Module for SAP with Oracle Software features ............................ 13 Internationalization ................................................................................................ 15

Support of Non-English characters................................................................ 15English-only characters.................................................................................... 16

NMSAP and associated software ......................................................................... 16NMSAP software .............................................................................................. 16NetWorker software......................................................................................... 16NetWorker PowerSnap software ................................................................... 16EMC Replication Manager software.............................................................. 17SAP server software ......................................................................................... 17Oracle server software ..................................................................................... 17

NMSAP software components.............................................................................. 17

Chapter 2 Software Configuration Verifying the NMSAP software requirements.................................................... 20 Configuring I18N support..................................................................................... 21

Requirements for I18N support...................................................................... 21Configure I18N support (UNIX only) ........................................................... 21

Choosing either backint or RMAN as the backup and restore utility............. 21Set backint as the backup and restore utility................................................ 22Set RMAN as the backup and restore utility................................................ 22

Configuring a scheduled backup with the wizard ............................................ 23Wizard workflows............................................................................................ 23Wizard limitations............................................................................................ 23Wizard requirements ....................................................................................... 24Configure a scheduled backup with the wizard.......................................... 24

Converting client-side configurations to wizard configurations..................... 25 Configuring a scheduled backup without the wizard ...................................... 26

Configure the NMSAP parameters without the wizard............................. 26Configure the scheduled backup resources without the wizard............... 27

Configuring a manual backup.............................................................................. 29 Configuring a deduplication backup................................................................... 29

Requirements for a deduplication backup.................................................... 29

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 3

Contents

Best practices for a deduplication backup..................................................... 29Configure deduplication for a scheduled backup........................................ 30Configure deduplication for a manual backup ............................................ 31Configure deduplication for Oracle RMAN backup ................................... 32

Configuring a probe-based backup ...................................................................... 32Configure a probe-based backup.................................................................... 33User-defined probes ......................................................................................... 34Example probe-based backup with multiple probes................................... 34

Configuring backup email notifications .............................................................. 35

Chapter 3 Backup Procedures Performing scheduled backups............................................................................. 38

Test a scheduled backup .................................................................................. 38Monitor a scheduled backup........................................................................... 38Cancel a scheduled backup ............................................................................. 39

Performing a manual backup................................................................................ 39Requirements..................................................................................................... 39Run a manual backup....................................................................................... 39Back up the NetWorker bootstrap and online indexes ............................... 40Monitor a manual backup................................................................................ 41Cancel a manual backup .................................................................................. 41

Reviewing backup and restore session reports................................................... 41 Verifying the backup information in the NetWorker indexes .......................... 41

Verify backup information in the NetWorker indexes................................ 41 Cloning backups...................................................................................................... 42

The sapclone command syntax and options................................................. 43

Chapter 4 Data Restore and Recovery Restoring and recovering data .............................................................................. 46

Restore and recover .......................................................................................... 46The backup lifecycle ......................................................................................... 46

Performing a restore and recovery ....................................................................... 46Restart a restore for files that failed to be restored ...................................... 48

Chapter 5 Disaster Recovery Requirements for disaster recovery...................................................................... 50

Protect the computing environment .............................................................. 50 Recovering from a disaster .................................................................................... 50

Restore the required Oracle and SAP BRTools files .................................... 50Recover a SAP Oracle database after disaster .............................................. 51

Chapter 6 Cluster and Oracle RAC Configurations Cluster systems........................................................................................................ 54

Configuring a scheduled backup in a cluster ............................................... 54Configuring a manual backup in a cluster .................................................... 55Configuring a deduplication backup in a cluster......................................... 55Converting client-side configurations to wizard settings in a cluster....... 55Restoring in a cluster ........................................................................................ 56

Oracle RAC systems ............................................................................................... 56Configuring Oracle RAC backups.................................................................. 56Restoring Oracle RAC data ............................................................................. 56

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide4

Contents

Chapter 7 Snapshot Backup with PowerSnap PowerSnap snapshot backups and restores........................................................ 58

Supported environments................................................................................. 58Required software components...................................................................... 58

Types of PowerSnap backup ................................................................................. 59Instant backup................................................................................................... 60Live backup ....................................................................................................... 60

Types of PowerSnap restore .................................................................................. 61Instant restore.................................................................................................... 61Rollback.............................................................................................................. 61Restore from conventional storage ................................................................ 61

Basic PowerSnap backup and restore data flows............................................... 61 Configuring NMSAP snapshot backups and restores....................................... 63

Configure the NetWorker resources for NMSAP snapshot backups ....... 63Configure NMSAP and PowerSnap parameters for snapshot operations 65

Testing NMSAP snapshot backups and restores................................................ 68 Example parameter settings for NMSAP snapshot backup ............................. 69 Reviewing NMSAP snapshot backup records.................................................... 70

Chapter 8 Split-Mirror Backup with Replication Manager Split-mirror backups and restores ........................................................................ 72

Supported environments................................................................................. 72Required software components...................................................................... 72

Basic split-mirror backup and restore data flows .............................................. 72Manual split-mirror backup data flow.......................................................... 73Scheduled split-mirror backup data flow ..................................................... 73Restore of split-mirror backups data flow .................................................... 73

Configuring the production host for split-mirror backups .............................. 74Configure Oracle on the production host ..................................................... 74Configure BRTools on the production host .................................................. 74Configure NMSAP on the production host .................................................. 75

Configuring the mount host for split-mirror backups ...................................... 75Configure Oracle software on the mount host............................................. 75Configure BRTools on the mount host .......................................................... 75Configure NMSAP on the mount host .......................................................... 76

Configuring the RM server for split-mirror backups ........................................ 77 Configuring the NetWorker server for split-mirror backups........................... 77 Configuring a cluster environment for split-mirror backups .......................... 77 Examples of RM scripts for split-mirror backups .............................................. 78

sap_online_split script for RM on UNIX systems........................................ 78erm_brbackup_online_split.sh script for RM on UNIX systems............... 79sap_online_split.cmd script for RM on Microsoft Windows systems ...... 79erm_online_split.cmd script for RM on Microsoft Windows systems ..... 79

Examples of parameters for split-mirror backups ............................................. 79Parameters to set on the production host ..................................................... 79Parameters to set on the mount host ............................................................. 80

Appendix A NMSAP Parameter and Configuration Files NMSAP backint parameters.................................................................................. 82

Configure the NMSAP parameter file ........................................................... 82Supported backint parameters ....................................................................... 82

NMSAP nsrsapsv parameters ............................................................................... 88Configure the NMSAP configuration file ..................................................... 88

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 5

Contents

Supported nsrsapsv parameters ..................................................................... 89 NMSAP parameters for RMAN backups and restores...................................... 92

Configure the RMAN parameters .................................................................. 92Supported NMSAP RMAN parameters ........................................................ 92

Appendix B Examples of SAP Command Options Examples of brbackup and brarchive command syntax and options ............. 98 Examples of brrestore command syntax and options........................................ 99 Examples of brrecover command syntax and options....................................... 99

Appendix C Troubleshooting Verifying the release information........................................................................ 102 Generating diagnostic logs .................................................................................. 102 Backup and restore problems .............................................................................. 102 NMSAP Error messages ....................................................................................... 103

Glossary

Index

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide6

Preface

As part of an effort to improve and enhance the performance and capabilities of its product lines, EMC periodically releases revisions of its hardware and software. Therefore, some functions described in this document may not be supported by all versions of the software or hardware currently in use. For the most up-to-date information about product features, refer to your product release notes.

If a product does not function properly or does not function as described in this document, please contact your EMC representative.

Audience This document is part of the EMC NetWorker Module for SAP with Oracle (NMSAP) documentation set, and is intended for use by system administrators during the configuration of the NMSAP software.

Readers of this document are expected to be familiar with the following topics:

◆ SAP terminology and concepts, especially those related to Oracle database backup and recovery

◆ Backup and recovery procedures◆ Disaster recovery procedures

Relateddocumentation

Documentation related to the use of this product can be found at the EMC Powerlink website, Powerlink.EMC.com, including:

◆ The NetWorker Module for SAP with Oracle release 4.0 documentation set:• Administration guide• Installation guide• Release notes• Command reference guide

◆ The NetWorker documentation set:• Administration guide• Installation guide• Release notes• Command reference guide• NetWorker Licensing Process Guide• Disaster recovery guide

◆ Other EMC documentation:• NetWorker PowerSnap Module documentation• Software compatibility guide• UNIX man pages

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 7

Preface

Conventions used inthis document

EMC uses the following conventions for special notices.

Note: A note presents information that is important, but not hazard-related.

CAUTION!A caution contains information essential to avoid data loss or damage to the system or equipment.

IMPORTANT!An important notice contains information essential to software or hardware operation.

Typographical conventionsEMC uses the following type style conventions in this document:

Normal Used in running (nonprocedural) text for:• Names of interface elements (such as names of windows, dialog boxes, buttons,

fields, and menus)• Names of resources, attributes, pools, Boolean expressions, buttons, DQL

statements, keywords, clauses, environment variables, functions, utilities• URLs, pathnames, filenames, directory names, computer names, links, groups,

service keys, file systems, notifications

Bold Used in running (nonprocedural) text for:• Names of commands, daemons, options, programs, processes, services,

applications, utilities, kernels, notifications, system calls, man pages

Used in procedures for:• Names of interface elements (such as names of windows, dialog boxes, buttons,

fields, and menus)• What user specifically selects, clicks, presses, or types

Italic Used in all text (including procedures) for:• Full titles of publications referenced in text• Emphasis (for example a new term)• Variables

Courier Used for:• System output, such as an error message or script • URLs, complete paths, filenames, prompts, and syntax when shown outside of

running text

Courier bold Used for:• Specific user input (such as commands)

Courier italic Used in procedures for:• Variables on command line• User input variables

< > Angle brackets enclose parameter or variable values supplied by the user

[ ] Square brackets enclose optional values

| Vertical bar indicates alternate selections - the bar means “or”

{ } Braces indicate content that you must specify (that is, x or y or z)

... Ellipses indicate nonessential information omitted from the example

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide8

Preface

Where to get help EMC support, product, and licensing information can be obtained as follows.

Product information — For documentation, release notes, software updates, or for information about EMC products, licensing, and service, go to the EMC Powerlink website (registration required) at:

Powerlink.EMC.com

Technical support — For technical support, go to EMC Customer Service on Powerlink. To open a service request through Powerlink, you must have a valid support agreement. Please contact your EMC sales representative for details about obtaining a valid support agreement or to answer any questions about your account.

Your comments Your suggestions will help us continue to improve the accuracy, organization, and overall quality of the user publications. Please send your opinion of this document to:

[email protected]

If you have issues, comments, or questions about specific information or procedures, please include the title and, if available, the part number, the revision (for example, A01), the page numbers, and any other details that will help us locate the subject you are addressing.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 9

Preface

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide10

1

This chapter includes the following sections:

◆ Naming conventions..................................................................................................... 12◆ Complete backup protection ....................................................................................... 12◆ NetWorker Module for SAP with Oracle Software features ................................... 13◆ Internationalization....................................................................................................... 15◆ NMSAP and associated software................................................................................ 16◆ NMSAP software components .................................................................................... 17

Introduction

Introduction 11

Introduction

Naming conventionsTable 1 on page 12 lists some special terms that are are frequently used in this EMC® NetWorker® guide.

The “Glossary” provides a complete list of terms used in this guide.

Complete backup protectionWhen protection of a computer system is complete, it protects not only against the loss of data, but also against catastrophic disaster, such as a system or hardware failure.

For complete protection, a viable backup strategy includes regular backups of:

◆ Data

◆ Transaction (archived) redo logs

◆ NetWorker bootstrap records (media database, resource database, and server index, which reside on the NetWorker server)

These backups are important for the following reasons:

◆ Without data backups, data content cannot be recovered.

◆ Without transaction log backups, a database can be restored only to the time of its last full backup.

◆ Without the bootstrap backup records, it may not be possible to recover essential file and configuration data after a disaster, such as a disk crash or NetWorker server failure.

Table 1 Descriptions of frequently used terms

Term Description

BRTools The SAP backup utilities, specifically the brbackup, brrestore, brarchive, and brrecover programs.

NMC NetWorker Management Console.

NMSAP NetWorker Module for SAP with Oracle software.

DBSID Variable representing the name of the SAP Oracle database instance that you want to back up.

redo log Oracle transaction log file, which records a history of all transactions made to a database. Archived redo logs are backed up and used to recover a database to a specific point in time.

restore and recover This guide follows Oracle terminology, which distinguishes between restoring and recovering a database. • Restore means to retrieve individual datafiles from backup media and store

the files on disk.• Recover means to apply the redo log to make the database consistent.

Note: This usage is unlike NetWorker terminology, which uses recover for all data retrieval activities.

wizard, NMSAP Wizard NetWorker client backup configuration wizard, which incorporates NMSAP features and functionality and is launched from NetWorker Management Console.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide12

Introduction

NetWorker Module for SAP with Oracle Software featuresThe EMC NetWorker Module for SAP with Oracle (NMSAP) software is an add-on module for EMC NetWorker client software that provides a backup and restore interface between SAP BRTools, the NetWorker server, and the NetWorker Management Console (NMC).

The NMSAP software provides or supports the features described in this section.

Scheduled backupScheduled backups may be configured for either calendar time or probe settings that detect when specific conditions are met.

Scheduled backups include backup of the NetWorker bootstrap record, which is essential for disaster recovery.

Manual backupManual backups may be performed at any time, on demand. They are initiated from the NMSAP client host.

Manual backups do not include backup of the NetWorker bootstrap record, which is required for disaster recovery. Backup of these items should be done separately.

RMAN backup and restoreThe Oracle RMAN program is integrated with the NMSAP software and may be used for backup, restore, and inquiry operations. RMAN does not back up configuration files, logs, and other files, which are backed up by the NMSAP backint program. The BRTools documentation provides details on RMAN.

Deduplication backup and restoreDeduplication backup and restore is an optional feature that removes duplicate data from backups before it is sent to the backup server. After an initial backup to a supported EMC Avamar® server, configured as a deduplication node, backups include only unique blocks of data that contain change. Deduplication supports manual, scheduled, snapshot, and probe-based backups.

Deduplication does not support the following:

◆ Backup of raw devices or volumes◆ Use of data compression, checksum, or NSR_AES_ENCRYPTION parameters

Probe-based backupNMSAP probe-based (event-based) backups may be configured to be triggered when specific conditions are met within a scheduled backup window. The conditions may be specified by the number of transaction (archived) logs generated, or the time elapsed since the previous probe-based backup. User-defined probes are also supported.

Snapshot backup and restoreSnapshot technology provides continuous protection and availability of data and nearly eliminates the use of resources on the production host to perform backups.

A snapshot is a point-in-time (PIT), read-only copy of production data located on a primary storage platform, such as EMC Symmetrix® or EMC CLARiiON®. The snapshots may be restored back to the production host or they may be mounted onto a data mover host, where they may be backed up to conventional storage with NMSAP software.

NetWorker Module for SAP with Oracle Software features 13

Introduction

The NMSAP software supports both NetWorker PowerSnap™ software and EMC Replication Manager software for snapshot backups.

Cluster and Oracle RAC backup and restoreThe NMSAP software supports backups and restores of operating system cluster and Oracle Real Application Cluster (RAC) systems.

WizardNMSAP 4.0 software supports the new NetWorker scheduled backup configuration wizard that is integrated with the NetWorker Management Console (NMC). This new wizard replaces the configuration wizard used in NMSAP release 3.5.

Unlike earlier releases of NMSAP, configurations made with the wizard are not saved as a client-side parameter and configuration files, but are saved as client attributes on the NetWorker serer. The NMSAP parameter and configuration files that were used with earlier releases of NMSAP may be used by the wizard as input templates to generate a new wizard configuration.

Backup settings created with the wizard may optionally be saved to an NMSAP parameter file (init<DBSID>.utl) and configuration file (nsrsapsv.cfg) on the NMSAP client host. These files are used for special purposes, such as the following:

◆ Manual backups (init<DBSID>.utl only)◆ Restore operations (init<DBSID>.utl only)◆ Diagnostic or reference purposes

VMware supportNMSAP software provides VMware support for backup and restore of SAP Oracle databases installed on a Virtual Machine (VM) on an ESX server, including the following advanced features:

◆ VMotion — This feature enables migration of virtual machines from one ESX server to another while the servers are on, without disruption to the applications they are running, including NMSAP backup or restore operations.

◆ Distributed Resource Scheduler (DRS) — This feature enables dynamic balancing and allocation of resources across multiple ESX servers. Depending on the DRS policies set by the user, the DRS can migrate or recommend that users migrate a virtual machine to a different ESX server by using VMotion. DRS can also start (at boot-up time) a virtual machine on a different ESX server. Because this feature uses VMotion, if a migration occurs during an NMSAP backup or restore, the backup or restore is not interrupted.

◆ High Availability (HA) — The HA feature enables VMware to be restarted on the same ESX server, on a different ESX server, or on a physical machine, depending on the type of VMware cluster configured. During a restart, users are disconnected, and must reconnect.

If a restart occurs during an NMSAP backup or restore, the backup or restore fails.

• For a failed manual backup or restore, the backup or restore must be manually restarted when the guest operating system is restarted.

• For a failed scheduled backup, the NetWorker server retries the backup if the Client Retries attribute in the Group resource is set to a nonzero value.

The EMC NetWorker Administration Guide and EMC NetWorker Release Notes provide information on VMware HA functionality and limitations.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide14

Introduction

InternationalizationThe NMSAP software provides internationalization (I18N) support. Non-English data from NMSAP clients may be monitored, backed up, and restored. For example, a NetWorker server with an English locale can view and manage backups from an NMSAP client with a Chinese locale and the other way around, a NetWorker server with a Chinese locale can view and manage backups from an NMSAP client with an English locale.

Note: I18N support should be distinguished from localization (L10N) support, in which the software user interface and operational messages are translated into localized languages. This NMSAP software release does not provide L10N support.

I18N support assumes the use of NMSAP software with the following I18N products:

◆ Internationalized operating system◆ Unicode version of BRTools◆ NetWorker server and client that supports I18N

Note: NMSAP support of non-English environments is limited by the I18N support provided by Oracle, BRTools, NetWorker client, and the underlying operating system.

Support of Non-English characters

The NMSAP client supports non-English characters for the following:

◆ Full pathnames of parameter and configuration files, for example, init<DBSID>. utl.

◆ Full pathnames of operational log files, for example, SAPBACKUP and SAPTRACE.

◆ Full pathnames of variables that are set in the nsrsapsv.cfg file, for example, PATH, SAP_BIN, SAPBACKUP, SAPARCH, SAPCHECK, SAPREORG, and SAPTRACE.

◆ Most strings that are passed as command-line options to the NMSAP programs nsrsapadm, nsrsapsv, sapclone, and backint. Exceptions are the Oracle username and password, which is an Oracle limitation, and the full pathname of the NMSAP scheduled backup configuration file (nsrsapsv.cfg), which is a NetWorker server limitation. “English-only characters” on page 16 gives details.

◆ All NetWorker parameters that are supported by NetWorker software.

◆ Environments configured by the scheduled backup wizard.

Note: The NLS_LANG=AMERICAN.AMERICA.US7ASCII parameter value, which is used in the sample backup configuration file (nsrsapsv.cfg) that is shipped with the product or generated by the NMSAP wizard, is an example or default value. This value can, and in some cases should, be set to another value. Refer to the SAP documentation on how to set the NLS_LANG parameter.

Internationalization 15

Introduction

English-only characters

Some Oracle, BRTools, and NetWorker software configuration settings, that are used with the NMSAP client, do not support I18N and must use ASCII characters. Read the appropriate product documentation for complete details. Examples include:

◆ Oracle requires ASCII characters for the following:

• ORACLE_HOME environment variable

• Oracle instance name <DBSID>

◆ BRTools requires English characters for the following:

• Connection strings (database username and password) to the SAP Oracle database

• Oracle datafiles, log files, control files, parameter filenames

• Oracle tablespace names

◆ NetWorker and NMSAP software require ASCII characters for the following:

• NetWorker client, server, pool, group, expiration policy, and email notification parameters, which are set in the NMSAP parameter file (init<DBSID>.utl)

• NMSAP scheduled backup configuration file (nsrsapsv.cfg) pathname, which is passed to the Backup Command attribute in the NetWorker Client resource

NMSAP and associated softwareThis section describes the NMSAP software and other software that are used in an NMSAP environment, and which are referred to in this guide.

NMSAP softwareThe NMSAP software is an add-on module for NetWorker client software and provides a backup and restore interface between the SAP BRTools program and the NetWorker server. The main component of the NMSAP software is the backint program, which provides backup, inquiry, and restore processes for all Oracle and SAP files.

NetWorker softwareThe NetWorker software provides data storage management services that protect, move, and manage data across a network. The basic NetWorker products include the NetWorker server, client, storage node, and the NetWorker Management Console (NMC).

NetWorker PowerSnap softwareNMSAP can work with the add-on NetWorker Module for PowerSnap software to provide a high-availability storage environment. The PowerSnap software creates a snapshot (point-in-time) copy of a group of files or filesystems on a client host, which serves as an instant backup. NMSAP can then back up the snapshot to a conventional storage medium.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide16

Introduction

EMC Replication Manager software

NMSAP software can work with EMC Replication Manager (RM) software to provide support for BRTools split-mirror backups. RM creates a replica of production data stored on an EMC storage array, such as Symmetrix or CLARiiON, which NMSAP can back up to conventional storage.

SAP server software

The SAP server software includes the BRTools utilities, which are used by the NMSAP software for the backup, restore, and inquiry of the SAP Oracle databases. BRTools consist of brbackup, brarchive, brrecover, brrestore, and other utilities.

Oracle server software

The Oracle software includes the Recovery Manager (RMAN) utilities for backup, restore, and inquiry operations. The use of RMAN with NMSAP and BRTools software is optional because the NMSAP backint program may be used as the sole backup and restore software.

If RMAN is configured to back up SAP Oracle databases, the backint program will additionally back up the SAP configuration files, logs, and other files that RMAN does not back up. “Choosing either backint or RMAN as the backup and restore utility” on page 21 provides details.

NMSAP software componentsTable 2 on page 17 lists the NMSAP software components that are referred to in this guide. On Microsoft Windows systems, most of these files are located in the NetWorker_install_directory\nsr\bin.

Table 2 NMSAP and associated software components (page 1 of 2)

Component Description

backint[.exe] The NMSAP program interface to SAP BRTools, which provides backup, restore, and inquire functionality.

init.utl Configuration file template that specifies the variables used by the backint program for manual backups and restores, and for scheduled backups that are not configured through the wizard.Copy this template file and name it init<DBSID>.utl, where DBSID is the name of the SAP Oracle database instance that is to be backed up.

libnworasap.xx (UNIX)orasbt.dll, nsrsbtcnsap.exe (Windows)

RMAN Media Management utility.

nsrsapsv[.exe] The scheduled backup program, which invokes the appropriate BRTools executables.

nsrsapsv.cfg Configuration file template for the nsrsapsv scheduled backup program for backups that are not configured through the wizard.Copy this template file and save the original file with its default settings. On UNIX systems, this file is located in the /etc directory.

NMSAP software components 17

Introduction

nsrsapadm[.exe] This binary or executable file is used to convert old-style configurations of scheduled backup to a new-style configuration that can be modified through the wizard.It is also used to encrypt logon information in the nsrsapsv.cfg file for the user who performs a scheduled backup.

nsrsapprobe[.exe] Program that probes for the number of generated archived logs as a condition that triggers a probe-based backup.

sapclone[.exe] The save set cloning program. Provides an interface to the NetWorker nsrclone program.

nsrsapra[.exe]nsrsaprachild[.exe]sapra.jarsapra_res.jar

NMSAP scheduled backup configuration wizard.

nwsldreg.xml SAP Solution Manager registration file.

man pages (UNIX only) Reference for NMSAP commands.

Table 2 NMSAP and associated software components (page 2 of 2) (continued)

Component Description

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide18

2

This chapter includes the following sections:

◆ Verifying the NMSAP software requirements .......................................................... 20◆ Configuring I18N support ........................................................................................... 21◆ Choosing either backint or RMAN as the backup and restore utility ................... 21◆ Configuring a scheduled backup with the wizard................................................... 23◆ Converting client-side configurations to wizard configurations ........................... 25◆ Configuring a scheduled backup without the wizard............................................. 26◆ Configuring a manual backup .................................................................................... 29◆ Configuring a deduplication backup ......................................................................... 29◆ Configuring a probe-based backup ............................................................................ 32◆ Configuring backup email notifications .................................................................... 35

SoftwareConfiguration

Software Configuration 19

Software Configuration

Verifying the NMSAP software requirementsVerify that the NMSAP software environment meets the following basic requirements:

1. Ensure the Oracle and SAP software is properly installed and configured before the NMSAP environment is configured.

The appropriate Oracle and SAP documentation provides instructions.

Note: You may recover only data files for which you had operating system read permission when they were backed up. It is recommended to grant read access to the data files to a DBA operating system group. This will allow the data to be restored by a different user or to a different host.

2. Ensure that NetWorker client software and NMSAP software are installed and enabled on each SAP Oracle server that requires backup and recovery services.

The platform-specific NetWorker installation guide and the EMC NetWorker Module for SAP with Oracle Installation Guide provide instructions.

3. If using the BRTools RMAN feature on UNIX systems, ensure that the NMSAP RMAN management library/utility is properly linked.

The EMC NetWorker Module for SAP with Oracle Installation Guide provides details.

4. Ensure that the NMSAP backint executable is located in the same directory as BRTools. On UNIX, ensure that the owner of backint is set to root.

5. If restores will be made to raw device files on UNIX, ensure that the uid bit is set for the backint program by typing the following command:

chmod 4755 backint

Note: In rare cases, the uid bit must be set in order to restore to file systems on UNIX.

6. Ensure that the NetWorker server User Group resource privileges are granted to the SAP user who performs the NMSAP operations. The User Group resource may be set with NMC or the nsradmin program.

The SAP user requires the following privileges:

• To run backups and restores requires only the default privileges, which are:

– Monitor NetWorker– Back Up Local Data– Recover Local Data

• To review backup information in NetWorker indexes, for example through the nsrinfo and mminfo commands:

– Operate NetWorker privilege• To configure a backup or to convert a backup configuration with nsrsapadm:

– Configure NetWorker privilege7. If a firewall is used, ensure NMSAP connectivity, which requires the

corresponding ports to be configured for the NetWorker server.

The EMC NetWorker Administration Guide provides details.

The EMC Information Protection Software Compatibility Guide provides details on the compatibility of the NMSAP software with other products.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide20

Software Configuration

Configuring I18N support“Internationalization” on page 15 describes the internationalization (I18N) features that NMSAP supports.

Requirements for I18N supportNMSAP I18N support requires the following I18N products:

◆ Internationalized operating system◆ Unicode version of BRTools◆ NetWorker server and client that supports I18N

The NetWorker documentation provides specific details on NetWorker I18N requirements.

Note: NMSAP support of non-English environments is limited by the I18N support provided by Oracle, BRTools, NetWorker client, and the underlying operating system.

“Internationalization” on page 15 and the EMC NetWorker Module for SAP with Oracle Release Notes provides more information.

Configure I18N support (UNIX only)To configure I18N support of the NMSAP client host on UNIX only:

1. Log in as the root user.

2. Shut down the NetWorker services.

3. Set the LC_ALL environment variable to the appropriate locale.

For example, in a Japanese locale on Solaris, set LC_ALL as follows:

# nsr_shutdown# export LC_ALL=ja_JP.eucJP# /etc/init.d/networker start

4. Restart the NetWorker services.

Choosing either backint or RMAN as the backup and restore utilityAll backup, restore, and inquiry operations of SAP Oracle data are interfaced through the SAP BRTools software. The BRTools software may be configured to use either the NMSAP backint program or the Oracle RMAN program to perform the actual operations. Which of these programs to use must be specified in the BRTools initialization file (init<DBSID>.sap, also known as the BRTools utility profile) or the BRTools command. The following examples describe how either may be specified.

Note: If RMAN is specified as the backup utility for the SAP Oracle databases, the NMSAP backint program will additionally back up the SAP configuration files, logs, and other files, which RMAN does not back up.

Configuring I18N support 21

Software Configuration

Set backint as the backup and restore utility

If you want to use the NMSAP backint program for backup, restore, and inquiry operations, create a BRTools initialization profile with settings similar to the following example.

1. With a text editor, open the BRTools initialization file (utilities profile), init<DBSID>.sap, which is typically located in the following directory:

• On UNIX systems: $ORACLE_HOME/dbs • On Microsoft Windows systems: %ORACLE_HOME%\DATABASE

2. Set the backup device type parameter to use the backint program by specifying one of the following:

backup_dev_type = util_fileorbackup_dev_type = util_file_online

3. Set the util_par_file parameter to use the NMSAP parameter file (init<DBSID>.utl) as follows:

• On UNIX or Linux systems:

util_par_file = ?/dbs/init<DBSID>.utl

where ? is $ORACLE_HOME

• On Microsoft Windows systems:

util_par_file = ?\database\init<DBSID>.utl

where ? is %ORACLE_HOME%

“Configure the NMSAP parameter file” on page 82 describes how to configure the parameter file. The appropriate SAP documentation provides further instructions on the use of the backint program.

Set RMAN as the backup and restore utilityIf you want to use the Oracle RMAN utility and NMSAP RMAN management library for backup, restore, and inquiry operations, create a BRTools initialization profile with settings similar to the following example.

1. With a text editor, open the BRTools initialization file, init<DBSID>.sap, which is typically located in the following directory:

• On Microsoft Windows systems: %ORACLE_HOME%\DATABASE • On UNIX systems: $ORACLE_HOME/dbs

2. Set the backup device type parameter to use the RMAN utility by specifying the following:

backup_dev_type = rman_util

3. Uncomment the line for the rman_send parameter and set it to include each NetWorker-specific (NSR_*) parameter that is appropriate for your backup, restore, and inquiry sessions.

“NMSAP parameters for RMAN backups and restores” on page 92 lists these parameters. The parameter names are case-sensitive and use the following syntax:

rman_send="NSR_ENV=(var1=value, var2=value, ...)"

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide22

Software Configuration

Examples:

rman_parms="ENV=(NSR_DEBUG_LEVEL=9, NSR_SERVER=bu-libra)"

or

rman_channels=2rman_send=("channel sbt_1 'NSR_ENV= NSR_DATA_VOLUME_POOL=pool_name)'", "channel sbt_2 'NSR_ENV=(NSR_NSR_DATA_VOLUME_POOL=pool_name)'")

The SAP documentation provides information on the use of the BRTools with RMAN program for backup and restore operations.

Configuring a scheduled backup with the wizardThe wizard is a Java application that runs from the NetWorker Management Console (NMC). The configurations for scheduled backups created with the wizard are stored on the NetWorker server.

“Configuring a scheduled backup without the wizard” on page 26 describes the non-wizard method of configuring a scheduled backup.

Wizard workflows The wizard provides the option of a typical or custom configuration, which depends on the amount of detail needed for specific scheduled backup configurations.

The typical workflow allows you to configure a backup with fewer clicks by using default backup settings. The typical configuration configures a full offline backup of the whole database.

The custom configuration allows you to:

◆ Use existing NMSAP parameter, init<DBSID>.utl, and configuration, nsrsapsv.cfg, files as an initial input to the wizard configuration.

◆ Customize backup options, for example to configure:

• Number of NMSAP backup sessions to use

• Specific database objects to back up

• Online backup to run

• Backup level

• Additional backup parameters

◆ Extract the created wizard configuration to a client-side parameter file (init<DBSID>.utl) and configuration file (nsrsapsv.cfg).

Wizard limitationsThe wizard has the following limitations:

◆ Some NetWorker resources and settings must be configured outside of the wizard with the NMC program, for example:

• Device resources• Media Pool resources• Deduplication Node resource• NetWorker user privileges

“Configuring a scheduled backup without the wizard” on page 26 gives details.

Configuring a scheduled backup with the wizard 23

Software Configuration

◆ The wizard does not support the configuration of:• RMAN backups• snapshot backups (with NetWorker PowerSnap software)• split-mirror backups (with EMC Replication Manager software)• probe-based (event-based) backups

Wizard requirements

Before you use the wizard, ensure that all of the following requirements are met:

◆ The required NetWorker releases are installed on the NMC server, NetWorker server, and NMSAP client hosts, as described in the EMC NetWorker Module for SAP with Oracle Release Notes and the EMC Information Protection Software Compatibility Guide.

◆ The NMC user that starts the wizard (the wizard user) must have Configure NetWorker privilege, and all its prerequisite privileges, on the NetWorker server where the configuration is created.

◆ Communication between the NMC server, NetWorker server, and NMSAP client must use nsrauth authentication. The NetWorker documentation provides the requirements for nsrauth authentication.

Configure a scheduled backup with the wizard

To create or modify a scheduled backup configuration with the wizard:

1. Ensure that the NMSAP software environment is properly configured.

“Verifying the NMSAP software requirements” on page 20 provides details.

2. In the NetWorker Management Console (NMC) Enterprise view, select the NetWorker server name, and double-click the NetWorker application to launch it.

3. In the Configuration view, under the NetWorker server name, select Clients.

• To create a new NetWorker Client resource for NMSAP, right-click Clients and select Client Backup Configuration > New.

• To modify a NetWorker Client resource that was previously created with the wizard for NMSAP, right-click the client name and select Client Backup Configuration > Modify.

4. On each wizard page that appears, specify the options and values required for the backup configuration.

You may click a link in the wizard steps panel to go directly to the page you want to modify. The number of steps shown in the steps panel may vary according to the chosen configuration type.

5. On the last wizard page named Review and Accept the Client Configuration, click Create or Modify to create or modify the configuration, and click Finish to exit the wizard.

“Configuring a deduplication backup” on page 29 provides details on wizard settings for a deduplication backup.

Chapter 6, “Cluster and Oracle RAC Configurations,” provides details on wizard settings for a cluster environment.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide24

Software Configuration

Converting client-side configurations to wizard configurationsThe NMSAP 4.0 software, with supported NetWorker server and client software, allows for the conversion of scheduled backup settings from NMSAP client-side files (init<DBSID>.utl and nsrsapsv.cfg), to attributes on the NetWorker server that are used by the NMSAP wizard. After conversion, the configuration may be modified and updated only through the wizard.

The NMSAP 4.0 software may run scheduled backups by using either wizard configurations or client-side parameter and configuration files.

Note: Manual backups performed with NMSAP 4.0 software require the use of client-side parameter and configuration files.

The conversion method uses the nsrsapadm utility to convert NMSAP 3.0.2 and later scheduled backup settings to the new wizard settings. This utility reads the backup parameter and configuration files found on the NMSAP client host and stores its converted settings on the NetWorker server. It changes the scheduled backup command, specified in the NetWorker Client resource, from: nsrsapsv -f filename to nsrsapsv.

To convert with the nsrsapadm utility, perform the following steps on each SAP Oracle client to be backed up by the NetWorker server:

1. Log in to the SAP Oracle client as the user with Configure NetWorker privilege on the NetWorker server.

2. Ensure NetWorker client software and NMSAP software are installed on the SAP Oracle client and the client is specified as a NetWorker Client resource on the NetWorker server.

3. On the SAP Oracle client operating system command line (UNIX) or command prompt window (Windows), run the following command:

$ nsrsapadm -W -s server_name [query]query: [-c client_name] [-g group_name] [-N save_set_name]

where:

-W specifies the conversion mode.

-s server_name is the NetWorker server on which the configuration will be saved and run.

query:

-c client_name is the NetWorker Client resource whose backup settings are to be converted. If not specified, the default value is the hostname of the physical host where the nsrsapadm command runs. For cluster environments, this option must be set to the virtual client name.

-g group_name is the NetWorker Group resource of the client being converted. If used, the group must already exist.

-N save_set_name is the save set name used in the Client resource.

For example:

nsrsapadm -W -s my.server.com -N backint:SAP1

The EMC NetWorker Module for SAP with Oracle Command Reference Guide provides details on the nsrsapadm command.

Converting client-side configurations to wizard configurations 25

Software Configuration

Configuring a scheduled backup without the wizardAs an alternative to the wizard configuration, you may create and modify a scheduled backup by:

◆ Manually creating the NMSAP parameter and configuration files

◆ Setting the NetWorker Client resources directly in the NMC program

The NMC interface also provides NetWorker Group, Device, Media Pool, and other resource settings that are not available in the wizard.

Configure the NMSAP parameters without the wizard

To configure NMSAP for a scheduled backup without using the wizard:

1. Ensure that the NMSAP software environment is properly configured.

“Verifying the NMSAP software requirements” on page 20 provides details.

2. On the NMSAP client, copy the init.utl and nsrsapsv.cfg template files (supplied with the NMSAP installation) with new names suitable for your database instance, and configure them for the backup.

Appendix A, “NMSAP Parameter and Configuration Files,” provides configuration details.

3. Encrypt the SAP operating system username and password, and if required, the Oracle database username and password, as follows:

a. On the NMSAP client, log in as root or administrator and type the following NMSAP command:

nsrsapadm -P -z filename

where filename is the full pathname of the NMSAP backup configuration file (nsrsapsv.cfg) used for the backup.

b. Follow the prompt instructions for the encryption.

The configuration file is updated with the encrypted password authorizations.

Note: The Oracle database username and password must be set for probe-based backups. “Configure a probe-based backup” on page 33 gives details.

4. On the NMSAP client, configure the BRTools initialization file (init<DBSID>.sap) with the following parameters:

• Backup device type (backup_dev_type)

• Backup utility configuration file (util_par_file)

“Choosing either backint or RMAN as the backup and restore utility” on page 21 provides more information.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide26

Software Configuration

Configure the scheduled backup resources without the wizard

On the NetWorker server, configure a NetWorker Client resource and other scheduled backup resources in NMC without the wizard as follows:

1. In the NMC Enterprise view, select the NetWorker server name, and double-click the NetWorker application to launch it.

2. In the Configuration view, under the NetWorker server name, select the appropriate backup resources to configure, such as Groups, Schedules, Clients, and so forth. For example:

• To create a new client, right-click Clients and select New.

• To modify an existing NMSAP client, double-click the client name to open its Properties window.

On each of the properties tabs, specify the appropriate options and values for the backup configuration.

3. Configure the Group, Schedule and other NMC resource settings for scheduled NMSAP backups.

The following sections highlight information that is specific to NMSAP. The EMC NetWorker Administration Guide and online help provide further details.

Set the Schedule resourceCreate or select a Schedule resource to specify the days of the week when the scheduled backup runs.

Set the Group resourceCreate or select a NetWorker backup Group resource to apply to a set of NetWorker clients, all of which will start to back up data at a scheduled time. Ensure that Autostart is set to Enabled. A Group resource may be applied as an attribute to a NetWorker Client resource and a NetWorker Media Pool resource.

Set the Device resourcesEnsure that a NetWorker Device resource is configured for each supported storage device used for backup and restore operations.

Note: When creating Device resources, ensure that each physical device contains a labeled and mounted storage media volume.

Set the Media Pool resourceConfigure the volumes in each NetWorker Media Pool resource to receive specific types of backup data, such as tablespaces or archived logs.

When configuring the Media Pool resources, leave the Save Sets attribute blank. The NMSAP program sets the Save Sets during each backup session.

Set the Client resourceSpecify a NetWorker Client resource for each SAP Oracle server (NMSAP client) that requires backup, restore, and inquiry services.

Table 3 on page 28 describes NMC Client resource attributes that are applicable to NMSAP operations.

Configuring a scheduled backup without the wizard 27

Software Configuration

Table 3 NetWorker Client resource attributes for NMSAP scheduled backups

Attribute Description

Aliases Specifies all known aliases for the host where the NMSAP software is installed.

Backup Command Specifies the name of the command to be used for a scheduled NMSAP backup, either:nsrsapsv

which is configured by the wizard only and cannot be manually set, ornsrsapsv -f filename which uses the settings of the NMSAP configuration file (nsrsapsv.cfg).where filename is the full pathname of the NMSAP configuration file created as described in “Configure the NMSAP parameters without the wizard” on page 26, which resides on the NMSAP client host. The pathname may contain only ASCII characters.Because the Backup Command attribute is limited to 64 characters, the following default path is recommended:• On Microsoft Windows systems:

NetWorker_install_directory\nsr\res\nsrsapsv<DBSID>.cfg• On UNIX systems:

/nsr/res/nsrsapsv<DBSID>.cfg

Browse Policy Specifies the length of time that the NetWorker server retains an entry for the backup in the online client file index.

Deduplication Backup When selected, enables deduplication backup and restore.

Deduplication Node Specifies the hostname of the Avamar server that will store the deduplicated backup.

Group Identifies a set of NetWorker Group resource to be used for a scheduled NMSAP backup.

Name Specifies the hostname of the SAP server host where the NMSAP software is installed.

Parallelism Specifies the maximum number of concurrent backup and restore sessions to use for a backup operation. This Client resource attribute may be used instead of the parallelism setting in the parameter file or wizard configuration.

Password Specifies the password for the Remote User attribute.

Remote Access Specifies the SAP user and fully qualified hostname (IP) of a remote host, used to enable backups in a cluster environment, and restores of the backups to that remote system.• For a cluster backup, specifies sap_user@physical_host for each physical host in the

cluster.• For restore of a backup from this host to a different destination host, specifies

sap_user@different_host.

Remote User Recommended for backups on Microsoft Windows systems. Not needed on UNIX systems. Specifies the SAP user’s operating system username.

Retention Policy Specifies the minimum length of time that must elapse before backed-up data is eligible to be overwritten on the backup media.

Save Set Specifies the database to be backed up. The save set name must be specified in the following format:backint:<DBSID>

Schedule Specifies the NetWorker backup Schedule resource to use for a scheduled backup.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide28

Software Configuration

Configuring a manual backupTo configure a manual NMSAP backup:

1. Ensure that all the steps described in “Verifying the NMSAP software requirements” on page 20 are done.

2. Configure the NMSAP parameter file, init<DBSID>.utl, with the settings for the appropriate NetWorker server and other backup parameters.

“Configure the NMSAP parameter file” on page 82 provides details.

3. Set the BRTools initialization file, init<DBSID>.sap, with parameters for

• Backup device type (backup_dev_type) • Backup utility configuration file (util_par_file)

“Choosing either backint or RMAN as the backup and restore utility” on page 21 provides details.

Configuring a deduplication backupThis section describes requirements, best practices, and configuration details for deduplication NMSAP backup.

Chapter 6, “Cluster and Oracle RAC Configurations,” gives information on additional steps for deduplication backup configuration in cluster and RAC environments.

Requirements for a deduplication backupEnsure that the following requirements for deduplication backup are met:

◆ The NetWorker client and server releases support deduplication. The EMC Information Protection Software Compatibility Guide on the Powerlink website provides details.

◆ The Avamar server is installed and configured as a NetWorker deduplication node. The EMC NetWorker Administration Guide provides details.

◆ The NetWorker backup device, which receives only the backup metadata during the NMSAP deduplication backup, is configured as an advanced file type device (AFTD). The EMC NetWorker Administration Guide and release notes provide details.

Best practices for a deduplication backupThis section provides recommendations on when to use NMSAP deduplication, and configuration tips to improve deduplication backup performance.

Benefits The benefits of deduplication depend on the environment. Deduplication can be beneficial in a data warehouse environment where the data does not change frequently. It can also be beneficial for databases where only a small percentage of data is updated repeatedly, or where new data is added to a database but the old data does not change much.

Configuring a manual backup 29

Software Configuration

Performance The following practices can improve deduplication backup performance:

◆ Once an Avamar server is chosen as the deduplication node for an initial full backup of a client, continue to use that same node for all backups of the client, to take advantage of the client deduplication information stored on the node.

◆ Deduplication is not recommended for RMAN incremental backups. Because only data blocks that have changed are backed up, incremental backups result in a low rate of duplication and the benefit is likely to be insignificant.

◆ Do not include a deduplication client in the same Group resource as non-deduplication clients.

◆ Depending on computer resources, avoid setting backup parallelism to more than four.

◆ Schedule deduplication backups to avoid Avamar server read-only periods. An Avamar server spends periods of time in maintenance mode, where it may be unavailable for backup or have limited bandwidth.

Note: A deduplication NMSAP backup that runs during a maintenance period may be suspended until the Avamar server resources become available.

The Avamar and NetWorker documentation provide more information on Avamar server and NetWorker requirements for deduplication backups.

Configure deduplication for a scheduled backupA scheduled deduplication backup may be configured with either the wizard or with individual settings in the NMC program.

Wizard method Configure a scheduled deduplication backup with the wizard as follows:

1. Ensure a NetWorker Deduplication Node resource is created for the Avamar server.

2. Follow the instructions in “Configuring a scheduled backup without the wizard” on page 26.

3. On the Specify the Deduplication Options wizard page, apply these additional settings:

• Select the Deduplication Backup attribute to enable deduplication.

• Select the deduplication node (Avamar server) that will store the deduplicated backup data.

4. On the Specify Log Files Locations and Additional Options wizard page, in the table, set NSR_NWPATH parameter to the location of NetWorker client.

5. For typical operations, use the default settings for cache usage and chunk size. However, if nondefault settings are required, set the following parameters in the table on the Specify Log Files Locations and Additional Options wizard page:

• NSR_DEDUP_CACHE_ENABLED• NSR_DEDUP_CHUNK_SIZE• NSR_DEDUP_CACHE_TAG

Appendix A, “NMSAP Parameter and Configuration Files,” provides details on these parameters.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide30

Software Configuration

Non-wizard method Configure a scheduled deduplication backup with specific settings in the NMC program, instead of the wizard, as follows:

1. Ensure that a NetWorker Deduplication Node resource is created for the Avamar server.

2. Follow the instructions in “Configuring a scheduled backup without the wizard” on page 26.

3. In the Client resource for the NMSAP client host, set the following attributes:

• Select the Deduplication Backup attribute to enable deduplication.• Select the deduplication node (Avamar server) that will store the deduplicated

backup data.

4. In the NMSAP parameter file, init<DBSID>.utl, set the NSR_NWPATH parameter to the location of NetWorker client.

5. For typical operations, use the default settings for cache usage and chunk size. However, if nondefault settings are required, the following parameters may be set in the NMSAP parameter file (init<DBSID>.utl:

• NSR_DEDUP_CACHE_ENABLED

• NSR_DEDUP_CHUNK_SIZE

• NSR_DEDUP_CACHE_TAG

Appendix A, “NMSAP Parameter and Configuration Files,” provides details on these parameters.

Configure deduplication for a manual backup

To include deduplication in a manual backup that uses the NMSAP backint program:

1. Ensure a NetWorker Deduplication Node resource is created for the Avamar server.

2. Create a NetWorker Client resource for the SAP Oracle host and set the following attributes:

• Select the Deduplication Backup attribute to enable deduplication.

• Select the deduplication node (Avamar server) that will store the deduplicated backup data.

3. Edit the NMSAP parameter file (init<DBSID>.utl) with the following settings:

• NSR_DEDUP_BACKUP = TRUE.

• NSR_DEDUP_NODE = NetWorker_deduplication_nodeThis name must exactly match the Deduplication Node name selected in the Client resource.

Configuring a deduplication backup 31

Software Configuration

Configure deduplication for Oracle RMAN backup

To include deduplication in a scheduled or manual backup that uses the Oracle RMAN utility:

1. Ensure a NetWorker Deduplication Node resource is created for the Avamar server.

2. Create a NetWorker Client resource for the SAP Oracle host and set the following attributes:

• Select the Deduplication Backup attribute to enable deduplication.• Select the deduplication node (Avamar server) that will store the deduplicated

backup data.

3. On the SAP Oracle server, edit the BRTools parameter file (init<DBSID>.sap) and configure the rman_send parameter with the following settings.

• NSR_DEDUP_BACKUP. Mandatory for manual backups only.• NSR_DEDUP_NODE. Mandatory for manual backups only.• NSR_DEDUP_CACHE_TAG. Mandatory for backup with more than one

RMAN channel. Set this parameter to a different value for each channel.

The following example shows an rman_send parameter configured for a manual deduplication backup:

rman_channels=2

rman_send=("'NSR_ENV=(NSR_DEDUP_BACKUP=TRUE, NSR_DEDUP_NODE=test.emc.com)'","channel sbt_1 'NSR_ENV=(NSR_DEDUP_CACHE_TAG=orcl10g_1)'", "channel sbt_2 'NSR_ENV=(NSR_DEDUP_CACHE_TAG=orcl10g_2)'")

Appendix A, “NMSAP Parameter and Configuration Files,” gives details on the parameters.

Configuring a probe-based backupThe NetWorker Probe resource is an optional feature that triggers backups when user-specified conditions are met. A probe-based backup is also known as an event-based backup.

Note: A scheduled backup group that is enabled for a probe will not run unless the probe conditions are met.

The probe-based backup is triggered when both of the following conditions are met:

◆ The current time is within a specified window of time. The backup window is defined by the probe start and end times in the probe-enabled backup Group resource.

◆ One of the following conditions is met:

• A specified amount of time has elapsed since the previous probe-based backup.

• One or all of the probes associated with the backup are successful, depending on the probe success criteria specified in the backup configuration.

The probe success criteria can be set in the NetWorker Group resource to the value of Any or All.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide32

Software Configuration

Configure a probe-based backup

A probe-based NMSAP backup requires settings in three NetWorker resources: Probe, Group, and Client.

To configure a probe-based NMSAP backup:

1. Create a separate NetWorker Probe resource for the supplied NMSAP nsrsapprobe program and any other program or script that checks for a user-defined condition. The Probe resource defines the conditions that trigger the probe-based backup.

IMPORTANT!Because a NetWorker Probe resource stores information on the state of database redo logs, it must be associated with a single NetWorker Client resource only. Multiple databases configured through multiple Client resources require a separate Probe resource for each client.

A script written for a user-defined probe may be associated with more than one NetWorker Client.

Table 4 on page 33 describes Probe resource attributes for NMSAP backups.

2. Create a NetWorker Group resource for the probe-based backup. Configure the Group resource to enable probe-based backups and set the probe timing options.

The EMC NetWorker Administration Guide provides details.

3. Associate the NetWorker Probe resource with a Client resource. This setting cannot be done with the wizard, but must be done with the individual NMC

Table 4 NetWorker Probe resource attributes for NMSAP backups

Attribute Description

Name A unique name that identifies the Probe resource.

Probe Command Name of the program or script that triggers a probe-based backup. For example, the nsrsapprobe program, which is supplied with NMSAP software, triggers a backup when the number of Oracle transaction (archived redo) logs generated since the last probe-based backup meets or exceeds the value of the LOG_THRESHOLD parameter.The Probe Command may be a user-defined program or script. “User-defined probes” on page 34 provides details.

Command Options Required for the nsrsapprobe program only. A comma-separated list of parameters with their settings as follows:• LOG_THRESHOLD—Mandatory. Specifies the number of Oracle transaction

(archived redo) logs generated since the last probe-based backup, which will trigger a new probe-based backup.

• ORACLE_SERVICE—Mandatory. Specifies the Net service name for the Oracle database that is to be probed.Note: If this Probe resource is associated with a Client resource that is configured with the wizard and contains the ORACLE_SERVICE parameter, then the values for ORACLE_SERVICE must match in both resources.

• NSR_DEBUG_DIR—Optional. Specifies a valid directory path where debug information for probe operations is recorded in a nsrsapprobe_pid.log file.

For example:ORACLE_SERVICE=SAP.world,LOG_THRESHOLD=10

Configuring a probe-based backup 33

Software Configuration

resource settings. Table 5 on page 34 describes the required Client resource attributes for NMSAP probe-based backups.

IMPORTANT!Probe-based backups use Oracle database authentication. The Oracle database username and password must be set in the backup configuration, either through the wizard or encrypted in the nsrsapsv.cfg file.

The EMC NetWorker Administration Guide provides further details.

User-defined probesThe user-defined script or program for probe-based backups must meet the following requirements:

◆ Name starts with “nsr” or “save”.

◆ Location is in the same directory that contains the NetWorker client binaries.

◆ Permissions of the script or program file include the “execute” permission.

◆ Returns one of the following code values when it finishes running its probe:

• 0 — Signifies that the backup condition has been met.• 1 — Signifies that the backup condition has not been met.• Other than 0 or 1 — Signifies that an error occurred during the probe.

Example probe-based backup with multiple probes

A probe-based backup may be configured with multiple probes. Depending on the Probe Success Criteria setting in the Group resource, a backup will start when the conditions for any or all of the probes are met.

For example, a probe-based backup could be triggered when both of the following conditions are true:

◆ At least 25 Oracle transaction log files are generated on an SAP Oracle client named, for example, oraprod_host. A Probe resource for this condition will use the supplied nsrsapprobe program.

◆ More than two tape drives are idle in a tape library attached to a NetWorker storage node, named for example libstore_host, where the probe-based backup will be sent for storage. A second Probe resource for this condition will use a user-defined script named nsrjukeboxprobe.

Table 5 NetWorker Client resource attributes for probe-based NMSAP backups

Attribute Description

Probe Resource Name Specify the name of the Probe resource from step 1 .

Note: A Client resource can be associated with only one probe.

Group Specify the name of the probe-enabled Group resource from step 2 .

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide34

Software Configuration

To configure an example probe-based backup with these two conditions:

1. Create the NetWorker Probe resource for the supplied nsrsapprobe program with the following attributes:

• Name: myxlogs• Probe Command: nsrsapprobe• Command Options: LOG_THRESHOLD=25

2. Create a user-defined script, nsrjukeboxprobe, with “execute” permissions and store the script in the same directory as the NetWorker binaries on libstore_host. When the script runs, it checks for the number of idle tape drives in the library, and returns one of the following values:

• 0 — If more than two tape drives are idle in the library.• 1 — If two or fewer tape drives are idle in the library.• Other than 0 or 1 — An error occurred during the probe and no backup will be

performed.

3. Create a second NetWorker Probe resource for the user-defined probe with the following attributes:

• Name: myxdrives• Probe Command: nsrjukeboxprobe• Command Options: (blank)

4. Create a NetWorker Group resource, named for example probe_group, and configure the required probe attributes, with the Probe Success Criteria attribute set to All.

5. Create a NetWorker Client resource for the NMSAP backup of oraprod_host with the following attributes:

• Name — oraprod_host• Backup Command — nsrsapsv -f• Group — probe_group• Probe — myxlogs• Save Set — backint:<DBSID>

6. Create a NetWorker Schedule resource named “skip_all” and set the level to skip for each day in the schedule. This will allow a probe to run without running a backup.

7. Create a dummy Client resource for the libstore_host storage node with the “skip-all” schedule and the following attributes:

• Name — libstore_host• Backup Command — (blank)• Group — probe_group• Probe — myxdrives• Save Set — my_skip_set• Schedule — skip_all

Configuring backup email notificationsEmail notifications of NMSAP backup results are available on all supported platforms, provided a command line utility is used to convey the email.

◆ On UNIX systems, the mailx utility is supplied.

◆ On Microsoft Windows systems, any of various supported e-mail utilities, available on the Internet, may be used.

Configuring backup email notifications 35

Software Configuration

If the wizard is used to configure a backup, set the following parameters in the Advanced Options table: notify_done, notify_error, notify_start, and notify_success.

If an NMSAP parameter file (init<DBSID>.utl) is used for the backup, set the notify_done, notify_error, notify_start, and notify_success parameters in that parameter file.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide36

3

This chapter includes the following sections:

◆ Performing scheduled backups................................................................................... 38◆ Performing a manual backup...................................................................................... 39◆ Reviewing backup and restore session reports......................................................... 41◆ Verifying the backup information in the NetWorker indexes ................................ 41◆ Cloning backups............................................................................................................ 42

Backup Procedures

Backup Procedures 37

Backup Procedures

Performing scheduled backupsThis section describes how to test, monitor, and cancel scheduled NMSAP backups.

This section does not describe how to perform snapshot backups, which are described separately other chapters: Chapter 7, “Snapshot Backup with PowerSnap,” and Chapter 8, “Split-Mirror Backup with Replication Manager.”

Test a scheduled backupBackups that are scheduled with NetWorker programs are configured to run automatically according to their schedules. However, after a scheduled backup has been configured, it may be manually tested.

Requirements Before testing a scheduled backup, ensure the following requirements:

◆ The software environment is properly set up, including the requirement for read and write access to a common parent directory for all files associated with the backup. “Verifying the NMSAP software requirements” on page 20 provides details.

◆ The NetWorker Client resource has been created with a properly configured save set and backup command

◆ The Client resource has been assigned to a backup group

◆ Any pre- and post-processing scripts are in defined (optional).

Test a scheduledbackup

To test a scheduled backup with the NetWorker Management Console (NMC):

1. Start the NMC program.

2. Select the appropriate NetWorker server to perform the backup.

3. Select the group to monitor for the test.

4. Start the scheduled backup for the specified group.

Monitor a scheduled backupThe NMC program provides a centralized view of all backup and recovery activity throughout an entire enterprise, as well as operations related to devices and libraries, and managed events that require user intervention.

To monitor a scheduled backup:

1. Run the NMC program.

2. Select the backup group in the monitor view.

The Details window displays details of backups that are currently running, successfully completed, or failed.

Note: For a deduplication backup, the NMC display shows the total size of the data prior to deduplication, not the size of the deduplicated data. The display also does not indicate that the data is for a deduplication backup.

Appendix C, “Troubleshooting,” provides information on how to review diagnostic and error messages.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide38

Backup Procedures

Cancel a scheduled backup

To cancel a scheduled backup in progress:

1. Run the NMC program.

2. Select the backup group in the monitor view.

3. Right-click the group to stop and select Stop.

Note: If a backup is canceled before completion, none of the backed-up data may be recoverable. To manually start a canceled backup process from the beginning, right-click the group to start, and select Start. Ensure that the backup successfully completes without interruption.

Performing a manual backupThis section describes how to perform a manual NMSAP backup and NetWorker bootstrap backup, and also how to monitor and cancel a manual NMSAP backup.

Requirements Before running a manual backup, ensure the following requirements are met:

◆ The software environment is properly set up, including the requirement for read and write access to a common parent directory for all files associated with the backup. “Verifying the NMSAP software requirements” on page 20 provides details.

◆ The server parameter in the NMSAP parameter file, init<DBSID>.utl, is set for the appropriate NetWorker server.

“Configure the NMSAP parameter file” on page 82 provides details.

◆ The BRTools initialization file, init<DBSID>.sap, is set with parameters for:

• Backup device type (backup_dev_type) • Backup utility configuration file (util_par_file)

“Choosing either backint or RMAN as the backup and restore utility” on page 21 provides details.

Run a manual backup

Perform a manual backup as illustrated by the following example:

1. Type the SAP backup command with the appropriate parameters to back up the SAP Oracle database instance or the selected objects to the NetWorker server, for example:

• Offline backup:

brbackup -m all -t offline [-d util_file]

• Online backup:

brbackup -m backup_objects -t online [-d util_file_online]

Appendix B, “Examples of SAP Command Options,” provides information on available brbackup command options.

2. If an online backup is performed, back up the archived redo logs by the typing the additional command:

brarchive

Performing a manual backup 39

Backup Procedures

Note: Without the redo logs, a database that was backed up online can be recovered only to the time of its last full backup.

3. Back up the client file indexes and bootstrap. “Back up the NetWorker bootstrap and online indexes” on page 40 provides instructions.

Back up the NetWorker bootstrap and online indexesThe bootstrap is a special save set that the NetWorker server software creates in preparation for disaster recovery. The bootstrap save set contains the information needed to restore the online NetWorker indexes and resource configuration files to the state just before the bootstrap was created.

The NetWorker server automatically performs a backup of the bootstrap and client indexes of the database or application host at the end of a scheduled backup. Manual backups do not back up the bootstrap and client indexes.

Note: If only manual backups are run, and the bootstrap and client indexes are not backed up manually, then no backups of the bootstrap and client indexes will be available for use in the event of a disaster recovery on the NetWorker server.

To back up the NetWorker server bootstrap and client file indexes:

1. On the NetWorker server, log in as the root user (UNIX) or administrator (Microsoft Windows), and at the operating system command line enter the following command:

savegrp -O -l full -c NW_client_name -s NW_server_name [-P printer_name]

where:

-O saves only the bootstrap file and index files for the client on the associated NetWorker server without backing up the client database files.

NW_client_name is the hostname of the NMSAP client host.

NW_server_name is the hostname of the NetWorker server.

printer_name is the name of the printer where the bootstrap information is printed at the end of the bootstrap backup, instead of being sent through email notification.

Confirmation of the savegrp completion appears in the NMC program.

2. Store the bootstrap printout in a safe place.

The EMC NetWorker Command Reference Guide and the UNIX man pages provide more information on the savegrp command.

The EMC NetWorker Administration Guide has more information on bootstrap backups.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide40

Backup Procedures

Monitor a manual backup

Operational messages on the status of manual NMSAP backups are displayed at the command line or GUI where the backup is started. Also, the NMC program provides a centralized view of all NetWorker server backup and restore activity, as well as device and library operations and managed events that require user intervention.

The EMC NetWorker Administration Guide provides information on reviewing NMC progress and completion messages.

Appendix C, “Troubleshooting,” provides information on how to review diagnostic and error messages.

Cancel a manual backup

To cancel a running manual backup, press either Ctrl+C, or the equivalent “attention” key combination on the system.

Reviewing backup and restore session reportsDuring backup or restore sessions, the NMSAP backint program appends a report to a sessions log file on each NMSAP host. The default location for the log is:

◆ On Microsoft Windows systems: NetWorker_install_directory\nsr\applogs

◆ On UNIX or Linux systems: /nsr/applogs

The default format for the log filename is backint<DBSID>.log.raw.

This backup sessions log can be written to a different location by using a different name, as specified in the backint_log, arch_backint_log parameters.

This sessions log is in I18N format, and must be run through the NetWorker nsr_render_log utility to be readable.

Verifying the backup information in the NetWorker indexesThe following sections describe how to verify the backup information that is stored in the NetWorker online indexes for NMSAP backups.

The EMC NetWorker Administration Guide the NetWorker online indexes in detail.

Verify backup information in the NetWorker indexesTo review information about NMSAP scheduled and manual backups in the NetWorker online indexes, use the following commands:

◆ To query the client file index, use the nsrinfo command. For example:

nsrinfo -s networker_server_hostname nmsap_client_hostname

Note: The deduplication backup size (size field) recorded in the NetWorker index contains only the NetWorker save file metadata and does not include the size of the data backed up during the deduplication backup.

◆ To query the media database, use the mminfo command. For example:

mminfo -v -s networker_server_hostname -c nmsap_client_hostname

Reviewing backup and restore session reports 41

Backup Procedures

Note: The deduplication save set size (size field) reported by the mminfo command includes only the size of the NetWorker save set metadata.

• To view only save sets created as part of a deduplication backup, use the mminfo command with the -q dedupe option.

• To list the extended attributes for the deduplication backups, add the -S option, which provides information on the total size of data protected as well as the amount of new data passed to the Avamar server during backup. For example:

# mminfo -S -q dedupessid=1968946304 savetime=12/31/08 13:39:59 (1230748799) molecule.lss.emc.com:backint:CER_12330 level=full sflags=vF size=24828 files=18 insert=12/31/08 create=12/31/08 complete=12/31/08 browse=01/31/09 23:59:59 retent=12/31/09 23:59:59 clientid=b24d1144-00000004-49468a5a-49468a56-00040003-bab08c2d *ACTUAL_HOST: molecule.lss.emc.com; *Client path: \/NetWorker/molecule.lss.emc.com/molecule.lss.emc.com; *Data set size: 19333120; *De-Dup session id: 388; *De-Dup snapup time: 2008-12-31; *De-duplication: Yes; *De-duplication host: bu-doppelganger.lss.emc.com; *Domain: /NetWorker/molecule.lss.emc.com; *New data on De-Dup Node: 18596.00; *New files: 4; *Size on De-Dup Node: 19333120.00; Clone #1: cloneid=1230748800 time=12/31/08 13:40:00 retent=12/31/09 flags=F frag@ 0 volid=2002500679 file/rec=1968946304/0 rn=0 last=12/31/08

The EMC NetWorker Command Reference Guide, and EMC NetWorker Administration Guide provide more information on the nsrinfo and mminfo commands.

Deletion and expiry of deduplication backupsWhen a deduplication backup is deleted (for example, by a user or the NetWorker server), the backup information is deleted immediately from the NetWorker indexes, and a request is queued for deletion of the backup from the Avamar server.

Once a deduplication save set exceeds its retention time and its data chunks are deleted from the Avamar server, the save sets are no longer recoverable with the scanner program.

The EMC NetWorker Administration Guide provide more information on the deletion of deduplication backups.

Cloning backupsCloning is an NMSAP process that makes an exact copy of saved data from a storage volume to a clone volume. Individual save sets or the entire contents of a storage volume may be cloned. Because the process clones only complete save sets, additional clone volumes are requested if a save set spans multiple volumes.

The clone volumes are indistinguishable from the original, except that the volume labels are different. NetWorker software indexes and tracks clones in both the client file index and the media database.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide42

Backup Procedures

Note: Cloning deduplication backups will clone only the metadata stored on the NetWorker storage device and not the data stored by the Avamar server.

The sapclone command syntax and optionsNMSAP backups of SAP Oracle databases can be cloned by running the NMSAP sapclone command from the NMSAP host. The sapclone command works with nsrclone to write the cloned data to the default clone pool, or to a specified clone volume whose pool type is "clone."

Use the following syntax for the sapclone command:

sapclone [-a] [-b pool] [-c client] [-n] [-s server] -u user

Command options in brackets ([ ]) are optional. Only the -u option is mandatory.

Table 6 on page 43 lists the options to use with the sapclone command.

Table 6 The sapclone options

Option Description

-a Clones all the save sets of a client. If this option is not specified, the NMSAP program clones only save sets created in the last 24 hours.Example: sapclone -a -u SAP1

-b pool Specifies the pool to which the cloned save sets are sent. If this option is not specified, the save sets are sent to the Default clone pool.Example: sapclone -b SAPClone -u SAP1

-c client Identifies the name of the client whose backed-up data should be cloned. NetWorker software uses the client file index for the specified client to find and clone the client data.Use this option for cloning data backed up from a cluster. For example, you can set this option to the name of the cluster’s virtual node.Example: sapclone -c saturn -u SAP1

-n Tests the cloning operation on the save sets for a client. When this option is specified, the cloning operation is not initiated.The example performs a trial cloning process on the save sets created by backint in the last 24 hours, with none of the data stored onto volumes of a clone pool.Example: sapclone -n -u SAP1

-s server Specifies the destination NetWorker server. You need this option only if one of the following conditions is true:• You clone to a NetWorker server other than the default server.• You enter the sapclone command on a SAP Oracle server.Example: sapclone -s mars -u SAP1

-u user Mandatory. Specifies the Oracle database with the save sets to be cloned.Example: sapclone -u SAP1

Cloning backups 43

Backup Procedures

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide44

4

This chapter includes the following sections:

◆ Restoring and recovering data .................................................................................... 46◆ Performing a restore and recovery ............................................................................. 46

Data Restore andRecovery

Data Restore and Recovery 45

Data Restore and Recovery

Restoring and recovering dataThis chapter describes how to configure and perform SAP Oracle data restore operations, including how to redirect a restore to a different client hostname, and how to recover a database to a consistent state.

Restore and recover Unlike the NetWorker software, which uses the term recover for all backup retrieval activities, this NetWorker Module software distinguishes between the restore and recovery of a database:

◆ Restore means to retrieve individual datafiles from backup and store the files on disk.

◆ Recover means to apply the database transaction logs to update the database to a specific point in time and to make it consistent..

The backup lifecycle

NetWorker software manages the backup lifecycle of data through browse and retention policies. These are set for each file and NetWorker save set respectively at backup time through the NetWorker Client resource browse and retention attributes or the NMSAP NSR_SAVESET_BROWSE and NSR_SAVESET_RETENTION parameters.

◆ The browse policy determines how long backed-up files are maintained in the client’s file index on the NetWorker server.

◆ The retention policy determines how long save set entries are maintained in the NetWorker server’s media database.

When a file entry expires from the NetWorker client index, the NMSAP software is not able to restore the specified file. You may use the NetWorker scanner program to re-create the missing entry as long as the volume of the NetWorker saveset containing the save file is not recycled. After a save set's retention policy expires and the volume that contains the save set is recycled, the backup cannot be recovered.

◆ Set the browse policy to be at least as long as your Recovery Point Objective (RPO).

◆ Set the retention policy to be at least as long as or longer than the browse policy.

The EMC NetWorker Administration Guide provides details on browse and retention policies.

Performing a restore and recoveryAll NMSAP recovery operations are performed manually on an SAP Oracle host by using, for example, the SAP BrGui interface or the brrestore or brrecover commands.

The NMSAP software can recover only data that was backed up with NMSAP software.

To recover an entire database or a subset of database objects, such as a tablespace or datafile:

1. Ensure the NMSAP environment is configured with all necessary requirements. “Verifying the NMSAP software requirements” on page 20 provides details.

2. Ensure that the NetWorker server and the NetWorker client services are running.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide46

Data Restore and Recovery

3. (Optional) To restore the data to a different SAP Oracle host (destination host) than the one that was backed up:

a. Ensure that the NMSAP software is installed and configured on the new destination host.

b. On the NetWorker server that contains the backup to be restored, set the Remote Access attribute in the Client resource of the backed up NMSAP host to sap_user@destination_host.

Note: Users may recover only files for which they have read permission, based on file operating system permissions at the time that the files were backed up.

c. Perform steps 4 through 9 on the new destination host.

4. Ensure that the BRTools initialization file (init<DBSID>.sap) is configured for either utl_file or rman_util as the backup device type, or use the proper brrestore or brrecover options.

“Choosing either backint or RMAN as the backup and restore utility” on page 21 provides details.

5. Ensure that the NMSAP parameter file (init<DBSID>.utl) is configured for the appropriate parameters.

• The server parameter must be set to the hostname of the NetWorker server that contains the backup to be restored.

• The client parameter must be set to the hostname of the NMSAP host that was backed up, if it is different than the destination host.

• The parallelism setting should be the same that was used to make the backup. Typically, it is set to the number of target sessions accepted by the devices, which should be equal to or less than the NetWorker parallelism setting.

• If you restore the SAP Oracle data to a new location and only the top common data directory changes, but the subdirectory structure remains the same as it was at backup time, then you may set the NSR_RELOCATION_DEST parameter to the new top data directory to improve the restore performance.

The new destination directory is determined by BRTool programs. For example, brrestore -m object=new_destination.

If the common directory for the files being restored, as determined by brrestore, does not match the path set in the NSR_RELOCATION_DEST, then the NSR_RELOCATION_DEST setting is ignored.

“Configure the NMSAP parameter file” on page 82 and “Examples of brrestore command syntax and options” on page 99 provide details on these configurations.

6. Ensure that the backup to be restored exists by using an inquire function before performing a restore operation. For example, to inquire for the latest backup, type the following command:

brrestore -verify [use_dbv|only_conf]

The files are read from backup media but are not restored.

7. Prepare for the restore operation as follows:

• For a full restore, shut down the Oracle database instance.

• For the restore of a single database object, take that database object offline.

8. Perform the restore operation by using BRTools interfaces.

Performing a restore and recovery 47

Data Restore and Recovery

CAUTION!The brrestore program, when used for a restore operation, whether invoked directly from the command line or indirectly from the brrecover command or the BrGui interface, first deletes all the original files to be restored before it invokes backint to restore the backed up files. If brrestore or backint fails, then the original files are lost. An alternative method is to restore the files to a different location. Use the -m parameter, and specify the restore destination, for example:brrestore -m tablespace_name=restore_directory

Appendix B, “Examples of SAP Command Options,” contains examples of brrestore and brrecover commands and options. Details of these and other SAP commands can be found in the appropriate SAP documentation.

9. To apply redo logs to recover a database, refer to the appropriate SAP and Oracle documentation.

“Reviewing backup and restore session reports” on page 41 gives details on backup and restore log information.

Restart a restore for files that failed to be restored

During a restore operation, NMSAP attempts to restore all requested files even if some files fail to be restored. When a restore session is complete, you can restart the restore operation for the files that failed as follows:

1. On the NMSAP host, inspect the restore session log and troubleshoot the error messages for files that failed to be restored.

“Reviewing backup and restore session reports” on page 41 gives details.

2. On a command line, complete the restore by applying the brrestore -f command to the appropriate brrestore logs.

Examples:

• To restore the files that failed to be restored during the last two restore sessions:

a. Find the restore logs for these two sessions in the SAPBACKUP directory, for example, reaxdwie.rsb and reasdwap.rsb.

b. Enter the following command for these logs:

brrestore -f reaxdwie.rsb, reasdwap.rsb

• To restore the files that were not restored during the last restore session, enter:

brrestore -f last

• To restore files that failed to be restored in all the restore sessions that were run in the last 3 days, enter:

brrestore -f 3

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide48

5

This chapter includes the following sections:

◆ Requirements for disaster recovery............................................................................ 50◆ Recovering from a disaster .......................................................................................... 50

Disaster Recovery

Disaster Recovery 49

Disaster Recovery

Requirements for disaster recoveryFor a comprehensive disaster recovery plan, it is necessary to fully reconstruct the computing environment and all the SAP Oracle server (NMSAP host) files that are associated with maintaining data.

“Complete backup protection” on page 12 describes the impacts of incomplete protection.

Protect the computing environmentMaintain accurate and complete records of the network and system configurations. Keep all the original software media in a safe location. Include the following:

◆ Original operating system media and patches

◆ Original NetWorker media

◆ Device drivers and device names

◆ File system configuration

◆ IP addresses and hostnames

◆ NetWorker bootstrap and client index information

The NetWorker bootstrap and client index information is required to perform disaster recovery of the NetWorker server, a separate procedure that is not covered in this chapter.

“Back up the NetWorker bootstrap and online indexes” on page 40 provides information.

The EMC NetWorker Disaster Recovery Guide provides information on how to recover the NetWorker server, and a NetWorker client or storage node, from various types of disasters.

Recovering from a disasterTo recover from a disaster, first restore lost Oracle and SAP configuration files and lost BRTools backup log files. After these files are restored, you can perform a database point-in-time recovery or a whole database reset.

Restore the required Oracle and SAP BRTools files

The following procedure is a concise version of the disaster recovery steps described in the SAP documentation, modified for the specific requirements of NMSAP.

The procedure can be performed on the original host or a new host, either of which is called the destination host.

1. If the entire SAP Oracle system has been lost:

a. Reinstall all the required software components described in “NMSAP and associated software” on page 16.

b. Reconfigure the SAP data layout (such as the SAPDATA_HOME directory and its subdirectories) to the same state as before the disaster.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide50

Disaster Recovery

2. (Optional) If restoring to a different destination host, on the NetWorker server that contains the backup to be restored, set the Remote Access attribute in the original Client resource to sap_user@destination_host.

Note: Users may recover only files for which they have read permission, based on file operating system permissions at the time that the files were backed up.

3. Ensure that the storage volumes with the required Oracle and SAP configuration files and the BRTools backup log files are loaded on the NetWorker server or storage node.

4. Configure the NMSAP parameter file (init<DBSID>.utl) for recovery in the default location on the destination host:

• UNIX or Linux systems: $ORACLE_HOME/dbs

• Microsoft Windows systems: %ORACLE_HOME%\database

5. On the destination host, start BRTools or BrGui and follow the on-screen instructions to perform a disaster recovery of profiles and logs.

The SAP documentation provides provides more details on disaster recovery.

Recover a SAP Oracle database after disaster

After the correct SAP BRTools profiles and logs are restored on the NMSAP host, follow the regular BRTools recovery procedure to perform database point-in-time recovery or database reset.

“Performing a restore and recovery” on page 46 gives the procedure to recover an SAP Oracle database.

The SAP documentation provides provides further details on database recovery.

Recovering from a disaster 51

Disaster Recovery

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide52

6

This chapter includes the following sections:

◆ Cluster systems.............................................................................................................. 54◆ Oracle RAC systems ..................................................................................................... 56

Cluster and OracleRAC Configurations

Cluster and Oracle RAC Configurations 53

Cluster and Oracle RAC Configurations

Cluster systemsA cluster environment consists of two or more linked nodes that provide redundant database processing. The NMSAP software backs up the data from the client nodes in the cluster and stores it under a single hostname.

The NMSAP software supports active-passive cluster configurations with the procedures described in this section. “Oracle RAC systems” on page 56 describes active-active application cluster configurations.

Configuring a scheduled backup in a clusterTo configure NMSAP scheduled backups in a cluster:

1. Ensure that the NetWorker server is remote and not a part of the cluster environment.

2. Ensure that the NMSAP software is installed on a local disk on all physical nodes of the cluster designated to perform a backup.

3. If configuration and parameter files are to be used (instead of the wizard) to configure a backup on the cluster, ensure that these files are stored in the same location on each physical node, or on a shared disk.

4. Configure a scheduled backup for the cluster by using one of the following methods:

• “Wizard method” on page 54

• “Non-wizard method” on page 55

Wizard method Follow the procedure for “Configure a scheduled backup with the wizard” on page 24, keeping in mind the following cluster-specific requirements.

1. On the Specify the Client Name page, type the name of the virtual host for the cluster and select the Virtual Client check box.

2. On the Specify Log File Locations and Additional Options page, in the Advanced Options table, ensure the client parameter is set to the virtual hostname.

3. On the Select the NetWorker Client Properties page, add sap_user@physical_host to the Remote Access field for each physical host in the cluster.

Using these settings, the wizard will do the following:

◆ Create a NetWorker Client resource for the virtual host with the usual settings for scheduled backups and the following additional settings:

• The Backup Command attribute will contain -c virtual_clientname.

• The Remote Access attribute will contain the sap_user@physical_host entries.

◆ Create a generic NetWorker Client resource (with the saveset attribute set to All and not assigned to any group) for each physical node, if they do not already exist.

◆ Grant access (ACL rights) to the Lockbox resource for the virtual host to system/root user and sap_user on each physical host.

Note: If additional users need ACL rights to the Lockbox, you can add them to the Lockbox resource directly in NMC.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide54

Cluster and Oracle RAC Configurations

Non-wizard method Follow the procedure for “Configuring a scheduled backup without the wizard” on page 26 to create the configuration for the virtual host, keeping in mind the following cluster-specific requirements.

1. Create a generic NetWorker Client resource (with the saveset attribute set to All and not assigned to any group) for each physical node, if they do not already exist.

2. In the Remote Access attribute of the Client resource that you create for the virtual cluster host, add sap_user@physical_host for each node that requires access to the backup.

Note: You do not need to add -c virtual_clientname to the backup command.

3. In the init<DBSID>.util file, set the client parameter to the virtual client hostname.

Configuring a manual backup in a clusterTo configure NMSAP manual backups in a cluster:

Follow the same instructions as for a scheduled backup without the wizard.

“Configuring a scheduled backup in a cluster” on page 54 gives details.

The only difference is that you may configure a generic NetWorker Client resource for the virtual host.

Configuring a deduplication backup in a clusterTo configure NMSAP deduplication backups in cluster environment:

1. Follow the instructions for the following procedures:

• “Configure deduplication for a scheduled backup” on page 30.

• “Configuring a scheduled backup in a cluster” on page 54 or “Configuring a manual backup in a cluster” on page 55.

2. Ensure that there is at least one NetWorker Client resource enabled for deduplication backups, which corresponds to the client host that is set either on the Specify the Client Name wizard page, or in the client parameter in the init<DBSID>.utl file.

3. For scheduled backups, ensure that the NetWorker Client resource for the virtual host is part of the NetWorker backup group, and is enabled for deduplication.

Converting client-side configurations to wizard settings in a clusterTo convert a scheduled backup configuration that uses configuration files to the wizard configuration in a cluster:

1. Follow the instructions for “Converting client-side configurations to wizard configurations” on page 25. You can run the nsrsapadm conversion utility from any of the physical nodes configured for backup.

2. During the conversion, when nsrsapdm prompts for names of users to add to the Lockbox resource, specify the names of SAP operating system users on each physical node that will be used for the backup.

Cluster systems 55

Cluster and Oracle RAC Configurations

Note: If you do not grant the Lockbox ACL rights during the conversion, you can add the user later by using NMC to edit the Lockbox resource for the cluster virtual host.

Restoring in a clusterTo restore data backed up from a shared disk of a virtual client:

1. Set the client parameter in the NMSAP parameter file, init<DBSID>.utl, to the virtual client that holds the NetWorker index entries for the backup to be restored.

2. Follow the instructions for “Performing a restore and recovery” on page 46.

Oracle RAC systemsAn Oracle Real Application Cluster (RAC) system provides a single database that can be accessed by multiple Oracle instances at the same time. Each Oracle instance is located on a separate host.

Configuring Oracle RAC backupsThe SAP documentation provides details on RAC setup. Specific requirements for Oracle RAC backups with BRTools and NMSAP are as follows:

◆ One of the Oracle RAC instances, set as the dedicated database (DDB) instance, is used to perform all database administration tasks. You must be able to administer all RAC instances from the DDB instance.

◆ BRTools and NMSAP software must be installed on the DDB instance host.

◆ The BRTools log directories, such as SAPBACKUP, SAPARCH, and so on, must be created on a shared file system.

◆ Oracle SQL Net must be properly configured.

◆ The required parameters, such as parallel_instances and db_services, must be set in the SAP initialization file, init<DBSID>.sap, located on the DDB instance.

All Oracle RAC backups performed with BRTools and NMSAP run on the DDB instance. The backup configuration of the DDB instance is the same as for a stand-alone systems. Chapter 2, “Software Configuration,” provides details.

The archived redo logs from all instances are usually stored in a common shared location. These logs are backed up by the brarchive program, which is started on only one RAC instance, usually the DDB instance.

Restoring Oracle RAC data

To restore Oracle RAC data, run the BRTools comands, such as brrestore or brrecover, on the DDB instance.

You can restore all the required archived redo logs in a single brrestore command. The brrestore -a command allows you to enter the instance name and which logs should be restored. For example:

brrestore -a 40-50,ORA2

restores the archived logs with sequence numbers from 40 to 50 that belong to instance ORA2.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide56

7

This chapter includes the following sections:

◆ PowerSnap snapshot backups and restores .............................................................. 58◆ Types of PowerSnap backup........................................................................................ 59◆ Types of PowerSnap restore......................................................................................... 61◆ Basic PowerSnap backup and restore data flows ..................................................... 61◆ Configuring NMSAP snapshot backups and restores ............................................. 63◆ Testing NMSAP snapshot backups and restores ...................................................... 68◆ Example parameter settings for NMSAP snapshot backup.................................... 69◆ Reviewing NMSAP snapshot backup records .......................................................... 70

Snapshot Backupwith PowerSnap

Snapshot Backup with PowerSnap 57

Snapshot Backup with PowerSnap

PowerSnap snapshot backups and restoresPowerSnap snapshot backups and restores provide continuous snapshot-based protection and availability of data on supported types of primary storage. NMSAP works with the NetWorker PowerSnap Module to provide this protection for SAP Oracle data.

PowerSnap modules support scheduled backups only. Manual (client-initiated) backups are not supported. The PowerSnap documentation provides details.

Supported environmentsThe types of primary storage platforms supported by PowerSnap include:

◆ EMC CLARiiON

◆ EMC Symmetrix

◆ EMC Celerra® (NAS Filer)

The EMC Powerlink website (registration required) at Powerlink.EMC.com provides a complete list of supported PowerSnap modules.

Required software componentsFigure 1 on page 59 shows the basic NMSAP environment for PowerSnap snapshot backup and restore. Table 7 on page 58 lists the requires software components:

Table 7 Typical configuration for PowerSnap snapshot operations with NMSAP

Computer or device Required software or configuration

Oracle production server host Oracle server, SAP BRTools, NetWorker client, NMSAP, PowerSnap Module

Proxy client host (Data Mover host) NetWorker client, NetWorker storage node (optional), PowerSnap Module

Storage array Storage array supported by PowerSnap, for example, Symmetrix, CLARiiON, or Celerra (NAS devices)

NetWorker server host NetWorker server, NetWorker client

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide58

Snapshot Backup with PowerSnap

Figure 1 Software used in the NMSAP environment for PowerSnap backups and restores

Types of PowerSnap backupThe NMSAP software, with the appropriate PowerSnap Module, supports the types of backups summarized in Table 8 on page 59

S5

Oracle Server HostDatabase ServerNetWorker Client

NMSAPPowerSnap Module

Data Mover (proxy client host)NetWorker ClientPowerSnap Module

PrimaryStorage Array(For example,Symmetrix,CLARiiON,or Celerra)

NetWorkerServer

LAN

Snapshots

Primary StorageLUNs/Volumes

NetWorkerStotrage Node

ConventionalStorage

GEN-001253

S1

S4

S2

S3

SAN

Table 8 Summary of supported PowerSnap backup types

Backup type Snapshot retention Location of stored data

“Instant backup” on page 60 Permanent Snapshot only

“Immediate live backup” on page 60 Temporary Conventional storage only

“Deferred live backup” on page 60 Permanent Both snapshot and conventional storage

Types of PowerSnap backup 59

Snapshot Backup with PowerSnap

The PowerSnap backup type is configured by the Snapshot Policy attribute in the NetWorker Backup Group. “Group resource” on page 64 gives details.

Instant backupAn instant backup creates a permanent point-in-time (PIT) copy, or snapshot, of SAP Oracle data. This copy is stored on the primary storage system where it is available to the NMSAP program for performing instant restores or rollbacks. Instant backups can be scheduled to occur many times in a single day, with minimal impact to the SAP Oracle server or network.

A group of SAP Oracle datafiles in the snapshot is referred to as a snap set. The snapshot policy must be configured to control the lifecycle of the snap set. This policy specifies the frequency of instant backups and how long snapshots are retained before being recycled. “Snapshot Policy resource” on page 64 gives more information.

IMPORTANT!Instant backups protect against logical failures only. To protect against physical media failures, the snapshot must be backed up to conventional storage.

Live backup

A live backup (also known as “snapshot rollover” or “rollover to conventional storage”) is a backup of a snapshot to conventional (secondary) storage.

A proxy client host (also called the “data mover host”) is separate from the Oracle server host and is used by the PowerSnap module to move the snapshot data to conventional storage. The use of a proxy client as a secondary host reduces the demand on the Oracle server host. The proxy client may be a NetWorker storage node.

Note: The group snapshot policy must be configured to enable live backups. “Snapshot Policy resource” on page 64 provides more information.

The NMSAP program supports two types of live backup: immediate live backup and deferred live backup.

Immediate live backupImmediate live backup (also known as serverless snapshot backup or snapshot-based backup) is a process by which a temporary snapshot is created and immediately backed up by the PowerSnap module to conventional storage. The snapshot is then automatically deleted from the primary storage (and is not available to the NMSAP program for performing instant restores or rollbacks).

Deferred live backupDeferred live backup is a process by which a permanent snapshot is created and is backed up by the PowerSnap module to conventional storage. The permanent snapshot is retained on the primary storage and is available to the NMSAP program for performing instant restores or rollbacks for the period specified by either of the following policies:

◆ The snapshot expiration policy

◆ The Retain Snapshots attribute of the snapshot policy

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide60

Snapshot Backup with PowerSnap

Types of PowerSnap restoreThe NMSAP software, with the appropriate PowerSnap Module, supports the types of restore described in Table 9 on page 61.

The restore type is specified in the RESTORE_TYPE_ORDER parameter in the user-defined PowerSnap configuration file. “PowerSnap parameters” on page 66 provides details.

Instant restoreAn instant restore is the process by which a snapshot that was created by an instant backup is mounted. This enables NMSAP to retrieve its saved data, or subset of the saved data. A minimal amount of time is required for this type of restore.

RollbackA rollback restores the entire snapshot to the source location by using the hardware’s particular capabilities. Relocation during rollbacks is not supported by PowerSnap software. To determine if a rollback is supported on a specific type of hardware, refer to the appropriate NetWorker PowerSnap Module Installation and Administration Guide.

CAUTION!Rollbacks are potentially destructive because they overwrite the entire contents of a snapshot unit, such as a volume or disk.

Restore from conventional storageA restore from conventional storage is the process by which a snapshot data that was saved to the conventional storage system is restored from that storage system to the SAP Oracle Server.

Note: The restore of snapshot data from the conventional storage requires the use of PowerSnap software.

Basic PowerSnap backup and restore data flowsDuring a PowerSnap backup the NMSAP backint process interacts with the PowerSnap Module processes to create the point-in-time (PIT) snapshot and backs it up to NetWorker server.

Table 9 Supported restore types

Restore type Data retrieved from:

“Instant restore” on page 61 Mounted snapshot

“Rollback” on page 61 Unmounted snapshot, entirely restored to source location

“Restore from conventional storage” on page 61 Conventional storage

Types of PowerSnap restore 61

Snapshot Backup with PowerSnap

A PowerSnap snapshot backup involves the following processes:

1. At the time of a scheduled snapshot backup, the NetWorker server starts the NMSAP nsrsapsv process, which invokes the SAP brbackup command.

2. The SAP brbackup program invokes the NMSAP backint program which then communicates with the PowerSnap Module.

3. On the SAP Oracle server host, the PowerSnap Module takes a point-in-time snapshot of the Oracle data on the primary storage, which then becomes available to the PowerSnap data mover host.

4. If a live backup is performed, the PowerSnap Module on the data mover host moves the SAP Oracle data from the snapshot on the primary storage to the NetWorker storage node, which stores the data to conventional storage. If required, PowerSnap deletes the snapshot.

5. At the end of the PowerSnap backup, the NetWorker server updates the online client and media indexes with information about the backup.

The NetWorker Administration Guide provides more information on NetWorker server and client services.

Figure 2 on page 62 illustrates the architecture of the NMSAP backup and recovery system, and shows the functional relationship between SAP and NetWorker software components.

Figure 2 PowerSnap backup and restore data flow with NMSAP

NetWorkerClient

SAP OracleServer Host

PowerSnapData Mover Host

NetWorkerServer Host

NetWorkerClient

PowerSnapModule

StorageMediumSAP with

Oracle DatafilesPoint-in-Time Copy

of SAP withOracle Datafiles

PowerSnapModule

NetWorkerServer

Primary Storage

NMSAP

BRTools

Control

Data

GEN-000436

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide62

Snapshot Backup with PowerSnap

Configuring NMSAP snapshot backups and restoresTo configure NMSAP snapshot backups:

1. Configure the SAP Oracle database layout to position the datafiles on the primary storage that is supported by the specific PowerSnap Module.

Note: Do not locate the Oracle database control file or any SAP directories, except sapdata<n>, on the same volume (snapshot unit) as the datafiles that will be backed up through PowerSnap backups. Specific types of Oracle files, such as control files, cannot be backed up through a PowerSnap backup. This is an Oracle constraint. The Oracle documentation for the particular Oracle Server version provides more information on the Oracle file types that do not support snapshot backups.

2. Ensure that both the NMSAP software and the required PowerSnap Module software are installed according to the instructions in the following documentation:

• NetWorker Module for SAP with Oracle Installation Guide

• NetWorker Module for PowerSnap Installation and Administration Guide(Refer to the PowerSnap Module release for the primary storage system.)

3. For online database backups, do one of the following:

• In the init<DBSID>.sap file, set backup_device_type=util_file_online

• In the nsrsapsv.cfg file, set the BR_EXEC parameter’s CLI option to -d util_file_online.

Note: If backup_device_type is set to util_file, the database stays in backup mode for the entire duration of the backup and generates a larger number of transaction logs.

4. Complete the procedure: “Configure the NetWorker resources for NMSAP snapshot backups” on page 63.

5. Complete the procedure: “Configure NMSAP and PowerSnap parameters for snapshot operations” on page 65.

Configure the NetWorker resources for NMSAP snapshot backupsThe following sections describe how to configure the NetWorker resources for NMSAP backups with PowerSnap.

The NetWorker Module for PowerSnap Installation and Administration Guide also provides more details on PowerSnap configuration.

Snapshot Pool resourceConfigure a separate NetWorker snapshot Pool resource to support NMSAP PowerSnap backups. The PowerSnap Module stores the metadata from the snapshot in this pool.

◆ Use the same configuration method as for a regular NMSAP backup, except the specified backup device should be a file or advanced file type.

◆ Specify this pool name in the Snapshot Pool attribute of the NetWorker Group resource as described in “Group resource” on page 64.

Configuring NMSAP snapshot backups and restores 63

Snapshot Backup with PowerSnap

Snapshot Policy resourceA NetWorker snapshot policy must be configured to perform either instant or live NMSAP PowerSnap backups. Specify either a preconfigured policy, or create a new one.

Group resourceConfigure a NetWorker Group resource for NMSAP PowerSnap backups. Table 10 on page 64 gives typical settings.

Note: A PowerSnap backup must be started by the NetWorker scheduled backup group. It cannot be scheduled, for example, by SAP Computing Center Management System (CCMS).

Device resourceFor live SAP Oracle backups, configure a Device resource for each conventional storage device to be used during backups. The devices must be mounted.

Client resourceThe NetWorker Client resource for the NMSAP PowerSnap operations should be configured as described in “Set the Client resource” on page 27. The Client resource should be associated with the snapshot Group resource.

Note: During a backup, the NMSAP software appends “:PS:” to the saveset name to identify PowerSnap save sets.

The lifecycle of a snapshot is defined by the snapshot browse and retention policies of the Group resource that is specified for the NetWorker Client resource.

The Browse Policy attribute in the Client resource applies only to the NetWorker client file index entries for PowerSnap backups that reside on conventional storage (live backups).

The Retention Policy attribute in the Client resource applies only to the NetWorker media database entries for live backups.

Client resources for NAS devicesFor PowerSnap operations with a network-attached storage (NAS) device, specify two NetWorker Client resources as follows.

◆ NetWorker Client resource for the NAS device

• Do not associate the Client resource with any group.

• Set the Save Set to none.

Table 10 Backup Group resource attributes for PowerSnap backups

Attribute Setting

Snapshot True

Snapshot Policy Daily or other customized policy.

Snapshot Pool A Pool resource dedicated to the storage of snapshot operation metadata is recommended. File-type volume devices are strongly recommended over tape.

Start Time Must be set in relation to the Number of Snapshots attribute for the snapshot policy: (Interval x Number of Snapshots) must be less than or equal to (24:00 h - Start Time).

Interval Must be set in relation to the Number of Snapshots attribute for the snapshot policy.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide64

Snapshot Backup with PowerSnap

• Enable NDMP.

• Set the remote username and password to the root username and password of the NAS device.

Note: Only members of a NetWorker user group with the Change Security Settings privilege can set the Remote Access attribute in the Client resource.

◆ NetWorker Client resource for the NMSAP host

• Configure the Client resource and associate it with the snapshot Group resource, as described in “Client resource” on page 64

• Specify the following parameter in the Application Info attribute:

NSR_SNAP_NAS_CLIENT = NASFilerHostName

where NASFilerHostName is the name of the NAS device.

Configure NMSAP and PowerSnap parameters for snapshot operationsNMSAP PowerSnap backups and restores use the parameter settings described in the following sections:

◆ “NMSAP parameters for PowerSnap operations” on page 65

◆ “PowerSnap parameters” on page 66

NMSAP parameters for PowerSnap operationsTable 11 on page 65 lists detailed descriptions of the NMSAP parameters that are set in the parameter file, init<DBSID>.utl for PowerSnap backups or restores. Example 1 on page 69 provides a basic configuration for NMSAP snapshot backups with PowerSnap.

Table 11 PowerSnap parameters in the NMSAP parameter file, init<DBSID>.utl file (page 1 of 2)

PowerSnap parameter Description / Default value Default and valid values

ps_backup_modeps_archive_modeps_restore_modeps_inquire_mode

Each of these PowerSnap functional modes is enabled if set to TRUE.Normally, all the modes are set together to either all TRUE or all FALSE, except ps_archive_mode=FALSE and all others =TRUE. Do not use any other settings except for diagnostic purposes.

• FALSE (default)• TRUE

ps_opaque_pfilename Full pathname of a configuration file that contains PowerSnap specific parameters. “PowerSnap parameters” on page 66 describes how to set the parameters.

• Undefined (default)• A valid full pathname of the

PowerSnap configuration file

ps_exclude_backup_bi_run_numsps_exclude_archive_bi_run_nums

Specifies which backint runs are to be excluded from PowerSnap processing (typically run number 2). Each brbackup or brarchive session invokes the backint process to run twice in sequence. • Run 1 backs up the Oracle data.• Run 2 backs up the Oracle database initialization file (init<DBSID>.ora),

and the BRTools parameter file (init<DBSID>.sap) and catalog files.Files backed up during Run 2 do not require PowerSnap processing and can be backed up by conventional processing without PowerSnap, thereby saving valuable snapshot disk resources.

Note: The following starting values are strongly recommended:ps_exclude_backup_bi_run_nums=2ps_exclude_archive_bi_run_nums=1;2

• Undefined (default)• Numeric value of one or more

valid backint run numbers to exclude, each separated by a semicolon (;)

Configuring NMSAP snapshot backups and restores 65

Snapshot Backup with PowerSnap

PowerSnap parametersPowerSnap parameters can be set in the PowerSnap configuration file for backups or restores, or in the Application Info attribute of the NetWorker Client resource for backups only.

The PowerSnap configuration file must be specified by its complete file pathname, for example, /nsr/res/nmsapps.cfg, in the ps_opaque_pfilename parameter in the NMSAP parameter file, init<DBSID>.utl.

Example 2 on page 69 provides a simple PowerSnap with Celerra NAS devices example.

Some parameters in the PowerSnap configuration file have corresponding parameters in the NMSAP parameter file, init<DBSID>.utl, from which they inherit their values. Normally, values for these parameters should not be specified in the PowerSnap configuration file. If a corresponding parameter is set in the PowerSnap configuration file, it overrides the equivalent parameter in the NMSAP parameter file. Table 14 on page 82 lists the parameters in the NMSAP parameter file.

ps_exclude_backup_pathsps_exclude_archive_paths

Specifies individual PowerSnap files to exclude from PowerSnap processing and back up with conventional non-snapshot processing instead. PowerSnap files are those on a snapshot-capable file system that NetWorker is aware of.Whenever possible, set the ps_exclude_xxx_bi_run_nums parameters instead of ps_exclude_xxx_paths parameters.

Note: - On Microsoft Windows systems, support of wildcard characters is limited, and a single trailing * denotes simple case-insensitive prefix matching. Thus X:\DB01\FOO.DBF will be excluded from PowerSnap backups if the parameter is set to a value of: X:\*, or X:\db*, or X:\DB01\*- On UNIX systems, wildcard support follows standard shell support for full file pathnames. For example the file /db01/foo.dbf is excluded if the parameter is set to a value of: /db01/foo.*, or /db??/*.dbf, but not excluded if set to /db*.

• Undefined (default)• Full path of the files to be

excluded, each separated by a semicolon (;). Wildcard characters can be used as described in the Note. Use values that are based on the actual filename that BRTools passes to backint.

ps_ps_before_nonps Specifies whether to perform all PowerSnap processing before conventional processing without PowerSnap. This helps prevent potential resource conflicts.Setting this value to FALSE enables concurrent processing of all files set for backup, archive, or restore.

Note: The FALSE value is not recommended and is used at the user’s own discretion.

• TRUE (default)• FALSE

ps_group_objs Specifies whether to group all session files for each PowerSnap operation, such as prepare or sync, snapshot or split, save or restore, or cleanup.Setting this value to TRUE improves NMSAP performance for certain database disk or filesystem configurations, particularly if large numbers of files are processed by BRTools and PowerSnap with util_file_online.However, grouping files also reduces the potential parallelism for certain backup and restore suboperations, which in turn can reduce performance.

• TRUE (default)• FALSE

Table 11 PowerSnap parameters in the NMSAP parameter file, init<DBSID>.utl file (page 2 of 2)

PowerSnap parameter Description / Default value Default and valid values

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide66

Snapshot Backup with PowerSnap

Each parameter in the configuration file or in the Application Info attribute must be listed on a separate line, in the following format:

parm_name=parm_value

where:

◆ parm_name is the variable name, such as NSR_SNAP_TYPE.

◆ parm_value is the variable value, such as nas.

Table 12 on page 67 lists some common PowerSnap parameters. The appropriate NetWorker Module for PowerSnap Installation and Administration Guide provides a complete list of PowerSnap parameters.

Table 12 Common parameters in the PowerSnap configuration file, nmsapps.cfg (page 1 of 2)

PowerSnap variables Description Default and valid values

NSR_CHECKSUM Corresponds to the checksum parameter in Table 14 on page 82.

Setting of NMSAP checksum parameter (default).

NSR_CLIENT Corresponds to the client parameter in Table 14 on page 82.

Note: If set, the value of NSR_CLIENT parameter must match the value of client parameter.

Setting of NMSAP client parameter (default).

NSR_COMPRESSION Corresponds to the compress parameter in Table 14 on page 82.

Setting of NMSAP compress parameter (default).

NSR_DATA_MOVER Mandatory. if the PowerSnap backup uses a data mover host different from the PowerSnap client host (NSR_CLIENT). Specifies the hostname or IP of the of the PowerSnap data mover host.

• Local host (default).• Valid hostname or IP address.

NSR_DATA_VOLUME_POOL Corresponds to the pool parameter in Table 14 on page 82. Setting of NMSAP pool parameter (default).

NSR_MAX_STREAMS Optional. Specifies the maximum number of restore streams. • Setting of the NMSAP pallelism parameter (default).

• An integer value.

NSR_PS_DEBUG_LEVEL Optional. PowerSnap debug level. • 0 (default, no debugging).• 0 – 9.

NSR_PS_SAVE_PARALLELISM Optional. Specifies the maximum number of concurrent backup save streams on the PowerSnap client host.

• Setting of the NMSAP pallelism parameter (default).

• An integer value.

NSR_SAVESET_BROWSE Corresponds to NSR_SAVESET_BROWSE in Table 14 on page 82.

Note: Applies only to data stored on conventional storage as described in “Client resource” on page 64.

Setting of NMSAP NSR_SAVESET_BROWSE parameter (default).

NSR_SAVESET_RETENTION Corresponds to NSR_SAVESET_RETENTION in Table 14 on page 82.

Note: Applies only to data stored on conventional storage as described in “Client resource” on page 64.

Setting of NMSAP NSR_SAVESET_RETENTION parameter (default).

NSR_SNAP_NAS_CEL_CS_HOST Mandatory for NAS devices. Specifies the hostname or IP of the Celerra control station.

• Local host (default).• Valid hostname or IP address.

Configuring NMSAP snapshot backups and restores 67

Snapshot Backup with PowerSnap

Testing NMSAP snapshot backups and restoresTo test NMSAP backups and restores with PowerSnap:

1. Configure the NetWorker resources and NMSAP configuration files as described in “Configuring NMSAP snapshot backups and restores” on page 63.

2. Test the NMSAP PowerSnap backups by invoking the savegrp command either from the NMC GUI program or from the command line on the NetWorker server host as follows:

savegrp -c client_name group_nameThe backup test is successful if the backint log reports the following message:

n of n PS files reported

where n is the number of files requested that reside on a PowerSnap disk.

If you encounter a problem, check the NMSAP backint and PowerSnap logs. Common problems include:

• The target file is not managed by the PowerSnap Module.

• The PowerSnap Module daemon or service, nsrpsd, is not running.

• The PowerSnap powersnap.res configuration file needs to be modified.

• The ps_xxx_mode or ps_exclude_xxx parameter, where xxx is specified as described in Table 11 on page 65, is set to exclude a file from PowerSnap processing.

• The ps_opaque_pfilename file needs to be modified.

NSR_SNAP_NAS_CLIENT Mandatory for NAS devices. Specifies the hostname or IP of the NAS filer with NFS server for the specified mount point.

• Local host (default).• Valid hostname or IP address.

NSR_SNAP_SUBTYPE Mandatory for NAS devices. Specifies the NAS SCM subtype to use for snapshot management.

Must be defined as CEL_SNAPSURE (default).

NSR_SNAP_TYPE Mandatory for NAS devices.Optional for other platforms. Specifies snapshot platforms.If the value is unspecified, PowerSnap inquires the BRC service to choose the most appropriate value.

The value must be lowercase, for example:• nas for NAS devices• symm-dmx for Symmetrix DMX• emcclar for CLARiiON• emcrp for RecoverPoint

RESTORE_TYPE_ORDER Optional. Specifies the type of restore to be performed.If multiple values are specified, each type of restore is attempted, in the order specified, until a restore operation is successful.

Note: For NMSAP, a rollback operation aborts if one of the following occurs:- If brrestore file relocation is specified. - If nonrequested files exist in the brrestore-requested file systems. These files could become corrupted after a rollback.

• pit:conventional (default)One or more of the following values is supported, with each value delimited from the others by a colon (:)• pit - Specifies an instant

(point-in-time) restore.• conventional - Specifies a restore

from conventional storage media.• rollback - Specifies a rollback

restore from a PiT copy.

Table 12 Common parameters in the PowerSnap configuration file, nmsapps.cfg (page 2 of 2)

PowerSnap variables Description Default and valid values

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide68

Snapshot Backup with PowerSnap

For further troubleshooting, enable the following parameters in the init<DBSID>.utl file to generate diagnostic logs for EMC Customer Support:

debug_level = 9nsr_debug_msg = TRUE

To obtain PowerSnap debug logs, also specify the following in the ps_opaque_pfilename file:

NSR_PS_DEBUG_LEVEL=9

3. Run a pre-restore inquiry with the following command:

brrestore -verify

4. Test a restore with the following command:

brrestore

The restore test is successful if a backint log reports the following message:

n of n PS files reported

where n is the number of files requested that reside on the primary storage supported by PowerSnap.

Example parameter settings for NMSAP snapshot backupThe following are examples of settings in the NMSAP parameter file, init<DBSID>.utl, and the PowerSnap configuration file (for example, nmsapps.cfg) for snapshot backups and restores with PowerSnap software.

Example 1 Typical settings in the backint parameter file, init<DBSID>.utl

ps_backup_mode = TRUEps_archive_mode = FALSEps_restore_mode = TRUEps_inquire_mode = TRUEps_exclude_backup_bi_run_nums = 2ps_exclude_archive_bi_run_nums = 1;2ps_exclude_backup_paths = (leave blank)ps_exclude_archive_paths = (leave blank)ps_ps_before_nonps = TRUEps_group_objs = TRUEps_opaque_pfilename = /nsr/res/nmsapps_backup.cfg

Example 2 Typical settings for NAS device in the PowerSnap configuration file

This example of a backup with Celerra NAS devices uses the following PowerSnap parameter settings in the /nsr/res/nmsapps_backup.cfg file, which is specified with the ps_opaque_pfilename parameter in the NMSAP parameter file.

NSR_SNAP_TYPE=nasNSR_DATA_MOVER=mover_computerNSR_SNAP_NAS_CEL_CS_HOST=controlstnNAS_SNAP_SUBTYPE=CEL_SNAPSURENSR_SNAP_NAS_CLIENT=11.222.333.44

Example parameter settings for NMSAP snapshot backup 69

Snapshot Backup with PowerSnap

Reviewing NMSAP snapshot backup recordsThe NetWorker server records information about each NMSAP PowerSnap backup in its online indexes, client file index, and media database. The NetWorker client file index for NMSAP PowerSnap backups is stored under the "saporacle" namespace. The “backup” namespace is used for regular (non-PowerSnap) NMSAP backups.

Use the nsrinfo and mminfo commands to query the online NetWorker indexes.

◆ To query the NetWorker client file index, type the nsrinfo command, for example:

nsrinfo [-v] -n saporacle -s NetWorker_server client

where client is your SAP Oracle server hostname.

◆ To query the NetWorker media database, type the mminfo command.For example:

mminfo [-v] [-N backint:DBSID:PS:] -s NetWorker_server -c client

where client is your SAP Oracle server hostname.

The NetWorker Command Reference Guide and the UNIX man pages provide more information on these NetWorker commands.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide70

8

This chapter includes the following sections:

◆ Split-mirror backups and restores .............................................................................. 72◆ Basic split-mirror backup and restore data flows..................................................... 72◆ Configuring the production host for split-mirror backups..................................... 74◆ Configuring the mount host for split-mirror backups............................................. 75◆ Configuring the RM server for split-mirror backups............................................... 77◆ Configuring the NetWorker server for split-mirror backups ................................. 77◆ Configuring a cluster environment for split-mirror backups................................. 77◆ Examples of RM scripts for split-mirror backups .................................................... 78◆ Examples of parameters for split-mirror backups.................................................... 79

Split-Mirror Backupwith Replication

Manager

Split-Mirror Backup with Replication Manager 71

Split-Mirror Backup with Replication Manager

Split-mirror backups and restoresNMSAP in cooperation with EMC Replication Manager (RM) software supports BRTools split-mirror backups with split-command interface.

Note: The SAP splitint interface is not supported by the NMSAP with RM split-mirror backup implementation.

Supported environments

The types of primary storage array platforms supported by RM include:

◆ EMC CLARiiON◆ EMC Symmetrix

The EMC Powerlink website (registration required) at Powerlink.EMC.com provides a complete list of supported RM modules.

Required software componentsSplit-mirror backups created with NMSAP, BRTools, and RM require the software components described in Table 13 on page 72.

Basic split-mirror backup and restore data flowsA split-mirror backup involves the following basic processes:

◆ RM software “splits” the disks on the primary storage array, which creates a snapshot copy (replica) of the database.

◆ RM mounts the replica onto the backup host (data mover), and later synchronizes the disks if necessary.

◆ The NMSAP backint program backs up the snapshot data from the mount host to conventional storage.

Note: The SAP split-mirror backup framework does not support the backup of archived redo logs. To fully protect the SAP environment, NMSAP should be configured on the production host to back up archived logs.

Table 13 Hosts required for split-mirror backups with RM and NMSAP

Computer or device Required software or configuration

Oracle production server host Oracle server, SAP BRTools, RM agent. Optionally: NW client, NMSAP

Mount host

Note: Mount host is also also known as the data mover, mirror host, or backup host

At least Oracle client software and SQL Plus, SAP BRTools, RM agent, NetWorker client, and NMSAP

Replication Manager server host RM server

NetWorker server host NetWorker client and NetWorker server

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide72

Split-Mirror Backup with Replication Manager

Manual split-mirror backup data flow

A manual split-mirror backup is started on the mount host by running the SAP brbackup command, as described in the following process.

1. The brbackup program contacts the production database to determine the location of objects to be backed up. For an online backup, it also creates a copy of the control file on the mount host.

2. brbackup prepares the production database for the backup.

• For an online backup, it puts the required tablespaces into backup mode.

• For an offline backup, it shuts down the database if necessary.

3. brbackup executes the script specified by the split_cmd parameter in the init<DBSID>.sap file.

4. The split script runs an RM job that creates a database replica and mounts it on the mount host.

5. The script ends executions and returns control to brbackup.

6. brbackup completes its interaction with the production database.

• For an online backup, it takes the tablespaces out of backup mode.

• For a offline backup, it restarts the database if necessary.

7. brbackup runs the NMSAP backint binary on the mount host.

8. backint establishes connection with the NetWorker server, backs up the data to conventional storage, and records the backups in the NetWorker server catalog.

9. brbackup records the backup in its own catalog on the mount host and makes a copy of the catalog on the production host.

By default, NMSAP stores backup entries in the NetWorker client file index under the name of the client that it backs up, in this case the mount host. The backup entries can be recorded under the Oracle production host by setting the NMSAP client parameter to the production host.

Scheduled split-mirror backup data flowScheduled split-mirror backups are scheduled through the NetWorker server. At the scheduled backup start time, the following process occurs:

1. The NetWorker server contacts the NetWorker client on the mount host.

2. The NetWorker client calls the NMSAP nsrsapsv scheduled backup program.

3. nsrsapsv sets the environment needed to run the brbackup program, and runs the brbackup program, as configured in the NMSAP nsrsapsv.cfg configuration file.

4. The backup then follows the same processes as a manual backup.

Restore of split-mirror backups data flowRestore and recovery operations are the same as for regular NMSAP backups and do not involve RM.

The backup data can be restored to either the mount host or the production host by running the brrestore command on the destination host.

Basic split-mirror backup and restore data flows 73

Split-Mirror Backup with Replication Manager

Configuring the production host for split-mirror backupsTable 13 on page 72 lists required and optional software components to be installed on the production host.

Configure Oracle on the production hostFollow the SAP documentation for details on how to create an Oracle database on the production host.

The following configurations apply specifically to split-mirror backups:

1. Preferably, use the same ORACLE_HOME and user operating system account on both the production host and mount host.

2. Ensure that the database is in archived log mode.

3. Ensure that the following database files are located on the storage array:

• Database files

• Control file

• Parameter file (init<SID>.ora)

• Redo log files

• Archived logs

• Dump files

4. Configure and start the Oracle Net services. This enables the mount host to connect to the production database.

5. Grant sysoper and sysdba privileges to the SAP database user for BRTools operations.

Configure BRTools on the production hostFollow the SAP documentation for details on how to configure BRTools on the production host.

The following configurations apply specifically to split-mirror backups:

1. Preferably, use the same paths and values for SAP specific parameters, such as SAPBACKUP and SAPARCH, on both the production and mount hosts.

2. On Microsoft Windows systems, use NFS to share the %SAPBACKUP% directory, which is located on the production host, with the mount host.

Ensure the Oracle and SAP user and services on the mount host have read and write permissions on the %SAPBACKUP% directory. This is required to copy the control file to the %SAPBACKUP% directory during a split-mirror backup.

Note: On Microsoft Windows, the brrestore command may fail to restore the Oracle database control file, generated during an online split-mirror backup, and the BRTools backup catalogs. Split-mirror backups on Windows systems use NFS sharing. This enables these files to be backed up from their location in the %SAPBACKUP% directory, but it does not enable NMSAP to find the expected request file in the NetWorker index. Restore these files by using NetWorker file system tools, such as the recover command or the client graphical user interface.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide74

Split-Mirror Backup with Replication Manager

Configure NMSAP on the production host

Optionally, install NMSAP on the production host. This enables the following activities:

◆ Backup of Oracle archived logs, which must be performed outside of the split-mirror backup framework.

◆ Recovery of the backups directly to the production host instead of the mount host.

Configuring the mount host for split-mirror backupsTable 13 on page 72 lists required software components to be installed on the mount host.

Review the following sections for important details about the mount host configuration.

Configure Oracle software on the mount hostFollow the Oracle documentation for details on how to configure the Oracle software on the mount host.

The following configurations apply specifically to split-mirror backups:

1. Preferably, use the same ORACLE_HOME and user operating system account on both the production host and mount host.

2. Configure and start the Oracle Net services. This enables the mount host to connect to the production database.

3. Either copy the init<SID>.ora parameter file from the production host to the mount host, or create a dummy init<SID>.ora file that contains the following parameters:

• db_name=SID of the production database

• control_files=(location of the control file on the production host, location2)

Configure BRTools on the mount hostFollow the SAP documentation for details on how to configure BRTools on the mount host.

The following configurations apply specifically to split-mirror backups:

1. Preferably, use the same paths and values for SAP specific parameters, such as SAPBACKUP and SAPARCH, on both the production and mount hosts.

2. Create the split command script by following the appropriate RM documentation.

3. Set the following parameters in the init<DBSID>.sap initialization file:

• split_cmd = location of the RM split command script

• primary_db = SID of the production database

Configuring the mount host for split-mirror backups 75

Split-Mirror Backup with Replication Manager

Note: For a single-host configuration, where the mount host is the same as the production host, this parameter must be set to the following keyword:primary_db = LOCAL

• orig_db_home = $SAPDATA_HOME on the production host

Note: This parameter is required when the replica is mounted onto a different directory than the production database, for example in a single-host environment.

4. For a two-host UNIX environment, set the following parameters in the init<DBSID>.sap file:

• remote_host = production database host

• stage_copy_cmd = rcp | ftp | scp Set only one of these values.

Note: Ensure that the SAP user on the mount host is allowed to perform the specified command on the production host.

5. In a Microsoft Windows environment, mount the shared %SAPBACKUP% directory under the same path as on the production host.

Note: The %SAPBACKUP% directory must be shared because SAP split-mirror backups do not support FTP or RCP on Windows.

6. Set the following parameters in the init<DBSID>.sap file, or specify them as command line options to the brbackup command.

Note: The command line options take precedence over the corresponding parameters set in the init<DBSID>.sap file.

• backup_type = online_split | offline_split

• backup_dev_type = util_file

• util_par_file = location of the NMSAP config utl.file

7. Set the SAP environment variables as follows:

• $SAPDATA_HOME = location of the replica

• Set other required variables, for example $SAPBACKUP, as described in the BRTools documentation.

Configure NMSAP on the mount hostChapter 2, “Software Configuration,” provides instructions on how to configure the NMSAP software.

For scheduled backups, ensure that the nsrsapsv.cfg file on the mount host contains the following setting:

PATH = location of the RM agent binaries

Note: The NMSAP wizard does not support the configuration of split-mirror backups. Scheduled backups must be manually configured.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide76

Split-Mirror Backup with Replication Manager

Configuring the RM server for split-mirror backupsFollow the Replication Manager documentation for details on how to configure the RM server for SAP split-mirror replication.

The following requirements apply specifically to split-mirror backups:

1. Add the array devices to the RM storage pool. The devices must be visible to both the production host and mount host.

2. Create an application set and a RM job for the SAP Oracle database instance. In the RM job properties, select the Consistent split replication option.

3. In the RM job properties, unselect Unmount the replica on job completion. The replica should stay mounted after the RM job completes. Also, the job should fail if the replica mount attempt fails.

Configuring the NetWorker server for split-mirror backupsTable 13 on page 72 lists required software components to be installed on the NetWorker server host.

Chapter 2, “Software Configuration,” provides instructions on how to configure the NetWorker server for NMSAP manual and scheduled backups.

The following requirements apply specifically to split-mirror backups:

1. Configure the NetWorker Client resource for the production host with the following settings:

• Scheduled backup group: None, unless this resource is configured for archived log backups.

• Remote access: SAP_user@mount_host

2. Configure the NetWorker Client resource for the mount host with the following settings:

• Save set: backint:<DBSID>

• Group: NMSAP group

• Backup command: nsrsapsv -f location of nsrsapsv.cfg file

• Remote access: SAP_user@production_host

Configuring a cluster environment for split-mirror backupsChapter 6, “Cluster and Oracle RAC Configurations,” provides instructions on how to configure a cluster environment for scheduled backups.

The following requirements apply specifically to split-mirror backups:

1. Configure the required production host software on each physical node of the cluster.

2. Configure the required mount host software on a computer that is located outside of the cluster.

Note: Only a production host can be in a cluster environment. The mount host must be a stand-alone host.

Configuring the RM server for split-mirror backups 77

Split-Mirror Backup with Replication Manager

3. Store the parameter and configuration files, init<DBSID>.utl and nsrsapsv.cfg, in the same location on each physical node or on a shared drive.

4. Use the virtual node name for the production hostname.

5. On the NetWorker server, create and configure the NetWorker Client resource for each physical node with the following settings:

• Generic NetWorker resource (not NMSAP-specific)

• Group: none

6. On the NetWorker server, create and configure the NetWorker Client resource for the virtual node with the following settings:

• Group: none, unless this resource is configured for archived log backups.

• Remote access:

– SAP user@physical node #1

– SAP user@physical node #2

– SAP user@mount host

7. Configure the NetWorker Client resource for the mount host with the following settings:

• Save set: backint:<DBSID>

• Group: NMSAP group

• Backup command: nsrsapsv -f location of nsrsapsv.cfg file

• Remote access: SAP_user@virtual_node

Examples of RM scripts for split-mirror backupsThis section shows examples of Replication Manager scripts that can be modified as needed for specific environments and configurations. Different scripts are used on UNIX and Microsoft Windows platforms.

Note: The following scripts have no error handling and do not consider possible use cases where the operations might fail.

sap_online_split script for RM on UNIX systems# SAP_ONLINE_SPLIT # File to launch into ermcli and read the commands to execute WDIR=/space10/home/ora101/nmsap/nas RMDIR=/opt/emc/rm/gui LOG=/opt/emc/rm/logs/cli DATE=`date '+DATE %m_%d_%y_'|awk '{print $2}'` echo "Date $DATE" >> /db/app/oracle/product/10.1.0/db_1/SAP/sapbackup/echo.log 2>&1 TIME=`date '+TIME %H:%M'|awk '{print $2}'` echo "Time $TIME" >> /db/app/oracle/product/10.1.0/db_1/SAP/sapbackup/echo.log 2>&1 $RMDIR/rmcli host=cdendobread1c port=65432 file=$WDIR/erm_brbackup_online_split.sh >> $LOG/brbackup_online_split$DATE$TIME.log 2 >&1 echo "End of the RM split command" >> /db/app/oracle/product/10.1.0/db_1/SAP/sapbackup/echo.log 2>&1

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide78

Split-Mirror Backup with Replication Manager

erm_brbackup_online_split.sh script for RM on UNIX systemslogin user=Administrator password=emcrun-activity name=sap_brbk_j infoset=sap_brbkexit

sap_online_split.cmd script for RM on Microsoft Windows systems@echo offREM EMC_SAP_ONLINE_SPLIT REM File to launch into ermcli and read the commands to execute set WDIR=C:\oracle\product\brtools\7.00set RMDIR=C:\Program Files\EMC\rm\guiset LOG=C:\Program Files\EMC\rm\logs\client "%RMDIR%/\rmcli.bat" file=%WDIR%\erm_online_split.cmd >> %LOG%\rmjob_output.txt

echo #INFO Success

erm_online_split.cmd script for RM on Microsoft Windows systemsconnect host=cdendobread1c port=65432if-not login user=Administrator password=emc then exit 1if-not run-job name=sap_buhuron appset=clar_buerie then exit 1

Examples of parameters for split-mirror backupsThis section provides examples of parameters that must be set in Oracle, BRTools, and NMSAP configuration files on the production host and mount host for split-mirror backup and restore.

Parameters to set on the production host

The following configuration files on the production host should be modified according to the requirements of the environment. In these examples, the production host is named "bu-erie."

Oracle

initSAP.ora control_files = (H:\oradata\SAP\sapdata1\cntrl\ctrlSAP.ctl, H:\oradata\SAP\sapdata2\cntrl\ctrlSAP.ctl, H:\oradata\SAP\saparch\cntrl\ctrlSAP.ctl)background_dump_dest = H:\oradata\SAP\saptrace\backgrounduser_dump_dest = H:\oradata\SAP\saptrace\usertracelog_archive_dest = H:\oradata\SAP\saparchlog_archive_format = SAParch%t_%s_%r

listener.ora SID_LIST_LISTENER =

(SID_LIST = (SID_DESC =

(SID_NAME = SAP) (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)

) )

Examples of parameters for split-mirror backups 79

Split-Mirror Backup with Replication Manager

Parameters to set on the mount host

The following configuration files on the mount host should be modified according to the requirements of the environment. In these examples, the production host is named "bu-erie."

Oracle

initSAP.ora db_name=SAPcontrol_files = (H:\oradata\SAP\sapdata1\cntrl\ctrlSAP.ctl, H:\oradata\SAP\sapdata2\cntrl\ctrlSAP.ctl, H:\oradata\SAP\saparch\cntrl\ctrlSAP.ctl)

tnsnames.ora SAP =

(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = bu-erie)(PORT = 1521)) (CONNECT_DATA =

(SERVER = DEDICATED) (SERVICE_NAME = SAP)

) )

BRTools

initSAP.sap split_cmd = F:\oracle\product\brtools\7.00\online_split.cmdbackup_type = online_splitprimary_db = SAPbackup_dev_type = util_fileutil_par_file = initSAP.utlorig_db_home = H:\oradata\SAP

Note: If mount host is the same as production host, then set primary_db = LOCAL.

nsrsapsv.cfgBR_EXEC=brbackup -m all -d util_file -rF:\oracle\product\10.2.0\db_1\database\initSAP.utl -pF:\oracle\product\10.2.0\db_1\database\initSAP.sapORACLE_HOME=F:\oracle\product\10.2.0\db_1DBSID=SAPNLS_LANG = AMERICAN_AMERICA.US7ASCIISAPBACKUP=\\bu-erie\I\oradata\SAP\sapbackupSAPDATA_HOME=H:\oradata\SAPSAP_BIN=F:\oracle\product\brtools\7.00Path=C:\Program Files\EMC\rm\client\bin

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide80

A

This appendix includes the following sections:

◆ NMSAP backint parameters ........................................................................................ 82◆ Configure the NMSAP parameter file........................................................................ 82◆ NMSAP nsrsapsv parameters ..................................................................................... 88◆ NMSAP parameters for RMAN backups and restores............................................ 92

NMSAP Parameter andConfiguration Files

NMSAP Parameter and Configuration Files 81

NMSAP Parameter and Configuration Files

NMSAP backint parametersThe backint parameters provide client, server, pool, deduplication, parallelism, and other values to the NMSAP backint program.

◆ For manual backups, restores, and inquiries, these parameters must be set in the NMSAP parameter file (init<DBSID>.utl).

◆ For scheduled backups, these parameters can be set through the wizard, or in the parameter file for non-wizard configurations.

Configure the NMSAP parameter file

Use a copy (init<DBSID>.utl) of the original parameter file template (init.utl) supplied with the NMSAP software. The original template is removed, along with any settings you may have made in it, when the NMSAP software is uninstalled, for example when you upgrade NMSAP releases. The template file is located at:

◆ Linux and UNIX: /etc/init.utl

◆ Windows: NetWorker_install_directory\nsr\bin\init.utl

IMPORTANT!The server and group parameters do not need to be specified in this file if used for scheduled backups. However, if they are specified, then they must match the corresponding attributes on the NetWorker server or an error occurs. Any other settings specified in this file, such as pool name, take precedence over a corresponding setting on the NetWorker server.

To set parameters in the NMSAP init<DBSID>.utl file, use the following format:

parameter=value

Keep the following rules in mind:

◆ Uncomment and modify as necessary all parameters to be used in backup, restore, or inquire operations.

◆ Parameter names and values are case-sensitive.

Supported backint parameters

Table 14 on page 82 lists descriptions and default values for NMSAP parameters supported by the backint program.

Table 14 Supported backint parameters (page 1 of 7)

Parameter Description Default and valid values

arch_backint_log Specifies the full pathname of the backint log file when running the brarchive command.

• Default location on UNIX:/nsr/applogs/arch_backint<DBSID>.log.raw

• Default location on Microsoft Windows:<NetWorker_install_path>\Legato\nsr\applogs\arch_backint<DBSID>.log.

• Valid full pathname for the log file. The directory path must exist. The file will be created if it does not exist.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide82

NMSAP Parameter and Configuration Files

backint_log Specifies the full pathname of the backint log file when running the brbackup and brrestore commands.To specify a separate log file to use specifically for restores, modify this parameter before you run brrestore. Alternatively, the backint_log parameter can be specified in an init<DBSID>_restore.utl file, which can be passed as command line argument to brrestore program, for example:brrestore -r init<DBSID>_restore.utl

• Default location on UNIX systems:/nsr/applogs/backint<DBSID>.log.raw

• Default location on Microsoft Windows systems: <NetWorker_install_path>\Legato\nsr\applogs\backint<DBSID>.log.

• Valid full pathname for the log file. The directory path must exist. The file will be created if it does not exist.

backint_tmpdir Specifies the directory name of the backint temporary files. • Default location on UNIX systems:/nsr/applogs/

• Default location on Microsoft Windows systems:<NetWorker_install_path>\Legato\nsr\applogs\

• Valid full pathname. The directory path must exist. The file will be created if it does not exist.

checksum Specifies whether to perform cyclic redundancy checking (CRC) on the backup data. Setting this parameter to TRUE excludes the use of the compress and NSR_AES_ENCRYPTION parameters, which should be set to FALSE. If more than one of these parameters is set to TRUE, the priority order is: compress, checksum, and NSR_AES_ENCRYPTION.

• FALSE (default)• TRUE

client Specifies the NetWorker client hostname to use for the client file index for the current backup or restore operation. If you are using the NMSAP software to back up or restore a virtual cluster client, set this value to the virtual node name.

• Local physical host (default)• Valid NetWorker client hostname

compress Compresses data during a backup before the data is passed over the network or written to the backup device, which can speed up the backup process. Compression increases CPU usage on the SAP Oracle server, but reduces the amount of data sent to the NetWorker storage node.Setting this parameter to TRUE excludes the use of the checksum and NSR_AES_ENCRYPTION parameters, which should be set to FALSE. If more than one of these parameters is set to TRUE, the priority order is: compress, checksum, and NSR_AES_ENCRYPTION.

• FALSE (default)• TRUE

debug_level Specifies the level of debug messages that backint writes to the debug log file.

• 0 (default, no debugging)• 0 – 9

max_logs Specifies the maximum number of backint session logs to be saved in the backint log file, specified by the backint_log parameter. If the value is set to 0, all backup logs will be saved in the log file.

• 0 (default)• Any positive integer

notify_done Alerts when the backint program has completed its activity. Uncomment the option and replace mailx with the name of the command line e-mail utility to be used, for example:notify_done = mailx -s ’backint done’ root

• Undefined (default)• Valid e-mail string

Table 14 Supported backint parameters (page 2 of 7)

Parameter Description Default and valid values

NMSAP backint parameters 83

NMSAP Parameter and Configuration Files

notify_error Alerts if the backint program encounters any errors during its activity. Uncomment the option and replace mailx with the name of the command line e-mail utility to be used, for example:notify_error = mailx -s ’backint error’ root

• Undefined (default)• Valid e-mail string

notify_start Alerts when the backint program begins its activity. Uncomment the option and replace mailx with the name of the command line e-mail utility to be used, for example:notify_start = mailx -s ’backint start’ root

• Undefined (default)• Valid e-mail string

notify_success Alerts when the backint program has successfully completed its activity. Uncomment the option and replace mailx with the name of the command line e-mail utility to be used, for example:notify_success = mailx -s ’backint success’ root

• Undefined (default)• Valid e-mail string

NRS_AES_ENCRYPTION Specifies whether to encrypt backup data with 256-bit AES encryption.Setting this parameter to TRUE excludes the use of the compress and checksum parameters, which should be set to FALSE. If more than one of these parameters is set to TRUE, then the priority order is: compress, checksum, and NSR_AES_ENCRYPTION.

Note: If the encryption phrase has changed between the time of the backup and the time the backup is restored, then the NSR_ENCRYPTION_PHRASES parameter must include the original phrase to enable the recovery.

• FALSE (default)• TRUE

NSR_DEBUG_DIR Specifies the directory for the backint diagnostic logs. • Default location on UNIX systems:/nsr/applogs/

• Default location on Microsoft Windows systems:C:\Program Files\Legato\nsr\applogs\

NSR_DEDUP_BACKUP Mandatory for manual deduplication backups only. Do not set for scheduled backups. Specifies whether to perform a deduplication backup.

Note: For scheduled deduplication backups, set the Deduplication Backup attribute in the NetWorker Client resource, instead of setting this parameter.

• FALSE (default). Deduplication is not performed during an NMSAP backup. Other NSR_DEDUP_* parameters are ignored.

• TRUE. Deduplication is performed during an NMSAP backup. If NSR_DEDUP_NODE is not set, the backup fails.

NSR_DEDUP_CACHE_ENABLED Optional for deduplication backups. Specifies whether a cache is used during a deduplication backup.Not using a cache decreases the backup performance, but also decreases the disk usage in the /nsr/dedup/cache directory.

Note: Use of the nondefault value (FALSE) requires knowledge of Avamar operations.

• TRUE (default). A cache is used to increase performance during a deduplication backup. This value is recommended in most cases.

• FALSE. A cache is not used during a deduplication backup.

NSR_DEDUP_CACHE_TAG Optional for deduplication backups. Specifies the name of the cache to be used by the nsravtar process during NMSAP backup.

• Undefined (default).• String value of the tag that will

generate a deduplication cache name. Do not include the client name in the value.

Table 14 Supported backint parameters (page 3 of 7)

Parameter Description Default and valid values

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide84

NMSAP Parameter and Configuration Files

NSR_DEDUP_CHUNK SIZE Optional for deduplication backups. Specifies the size, in bytes, of data chunks that the Avamar server uses in a deduplication backup.

Note: Adjusting the data chunk size requires expert knowledge of Avamar operations and the data that will be backed up.

• 0 (default). Signifies that variable sizes are used for the data chunks, as determined by the Avamar server. This value is recommended in most cases.

• (Value greater than zero). A fixed data chunk size to use for deduplication backup. For example, 1024, 2048, 5096, 8194, or other value as recommended in the Avamar documentation.

NSR_DEDUP_NODE Mandatory for manual deduplication backups only. Do not set for a scheduled deduplication backup. Specifies the NetWorker De-duplication Node resource (Avamar server) to be used for the backup. The name must exactly match the Deduplication Node attribute set in the NetWorker Client resource.

• Undefined (default).• Name of the NetWorker Deduplication

Node resource.

NSR_ENCRYPTION_PHRASES Mandatory if the NSR_AES_ENCRYPTION phrase has changed between the time of the backup and the time the backup is restored. Specifies the original phrase to enable the recovery. Multiple phrases are permitted.For example: NSR_ENCRYPTION_PHRASES = “phrase 1”, “phrase 2 “Each attempted phrase must be enclosed in double quotes and separated by a comma. Do not put a comma after the last phrase.

Any valid string

NSR_NWPATH Specifies the pathname of the directory that contains the NetWorker or Avamar binaries. Recommended for deduplication backup or restore if the NetWorker software is installed in a nondefault location.

• Platform-specific default location of the NetWorker client binaries (default).

• Valid directory pathname of the nsravtar binary.

NSR_RAW_DEVICE_SKIP_BYTES Used to omit unwanted data from recovery on a raw device. Specifies the initial amount of data to skip. This parameter has the following syntax:NSR_RAW_DEVICE_SKIP_BYTES=/raw/dev1=skip[B|K|M|G]The device name is followed by an equal sign and the amount of data to skip, specified in bytes, kilobytes, megabytes, or gigabytes. The parameter can specify multiple devices by separating the entries with a colon.For example, to skip 8 KB for the raw device /dev/rdsk/c2t4d0s5, set:NSR_RAW_DEVICE_SKIP_BYTES=/dev/rdsk/c2t4d0s5=8K

Note: Adjusting the amount of data to skip requires expert knowledge of the operating system and volume manager specifications.

• Undefined (default).• Valid device name and amount of data

to skip.

NSR_RELOCATION_DEST For a relocated restore, specifies the new root directory for SAP datafiles when SAPDATA_HOME is changed, but the structure of subdirectories under SAPDATA_HOME are not modified.

• Undefined (default)• Same value as the new

SAPDATA_HOME value

Table 14 Supported backint parameters (page 4 of 7)

Parameter Description Default and valid values

NMSAP backint parameters 85

NMSAP Parameter and Configuration Files

NSR_SAVESET_BROWSE Specifies the date when the entry for the backup is to be removed from the NetWorker client index and the associated backup files are no longer readily available for browsing.

Note: For a scheduled backup, this parameter overrides the Browse Policy attribute setting in the NetWorker Client resource.

• Browse policy specified in the NetWorker Client resource for the client, as determined by the NetWorker server (default).

• Valid date in nsr_getdate(3) format.

NSR_SAVESET_RETENTION Specifies the date when the save set becomes recyclable and the associated data on the volume can be overwritten.

Note: For a scheduled backup, this parameter overrides the Retention Policy attribute setting in the NetWorker Client resource.

• Retention policy specified in the NetWorker Client resource for the client (default).

• Valid date in nsr_getdate(3) format.

parallelism Specifies the number of save sets or save streams to send simultaneously to the NetWorker server. Typically, this setting should be equal to the sum of the "target sessions" for all of the devices dedicated to the NMSAP backup or restore.Ensure that the NetWorker server is configured to support this parallelism value or greater. “Set the Client resource” on page 27 provides more information.

Note: The parallelism value will be reduced if it is greater than the value of the savesets parameter.

• 8 (default)• Any positive integer.

pool Specifies the NetWorkerMedia Pool resource, defined on the NetWorker server, that receives backup data from the SAP Oracle server. This parameter is used for manual backups and is not recommended for scheduled backups.

Note: If set for scheduled backups, this parameter overrides the NetWorker server setting.

To use multiple pools to separate data:1. Create separate init<DBSID>.utl parameter files.2. Use the -r option to specify the parameter filename to use

at the command line when using brbackup or brarchive.For example, a pool named ARCHData is used specifically for archive logs. You can create a separate parameter file for archive logs, named for example, archiveC11.utl, and set the pool attribute equal to ARCHData. To use this pool to back up the archive logs, you would type the following command at the command line:brarchive -u sys/admin -d util_file -r archiveC11.utl -m all -s save

• Most appropriate pool, selected by the NetWorker server (default).

• Valid name of a NetWorker volume pool.

prev_bk_restore UNIX only. When the query_index parameter is set to FALSE, parameter specifies whether to restore the previous backup if the required backup cannot be found.

• FALSE (default)• TRUE

Table 14 Supported backint parameters (page 5 of 7)

Parameter Description Default and valid values

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide86

NMSAP Parameter and Configuration Files

ps_backup_modeps_archive_modeps_restore_modeps_inquire_modeps_opaque_pfilenameps_exclude_backup_bi_run_numsps_exclude_archive_bi_run_numsps_exclude_backup_pathsps_exclude_archive_pathsps_ps_before_nonpsps_group_objs

Chapter 7, “Snapshot Backup with PowerSnap,” provides details on PowerSnap parameters and their values.

query_index UNIX only (Microsoft Windows is always TRUE). Specifies whether to query the NetWorker server indexes for validation of the requested files and backup IDs before a restore begins. If set to FALSE, the query does not occur.

• FALSE (default)• TRUE

raw_dir Specifies the directory for raw disk partitions. Any files below these directories are considered to be raw disk partitions. Do not set the /dev or /devices directories for raw partitions. They are already treated as raw devices. To specify the directory, uncomment this option, and use a semicolon (;) to separate the directory paths, for example:raw_dir = /oracle/data;/sap/data;/lotus/data

• Undefined (default)• The directory names of the raw disk

partitions

retry_count Specifies the number of times that a failed backup is attempted for each save set.

• 0 (default)• Any positive integer

savesets Specifies the number of save sets to divide the files on a client and distribute the backup load. If the value is equal to or greater than the number of database files, then a separate save set is made for each file. If the value is smaller than the number of database files, then a save set may contain more than one file. This value is ignored if the ss_group_by_fs parameter is set to TRUE.

• 20 (default)• Any positive integer

sem_timeout Sets the amount of time, in minutes, that backint waits for brbackup or brconnect to remove the semaphore file. If the semaphore file is not deleted, backint exits with an error at the end of this time-out period.

• 30 (default)• Any positive integer

server Specifies the hostname of the NetWorker server that the NMSAP backint program uses for backup, restore, and inquiry sessions.

Note: This parameter does not need to be set for scheduled backups, but if it is, it must match the server that started the backup, or an error occurs.

• The local host (default)• The NetWorker server hostname

ss_group_by_fs If set to TRUE, ignores the savesets and ss_size_max parameters and groups save sets by file system instead of file size. This more efficient grouping of files can improve performance of scheduled backups, index searches, and restore times.

• FALSE (default)• TRUE

Table 14 Supported backint parameters (page 6 of 7)

Parameter Description Default and valid values

NMSAP backint parameters 87

NMSAP Parameter and Configuration Files

NMSAP nsrsapsv parametersThe nsrsapsv parameters provide environmental and other values to the NMSAP scheduled backup program, nsrsapsv.

Among other functions, these parameters may be used to:

◆ Specify nondefault locations of required programs and files.

◆ Configure system-specific environment variables.

◆ Identify the specific SAP Oracle database instance to back up.

◆ Specify the BRTools command and options to be used for the scheduled backups.

These parameters can be set in the wizard or in the configuration file, nsrsapsv.cfg, for non-wizard configurations.

Configure the NMSAP configuration fileMake a copy for your own use of the original configuration file template (nsrsapsv.cfg) supplied with the NMSAP software.

Note: When NMSAP software is uninstalled or upgraded to new releases, the original template file is deleted, along with any settings you may have made in it.

The template file is located at:

◆ Linux and UNIX: /etc/nsrsapsv.cfg

◆ Windows: NetWorker_install_directory\nsr\bin\nsrsapsv.cfg

To set the parameters in the NMSAP backup configuration file (nsrsapsv.cfg), use the following format and the guidelines:

parameter = value

◆ Uncomment and modify as necessary all parameters to be used in the scheduled backups.

ss_size_max Specifies maximum save set size in megabytes. If not set, or set to zero, then size is unrestricted. The value must be equal to or greater than the size of the largest datafile.

• 0 (default)• Any positive integer

ssNameFormat Sets the naming convention for save sets.• If set to old, then the name for all save sets is

backint:<DBSID>. • If set to new, then the save set name for each session

differs according to the files being backed up. It uses the format backint:<DBSID>:full_path of the first filename in the save set.If you set each save set to store one file, then a value of new simplifies the process of browsing the media database. The media database will show each filename as part of the save set name.

• If set to old_pid or new_pid, then the save set name is generated according to the old or new naming convention and the process id is added to the saveset name.

• old (default)• new• old_pid• new_pid

Table 14 Supported backint parameters (page 7 of 7)

Parameter Description Default and valid values

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide88

NMSAP Parameter and Configuration Files

◆ Parameter names and values are case-sensitive.

◆ Use full pathnames for parameters that specify a path or filename. Special Oracle characters, such as ?, are not supported. Also, environment variables, such as $ORACLE_HOME and %ORACLE_HOME%, are not supported.

◆ The full pathname of the configuration file is specified in the Backup Command attribute of the Client resource configured for the scheduled backup, “Set the Client resource” on page 27 provides details.

Supported nsrsapsv parameters

Table 15 on page 89 lists the parameters and valid values for the NMSAP backup configuration file (nsrsapsv.cfg), used by the nsrsapsv program.

Table 15 Supported nsrsapsv parameters (page 1 of 3)

Configuration parameter Description Default and valid values

BR_EXEC Mandatory for non-wizard configurations only. Do not use for wizard configurations. Specifies the brbackup or brarchive command and its options that the nsrsapsv scheduled backup program will execute.

Note: Do not use the -u option, which identifies the username and password of the Oracle database administrator. Instead, the username and password should be encrypted by using the nsrsapadmn -P -z filename command. “Configure the scheduled backup resources without the wizard” on page 27 provides further details on username and password encryption.

Caution! If a wizard configuration is saved to a file, for example, nsrsapsv.cfg, the file will contain the following parameters that the nsrsapsv program uses to generate the brbackup or brarchive command at run time:BKUP_TYPEBKUP_OBJECTSTABLESPACEDATAFILELOGS_NUMLOGS_DELBRACHIVE_CLIBRBACKUP_CLISAP_CONFIGEnsure these wizard parameters are not used if the nsrsapsv.cfg file is manually configured.

• brbackup (default)• brbackup, brarchive (and

command line options for either)

HOMEDRIVE Optional, use for Microsoft Windows systems only. Specifies the drive name where Windows system files reside. Verify this setting by typing set homedrive in a command line. For example:HOMEDRIVE=C:

• Undefined (default)• Valid disk drive

NLS_LANG Mandatory. Specifies the language character set. Format the value of this parameter as follows:LANGUAGE_TERRITORY.CHARACTERSETFor example:NLS_LANG=AMERICAN_AMERICA.US7ASCIIThe Oracle documentation provides more information.

• AMERICAN_AMERICA.US7ASCII (default)

• Valid Oracle setting for NLS_LANG variable.

NMSAP nsrsapsv parameters 89

NMSAP Parameter and Configuration Files

NSR_SAP_SECURE_RUN Optional, use for UNIX systems. Hides the Oracle user password that is passed to the brbackup -u or brarchive -u command from operating system commands, such as ps -ef.

• FALSE (default)• TRUE

NSR_SAP_USING_RMAN_OPTION If RMAN is used to back up database files, set this parameter to “yes” by uncommenting its line in the file.For example:NSR_SAP_USING_RMAN_OPTION=yes

• FALSE (default)• TRUE

NSR_SAP_WAIT_BRTOOLS_DONE_MINS Specifies how long after a backup is aborted by the user the nsrsapsv program waits for the brbackup program to do the following:• Perform a cleanup routine• Remove tablespaces from backup status.

• 2 minutes (default)• Positive number of minutes

ORACLE_BIN Mandatory only if the Oracle binaries are not in the default location, $ORACLE_HOME/bin. Specifies the location of the Oracle binaries. The specified path is appended to the PATH environment variable so that all Oracle binaries may be found.

• $ORACLE_HOME/bin (default).• Valid path of bin directory of the

Oracle server installation.

ORACLE_HOME Mandatory. Specifies the home directory pathname of the Oracle Server installation. Use the full pathname.For example: ORACLE_HOME=/db/oracle/product/10.2.0

• Undefined (default).• Valid pathname of the home

directory of the Oracle server installation.

ORACLE_SID Mandatory. For non-wizard configuration, must be set either in the configuration file or in the saveset field of the Client resource.Specifies the system identification (SID) for the Oracle instance to be backed up.For example, if the save set name in the NetWorker Client resource is “backint:SAP” and this parameter is not specified in the configuration file, then SAP is used for the Oracle SID.

• Oracle SID derived from the save set name in the NetWorker Client resource used for the backup (default).

• A valid Oracle database SID.

ORACLE_USR_PASSWD Optional. Contains the SAP user’s encrypted Oracle username and password.Do not manually add or edit this parameter. Use the nsrsapadm -P -z command instead.“Configure the scheduled backup resources without the wizard” on page 27 provides details on username and password encryption.Passwords entered through the wizard are not stored in the configuration file but are securely stored in a lockbox.

Uneditable value (set with the nsrsapadm -P -z command).

OS_USR_PASSWD Mandatory. Contains the SAP user’s operating system username and password. Do not manually add or edit this parameter. Use the nsrsapadm -P -z command instead.“Configure the scheduled backup resources without the wizard” on page 27 provides further details on username and password encryption.Passwords entered through the wizard are not stored in the configuration file but are securely stored in a lockbox.

Uneditable value (set with the nsrsapadm -P -z command).

Table 15 Supported nsrsapsv parameters (page 2 of 3)

Configuration parameter Description Default and valid values

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide90

NMSAP Parameter and Configuration Files

PATH Optional. Specifies the required path of the NetWorker client binary file, and any other required search paths. The specified value is appended to the PATH environment variable. To specify multiple search paths, use one of the following two methods:• PATH=d:\dir1;d:\dir2;d:\dir1\dir2\dir3

or• PATH=d:\dir1

PATH=d:\dir2PATH=d:\dir1\dir2\dir3

• Undefined (default).• Valid paths separated by

semicolons on UNIX or colons on Windows.

SAP_BIN Mandatory. Specifies the path to the location of the BRTools binary files. This should also be where the backint (UNIX) or backint.exe (Microsoft Windows) executable resides, after it is manually moved to this location following installation of the NMSAP software.This location is added to the PATH environment variable so that the BRTools binaries and backint can be found. For example:SAP_BIN=/usr/sap/SAP/SYS/exe/run

• Undefined (default).• Valid full path of BRTools

location.

SAPDATA_HOME Mandatory. Specifies the root directory for SAP datafiles. For example:SPDATA_HOME=d:\orant\SAP\The SAP documentation provides details.

• Undefined• Valid full path of root directory of

SAP Oracle datafiles.

SAP-specific environment variables:SAPARCHSAPBACKUPSAPCHECKSAPREORGSAPTRACE

Mandatory for brbackup to run properly on Windows systems. They are normally set in the SAP environment on Windows.Examples:SAPARCH=d:\orant\SAP\saparchSAPBACKUP=d:\orant\SAP\sapbackupSAPCHECK=d:\orant\SAP\sapcheckSAPREORG=d:\orant\SAP\sapreorgSAPTRACE=d:\orant\SAP\saptrace

• UNIX default: $ORACLE_HOME/sapxxxwhere xxx is the appropriate suffix: arch, backup, check reorg, or trace.

• Windows default: none.• Valid full path of the SAP log

directory.

Any name_path=value pair Optional. Appends values to any environment variable named name_path (for example, LD_LIBRARY_PATH, LIBPATH, SHLIB_PATH).• If an environment variable with this name already exists, then

the parameter value specified here is appended to the existing value for the environment variable.

• If an environment variable with this name does not exist, then it is created.

For example:LD_LIBRARY_PATH=/export/home/oracle/product/8.1.5/lib:/usr/openwin/lib

Any valid environment variable and pathname.

Any name=value pair Optional. Adds any environment variable named name. If the environment variable specified by name already exists, then it is overwritten. For example:BR_TRACE=1BR_TRACE is set to 1 in the environment, which instructs brbackup or brarchive to print out additional trace information.

Any valid environment variable and value.

Table 15 Supported nsrsapsv parameters (page 3 of 3)

Configuration parameter Description Default and valid values

NMSAP nsrsapsv parameters 91

NMSAP Parameter and Configuration Files

NMSAP parameters for RMAN backups and restoresIf RMAN is chosen as the backup and restore utility as described in “Choosing either backint or RMAN as the backup and restore utility” on page 21, then the NMSAP parameters for RMAN backups and restores must be set through BRTools parameters as described in the following sections.

Configure the RMAN parametersThe NMSAP parameters for RMAN backups and restores must be set in the BRTools initialization file, init<DBSID>.sap, with either the rman_send or the rman_parms option.

Note: Set the parameters with the rman_send option unless stated otherwise.

The BRTools initialization file is normally located in the following directory:

◆ On Microsoft Windows systems: %ORACLE_HOME%\DATABASE

◆ On UNIX or Linux systems: $ORACLE_HOME/dbs

Supported NMSAP RMAN parameters

Table 16 on page 92 lists the NMSAP parameters to configure the RMAN backups and restores.

Table 16 Supported NSR_* parameters for RMAN (page 1 of 3)

Parameter Description Default and valid values

NSR_AES_ENCRYPTION Corresponds to the NSR_AES_ENCRYPTION parameter in Table 14 on page 82.

NSR_CHECKSUM Corresponds to the checksum parameter in Table 14 on page 82.

NSR_CLIENT Corresponds to the client parameter in Table 14 on page 82.

NSR_COMPRESSION Corresponds to the compress parameter in Table 14 on page 82.

NSR_DATA_VOLUME_POOL Corresponds to the pool parameter in Table 14 on page 82.

NSR_DEBUG_LEVEL Optional. Controls the amount of debug information that NMSAP writes to the debug log file, which is specified by NSR_DIAGNOSTIC_DEST.The debug level limits only the amount of debug information generated by the three functions, sbtread(), sbtwrite(), and sbtpcstatus(), that are called most often during backups and restores. All the debug messages for other functions are always written to the log file, regardless of the debug level.

Note: This parameter must be set in the rman_parms parameter. Do not set it in the rman_send parameter.

• 0 (default, no debugging). • 0 – 9

NSR_DEDUP_BACKUP Corresponds to the NSR_DEDUP_BACKUP parameter in Table 14 on page 82.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide92

NMSAP Parameter and Configuration Files

NSR

NSR

NSR

NSR

NSR

NSR

NSR

NSR

NSR

Para

_DEDUP_CACHE_ENABLED Corresponds to the NSR_DEDUP_CACHE_ENABLED parameter in Table 14 on page 82.

_DEDUP_CACHE_TAG Corresponds to the NSR_DEDUP_CACHE_TAG parameter in Table 14 on page 82.Set a different value for each channel. If the same tag value is used for more than one channel, the deduplication backup fails.Set this parameter in the rman_send parameter in the BRTools parameter file (init<DBSID>.sap). “Configure deduplication for Oracle RMAN backup” on page 32 gives an example.

• / (forward slash — all RMAN channels) (default).

• Alphanumeric string that will generate a deduplication cache name. Do not include the client name in the value.

Recommended value is:<DBSID>_<channel-ID> for example:orcl10g_1.

_DEDUP_CHUNK SIZE Corresponds to the NSR_DEDUP_CHUNK SIZE parameter in Table 14 on page 82.

_DEDUP_NODE Corresponds to the NSR_DEDUP_NODE parameter in Table 14 on page 82.

_ENCRYPTION_PHRASES Corresponds to the NSR_ENCRYPTION_PHRASES parameter in Table 14 on page 82.

_NWPATH Corresponds to the NSR_NWPATH parameter in Table 14 on page 82.

_NO_BUSY_ERRORS Optional. Specifies whether a scheduled backup fails immediately when the NetWorker server is busy or waits for the NetWorker server to accept the connection.

Note: For proxy Oracle backups, this parameter is always set to FALSE.

• FALSE (default). The scheduled backup waits for the NetWorker server to accept the connection.

• TRUE. The scheduled backup fails immediately when the NetWorker server is busy.

_NO_MULTIPLEX Optional. When set for a specific RMAN channel, specifies whether multiplexing is disabled during a backup on the NetWorker device that the RMAN channel is using. If multiplexing is disabled, no other save sets can be written to the device.To optimize restore operations, RMAN requires NMSAP backups to not be multiplexed.Setting the parameter to TRUE may affect the backup performance. For example, the device may sit idle during part of the backup. If the performance is adversely affected, reset the parameter to FALSE.

• FALSE (default). Multiplexing is enabled on the device that the RMAN channel is using.

• TRUE. Multiplexing is disabled on the device that the RMAN channel is using.

Note: If a random access NetWorker device such as an advanced file device is used, do not set the parameter to TRUE.

_RETENTION_DISABLED Optional. Specifies whether the NetWorker browse and retention policies are disabled.Set to TRUE to use Oracle policies only (not NetWorker policies) to manage the backup data lifecycle. Then the RMAN catalog and NetWorker indexes cannot become unsynchronized, fsuch as when a NetWorker index entry is expired but the corresponding RMAN catalog entry is not expired.

• FALSE (default). NetWorker browse and retention policies are enabled, and used to manage the lifecycle of the Oracle backup data.

• TRUE. NetWorker browse and retention policies are disabled. Only Oracle policies are used to manage the lifecycle of the Oracle backup data.

Table 16 Supported NSR_* parameters for RMAN (page 2 of 3)

meter Description Default and valid values

NMSAP parameters for RMAN backups and restores 93

NMSAP Parameter and Configuration Files

NSR_DEDUP_CACHE_ENABLED Corresponds to the NSR_DEDUP_CACHE_ENABLED parameter in Table 14 on page 82.

NSR_DEDUP_CACHE_TAG Corresponds to the NSR_DEDUP_CACHE_TAG parameter in Table 14 on page 82.Set a different value for each channel. If the same tag value is used for more than one channel, the deduplication backup fails.Set this parameter in the rman_send parameter in the BRTools parameter file (init<DBSID>.sap). “Configure deduplication for Oracle RMAN backup” on page 32 gives an example.

• / (forward slash — all RMAN channels) (default).

• Alphanumeric string that will generate a deduplication cache name. Do not include the client name in the value.

Recommended value is:<DBSID>_<channel-ID> for example:orcl10g_1.

NSR_DEDUP_CHUNK SIZE Corresponds to the NSR_DEDUP_CHUNK SIZE parameter in Table 14 on page 82.

NSR_DEDUP_NODE Corresponds to the NSR_DEDUP_NODE parameter in Table 14 on page 82.

NSR_ENCRYPTION_PHRASES Corresponds to the NSR_ENCRYPTION_PHRASES parameter in Table 14 on page 82.

NSR_NWPATH Corresponds to the NSR_NWPATH parameter in Table 14 on page 82.

NSR_NO_BUSY_ERRORS Optional. Specifies whether a scheduled backup fails immediately when the NetWorker server is busy or waits for the NetWorker server to accept the connection.

Note: For proxy Oracle backups, this parameter is always set to FALSE.

• FALSE (default). The scheduled backup waits for the NetWorker server to accept the connection.

• TRUE. The scheduled backup fails immediately when the NetWorker server is busy.

NSR_NO_MULTIPLEX Optional. When set for a specific RMAN channel, specifies whether multiplexing is disabled during a backup on the NetWorker device that the RMAN channel is using. If multiplexing is disabled, no other save sets can be written to the device.To optimize restore operations, RMAN requires NMSAP backups to not be multiplexed.Setting the parameter to TRUE may affect the backup performance. For example, the device may sit idle during part of the backup. If the performance is adversely affected, reset the parameter to FALSE.

• FALSE (default). Multiplexing is enabled on the device that the RMAN channel is using.

• TRUE. Multiplexing is disabled on the device that the RMAN channel is using.

Note: If a random access NetWorker device such as an advanced file device is used, do not set the parameter to TRUE.

NSR_RETENTION_DISABLED Optional. Specifies whether the NetWorker browse and retention policies are disabled.Set to TRUE to use Oracle policies only (not NetWorker policies) to manage the backup data lifecycle. Then the RMAN catalog and NetWorker indexes cannot become unsynchronized, fsuch as when a NetWorker index entry is expired but the corresponding RMAN catalog entry is not expired.

• FALSE (default). NetWorker browse and retention policies are enabled, and used to manage the lifecycle of the Oracle backup data.

• TRUE. NetWorker browse and retention policies are disabled. Only Oracle policies are used to manage the lifecycle of the Oracle backup data.

Table 16 Supported NSR_* parameters for RMAN (page 2 of 3)

Parameter Description Default and valid values

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide94

NMSAP Parameter and Configuration Files

NSR_SAVESET_BROWSE Corresponds to the NSR_SAVESET_BROWSE parameter in Table 14 on page 82.

NSR_SAVESET_RETENTION Corresponds to the NSR_SAVESET_RETENTION parameter in Table 14 on page 82.

NSR_SERVER Corresponds to the server parameter in Table 14 on page 82.

Table 16 Supported NSR_* parameters for RMAN (page 3 of 3)

Parameter Description Default and valid values

NMSAP parameters for RMAN backups and restores 95

NMSAP Parameter and Configuration Files

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide96

B

This appendix includes the following sections:

◆ Examples of brbackup and brarchive command syntax and options ................... 98◆ Examples of brrestore command syntax and options.............................................. 99◆ Examples of brrecover command syntax and options............................................. 99

Examples of SAPCommand Options

Examples of SAP Command Options 97

Examples of SAP Command Options

Examples of brbackup and brarchive command syntax and optionsThe SAP brbackup and brarchive commands can be used with the NMSAP program from any command prompt. Examples of the syntax and options for these commands are as follows:

brbackup [-c force][-d {util_file|util_file_online|rman_util}][-m {all|all_data|full|incr|tablespace_list|file_ID|file_ID1_range|file_list}][-p profile] [-q check] [-r parameter_file][-t {online|offline|offline_force|offline_standby|online_split|offline_split}][-u user/password][-w [use_dbv|only_config]]

brarchive [-c force][-d {util_file|rman_utl}][-f stop][-m delay_time][-p profile][-q check][-r parameter_file][-u user/password]

Options enclosed in brackets ([ ]) are optional. Options enclosed in braces ({ }) must use at least one of the enclosed options. Variables are in italics. Key words are in plain text. Table 17 on page 98 lists example options for these commands. The SAP documentation provides complete details of these commands.

Note: The command line options overwrite the corresponding parameters set in the SAP parameter file init<DBSID>.sap.

Table 17 Options for brbackup and brarchive command

Option Description

-c force Suppresses most of the confirmation messages that interrupt the backup process.

-d util_file | util_file_online | rman_util

Specifies that NMSAP with backint or RMAN is used for the backup or archive process.

-f stop Instructs brarchive to wait for the next offline redo log file written by Oracle, and then send it to backint for archiving.

-m <objects_to_back_up> Specifies what database objects to back up, for examples whole database, selected tablespaces or datafiles, incremental RMAN backup, and so forth. This option is used by brbackup.

-m delay_time Specifies the delay time between Oracle creating the offline redo log file and sending datafiles to the database in standby mode. This option is used by brarchive.

-p profile Specifies an initialization BRTools parameter file if the file does not have the default name or is not stored in the default location.

-r parameter_file Specifies the parameter file, init<DBSID>.util, that NMSAP backint uses during the backup or archive process.

-t <backup_type> Instructs brbackup and NMSAP backint what type of backup to perform. During an online backup, to reduce the number of redo logs that Oracle generates, use this option with the -d util_file_online option.

-u user/password Specifies the Oracle database administrator’s username and password.

-w use_dbv | only_config Verifies the backup after the files have been backed up. Helps detect possible hardware problems. The use_dbv option performs the backup followed by a restore of the backup to a temporary location. This option approximately doubles backup time.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide98

Examples of SAP Command Options

Examples of brrestore command syntax and optionsThe SAP brrestore command can be used with the NMSAP backint program from any command prompt. An example of the syntax and options for this command is as follows:

brrestore [-c force][-d {util_file|rman_util}][-f last|brtools_log1, <brtools_log2>,..|<yyyy-mm-dd hh-mmss>|<numofdays>][-m {all|all_data|full|incr|tablespace_list|file_ID|file_ID1_range|file_list}][-p profile][-q check][-r parameter_file]

Options enclosed in brackets ([ ]) are optional. Options enclosed in braces ({ }) must use at least one of the enclosed options. Table 18 on page 99 lists example options for this command.

The SAP documentation provides complete details of this command..

Examples of brrecover command syntax and optionsThe SAP brrecover command can be used with the NMSAP program from any command prompt. An example of the syntax and options for this command is as follows:

brrecover [-c force][-d {util_file|rman_util}][-p profile][-pit yyyy-mo-dd hh.mi.ss][-r parameter_file][-scn scn][-t complete|dbpit|tspit|reset|restore|apply|disaster][-tsp tablespace_name|tablespace_name_list][-u user/password]

For example:

brrecover -t complete -p initGC2.sap

Table 19 on page 100 lists examples of options for this command.

The SAP documentation provides complete details of these commands.

Table 18 Options for brrestore command

Option Description

-c force Suppresses most of the confirmation messages that interrupt the restore process.

-d util_file | rman_utl Specifies that NMSAP with backint or RMAN is used for the restore.

-f <restore to complete> Specifies which restores to re-start to restore missing files.

-m <objects_to_restore> Specifies what database objects to restore, such as whole database, selected tablespaces or datafiles, and incremental RMAN backup.

-p profile Specifies an initialization BRTools parameter file if the file does not have the default name or is not stored in the default location.

-r parameter_file Specifies the parameter file, init<DBSID>.util, that NMSAP backint uses during the restore process.

Examples of brrestore command syntax and options 99

Examples of SAP Command Options

Table 19 Options for brrecover command

Option Description

-c force Suppresses most of the confirmation messages that interrupt the recovery process.

-d util_file | rman_util Recovers NMSAP backups performed with backint (util_file) or RMAN (rman_file).

-p profile Specifies an initialization BRTools parameter file if the file does not have the default name or is not stored in the default location.

-pit yyyy-mo-dd hh.mi.ss Recovers the database or tablespaces for a specific point in time.

-r parameter_file Specifies the parameter file, init<DBSID>.util, that NMSAP backint uses during the backup or archive process.

-scn scn Recovers the database to the specified Oracle system change number.

-t complete | dbpit | tspit | reset | restore | apply | disaster

Specifies the type of recovery. • complete: complete database recovery• dbpit: database point-in-time recovery• tspit: tablespace point-in-time recovery• reset: whole database reset• restore: restore of individual backup files• apply: apply offline redo log files (that is, archivelogs)• disaster: disaster recovery

-tsp tablespace_name | tablespace_name_list

Recovers a single specified tablespace or the tablespaces listed in the specified file.

-u user/password Specifies the Oracle database administrator’s username and password.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide100

C

This appendix includes the following sections:

◆ Verifying the release information.............................................................................. 102◆ Generating diagnostic logs ........................................................................................ 102◆ Backup and restore problems .................................................................................... 102◆ NMSAP Error messages ............................................................................................. 103

Troubleshooting

Troubleshooting 101

Troubleshooting

Verifying the release informationWhen making queries or requests to an EMC Customer Support Representative, provide specific information about the NMSAP software you are using.

To verify the release information for your installation, use the appropriate command or procedure:

◆ On UNIX systems, type the following command as the root user:

what filename | more

where filename is the name of an NMSAP binary file, for example, backint or nsrsapsv.

◆ On Linux systems, type the following command as the root user:

strings filename | grep "@(#)"

where filename is the name of an NMSAP binary file, for example, backint or nsrsapsv.

◆ On Microsoft Windows systems:

a. Locate the NMSAP binary file, for example, backint.exe or nsrsapsv.exe.

b. Right-click the file, and select Properties.

c. In the Properties window, click the Version tab to display the version information.

Generating diagnostic logsTo generate backint diagnostic logs, set the following parameters:

NSR_DEBUG_DIR (if not using the default location nsr/applogs)debug_level = 9

Note: Debug level is intended for testing and EMC Customer Support diagnostics only.

Backup and restore problemsTable 20 on page 102 provides guidelines for solving problems that may occur during an NMSAP backup or restore.

Table 20 NMSAP backup or restore problems (page 1 of 2)

Problem Possible reason or solution

Data is not being backed up by using the settings in the Client resource on the NetWorker server.

NMSAP uses the Client resource settings only for scheduled backups. For manual backups, the settings must be specified in the init<DBSID>.utl.The client settings must be specified in the init<DBSID>.utl file on the SAP Oracle server. “Configure the NMSAP parameter file” on page 82 provides more information.

The bootstrap notification report was not printed to the printer specified in the Group resource on the NMSAP server.

Bootstrap notification reports are not generated after a manual NMSAP backup. “Back up the NetWorker bootstrap and online indexes” on page 40 provides information on the generation of a bootstrap notification report.

Online backup of an Oracle tablespace is taking a long time.

Oracle creates more online redo logs during an online backup than during an offline backup. This might prolong the online backup.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide102

Troubleshooting

NMSAP Error messagesTable 21 on page 103 lists possible error messages that might appear in the backint<DBSID>.log.raw file.

Following a backup, the parallelism setting in the NMSAP operation log, backint<DBSID>.log.raw, is different from the configuration setting.

The parallelism setting is adjusted by backint during the backup session depending on other parameters, such as when the number of files within the backup session is lower than the server parallelism setting.

A specified backup of an Oracle directory failed. NMSAP does not support the backup of directories. Specify each database object within the directory to back up and then perform the backup.

You are unable to view the files backed up to the NetWorker server from the BrGui program on the SAP Oracle server.

Ensure that the SAP user has proper privileges to view the information, for example, the Operate NetWorker privilege.

You are unable to view backup information in NetWorker online indexes.

When a restore is initiated within a certain time frame that expired or otherwise is not available, brrestore restores files from previous backups, depending on whether the prev_bk_restore parameter is set to Yes. The prev_bk_restore in “Configure the NMSAP parameter file” on page 82 provides more information.Ensure that the SAP user’s operating system authorization has the appropriate permission to access the NetWorker server.

Table 20 NMSAP backup or restore problems (page 2 of 2)

Problem Possible reason or solution

Table 21 NMSAP error messages (page 1 of 3)

Error message Description Solution

BACKUP: Bad input line: lineINQUIRE: Bad input line: lineRESTORE: Bad input line: line

One of the lines in the input file had a bad format. There should be only one or two specifications on each input line (filename and size, if it is a special file).

Check the input file BRTool binary generated to make sure it has the correct format. If not, and this error recurs, contact SAP customer support.

Cannot connect to server: error The backint program was unable to connect to the NetWorker server to start reading the media database.

Ensure that the correct NetWorker server is specified. Check the log file to see if any other messages refer to this problem.

Cannot reopen filename as stderr

The backint program was unable to open a log file for writing.

Check the permissions on the file listed in the message, as well as the permissions on the directory.

Cannot start session with server: error

The backint program was unable to start reading the media database on the NetWorker server.

Ensure that the correct NetWorker server is specified. Check the log file to see if any other messages refer to this problem.

Checking for deletion of semaphore file: error

The existence of the semaphore file could not be confirmed because of a system error.

Check to see if the .switch.sem file is still in the SAPBACKUP directory. If so, delete it before running the SAP backup again.

Creating directive file: error The directive file for NetWorker software to use cannot be created. This directive file is created so the NetWorker software can process files with the correct attributes.

Check the directory where the directive file is being created, specified by the backint_tmpdir parameter in the NMSAP parameter file, to ensure files can write to it.

Empty input file The input file that contains the list of files to be backed up or restored is empty.

Ensure that you have selected database objects for backup or restore.

Error opening input file: error The input file, which lists all files to be backed up or restored, could not be opened. It may not exist, or it may not have read permissions.

Ensure that the input file exists and is readable.

Error opening output file: error The output file could not be opened for the reason specified.

Check the permissions on the output file and directory, and check for sufficient disk space to create a new file.

NMSAP Error messages 103

Troubleshooting

Error: filename isn’t a regular file, raw partition, or directory.

The backint program does not support the file type (such as a symbolic link or a named pipe).

Check the filename to see what type of file is being backed up. If brbackup requests a backup of special files, contact SAP support.

Error: Too many symlinks There are too many symbolic links to save (more than 100).

If the list of database files to be backed up contains more than 100 symbolic links, consider restructuring the directories to eliminate the extra symbolic links.

Error: unexpected inquire case. The files requested in the input file do not match the SAP backint specification. Valid file specifications include: • #NULL is specified for a backup ID, with or without a

filename.• A filename is specified with a backup ID.• A backup ID is specified without a filename.

Check the backup input file generated by brbackup. If the input file generated appears to be the wrong format, contact SAP support.

File filename not found in index, no attempt to recover will be made

The NetWorker software did not save the filename specified for recovery. The filename does not appear in the client file index.

Check the specified filename to see if the name is correct. Check previous backups to determine whether the file was actually saved in a previous backup.

File was filename, lstat error NMSAP tried to get information for a symbolic link that does not exist, or NMSAP cannot access because permission is denied.

Check the file to see that it exists and is a valid symbolic link.

Improperly formatted backup id: backup ID

The backup ID is incorrect. It should specify either a number or the word #NULL.

Check the input file brrestore generated to ensure that it has the correct format. If not, and this error keeps occurring, contact SAP customer support.

Lookup failed on filename (backup_ID)

The backint program was trying to look up a filename and/or backup ID in the client file index, but the attempt to query the index failed. The next message should explain why the index query failed.

Check the next error message to determine why the attempt to query the index failed.

Non-recursive directory backup is not supported at this time

You have attempted to back up a directory. The backup of directories is not supported.

Select specific database objects to back up from the BrGui program and restart the backup process.

Not enough savesets configured. Increase "savesets" setting.

The number or size of the save sets to be backed up exceeds the current settings for the number of save sets allowed or the maximum save set size.

Increase the number of save sets or the maximum save set size.• The savesets parameter in specifies the number of

save sets.• The ss_size_max parameter in specifies the

maximum save set size.Table 14 on page 82 provides details.

Open param file: <filename>, error: <error msg>

Unable to open the backint parameter file, init<DBSID>.utl.

Attempt to open the parameter file for backint in any text editor. If you are unable to open the parameter file, replace it with the original file from the NMSAP installation package.

Opening switch list file for online backup: error

When performing an online backup, backint tries to open a file to communicate with brbackup. This file could not be opened for the reason given.

Check to see if the .switch.lis file exists in the SAPBACKUP directory. If so, check the permissions on this file. Normally, NMSAP deletes and re-creates this file for every tablespace to be switched into backup mode.

Opening switch log file for online backup: error

When performing an online backup, backint expects brbackup to provide a log file of the tablespaces that were switched into or out of backup mode.

Check to see if the .switch.log file is still in the SAPBACKUP directory. If so, delete it before running the SAP backup again.

Table 21 NMSAP error messages (page 2 of 3)

Error message Description Solution

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide104

Troubleshooting

Opening switch semaphore file for online backup: error

When performing an online backup, backint tries to open a file to communicate with brbackup. This file could not be opened for the reason given.

Check to see if the .switch.sem file exists in the SAPBACKUP directory. If so, check this file’s permissions. Normally, NMSAP deletes and re-creates this file for every tablespace to be switched into backup mode.

Semaphore file not deleted in time seconds.

When performing an online backup, the SAP module was waiting for the switch semaphore file to be deleted. After waiting seconds, the switch semaphore file still was not deleted.

If brbackup appears to be running properly but just slowly, you can increase the sem_timeout setting for backint.

Switch log file indicates an error.

The brconnect program indicated in the switch log file that there was an error switching one of the tablespaces into or out of backup status. This is considered a fatal error in the backint specification.

Investigate the error messages in the switch log file to determine the problem. Check the SAP installation or the SAP documentation to determine the problem.

Unable to allocate memory: error

The backint program was unable to allocate memory. Check the memory usage on the computer.

Unable to execute child backint process.

The backint process could not execute a subprocess to back up an individual save set.

Ensure that the backint binary is installed in the directory from which brbackup or brrestore is run. Check the log file for any other messages which may help pinpoint the problem.

Unable to find pid process ID in list of files

The backint program is checking the status of a subprocess that was created to save individual files. However, the subprocess ID does not match any of the expected process IDs.

Check the rest of the messages from the backup process to ensure that everything was saved. In particular, check for the message “x of y files saved at time.” If all of the files were not saved, retry the backup.

Unable to open output file: error The output file could not be opened because of the error specified.

Check the permissions on the output file and directory, and check for sufficient disk space to create a new file.

Unable to query with savetime and filename both absent

The backint program was trying to find a file in the client file index, but neither the save time nor the filename were provided.

Check the input file to see if any file information is specified incorrectly.

Use absolute path name for: filename

The filename given in the input file was not an absolute pathname. The file cannot be restored or inquired without having the full pathname.

Check the input file brrestore generated to ensure that it has the correct format. If not, and this error recurs, contact SAP customer support.

Table 21 NMSAP error messages (page 3 of 3)

Error message Description Solution

NMSAP Error messages 105

Troubleshooting

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide106

This glossary contains terms and definitions found in this manual. Most of the terms are specific to NetWorker Module for SAP with Oracle (NMSAP) software.

Aad hoc backup See “manual backup.”

administrator The person who normally installs, configures, and maintains software on network computers, and who adds users and defines user privileges.

Administrator group A Microsoft Windows user group whose members have the rights and privileges of users in other groups, plus the ability to create, modify, and manage the users and groups in the domain.

archive The process by which NetWorker software backs up directories or files to an archive volume to free disk space. Archived data can be deleted but is not recyclable.

archived redo log See “redo log.”

authentication A security method that enables high confidence in the identity of users, clients, and servers in distributed environments.

autochanger See “library.”

Bbackup An operation that saves data to a volume.

backup cycle The period of time from one level full backup to the next level full backup.

backup volume A volume used to store backup data. Backup data cannot be stored on an archive volume or a clone volume.

bootstrap A save set that is essential for the NetWorker disaster recovery procedures. The bootstrap consists of three components that reside on the NetWorker server: the “media database,” the “resource database,” and the “server index.”

browse policy A NetWorker policy that specifies the time period during which backup entries are stored in a “client file index” and the associated backup files are readily accessible to desktop users.

Glossary

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 107

Glossary

Ccarousel See “library.”

client A computer, workstation, or fileserver whose data can be backed up and recovered.

client file index A database maintained by the NetWorker server that tracks every database object, file, or “file system” backed up. The NetWorker server maintains a single index file for each client computer. The tracking information is purged from the index after the browse time of each backup expires.

client-initiatedbackup

See “manual backup.”

clone A reliable copy of backed up data, which is indexed and tracked. Unlike volumes created with a simple copy command, clone volumes can be used in exactly the same way as the original backup volume. Single save sets or entire volumes can be cloned.

clone volume An exact duplicate of a backup volume. One of four types of volumes that NetWorker software can track (backup, archive, backup clone, and archive clone). Save sets of these different types may not be intermixed on one volume.

cluster 1. Two or more independent network servers that operate and appear to clients as if they were a single unit. The cluster configuration enables work to be shifted from one server to another, thereby providing "high availability," which allows application services to continue despite most hardware or software failures. Also known as an agent (Sun), logical server (HP TruCluster), package (HP-UX), and virtual server (Microsoft). 2. A group of disk sectors. The operating system assigns a unique number to each cluster and keeps track of files according to which clusters they use.

command line The line on a display screen, also known as a command prompt or shell prompt, where you enter software commands.

Console server The software program that is used to manage NetWorker servers and clients. The Console server also provides reporting and monitoring capabilities for all NetWorker processes.

Ddatawheel See “library.”

datazone A group of computers administered by a NetWorker server.

device 1. A storage unit that reads from and writes to backup volumes. A storage unit can be a tape device, optical drive, library, or file connected to the server or storage node. 2. When dynamic drive sharing (DDS) is enabled, refers to the access path to the physical drive.

directed recovery A method of recovery that recovers data that originated on one client computer and re-creates it on another client computer.

directive An instruction that directs NetWorker software to take special actions on a given set of files for a specified client during a backup or recover operation. Directives are ignored in manual (unscheduled) backups.

drive A hardware device through which media can be read or written to.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide108

Glossary

Dynamic DriveSharing (DDS)

A feature that allows NetWorker software to recognize shared drives and when they are available.

Eenabler code A special code that activates the software. The enabler code that unlocks the base

features for software is called a base enabler. Enabler codes for additional features or products (for example, library support) are called add-on enablers.

Ffile index See “client file index.”

file system 1. The software interface used to save, retrieve, and manage files on storage media by providing directory structures, data transfer methods, and file association. 2. The entire set of all files.

full backup See “level.”

Ggroup A client or group of client computers that are configured to back up files at a

designated time of day.

Hhigh availability

systemA system of multiple computers configured as cluster nodes on a network that ensures that application services continue despite a hardware or software failure. Each cluster node has its own IP address with private resources or disks that are available only to that computer.

host A computer on a network.

host ID A serial number that uniquely identifies a host computer.

Iinstant backup The process of creating a point-in-time copy (snapshot) of data from a single client

and saving it on a primary storage volume, which can be immediately recovered as a backup copy.

instant restore The process of copying data created during an instant backup to its original location, or to an alternate location, during a recover operation.

Llabel An electronic header on a volume used for identification by NetWorker or other data

move application.

level A backup configuration option that specifies how much data is saved during a scheduled or manual backup. A full (f) backup backs up all files, regardless of whether they have changed. Levels one through nine [1-9] backup files that have changed since the last lower numbered backup level. An incremental (incr) backup backs up only files that have changed since the last backup.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 109

Glossary

library A hardware device containing one or more removable media drives, as well as slots for pieces of media, media access ports, and a robotic mechanism for moving pieces of media between these components. Libraries automate media loading and mounting functions during backup and recovery. The term library is synonymous with autochanger, autoloader, carousel, silo, datawheel, jukebox, and near-line storage.

live backup Also known as a "PIT rollover" or "rollover to tape" backup. A backup to media of a previously created snapshot. The two types of live backup are immediate live backup and deferred live backup.

Mmanual backup A backup that a user performs from the client, also known as an unscheduled backup

or an ad hoc backup. The user specifies the files, file systems, and directories to back up. A manual backup does not generate a bootstrap save set.

media The physical storage, such as magnetic tape, optical disk, or file system, to which backup data is written.

media database A database that contains indexed entries of storage volume location and the life cycle status of all data and volumes managed by the NetWorker server.

media index See “media database.”

Media Manager The NetWorker database that tracks save sets stored on backup volumes.

media pool See “pool.”

mount To make a database available for use or to place a removable tape or disk volume into a drive for reading or writing.

NNAS See “Network attached storage (NAS).”

NDMP data server An NDMP service that either reads from or writes to disk.

NDMP host The host computer that executes the NDMP server application.

NDMP save set A save set of an NDMP client that is backed up to an NDMP device.

NDMP server An instance of one or more NDMP services controlled by a single NDMP control connection. Thus a data/tape/SCSI server is an NDMP server providing data, tape, and SCSI services.

NDMP service The virtual state machine on an NDMP host that is controlled by the DMA. Examples of NDMP services include: a general server with direct attached storage (storage appliance), a system with one or more tape drives, or a software process that reads two data streams and multiplexes them into one stream.

NDMP storage node A host or any open system having NDMP services installed such as Netapp Filer and EMC Filer.

near-line storage See “library.”

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide110

Glossary

Network attachedstorage (NAS)

A disk array or storage device (NAS filer) with multiple file systems that connects directly to the messaging network or LAN interfaces and uses common communication protocols (TCP/IP or NDMP).

Network DataManagement

Protocol (NDMP)

A TCP/IP-based protocol that specifies how heterogeneous network components communicate for the purpose of backup and recovery.

Network File System(NFS)

A client/server application that allows users to access shared files stored on networked computers of different types.

NetWorker A network-based EMC software product that backs up and recovers file systems.

NetWorkerManagement

Console

See “Console server.”

NetWorker resource See “resource.”

NetWorker server The computer on a network that runs the NetWorker server software, which contains the online indexes and provides backup and recovery services to the clients on the same network.

NFS See “Network File System (NFS).”

NFS server A computer that contains exported file systems that NFS clients can access.

nsrd The master NetWorker server process.

nsrhost The logical hostname of the computer that is the NetWorker server.

Oonline indexes The records of backup details, consisting of the client file index and the media

database, maintained on the NetWorker server.

override A different backup level that is used in place of the regularly scheduled backup.

Pparallelism A method that backs up or recovers data for several clients, or several save sets for

one client, at the same time.

pathname A set of instructions to the operating system for accessing a file. An absolute pathname indicates how to find a file starting from the root directory and working down the directory tree. A relative pathname indicates how to find a file starting from the current location.

physical cluster host A NetWorker client that is bound to a physical host in the cluster and can have its own resources (private or local).

physical host A node or host that forms part of a cluster.

point-in-time (PIT)copy

A fully usable copy of a defined collection of data, such as a consistent filesystem, database, or volume, which contains an image of the data as it appeared at a single point in time. A PIT copy is also called a shadow copy or a snapshot.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 111

Glossary

policy A set of constraints that specify how long the save sets for a client are available for recovery. Each client has a browse policy and a retention policy. When the retention policy expires, the save sets associated with that policy are marked recyclable.

pool A feature to sort backup data to selected storage volumes.

proxy-client A surrogate client that performs the NetWorker save operation for the client that requested the backup. A proxy client is required to perform a serverless backup.

purge Removing file data from the extended drive (after the file has been moved to media), while leaving a file tag behind. The file appears as if it is still on the drive.

purge list A list of files that have qualified for purge rules but have not yet been purged from the extended drive. Files on the purge list are purged either when a background scan occurs or when extended drive used space reaches a certain level, depending on the configuration.

Rrecover To apply transactional logs to a database to make it consistent with a given point in

time.

recyclable save set A save set whose browse and retention policies have expired. Recyclable save sets are removed from the media database.

recyclable volume A volume whose data has exceeded both its browse and retention policies and is now available to be relabeled and reused.

redo log The online log (also known as archived redo log) of an Oracle database, consisting of at least two redo log files (separate from the datafiles) that records all changes made in the database instance.

remote device A storage device that is attached to a storage node.

Remote ProcedureCall (RPC)

The protocol that the NetWorker server uses to perform client requests over a network.

resource A component that describes the NetWorker server or its clients. Clients, devices, schedules, groups, and policies are all NetWorker resources. Each resource has attributes that define its properties.

resource database A database of information about each resource.

restore The process of retrieving individual files from backup storage and copying the files to disk.

retention policy A setting that determines the length of time that backup data is retained on a volume available for recovery, though not necessarily immediate recovery.

retrieve To locate and recover archived files and directories.

rollback restore The process by which a specific point-in-time copy (snapshot) of data is restored to the source location by using the hardware's particular capabilities. A rollback restore is a destructive save set restore.

rollover save set A save set that is backed up to tape from a snapshot. Whether this snapshot is retained or not depends on a snapshot policy. When a snapshot is rolled over to tape,

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide112

Glossary

entries are made in the client file index and media database, which enable the save set to be browsed for recovery.

root 1. (UNIX only) The UNIX superuser account. 2. (Microsoft Windows and UNIX) The highest level of the system directory structure.

RPC See “Remote Procedure Call (RPC).”

Ssave The NetWorker command that backs up client files to backup volumes and makes

data entries in the online index.

save set A group of files or a file system from a single client computer, which is backed up on storage media.

save set consolidation A process that performs a level 1 backup and merges it with the last full backup of a save set to create a new full backup.

save set ID A internal identification number assigned to a save set.

save set recover To recover data by specifying save sets rather than by browsing and selecting files or directories.

save set status A NetWorker attribute that indicates whether a save set is browsable, recoverable, or recyclable. The save set status also indicates whether the save set was successfully backed up.

save stream The data and save set information that is written to a storage volume during a backup. A save stream originates from a single save set.

scanner The NetWorker command used to read a backup volume when the online indexes are not available.

scheduled backup A type of backup that is configured to start automatically at a specified time for a group of one or more NetWorker clients. A scheduled backup generates a bootstrap save set.

conventional storage A storage library attached to the NetWorker server or storage node, used to store traditional or snapshot backups. A NetWorker server Device resource must be configured for each conventional storage device.

server index See “client file index.”

shared disk The storage disk that is connected to multiple nodes in the cluster.

SID System identifier for an Oracle database instance.

silo See “library.”

SmartMedia An EMC software application that manages media resources within a distributed environment.

snap set The group of files, volumes, or file systems from a single client that describes the collection of data for which a point-in-time copy is created on an external disk subsystem, such as a storage array.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 113

Glossary

snapshot A point-in-time, read-only copy of data created during an instant backup.

snapshot policy A set of rules that control the lifecycle of a snap set. The snapshot policy specifies the frequency of snapshots, and how long snapshots are retained before recycling.

SNMP (SimpleNetwork

ManagementProtocol)

A protocol used to send messages to the administrator about NetWorker events.

ssid See “save set ID.”

staging Moving data from one storage medium to a less-costly medium, and later removing the data from its original location.

stand-alone device A storage device that contains a single drive for backing up data. Stand-alone devices cannot store or automatically load backup volumes.

storage node A storage device physically attached to a computer other than the NetWorker server, whose backup operations are administered from the controlling NetWorker server.

system administrator The person normally responsible for installing, configuring, and maintaining NetWorker software.

Ttablespace An Oracle database structure that consists of one or more datafiles.

tape service An NDMP DSP service that controls access to tape storage. A system can simultaneously host multiple tape services corresponding to multiple backup streams.

target sessions The number of backup sessions accepted by a backup device.

temporary enabler A code that allows operation of the software for an additional 45 days beyond the evaluation period.

trap Unsolicited notification sent from the SNMP agent to the network manager’s SNMP event manager.

Uunscheduled backup See “manual backup.”

update enabler A code that updates software from a previous version. Like other temporary enabler codes, it expires after 45 days.

Vversions The date-stamped collection of available backups for any single file.

virtual cluster client A NetWorker client that is not permanently bound to one physical host but is managed by a cluster manager. It can have its own data disks. It is also referred to as a logical cluster client or a virtual client.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide114

Glossary

volume 1. A unit of physical storage medium, such as a magnetic tape, optical disk, or file system to which backup data is written. 2. An identifiable unit of data storage that may reside on one or more computer disks.

volume ID An internal identification that NetWorker software assigns to a backup volume.

volume mount point A disk volume that is grafted into the namespace of a host disk volume. This allows multiple disk volumes to be linked into a single directory tree, and a single disk or partition to be linked to more than one directory tree.

volume name The name assigned to a backup volume when it is labeled.

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 115

Glossary

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide116

Index

Aactive-active cluster configurations 54active-passive cluster configurations 54advanced file type device (AFTD) 29archived redo logs 40, 72Avamar server 29, 42

Bbackint

command 17location 20

backint parameter file 82backup

archived redo logs 40bootstrap file 40client file index 40cloning 42manual 39PowerSnap 58probe-based 32Replication Manager 72session log 41snapshot 58split-mirror 72

Backup Command client attribute 28backup notifications, email 35bootstrap file 12, 40, 50BR_EXEC configuration parameter 89brarchive command 98brbackup command 98BrGui interface 22brrecover command 46, 99brrestore command 46, 99BRTools 17, 21, 22

Ccancel manual backup 41cancel scheduled backup 39choosing the backup and restore utility 21client indexs 50Client resource attributes 27, 28cloning backups 42

clusterbackups 54cloning backups 43deduplication backup 55manual backups 55restoring backups 56split-mirror backup 77

commandbackint 17brarchive 98brbackup 98brrecover 46, 99brrestore 46, 99mminfo 41, 70nsrinfo 41nsrsapsv 17sapclone 43savegrp 40

component software used with NMSAP 17configuration file

conversion 25created by wizard 23init(DBSID).sap file 21init(DBSID).utl file 17, 66nsrsapsv.cfg 88

convert backup settings from earlier releases 25, 55

Ddata flow

PowerSnap 61data mover 58, 72DBSID 12, 90debug level 102deduplication backup

cluster 55deletion and expiry 42manual 31requirements 29scheduled 30with Oracle RMAN 32with the wizard 30without the wizard 31

deletion of deduplication backups 42

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 117

Index

destination host 47, 51diagnostic logs 102disaster recovery 12, 50

Eemail backup notifications 35encryption, SAP user for OS and Oracle 26environment, NMSAP software 16error messages 103event-based backup 32

Ffirewall 20

Ggeneric Client resource 54

II18N support 15, 21init(DBSID).sap file 21, 76init(DBSID).utl file 17, 66, 82init.utl file 26internationalization support 15

LLockbox resource, in cluster 54logs

archived redo 40backup session reports 41

Mmanual backup

bootstrap 40cancelling 41client file indexes 40cluster 55commands 98configuration 29deduplication 31monitoring 41performing 39

media database 41mirror host 72mminfo command 41, 70mount host 72multiple probes 34

NNAS devices 64NMC program 23, 26NMSAP

components 17environment 20features 13

nmsapps.cfg file 66non-ASCII (I18N) characters 15nsrinfo command 41

nsrsapadm command 26nsrsapadm utility 18, 25nsrsapprobe program 33nsrsapsv command 17nsrsapsv.cfg file 17, 26, 88

Oonline indexes 41Oracle Real Application Cluster (RAC) 56

Pparameter file

created by wizard 23init(DBSID).utl 82

password, SAP user 26point-in-time (PIT) copy 60PowerSnap

backup configuration 63backup records 70backup types 59configuration file 66data flow descriptions 61description 58examples 69NAS devices 69parameters 65, 66PIT copy 60ps_opaque_pfilename file 68requirements 58restore types 61testing 68

privileges for NMSAP operations 20probe-based backup

description 32example 34multiple probes 34

problems, backup or restore 102Proxy client host 58ps_opaque_pfilename file 68ps_opaque_pfilename parameter 66

Qquery the client file index 41

RRAC data

backups 56restoring 56

recoverbrrecover 99defined 12description 46parameter file 100

Replication Manager 72See also split-mirror backups

restart a restore 48restore

brrestore 99

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide118

Index

cluster data 56defined 12description 46restart for missing files 48to a different host 47, 51to a new location 47

restore and recover data 46reviewing backups 41RMAN 21

enabling 22parameters 22

rollover to conventional storage 60

Ssapclone command 18, 43save

archived redo logs 40client file index 40

save sets, cloning 42savegrp command 40scheduled backup

canceling 39cluster environment 54configuration file 88configuration with wizard 23, 24configuration without the wizard 26deduplication 30monitoring 38performing 38PowerSnap 72probe-based 32snapshot 72testing 38

snap set 60snapshot backup 58

See also PowerSnapsnapshot rollover 60software used with NMSAP 20splitint interface 72split-mirror backups 72

cluster configuration 77example parameters 79example scripts 78mount host configuration 75

Ttemplate files 26testing scheduled backups 102

Uuid bit 20user privileges for NMSAP 20username of SAP user 26

Vversion information, verifying 102virtual host 54VMware support 14

Wwizard

description 14, 23limitations 23requirements 24

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide 119

Index

EMC NetWorker Module for SAP with Oracle Release 4.0 Administration Guide120


Recommended