15.11.2012 Views

EMC NetWorker Module for Oracle Release 5.0 Administration Guide

EMC NetWorker Module for Oracle Release 5.0 Administration Guide

EMC NetWorker Module for Oracle Release 5.0 Administration Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>EMC</strong> ® <strong>NetWorker</strong> ®<br />

<strong>Module</strong> <strong>for</strong> <strong>Oracle</strong><br />

<strong>Release</strong> <strong>5.0</strong><br />

<strong>Administration</strong> <strong>Guide</strong><br />

P/N 300-006-990<br />

REV A02<br />

<strong>EMC</strong> Corporation<br />

Corporate Headquarters:<br />

Hopkinton, MA 01748-9103<br />

1-508-435-1000<br />

www.<strong>EMC</strong>.com


2<br />

Copyright © 2003 - 2009 <strong>EMC</strong> Corporation. All rights reserved.<br />

Published June, 2009<br />

<strong>EMC</strong> believes the in<strong>for</strong>mation in this publication is accurate as of its publication date. The in<strong>for</strong>mation is subject to change<br />

without notice.<br />

THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS IS.” <strong>EMC</strong> CORPORATION MAKES NO<br />

REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION,<br />

AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR<br />

PURPOSE.<br />

Use, copying, and distribution of any <strong>EMC</strong> software described in this publication requires an applicable software license.<br />

For the most up-to-date regulatory document <strong>for</strong> your product line, go to the Technical Documentation and Advisories section<br />

on <strong>EMC</strong> Powerlink.<br />

For the most up-to-date listing of <strong>EMC</strong> product names, see <strong>EMC</strong> Corporation Trademarks on <strong>EMC</strong>.com.<br />

All other trademarks used herein are the property of their respective owners.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Preface<br />

Chapter 1 Introduction<br />

Contents<br />

Naming conventions used in this guide............................................................... 20<br />

Importance of backups............................................................................................ 20<br />

Product features ....................................................................................................... 20<br />

Scheduled compared to manual backups ..................................................... 21<br />

Deduplication backups and restores ............................................................. 21<br />

Probe-based backups ....................................................................................... 23<br />

Proxy backups and restores ............................................................................ 24<br />

VMware support............................................................................................... 25<br />

Archived redo log backups ............................................................................. 25<br />

Control file autobackup ................................................................................... 25<br />

Automatic channel allocation ......................................................................... 26<br />

Backup and restore optimization ................................................................... 26<br />

Backup copies.................................................................................................... 27<br />

Backup of backup sets...................................................................................... 29<br />

Cluster and RAC backups and restores......................................................... 29<br />

Configuration wizards..................................................................................... 30<br />

Internationalization (I18N) and localization (L10N)................................... 33<br />

<strong>Oracle</strong> Data Guard support............................................................................. 36<br />

Parallelism ......................................................................................................... 36<br />

Policy uni<strong>for</strong>mity.............................................................................................. 37<br />

Restartable backups.......................................................................................... 37<br />

Retention policies ............................................................................................. 38<br />

Save set bundling.............................................................................................. 39<br />

Other <strong>Oracle</strong> features ....................................................................................... 44<br />

Software used in the NMO environment ............................................................. 47<br />

<strong>NetWorker</strong> software ......................................................................................... 47<br />

NMO software................................................................................................... 48<br />

<strong>NetWorker</strong> PowerSnap <strong>Module</strong> software..................................................... 48<br />

<strong>Oracle</strong> backup and recovery system.............................................................. 49<br />

NMO components ................................................................................................... 51<br />

NMO backup and restore processes ..................................................................... 52<br />

Regular scheduled backup processes ............................................................ 53<br />

Regular manual backup processes................................................................. 54<br />

Deduplication backup processes.................................................................... 55<br />

Regular restore processes ................................................................................ 57<br />

Deduplication restore processes..................................................................... 58<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 3


Contents<br />

4<br />

Chapter 2 Software Configuration<br />

Configuration roadmap.......................................................................................... 62<br />

Verify the <strong>Oracle</strong> Server configuration................................................................. 63<br />

Verify the <strong>NetWorker</strong> resources ............................................................................ 63<br />

<strong>NetWorker</strong> Server resource.............................................................................. 63<br />

<strong>NetWorker</strong> user group privileges ................................................................... 64<br />

<strong>NetWorker</strong> Schedule resource......................................................................... 66<br />

<strong>NetWorker</strong> Device resources ........................................................................... 66<br />

<strong>NetWorker</strong> volume pools................................................................................. 66<br />

Firewall support ................................................................................................ 67<br />

Configuring I18N support ..................................................................................... 67<br />

Requirements <strong>for</strong> I18N support ...................................................................... 68<br />

Configure I18N support................................................................................... 68<br />

Configure L10N support ........................................................................................ 69<br />

Migrating a legacy configuration with the nsrnmoadmin command ..............69<br />

Requirements <strong>for</strong> using the nsrnmoadmin command <strong>for</strong> migration........ 70<br />

Migration command syntax and options ...................................................... 71<br />

Configuring a backup with the NMC wizard......................................................72<br />

About the backup configuration wizard ....................................................... 72<br />

Requirements <strong>for</strong> using the backup configuration wizard......................... 73<br />

Configure a backup with the wizard ............................................................. 73<br />

Configuring a backup with the NMC legacy method ........................................75<br />

About backup configuration with the legacy method................................. 75<br />

Create RMAN scripts <strong>for</strong> backups.................................................................. 75<br />

Customize the nsrnmo script .......................................................................... 79<br />

Configure a Group resource with NMC ........................................................ 86<br />

Configure a Schedule resource with NMC.................................................... 87<br />

Configure a Client resource with NMC......................................................... 87<br />

Configure save set bundling............................................................................ 91<br />

Configure policy uni<strong>for</strong>mity ........................................................................... 92<br />

Configuring a deduplication backup ................................................................... 93<br />

Requirements <strong>for</strong> a deduplication backup .................................................... 94<br />

Best practices <strong>for</strong> a deduplication backup..................................................... 94<br />

Configure a deduplication backup................................................................. 95<br />

Configuring a probe-based backup ...................................................................... 97<br />

Requirements <strong>for</strong> a probe-based backup....................................................... 97<br />

Configure a probe-based backup.................................................................... 97<br />

Chapter 3 Backup Procedures<br />

Manual backup procedures ..................................................................................104<br />

Requirements <strong>for</strong> a manual backup ............................................................. 104<br />

Manual backup through the RMAN command line interface ................. 105<br />

Manual backup through <strong>Oracle</strong> Enterprise Manager Backup Management<br />

Tools .................................................................................................................. 105<br />

<strong>NetWorker</strong> server bootstrap backup ............................................................ 106<br />

Cancel a manual backup ................................................................................ 107<br />

Monitor a manual backup.............................................................................. 108<br />

Scheduled backup procedures .............................................................................110<br />

Test a scheduled backup ................................................................................ 110<br />

Cancel a scheduled backup ........................................................................... 111<br />

Monitor a scheduled backup......................................................................... 112<br />

Automation of NSR_SERVER and NSR_GROUP parameter settings .... 113<br />

Regular backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes.........................................114<br />

Deduplication backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes..............................115<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Chapter 4 Data Restore and Recovery<br />

Contents<br />

About restore and recovery.................................................................................. 118<br />

<strong>NetWorker</strong> indexes and policies used <strong>for</strong> restores .................................... 118<br />

Recovery configuration wizard .................................................................... 118<br />

RMAN scripts <strong>for</strong> restore and recovery ............................................................. 121<br />

Per<strong>for</strong>ming an <strong>Oracle</strong> data restore and recovery .............................................. 123<br />

Requirements <strong>for</strong> an <strong>Oracle</strong> data restore..................................................... 123<br />

Restore through the RMAN command line interface ............................... 125<br />

Restore with <strong>Oracle</strong> Enterprise Manager Backup Management Tools ... 126<br />

Per<strong>for</strong>m an <strong>Oracle</strong> data recovery ................................................................. 127<br />

Chapter 5 Disaster Recovery<br />

About disaster recovery........................................................................................ 130<br />

Preparing an <strong>Oracle</strong> database <strong>for</strong> disaster recovery......................................... 130<br />

Create the DBID text file................................................................................ 131<br />

Set up a postcommand script <strong>for</strong> backup of <strong>Oracle</strong>-related files............. 131<br />

Set up RMAN backups of the database and related files ......................... 132<br />

Set up RMAN backups of Recovery Catalog.............................................. 132<br />

Per<strong>for</strong>ming a disaster recovery............................................................................ 133<br />

<strong>NetWorker</strong> server recovery ........................................................................... 133<br />

<strong>Oracle</strong> disaster recovery to a new host........................................................ 133<br />

Sample postcommand script................................................................................ 134<br />

Chapter 6 Cluster and RAC Systems<br />

Considerations <strong>for</strong> cluster and RAC systems.................................................... 138<br />

Parameters in the RMAN script or session................................................. 138<br />

<strong>NetWorker</strong> software configuration .............................................................. 139<br />

Backup failover ............................................................................................... 139<br />

Cluster systems ...................................................................................................... 139<br />

Roadmap <strong>for</strong> backup/restore configuration in a cluster system............. 140<br />

Backup failover ............................................................................................... 140<br />

RAC systems........................................................................................................... 140<br />

RAC terminology............................................................................................ 140<br />

RAC backups and restores ............................................................................ 141<br />

Roadmap <strong>for</strong> backup/restore configuration in a RAC system................ 141<br />

Setting up RAC nodes to back up to a local storage node........................ 142<br />

Connect-time failover..................................................................................... 144<br />

Creating RMAN backup scripts ................................................................... 146<br />

Creating RMAN restore scripts .................................................................... 146<br />

Archived redo logs ......................................................................................... 147<br />

Chapter 7 Proxy Backups and Restores<br />

Overview of proxy backups and restores........................................................... 150<br />

Types of proxy backups ................................................................................. 150<br />

Types of proxy restores .................................................................................. 151<br />

Proxy backup and restore system........................................................................ 151<br />

Proxy backup processes ........................................................................................ 153<br />

Scheduled proxy backup ............................................................................... 154<br />

Proxy restore processes ......................................................................................... 159<br />

Instant restore or rollback.............................................................................. 160<br />

Restore from secondary storage ................................................................... 161<br />

Software configuration roadmap........................................................................ 163<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 5


Contents<br />

6<br />

Basic configurations........................................................................................ 163<br />

Additional configurations <strong>for</strong> proxy operations ........................................ 163<br />

Proxy backup requirements..................................................................................171<br />

Checking configuration consistency ............................................................ 171<br />

Per<strong>for</strong>ming proxy backups ............................................................................ 172<br />

Proxy backup in<strong>for</strong>mation in the <strong>NetWorker</strong> indexes......................................174<br />

Entries in the client file index........................................................................ 175<br />

Entries in the media database ....................................................................... 175<br />

NWORA resource file backup in the <strong>NetWorker</strong> indexes......................... 176<br />

Proxy restore requirements.................................................................................. 177<br />

Creating RMAN scripts <strong>for</strong> proxy restores.................................................. 177<br />

Per<strong>for</strong>ming proxy restores ............................................................................. 178<br />

Relocating files during proxy restores ......................................................... 179<br />

Restoring to a different host .......................................................................... 180<br />

Point-in-time recoveries without a Recovery Catalog............................... 181<br />

Catalog synchronization <strong>for</strong> proxy backups ......................................................181<br />

Extra entries in the catalogs........................................................................... 181<br />

Control file versus recovery catalog............................................................. 183<br />

The NWORA resource file ............................................................................. 183<br />

Automatic catalog synchronization with the nsroraclecat program ....... 191<br />

Proxy backups and restores on cluster systems.................................................194<br />

Proxy backup failover .................................................................................... 194<br />

Proxy backups from a virtual cluster client ................................................ 195<br />

Proxy backups from a physical cluster client.............................................. 196<br />

Restores from proxy backups on a cluster system ..................................... 197<br />

Appendix A Parameters in an RMAN Session<br />

Setting the NSR* parameters ............................................................................... 200<br />

NSR* parameter definitions................................................................................. 201<br />

Appendix B RMAN Commands<br />

The delete expired backup command ................................................................ 210<br />

The change...crosscheck and crosscheck commands ....................................... 210<br />

The pool option of the backup command.......................................................... 210<br />

The send command............................................................................................... 211<br />

Syntax rules...................................................................................................... 211<br />

Two ways to run the send command........................................................... 213<br />

Precedence rules.............................................................................................. 215<br />

The set duplex command..................................................................................... 215<br />

The trace option of the backup command......................................................... 217<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Appendix C Troubleshooting and Error Messages<br />

Glossary<br />

Index<br />

Contents<br />

Troubleshooting tips............................................................................................. 220<br />

RMAN error messages......................................................................................... 221<br />

NMO error messages............................................................................................ 222<br />

Error messages from the libnwora library.................................................. 223<br />

Error messages from the nsrnmoadmin program ..................................... 231<br />

Error messages from the nsrnmoinfo program.......................................... 233<br />

Error messages from the nsrnmoprobe program ...................................... 235<br />

Error messages from the nsrnmostart program......................................... 236<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 7


Contents<br />

8<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Figures<br />

Title Page<br />

1 Regular <strong>Oracle</strong> backup and recovery system.................................................................... 50<br />

2 Regular scheduled NMO backup ....................................................................................... 54<br />

3 Regular manual NMO backup ............................................................................................ 55<br />

4 Deduplication NMO backup ............................................................................................... 57<br />

5 Regular NMO restore ........................................................................................................... 58<br />

6 UNIX Client resource <strong>for</strong> scheduled backups................................................................... 90<br />

7 Windows Client resource <strong>for</strong> scheduled backups............................................................ 91<br />

8 <strong>Oracle</strong> backup messages in Sessions tab of Monitoring window ................................ 108<br />

9 <strong>Oracle</strong> backup messages in Devices tab of Monitoring window................................. 109<br />

10 <strong>Oracle</strong> backup messages in Log tab of Monitoring window ........................................ 109<br />

11 Group details <strong>for</strong> regular scheduled backups................................................................. 113<br />

12 Proxy backup and restore system..................................................................................... 153<br />

13 Scheduled instant backup .................................................................................................. 156<br />

14 Scheduled immediate live backup.................................................................................... 158<br />

15 Deferred live backup .......................................................................................................... 159<br />

16 Instant restore or rollback .................................................................................................. 161<br />

17 Restore from secondary storage........................................................................................ 162<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 9


Figures<br />

10<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Tables<br />

Title Page<br />

1 NMO components................................................................................................................. 51<br />

2 <strong>NetWorker</strong> Server resource attributes ............................................................................... 63<br />

3 User group privileges required <strong>for</strong> NMO operations...................................................... 65<br />

4 Options of the nsrnmoadmin command <strong>for</strong> migration................................................... 72<br />

5 <strong>NetWorker</strong> Client resource attributes................................................................................ 88<br />

6 <strong>NetWorker</strong> Probe resource attributes ................................................................................ 98<br />

7 PowerSnap parameters ...................................................................................................... 167<br />

8 NWORA parameter resources .......................................................................................... 184<br />

9 NWORA SID resource components ................................................................................. 186<br />

10 Parameters in the RMAN command or script ................................................................ 201<br />

11 Option values in the send command ............................................................................... 213<br />

12 Set duplex command values.............................................................................................. 216<br />

13 Trace option values and conditions traced...................................................................... 217<br />

14 Error messages from the libnwora library....................................................................... 223<br />

15 Error messages from the nsrnmoadmin program.......................................................... 231<br />

16 Error messages from the nsrnmoinfo program .............................................................. 234<br />

17 Error messages from the nsrnmoprobe program ........................................................... 235<br />

18 Error messages from the nsrnmostart program ............................................................. 236<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 11


Tables<br />

12<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Examples<br />

Title Page<br />

1 Using the configure channel command with parms option <strong>for</strong> automatic channels .. 26<br />

2 Specifying parameter values per automatic channel ....................................................... 26<br />

3 Using the set backup copies command in the RMAN script .......................................... 28<br />

4 Using automatic channels <strong>for</strong> backup copies .................................................................... 28<br />

5 Expiring a backup ................................................................................................................. 38<br />

6 Save set bundling <strong>for</strong> a one-week scheduled backup cycle of a tablespace ................. 42<br />

7 Save set bundle join .............................................................................................................. 43<br />

8 Splitting a save set bundle across volumes ....................................................................... 43<br />

9 Using save set consolidation to re-unite a save set bundle ............................................. 44<br />

10 RMAN script <strong>for</strong> a manual backup .................................................................................... 75<br />

11 RMAN script <strong>for</strong> AES encryption during an <strong>Oracle</strong> backup .......................................... 76<br />

12 RMAN script <strong>for</strong> a scheduled backup ................................................................................ 77<br />

13 RMAN script <strong>for</strong> a manual deduplication backup ........................................................... 96<br />

14 Possible Command Options settings <strong>for</strong> the nsrnmoprobe program ........................... 99<br />

15 Multiple probes <strong>for</strong> a probe-based backup ..................................................................... 100<br />

16 RMAN script to restore a tablespace ................................................................................ 121<br />

17 RMAN script to restore an AES encrypted backup ....................................................... 122<br />

18 RMAN script to restore from a specified pool ................................................................ 122<br />

19 Sample nsrnmoinfo commands <strong>for</strong> <strong>Oracle</strong> restores ....................................................... 125<br />

20 Volume in<strong>for</strong>mation displayed by the nsrnmoinfo command ..................................... 125<br />

21 Sample postcommand script on UNIX ............................................................................ 134<br />

22 Sample postcommand script on Windows ...................................................................... 135<br />

23 Setting up RAC nodes as storage nodes .......................................................................... 142<br />

24 RMAN script <strong>for</strong> a manual <strong>Oracle</strong> backup on a RAC system ...................................... 146<br />

25 RMAN script <strong>for</strong> an <strong>Oracle</strong> restore on a RAC system ................................................... 146<br />

26 RMAN scripts with multiple channels ............................................................................ 165<br />

27 PowerSnap parameter settings .......................................................................................... 168<br />

28 PowerSnap parameter settings <strong>for</strong> a Celerra NAS device ............................................ 168<br />

29 Proxy backup failure ........................................................................................................... 172<br />

30 Proxy backup entries in the client file index ................................................................... 175<br />

31 Proxy backup entries in the media database ................................................................... 176<br />

32 Resource file backup entry in the client file index ......................................................... 176<br />

33 Resource file backup entry in the media database ......................................................... 176<br />

34 RESTORE_TYPE_ORDER parameter settings ................................................................ 177<br />

35 Symbolic link specified in the set newname command ................................................. 180<br />

36 Relocation of a raw volume ............................................................................................... 180<br />

37 Default NWORA parameter resources ............................................................................ 186<br />

38 NWORA SID resource ........................................................................................................ 187<br />

39 Connection file contents ..................................................................................................... 188<br />

40 Proxy backup entries in the index of a physical cluster client ...................................... 196<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 13


Examples<br />

14<br />

Title Page<br />

41 Proxy backup entries in the index of a virtual cluster client ......................................... 197<br />

42 A send command sets the parameters <strong>for</strong> a specified channel ..................................... 212<br />

43 An rman send command sets a parameter <strong>for</strong> all channels .......................................... 214<br />

44 Order of parameters set according to the precedence rules .......................................... 215<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Preface<br />

As part of an ef<strong>for</strong>t to improve and enhance the per<strong>for</strong>mance and capabilities of its product<br />

lines, <strong>EMC</strong> periodically releases revisions of its hardware and software. There<strong>for</strong>e, some<br />

functions described in this document may not be supported by all versions of the software or<br />

hardware currently in use. For the most up-to-date in<strong>for</strong>mation on product features, refer to<br />

your product release notes.<br />

If a product does not function properly or does not function as described in this document,<br />

please contact your <strong>EMC</strong> representative.<br />

Audience This document is part of the <strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO)<br />

documentation set, and is intended <strong>for</strong> use by system administrators and <strong>Oracle</strong><br />

database administrators (DBAs) who are responsible <strong>for</strong> installing software and<br />

maintaining the <strong>Oracle</strong> Server backup and recovery systems. Operators who monitor<br />

<strong>Oracle</strong> database backups may also find this document useful.<br />

Readers of this document are expected to be familiar with the following topics:<br />

Related<br />

documentation<br />

◆ <strong>Oracle</strong> terminology and concepts, especially those related to <strong>Oracle</strong> database<br />

backup and recovery.<br />

◆ Backup and recovery procedures on an <strong>Oracle</strong> Server.<br />

◆ Disaster recovery procedures on an <strong>Oracle</strong> Server.<br />

Documentation related to the use of this product can be found at the <strong>EMC</strong> website,<br />

http://Powerlink.<strong>EMC</strong>.com, including:<br />

◆ The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release <strong>5.0</strong> documentation set:<br />

<strong>Administration</strong> guide<br />

Installation guide<br />

<strong>Release</strong> notes<br />

Command reference guide<br />

◆ The <strong>NetWorker</strong> documentation set:<br />

<strong>Administration</strong> guide<br />

Installation guide<br />

<strong>Release</strong> notes<br />

Command reference guide<br />

Disaster recovery guide<br />

◆ Other <strong>EMC</strong> documentation:<br />

<strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation<br />

Software compatibility guide<br />

UNIX man pages<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 15


Preface<br />

16<br />

Conventions used in<br />

this document<br />

!<br />

!<br />

The following additional documentation may be useful:<br />

◆ <strong>Oracle</strong> Server documentation<br />

◆ <strong>Oracle</strong> database backup and recovery documentation<br />

<strong>EMC</strong> uses the following conventions <strong>for</strong> special notices.<br />

Note: A note presents in<strong>for</strong>mation that is important, but not hazard-related.<br />

CAUTION<br />

A caution contains in<strong>for</strong>mation essential to avoid data loss or damage to the system<br />

or equipment.<br />

IMPORTANT<br />

An important notice contains in<strong>for</strong>mation essential to software or hardware<br />

operation.<br />

Typographical conventions<br />

<strong>EMC</strong> uses the following type style conventions in this document:<br />

Normal Used in running (nonprocedural) text <strong>for</strong>:<br />

Names of interface elements (such as names of windows, dialog boxes, buttons,<br />

fields, and menus)<br />

Names of resources, attributes, pools, Boolean expressions, buttons, DQL<br />

statements, keywords, clauses, environment variables, functions, utilities<br />

URLs, pathnames, filenames, directory names, computer names, links, groups,<br />

service keys, file systems, notifications<br />

Bold Used in running (nonprocedural) text <strong>for</strong>:<br />

Names of commands, daemons, options, programs, processes, services,<br />

applications, utilities, kernels, notifications, system calls, man pages<br />

Used in procedures <strong>for</strong>:<br />

Names of interface elements (such as names of windows, dialog boxes, buttons,<br />

fields, and menus)<br />

What the user specifically selects, clicks, presses, or types<br />

Italic Used in all text (including procedures) <strong>for</strong>:<br />

Full titles of publications referenced in text<br />

Emphasis (<strong>for</strong> example, a new term)<br />

Variables<br />

Courier Used <strong>for</strong>:<br />

System output, such as an error message or script<br />

URLs, complete paths, filenames, prompts, and syntax when shown outside of<br />

running text<br />

Courier bold Used <strong>for</strong>:<br />

Specific user input (such as commands)<br />

Courier italic Used in procedures <strong>for</strong>:<br />

Variables on the command line<br />

User input variables<br />

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

[ ] Square brackets enclose optional values<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


| Vertical bar indicates alternate selections - the bar means “or”<br />

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

... Ellipses indicate nonessential in<strong>for</strong>mation omitted from the example<br />

Where to get help <strong>EMC</strong> support, product, and licensing in<strong>for</strong>mation can be obtained as follows.<br />

Product in<strong>for</strong>mation — For documentation, release notes, software updates, or <strong>for</strong><br />

in<strong>for</strong>mation about <strong>EMC</strong> products, licensing, and service, go to the <strong>EMC</strong> Powerlink<br />

website (registration required) at:<br />

Preface<br />

http://Powerlink.<strong>EMC</strong>.com<br />

Technical support — For technical support, go to <strong>EMC</strong> Customer Service on<br />

Powerlink. To open a service request through Powerlink, you must have a valid<br />

support agreement. Please contact your <strong>EMC</strong> sales representative <strong>for</strong> details about<br />

obtaining a valid support agreement or to answer any questions about your account.<br />

Your comments Your suggestions will help us continue to improve the accuracy, organization, and<br />

overall quality of the user publications. Please send your opinion of this document to:<br />

SSGdocumentation@<strong>EMC</strong>.com<br />

If you have issues, comments, or questions about specific in<strong>for</strong>mation or procedures,<br />

please include the title and, if available, the part number, the revision (<strong>for</strong> example,<br />

A01), the page numbers, and any other details that will help us locate the subject you<br />

are addressing.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 17


Preface<br />

18<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This chapter includes the following major sections:<br />

1<br />

Introduction<br />

◆ Naming conventions used in this guide .................................................................... 20<br />

◆ Importance of backups ................................................................................................. 20<br />

◆ Product features............................................................................................................. 20<br />

◆ Software used in the NMO environment .................................................................. 47<br />

◆ NMO components......................................................................................................... 51<br />

◆ NMO backup and restore processes........................................................................... 52<br />

Introduction 19


Introduction<br />

20<br />

Naming conventions used in this guide<br />

Importance of backups<br />

Product features<br />

Consider the naming conventions used throughout this guide:<br />

◆ “Administrator Microsoft user” and “a member of the Microsoft Windows<br />

Administrators group” are used interchangeably.<br />

◆ “<strong>Oracle</strong> Server host” refers to the host where both the <strong>Oracle</strong> Server and <strong>EMC</strong> ®<br />

<strong>NetWorker</strong> ® <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) software are installed.<br />

◆ “Proxy backup or restore” refers to an <strong>Oracle</strong> RMAN proxy copy backup or<br />

restore that is implemented by using snapshot technologies through the<br />

PowerSnap <strong>Module</strong> software.<br />

◆ Unlike the <strong>NetWorker</strong> software, which uses the term recover <strong>for</strong> all data retrieval<br />

activities, <strong>Oracle</strong> distinguishes between restoring and recovering a database:<br />

“Restore” refers to retrieving individual datafiles from backup and storing the<br />

files on disk.<br />

“Recover” refers to applying the redo logs to make the database consistent.<br />

This guide follows the <strong>Oracle</strong> terminology.<br />

◆ “Regular backup or restore” refers to an NMO backup or restore of <strong>Oracle</strong> data<br />

that does not use snapshot technologies through the PowerSnap <strong>Module</strong><br />

software.<br />

◆ "UNIX" refers to both UNIX and Linux operating systems, unless specified<br />

otherwise.<br />

◆ "Windows" refers to all the supported Microsoft Windows operating systems,<br />

unless specified otherwise.<br />

The reliability of computer equipment has improved greatly in recent years, but<br />

system and hardware failures still occur, sometimes with catastrophic results.<br />

In a client/server environment, data can be lost due to hardware failures and user<br />

errors. Software bugs, procedural flaws, and simple user errors are common<br />

problems that necessitate database restores from backup storage media. A viable<br />

backup strategy can help in the recovery from disastrous situations.<br />

Database administrators must recognize the importance of per<strong>for</strong>ming regular<br />

backups of database files and frequent backups of archived redo logs. If all archived<br />

redo logs are lost, a database can be recovered only to the time of the last consistent<br />

backup. Without backups and archived redo logs, the database cannot be recovered<br />

at all.<br />

The following sections describe major features of the NMO, <strong>Oracle</strong> Recovery<br />

Manager (RMAN), and <strong>Oracle</strong> Server software.<br />

Certain sections refer to the send command, which is used to set parameters in the<br />

RMAN script <strong>for</strong> an NMO backup, as described in “The send command” on<br />

page 211.<br />

The <strong>Oracle</strong> backup and recovery documentation provides more details on RMAN<br />

backups and restores and <strong>Oracle</strong> product features.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Scheduled compared to manual backups<br />

Deduplication backups and restores<br />

An NMO backup can be either a scheduled or manual (unscheduled) backup:<br />

Introduction<br />

◆ A scheduled NMO backup includes the following features:<br />

The backup is initiated by the <strong>NetWorker</strong> server.<br />

The backup start time depends on the settings in the <strong>NetWorker</strong> resources.<br />

A regular scheduled backup starts at a time specified in the <strong>NetWorker</strong> Group<br />

resource.<br />

A probe-based backup (or event-based backup) is a type of scheduled backup<br />

that starts when specified conditions are met, as described in “Probe-based<br />

backups” on page 23.<br />

A proxy backup is only supported by using a scheduled backup, as described in<br />

“Proxy backups and restores” on page 24.<br />

◆ A manual NMO backup includes the following features:<br />

The backup is initiated by a user on the NMO host through an <strong>Oracle</strong> backup<br />

utility, which can be RMAN or <strong>Oracle</strong> Enterprise Manager.<br />

The backup is per<strong>for</strong>med by running the <strong>Oracle</strong> utility from the operating<br />

system command line. For example, a user starts a manual NMO backup by<br />

running an RMAN backup script from the command line.<br />

Chapter 2, “Software Configuration,” provides details on the configuration of both<br />

scheduled and manual backups.<br />

Chapter 3, “Backup Procedures,” provides details on scheduled and manual backup<br />

procedures.<br />

NMO <strong>5.0</strong> software provides new support <strong>for</strong> deduplication backups and restores.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes provides details on the <strong>NetWorker</strong><br />

requirements <strong>for</strong> the support of deduplication operations.<br />

Main features of deduplication operations<br />

An <strong>EMC</strong> Avamar ® server (on Linux) interacts with the <strong>NetWorker</strong> server and NMO<br />

software during deduplication backups and restores. The Avamar server is<br />

configured as a <strong>NetWorker</strong> deduplication node, and deduplicates the data from<br />

various clients, including the NMO clients. (The Avamar server must also be<br />

available when a deduplication client resource is created.)<br />

The initial backup to a deduplication node (Avamar server) will be a full backup.<br />

During subsequent deduplication backups, the Avamar server identifies redundant<br />

data blocks on the NMO client host and backs up only the unique blocks (not entire<br />

files) that contain changes. Only a single instance of any unique (atomic in Avamar<br />

terminology) data block is maintained on the Avamar server.<br />

Since data deduplication is per<strong>for</strong>med on the client host, deduplication backups<br />

typically require less time, network bandwidth, and storage space than regular NMO<br />

backups.<br />

Product features 21


Introduction<br />

22<br />

The Avamar client-side binary, nsravtar, is installed on the NMO client with the<br />

<strong>NetWorker</strong> client software. During a deduplication backup, the nsravtar process<br />

sends the deduplicated client data to the Avamar server. A deduplication NMO<br />

backup uses a hash cache on the client side. The Avamar and <strong>NetWorker</strong><br />

documentation provides more details about caches in deduplication backups.<br />

The following sections describe the processes involved in deduplication backups and<br />

restores:<br />

◆ “Deduplication backup processes” on page 55<br />

◆ “Deduplication restore processes” on page 58<br />

A deduplication backup can be a manual or scheduled backup, including a<br />

probe-based backup.<br />

The application of browse and retention policies and the selection of media pools is<br />

the same <strong>for</strong> a deduplication backup as <strong>for</strong> a regular NMO backup.<br />

Since only the backup metadata (hash ID) is stored on the <strong>NetWorker</strong> backup device<br />

(generating a very small save set), the device should be configured as an advanced<br />

file type device (AFTD). The <strong>NetWorker</strong> administration guide provides more<br />

in<strong>for</strong>mation.<br />

You must configure a scheduled or manual deduplication backup according to<br />

“Configuring a deduplication backup” on page 93.<br />

“Deduplication backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes” on page 115 describes<br />

the backup in<strong>for</strong>mation stored in the <strong>NetWorker</strong> indexes, and how to delete the<br />

backups.<br />

Features not supported with deduplication operations<br />

Deduplication operations do not support the following:<br />

◆ <strong>Oracle</strong> proxy backups or restores.<br />

◆ Cluster or RAC backups or restores.<br />

◆ Internet Protocol version 6 (IPv6).<br />

◆ AES encryption of deduplicated data through the NSR_AES_ENCRYPTION<br />

parameter.<br />

◆ Checksumming of deduplicated data through the NSR_CHECKSUM parameter.<br />

◆ Compression of deduplicated data through the NSR_COMPRESSION parameter.<br />

If NSR_AES_ENCRYPTION, NSR_CHECKSUM, or NSR_COMPRESSION is set<br />

<strong>for</strong> a deduplication backup, NMO applies the AES encryption, checksumming, or<br />

compression, respectively, to only the metadata that is stored on the <strong>NetWorker</strong><br />

storage node.<br />

◆ Cloning or staging of deduplicated data on the Avamar server.<br />

Only the metadata stored on the <strong>NetWorker</strong> storage node can be cloned or<br />

staged. However, deduplicated save sets on the Avamar server can be replicated to<br />

another Avamar server that has been configured as a replication node by <strong>EMC</strong><br />

Professional Services. Avamar documentation and the <strong>NetWorker</strong> administration<br />

guide provide details on replication of deduplication backups.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Probe-based backups<br />

Introduction<br />

NMO <strong>5.0</strong> software provides new support <strong>for</strong> probe-based backups (also known as<br />

event-based backups). A probe-based backup is a type of scheduled backup:<br />

◆ The <strong>NetWorker</strong> server starts a regular scheduled backup based on a time interval.<br />

◆ The <strong>NetWorker</strong> server starts a probe-based backup when specified conditions are<br />

met.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes provides details on the <strong>NetWorker</strong><br />

requirements <strong>for</strong> the support of probe-based backups.<br />

Probe-based backups are not supported <strong>for</strong> proxy backups or cluster/RAC<br />

environments.<br />

Workflow of probe-based backups<br />

A probe-based NMO backup starts when both of the following are true:<br />

◆ (Condition 1) The current time is within a specified window of time (the backup<br />

window, defined by the probe start time and probe end time in the probe-enabled<br />

backup group resource).<br />

◆ One of the following conditions is met:<br />

(Condition 2) A specified amount of time has elapsed since the previous<br />

probe-based backup.<br />

(Condition 3) One or all of the probes associated with the backup are<br />

successful, depending on the probe success criteria specified in the backup<br />

configuration.<br />

The probe success criteria can be set in the <strong>NetWorker</strong> Group resource to the<br />

value Any or All.<br />

At specified probe intervals, the <strong>NetWorker</strong> server per<strong>for</strong>ms the following:<br />

1. The server checks <strong>for</strong> condition 1, to determine if the current time is within the<br />

backup window.<br />

2. If condition 1 is met, then the server checks <strong>for</strong> condition 2, to determine if a<br />

specified amount of time has elapsed since the last probe-based backup:<br />

If condition 2 is met, then the server starts the probe-based backup.<br />

If condition 2 is not met, then the server checks <strong>for</strong> condition 3, to determine if<br />

one or all of the probes are successful:<br />

– If the probe success criteria is set to Any, and any one of the probes is<br />

successful, then the server starts the probe-based backup.<br />

– If the probe success criteria is set to All, and all of the probes are successful,<br />

then the server starts the probe-based backup.<br />

Product features 23


Introduction<br />

24<br />

Types of probes<br />

Proxy backups and restores<br />

There are two different types of probes:<br />

◆ An NMO probe.<br />

The NMO probe is implemented through the NMO program nsrnmoprobe. The<br />

nsrnmoprobe program returns a successful result (signifying that the condition<br />

being checked has been met) when it detects either of the following:<br />

The number of <strong>Oracle</strong> redo logs generated since the previous probe-based<br />

backup exceeds a number known as the change threshold.<br />

A new database incarnation (reset log) has occurred since the previous<br />

probe-based backup.<br />

◆ User-defined probes.<br />

A user-defined probe checks if any other user-defined condition (other than the<br />

number of generated <strong>Oracle</strong> redo logs) has been met since the previous<br />

probe-based backup. (This option requires more advanced configuration.) To<br />

implement a user-defined probe, you must create a new script or program that<br />

checks <strong>for</strong> the condition, as described in “Configuring a probe-based backup” on<br />

page 97.<br />

You must configure the required parameters and <strong>NetWorker</strong> resources to specify the<br />

probe interval, backup window, and any other settings <strong>for</strong> a probe-based backup.<br />

“Configuring a probe-based backup” on page 97 provides details on how to<br />

configure a probe-based backup.<br />

Proxy backups and restores provide continuous snapshot-based protection and<br />

availability of <strong>Oracle</strong> data on specific types of primary storage. A proxy operation<br />

involves both the NMO software and a specific PowerSnap <strong>Module</strong>. The <strong>EMC</strong><br />

In<strong>for</strong>mation Protection Software Compatibility <strong>Guide</strong> on the <strong>EMC</strong> Powerlink ® website<br />

provides a list of supported PowerSnap <strong>Module</strong>s.<br />

Proxy backups create point-in-time copies or snapshots of <strong>Oracle</strong> data, store the<br />

snapshots on primary storage devices supported by the PowerSnap <strong>Module</strong>s (<strong>for</strong><br />

Symmetrix ® , CLARiiON ® , and so on), and optionally back up the data to secondary<br />

storage (such as tape) from the point-in-time copies.<br />

Proxy restores are used to restore the <strong>Oracle</strong> data that is backed up during the proxy<br />

backups.<br />

Chapter 7, “Proxy Backups and Restores,” provides more in<strong>for</strong>mation on proxy<br />

backup and restore operations.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


VMware support<br />

Archived redo log backups<br />

Control file autobackup<br />

Introduction<br />

NMO 4.5 provided support <strong>for</strong> regular backups and restores of an <strong>Oracle</strong> database<br />

installed on a VMware Virtual Machine (VM) on an ESX server.<br />

NMO <strong>5.0</strong> extends this support with the support <strong>for</strong> the following advanced features<br />

of a VMware ESX server:<br />

◆ VMotion — The VMotion feature enables migration of virtual machines from one<br />

ESX server to another while the servers are on. The migration is seamless to the<br />

applications running on the virtual machines, and a user does not experience any<br />

disconnection. If a migration occurs during an NMO backup or restore, the<br />

backup or restore is not interrupted. VMware documentation provides details on<br />

the VM requirements <strong>for</strong> VMotion.<br />

◆ Distributed Resource Scheduler (DRS) — The DRS feature enables dynamic<br />

balancing and allocation of resources across multiple ESX servers. Depending on<br />

the DRS policies set by the user, the DRS can migrate or recommend that users<br />

migrate a virtual machine to a different ESX server by using VMotion. DRS can<br />

also start (at boot-up time) a virtual machine on a different ESX server. Since this<br />

feature uses VMotion, if a migration occurs during an NMO backup or restore,<br />

the backup or restore is not interrupted.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes provides details on the <strong>NetWorker</strong><br />

requirements <strong>for</strong> the support of VMware features.<br />

Archived redo log backups enable recovery of the database to its predisaster state.<br />

Without archived redo log backups, the database can be recovered only to the time of<br />

the last consistent <strong>Oracle</strong> backup. In this case, transactions that occurred between the<br />

time of the last consistent backup and the time of the database corruption will be lost.<br />

Archived redo logs can be backed up by using the appropriate option of the RMAN<br />

backup command. Ensure that the NMO backups of archived redo logs are enabled.<br />

“Backing up all archived logs from each node” on page 147 provides a sample script<br />

to back up the archived redo log files in a RAC system.<br />

The appropriate <strong>Oracle</strong> backup and recovery documentation provides more<br />

in<strong>for</strong>mation on setting up and running archived redo log backups.<br />

RMAN per<strong>for</strong>ms a control file autobackup after each RMAN backup command if the<br />

control file autobackup has been enabled with the configure controlfile autobackup<br />

on command. Use this feature to restore the backup entries contained in the control<br />

file when the control file is lost and the Recovery Catalog is not available.<br />

Specify persistent settings <strong>for</strong> the control file autobackups with the configure<br />

controlfile autobackup command. For example, enable control file autobackup and<br />

specify the persistent setting <strong>for</strong> the <strong>for</strong>mat of the control file autobackup name with<br />

the following commands:<br />

configure controlfile autobackup on<br />

configure controlfile autobackup <strong>for</strong>mat <strong>for</strong> device type ’sbt_tape’ to<br />

’/NMO_%f/’<br />

Product features 25


Introduction<br />

26<br />

Automatic channel allocation<br />

!<br />

If the control file autobackup is set to on and the RMAN backup is per<strong>for</strong>med with<br />

NMO, the control file autobackup will also be per<strong>for</strong>med with NMO. As a result, one<br />

or more channels of device type sbt_tape must be allocated <strong>for</strong> the restore.<br />

Note: <strong>Oracle</strong> also supports autobackup of the current server parameter file together with<br />

control file autobackup.<br />

RMAN supports automatic channel allocation. This feature enables the configuration<br />

of persistent settings <strong>for</strong> automatic channels, <strong>for</strong> use in all RMAN sessions.<br />

IMPORTANT<br />

Manual and automatic channels are mutually exclusive and cannot be mixed in an<br />

RMAN session. The <strong>for</strong>mat of an automatic channel name of the device type <strong>for</strong><br />

NMO backups and restores is ORA_SBT_n or ORA_SBT_TAPE_n, where n is the<br />

channel number. Do not use this name <strong>for</strong>mat <strong>for</strong> manual channel allocation <strong>for</strong><br />

NMO. Otherwise, RMAN reports an error.<br />

With automatic channel allocation, specification of the send command be<strong>for</strong>e the<br />

backup or restore command causes the following error:<br />

RMAN-06422: no channels found <strong>for</strong> SEND command<br />

You must use the configure channel...parms... command to set the NSR* parameters<br />

<strong>for</strong> automatic channels <strong>for</strong> an NMO backup. Do not use the send command or option<br />

to set the NSR* parameters <strong>for</strong> automatic channels if you plan to use scheduled<br />

backups.<br />

Table 10 on page 201 lists all the NSR* parameters and their requirements.<br />

Example 1 Using the configure channel command with parms option <strong>for</strong> automatic channels<br />

Automatic channels are configured <strong>for</strong> NMO backups with the <strong>NetWorker</strong> server<br />

server1.emc.com by typing the following configure channel...parms... command:<br />

configure channel device type ’sbt_tape’ parms<br />

’ENV=(NSR_SERVER=server1.emc.com)’<br />

This command sets the default parameters <strong>for</strong> all the automatic channels.<br />

Example 2 Specifying parameter values per automatic channel<br />

Backup and restore optimization<br />

Specific NSR* parameter values can be set <strong>for</strong> different channels (<strong>for</strong> example, a<br />

separate setting of parameter NSR_GROUP <strong>for</strong> each channel) by typing the configure<br />

channel n device type...parms... command, where n represents a channel number.<br />

An NMO debug file is specified <strong>for</strong> the second automatic channel by typing the<br />

following configure channel command:<br />

configure channel 2 device type ’sbt_tape’ parms<br />

’ENV=(NSR_DEBUG_FILE=/db/logs/backup.log)’<br />

If backup optimization is enabled with the configure backup optimization on<br />

command, RMAN skips selected files during a backup, based on several criteria. The<br />

<strong>Oracle</strong> backup and recovery documentation provides more details on these criteria.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


!<br />

Backup copies<br />

!<br />

Introduction<br />

Note:<br />

- To <strong>for</strong>ce a backup that would otherwise be skipped due to backup optimization, use the <strong>for</strong>ce<br />

option in the backup command.<br />

- When RMAN skips a backup due to backup optimization, it does not produce an error<br />

message. However, RMAN does issue a warning message similar to the following:<br />

skipping archive log file...<br />

IMPORTANT<br />

When using <strong>Oracle</strong> backup optimization with NMO backups and restores, run the<br />

crosscheck command regularly to synchronize the Recovery Catalog and<br />

<strong>NetWorker</strong> indexes. This ensures that backups expired by the <strong>NetWorker</strong> server<br />

are also marked as expired in the Recovery Catalog and RMAN does not skip a<br />

backup when a referenced backup has already expired in <strong>NetWorker</strong>.<br />

The restore optimization function prevents RMAN from restoring a file if the original<br />

file is already in the correct location and contains the expected in<strong>for</strong>mation.<br />

Note: To <strong>for</strong>ce a restore that would otherwise be skipped due to restore optimization, use the<br />

<strong>for</strong>ce option in the restore command.<br />

IMPORTANT<br />

If more than one RMAN channel is used <strong>for</strong> backup copies of an NMO backup,<br />

parameter values set with the send command or option are passed by RMAN to the<br />

first backup channel only. Due to this send command limitation, NMO does not<br />

support the use of RMAN backup copies commands during scheduled backups.<br />

NMO supports backup copies with manual backups only.<br />

Use the RMAN commands <strong>for</strong> backup copies only during manual backups when the<br />

parameters NSR_SERVER, NSR_DATA_VOLUME_POOL,<br />

NSR_DATA_VOLUME_POOL1, NSR_DATA_VOLUME_POOL2, and<br />

NSR_DATA_VOLUME_POOL3 are set with the parms option, not with the send<br />

command or option.<br />

The set duplex command is deprecated (no longer supported by <strong>Oracle</strong>, but still<br />

functional in some <strong>Oracle</strong> releases). The <strong>Oracle</strong> documentation provides more details.<br />

Despite the fact that RMAN provides different commands <strong>for</strong> duplexing backups, the<br />

rules <strong>for</strong> duplexing through NMO remain the same as with the set duplex command.<br />

Separate <strong>NetWorker</strong> pools must still be defined <strong>for</strong> each copy. “The set duplex<br />

command” on page 215 provides more in<strong>for</strong>mation on the set duplex command and<br />

setting up <strong>NetWorker</strong> pools <strong>for</strong> each copy.<br />

Product features 27


Introduction<br />

28<br />

Manual backups can be duplexed (up to four copies) by using one of the following<br />

commands:<br />

◆ The configure...backup copies <strong>for</strong> device type sbt_tape to... command specifies<br />

persistent settings <strong>for</strong> duplexing backups through NMO.<br />

For example, specify persistent settings <strong>for</strong> duplex copies of datafiles and<br />

archived redo logs (respectively) in NMO backups with the following types of<br />

configure commands:<br />

configure datafile backup copies <strong>for</strong> device type ’sbt_tape’ to 2<br />

configure archivelog backup copies <strong>for</strong> device type ’sbt_tape’ to 2<br />

◆ The backup command with the copies option applies to objects within the<br />

backup command. The backup...copies setting takes precedence over the<br />

persistent settings in the configure...backup copies command.<br />

◆ The set backup copies command applies to all backup objects in the same run<br />

job.<br />

In the following examples, the parms option is used to configure the channel and set<br />

the required parameters. These sample scripts must be invoked manually with<br />

RMAN, <strong>for</strong> example, by using the following command:<br />

rman cmdfile script_name<br />

Example 3 Using the set backup copies command in the RMAN script<br />

The following RMAN script uses the set backup copies command to generate the<br />

backup copies. The parameters are set with the parms option, as required. The<br />

RMAN script must be invoked <strong>for</strong> a manual backup, not a scheduled backup:<br />

run {<br />

set backup copies 4;<br />

allocate channel ch1 parms ’ENV=(NSR_SERVER=server_name,<br />

NSR_DATA_VOLUME_POOL=nmo1, NSR_DATA_VOLUME_POOL1=nmo2,<br />

NSR_DATA_VOLUME_POOL2=nmo3, NSR_DATA_VOLUME_POOL3=nmo4)’;<br />

backup <strong>for</strong>mat '%d_%U'<br />

tag tag_name<br />

(tablespace 'SYSTEM' );<br />

release channel ch1;<br />

}<br />

Example 4 Using automatic channels <strong>for</strong> backup copies<br />

The following configure commands are used to configure RMAN automatic<br />

channels. (The configure commands could also be included in the RMAN script.) The<br />

configure...backup copies command generates the backup copies. The parameters<br />

are set with the parms option, as required. The RMAN script must be invoked <strong>for</strong> a<br />

manual backup, not a scheduled backup:<br />

configure default device type to ’sbt_tape’;<br />

configure datafile backup copies <strong>for</strong> device type ’sbt_tape’ to 4;<br />

configure channel device type ’sbt_tape’ parms<br />

’ENV=(NSR_SERVER=server_name, NSR_DATA_VOLUME_POOL=nmo1,<br />

NSR_DATA_VOLUME_POOL1=nmo2, NSR_DATA_VOLUME_POOL2=nmo3,<br />

NSR_DATA_VOLUME_POOL3=nmo4)’;<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Backup of backup sets<br />

Cluster and RAC backups and restores<br />

The RMAN script invoked <strong>for</strong> the manual backup is as follows:<br />

connect target sys/oracle@test;<br />

run {<br />

backup <strong>for</strong>mat '%d_%U'<br />

tag tag_name<br />

(tablespace 'SYSTEM');<br />

}<br />

Introduction<br />

RMAN supports the backup of backup sets. If <strong>Oracle</strong> data has been backed up with<br />

device type disk, NMO can be used to back up these backup sets from disk to<br />

<strong>NetWorker</strong> volumes.<br />

For example, to back up all backup sets from disk to <strong>NetWorker</strong> volumes in a tape<br />

device, use the following command:<br />

backup device type sbt backupset all<br />

The backup set on disk can also be deleted with the delete input option in the backup<br />

device type sbt backupset... command. For example, to back up the backup sets that<br />

were created on disk more than a week ago and then remove the backup sets from<br />

disk, use the following command:<br />

backup device type sbt backupset completed be<strong>for</strong>e sysdate-7 delete<br />

input<br />

The NMO software supports backups and restores of cluster and Real Application<br />

Cluster (RAC) systems <strong>for</strong> high availability and parallelism.<br />

A cluster system typically includes multiple nodes connected by a shared SCSI bus to<br />

which common storage is attached. Cluster services such as disk services can be<br />

defined and assigned their own IP addresses and names (virtual hosts). The services<br />

and their associated storage can migrate <strong>for</strong> failover between the physical nodes in<br />

the cluster.<br />

After a cluster service is configured as a <strong>NetWorker</strong> client, NMO can be used with<br />

<strong>NetWorker</strong> server software to back up and restore an <strong>Oracle</strong> database associated with<br />

the service, independent of the actual node that provides the service.<br />

A RAC system enables multiple <strong>Oracle</strong> instances across multiples nodes to access the<br />

same <strong>Oracle</strong> database at the same time. <strong>Oracle</strong> RAC is based on a cluster software<br />

infrastructure that provides concurrent access to the same storage and the same set of<br />

datafiles from all nodes in the cluster. All the database files reside on cluster-aware<br />

shared disks.<br />

After RAC and the associated cluster system are properly configured, NMO enables<br />

<strong>Oracle</strong> backups on either a single node or several nodes of the RAC system. A parallel<br />

<strong>Oracle</strong> backup uses <strong>Oracle</strong> instances running in parallel on multiple nodes of the<br />

cluster.<br />

NMO software supports restores of the <strong>Oracle</strong> data to any physical node in the<br />

cluster, regardless of which physical node originally per<strong>for</strong>med the backup.<br />

Chapter 6, “Cluster and RAC Systems,” provides more in<strong>for</strong>mation on cluster and<br />

RAC systems and how to configure the systems <strong>for</strong> <strong>Oracle</strong> backup and restore<br />

operations that use the NMO software.<br />

Product features 29


Introduction<br />

30<br />

Configuration wizards<br />

NMO <strong>5.0</strong> software supports new backup and recovery configuration wizards that are<br />

integrated with the <strong>NetWorker</strong> Management Console (NMC). The configuration<br />

wizards used in NMO release 4.5 or earlier are replaced by the NMC-based wizards<br />

in NMO release <strong>5.0</strong>.<br />

Configuration wizard plug-in components are installed with the NMO software on<br />

the NMO client host. NMC loads the NMO wizard plug-in at run time. You can run<br />

the NMO wizards from the <strong>NetWorker</strong> Console <strong>Administration</strong> window, which you<br />

can start on any supported host by using a web browser session and specifying the<br />

Console server URL.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes provides details on the <strong>NetWorker</strong><br />

requirements <strong>for</strong> the support of the NMC-based configuration wizards.<br />

Main features of the wizards<br />

The configuration wizards can be used to configure the following <strong>for</strong> an NMO client:<br />

◆ Scheduled <strong>Oracle</strong> backups (either typical or customized).<br />

“Configuring a backup with the NMC wizard” on page 72 provides details on<br />

using the backup configuration wizard.<br />

◆ RMAN scripts <strong>for</strong> <strong>Oracle</strong> data restores to the original host.<br />

◆ RMAN scripts <strong>for</strong> <strong>Oracle</strong> database duplication to either a local or remote host.<br />

“Recovery configuration wizard” on page 118 provides details on the recovery<br />

configuration wizard.<br />

The configuration wizards support <strong>NetWorker</strong> servers and clients in a stand-alone or<br />

cluster environment.<br />

The new wizards provide improved security and ease of management <strong>for</strong> backup<br />

and recovery configurations, compared to the wizards from NMO release 4.5 or<br />

earlier.<br />

Features of the backup configuration wizard<br />

The backup configuration wizard can per<strong>for</strong>m the following:<br />

◆ Configure a new <strong>NetWorker</strong> Client resource <strong>for</strong> an NMO backup.<br />

◆ Configure a new or use an existing <strong>NetWorker</strong> Group resource <strong>for</strong> the backup<br />

Client resource.<br />

◆ Configure new or use existing browse and retention policies <strong>for</strong> the backup Client<br />

resource.<br />

◆ Optionally save a copy of the configuration settings from the Client resource to a<br />

nsrnmo script or RMAN script.<br />

◆ Modify a backup configuration that was created with the NMC-based NMO<br />

configuration wizard.<br />

◆ Modify a backup configuration that was created either with the wizard from<br />

NMO release 4.5 or earlier, or with the legacy method, but only after the<br />

configuration has been migrated according to “Migration of configurations <strong>for</strong><br />

the wizard” on page 32.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Introduction<br />

Note: NMO <strong>5.0</strong> still supports the legacy method of backup configuration whereby you<br />

manually create a nsrnmo script and RMAN script, set any required parameters in the<br />

NWORA resource file, and configure the <strong>NetWorker</strong> resources with NMC (without the<br />

wizard). “Configuring a backup with the NMC legacy method” on page 75 describes the<br />

legacy configuration method.<br />

“Configuring a backup with the NMC wizard” on page 72 provides in<strong>for</strong>mation on<br />

using the wizard to create or modify a backup configuration.<br />

Features of the recovery configuration wizard<br />

“Features of the recovery configuration wizard” on page 119 provides in<strong>for</strong>mation on<br />

the features of the recovery configuration wizard.<br />

Backup configuration storage with the wizard<br />

The backup configuration wizard stores the configuration in<strong>for</strong>mation in a new<br />

hidden attribute named Backup Config in the <strong>NetWorker</strong> Client resource. Do not<br />

modify the new attribute manually. If you use the wizard to create a backup<br />

configuration, you must use the wizard to modify the configuration.<br />

In a backup configuration created with the wizard, the Client resource stores the<br />

parameters and RMAN commands (except <strong>for</strong> sensitive data, such as passwords) that<br />

would have been stored in the nsrnmo and RMAN scripts and NWORA resource file<br />

in NMO release 4.5 or earlier.<br />

Note: The backup configuration wizard stores sensitive data securely by using <strong>NetWorker</strong><br />

lockbox services.<br />

The wizard does not automatically generate a nsrnmo script and RMAN script, but<br />

provides an option to save configuration settings to a nsrnmo script or RMAN script<br />

on disk. These scripts are meant <strong>for</strong> reference use only.<br />

When you run a backup that was configured through the wizard, the backup does not<br />

access any nsrnmo or RMAN script file that the wizard saved to disk. Instead, the<br />

backup accesses the configuration in<strong>for</strong>mation that the wizard stored in the Client<br />

resource.<br />

The wizards do not store any database connection passwords in any RMAN scripts<br />

that are saved to disk.<br />

The backup configuration wizard also sets the following values in the Client<br />

resource:<br />

◆ Backup Command attribute is set to:<br />

nsrnmostart -C [-c virtual_client]<br />

◆ Save Set attribute is set to:<br />

RMAN:/_level[/]<br />

where:<br />

database_Net_service_name is the the name of the <strong>Oracle</strong> database to be<br />

backed up.<br />

level is the <strong>Oracle</strong> backup level (full, incr_differential, or incr_cumulative).<br />

name_of_first_tablespace_or_datafile is the name of the first tablespace or datafile<br />

in the backup list. This name is included in Save Set attribute only if a partial<br />

database (subset of the entire database) is selected <strong>for</strong> backup.<br />

Product features 31


Introduction<br />

Features not supported with the wizards<br />

The configuration wizards cannot per<strong>for</strong>m the following:<br />

32<br />

◆ Configure backups or restores in a RAC environment.<br />

◆ Configure proxy backups or restores that require a PowerSnap <strong>Module</strong>.<br />

Proxy backups and restores must be configured without the wizard, as described<br />

in Chapter 7, “Proxy Backups and Restores.”<br />

◆ Configure two different database backups in the same Client resource.<br />

A separate Client resource must be created <strong>for</strong> each database to be backed up on<br />

the same client host.<br />

◆ Modify a backup configuration that was created either with the wizard from<br />

NMO 4.5 or earlier, or with the legacy method, unless the configuration has been<br />

migrated according to “Migration of configurations <strong>for</strong> the wizard” on page 32.<br />

Migration of configurations <strong>for</strong> the wizard<br />

The backup configuration wizard stores the scheduled backup configuration in the<br />

Client resource by using a configuration storage framework that is incompatible with<br />

the configurations created either through the wizard from NMO release 4.5 or earlier,<br />

or through a legacy method (without a wizard).<br />

The backup configuration wizard can modify only the following types of backup<br />

configurations:<br />

◆ Configurations created with the new wizard.<br />

◆ Configurations migrated to the configuration storage framework that is<br />

supported by the new wizard.<br />

If you have a backup configuration that was created with the wizard from NMO<br />

release 4.5 or earlier, or with a legacy configuration method, you must migrate the<br />

configuration be<strong>for</strong>e you can use the new wizard to modify it. The recommended<br />

migration method is to use the nsrnmoadmin command, as described in “Migrating<br />

a legacy configuration with the nsrnmoadmin command” on page 69.<br />

Note: Migration of a proxy backup configuration is not supported. “Requirements <strong>for</strong> using the<br />

nsrnmoadmin command <strong>for</strong> migration” on page 70 describes the requirements and limitations<br />

of migration with the nsrnmoadmin command.<br />

Migration converts legacy configuration files and resources (the nsrnmo script,<br />

RMAN script, NWORA resource file, and Client resource) to the configuration<br />

storage framework used by the new wizard. Migration with the nsrnmoadmin<br />

command does not create a new Client resource; the migration modifies an existing<br />

Client resource, such that you can then use the wizard to modify it.<br />

The migration process stores the following in a hidden attribute in the Client<br />

resource:<br />

◆ Environment variable settings extracted from the nsrnmo script. (Any scripting<br />

commands in the nsrnmo script are ignored.)<br />

◆ RMAN commands and options extracted from the RMAN script.<br />

◆ NSR_BUNDLING, NSR_INCR_EXPIRATION, and NSR_ORACLE_NLS_LANG<br />

settings extracted from the NWORA resource file.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


The migration process also sets the following values in the Client resource:<br />

◆ Backup Command attribute is set to:<br />

nsrnmostart -C [-c virtual_client]<br />

◆ Save Set attribute is set to:<br />

RMAN:database_Net_service_name<br />

Internationalization (I18N) and localization (L10N)<br />

I18N features<br />

Introduction<br />

The following sections describe internationalization (I18N) and localization (L10N)<br />

features that NMO release <strong>5.0</strong> supports in a non-English locale.<br />

NMO I18N is the capability of the NMO software to operate in a non-English<br />

environment or locale without itself generating non-ASCII data. After you set up<br />

NMO I18N as described in “Configuring I18N support” on page 67, NMO can<br />

process and display non-ASCII data that is passed to it by the operating system,<br />

<strong>NetWorker</strong> software, and <strong>Oracle</strong> software. The non-ASCII data can include text<br />

messages, dates, times, numbers, and so on.<br />

The <strong>EMC</strong> In<strong>for</strong>mation Protection Software Compatibility <strong>Guide</strong> on the Powerlink website<br />

provides details on the different languages supported and the operating system,<br />

<strong>Oracle</strong> Server, and <strong>NetWorker</strong> software requirements <strong>for</strong> NMO I18N.<br />

NMO I18N is supported <strong>for</strong> the following:<br />

◆ Regular (nonproxy) backups and restores<br />

◆ Proxy backups and restores with a supported PowerSnap <strong>Module</strong> release, as<br />

described in the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes<br />

As a separate NMO feature, NMO localization (L10N) is the capability of NMO to<br />

itself generate non-ASCII data and print the data to the user interface. “L10N<br />

features” on page 35 provides more in<strong>for</strong>mation on NMO L10N support.<br />

The term internalization is used differently in the <strong>NetWorker</strong> documentation (as<br />

opposed to this NMO documentation). <strong>NetWorker</strong> server and client documents refer<br />

to internationalization as the capability of the <strong>NetWorker</strong> software to both process<br />

non-ASCII data as input and generate non-ASCII data as output in a non-English<br />

locale.<br />

The extent of the NMO I18N support is dependent on the following:<br />

◆ I18N support that is provided by the operating system on the NMO client host.<br />

◆ I18N support that is provided by the <strong>NetWorker</strong> client and server software.<br />

◆ National Language Support (NLS) or globalization support that is provided by<br />

the <strong>Oracle</strong> software.<br />

For example, if <strong>NetWorker</strong> software does not support non-ASCII data in a specific<br />

<strong>NetWorker</strong> resource attribute (such as the group name in the Group resource), NMO<br />

cannot support non-ASCII data in that resource attribute. The <strong>EMC</strong> In<strong>for</strong>mation<br />

Protection Software Compatibility <strong>Guide</strong> and the <strong>NetWorker</strong> documentation include<br />

more in<strong>for</strong>mation on the I18N support provided by <strong>NetWorker</strong>.<br />

Product features 33


Introduction<br />

34<br />

When NMO I18N support is set up as described in “Configuring I18N support” on<br />

page 67, NMO supports non-ASCII data in the following:<br />

◆ Pathnames of nsrnmo scripts<br />

◆ Pathnames of preprocessing and postprocessing scripts<br />

◆ Pathnames of RMAN scripts<br />

◆ Strings passed as command line options to the nsrnmo(.bat),<br />

nsrnmoadmin(.exe), nsrnmoinfo(.exe), and nsroraclecat(.exe) commands<br />

◆ Tablespace names and datafile paths<br />

◆ The <strong>for</strong>mat string of the RMAN backup command (unless the nsrnmoadmin -M<br />

or nsrnmoadmin -P command is used <strong>for</strong> migration of a legacy backup<br />

configuration on Windows)<br />

◆ The tag string of the RMAN backup command<br />

◆ Usernames in the connection strings to the target database and recovery catalog<br />

Note: <strong>Oracle</strong> does not recommend the use of non-ASCII text in the <strong>Oracle</strong> database<br />

usernames. Due to <strong>Oracle</strong> limitations, ASCII text must be used <strong>for</strong> the password of the<br />

target database.<br />

◆ Values of the following parameters:<br />

NSR_DEBUG_FILE<br />

NSR_ORACLECAT_LOG_FILE<br />

NSR_RMAN_ARGUMENTS<br />

NSR_SB_DEBUG_FILE<br />

Note: Support of non-ASCII values <strong>for</strong> ORACLE_SID and TNS_ADMIN is dependent on<br />

the <strong>Oracle</strong> software. Support of non-ASCII values <strong>for</strong> LD_LIBRARY_PATH, LIBPATH,<br />

and SHLIB_PATH is dependent on the operating system.<br />

◆ Additional values input in the NMO wizard, including the following:<br />

New or existing names of <strong>NetWorker</strong> Group resources<br />

Time data based on the time zone of the user<br />

◆ In<strong>for</strong>mation displayed on the following screens of the NMO wizard:<br />

Review and Edit the RMAN Script screen<br />

Review and Accept the Client Configuration screen<br />

◆ Content of output files created by the NMO wizard, such as nsrnmo scripts (<strong>for</strong><br />

example, nsrnmo.bat or nsrnmo.sh file) and RMAN scripts<br />

Due to <strong>Oracle</strong> limitations, ASCII text must be input in the wizard <strong>for</strong> the following:<br />

◆ ORACLE_HOME path<br />

◆ Net service name of the <strong>Oracle</strong> target database, recovery catalog, or duplicate<br />

database<br />

The deduplication backup process, nsravtar, on the NMO client generates messages<br />

in English only.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


L10N features<br />

Introduction<br />

When NMO I18N support is set up, NMO generates debug messages in English only.<br />

NMO generates error messages in the nmo.messages.raw file in a<br />

language-independent binary <strong>for</strong>m, readable by the nsr_render_log program only.<br />

The nmo.messages.raw file replaces the nmo.messages file used in previous NMO<br />

releases. (The log file does not contain <strong>Oracle</strong> Server or RMAN errors.)<br />

The <strong>NetWorker</strong> administration guide provides in<strong>for</strong>mation on how to use the<br />

nsr_render_log program to read any language-independent binary file, such as<br />

nmo.messages.raw.<br />

The PowerSnap <strong>Module</strong> documentation provides details on the PowerSnap options<br />

that support non-ASCII values.<br />

“Configuring I18N support” on page 67 describes how to set up NMO I18N support.<br />

NMO L10N is the capability of the NMO software to generate non-ASCII character<br />

and numeric data based on the locale of the user, and output the data to the user<br />

interface. This capability requires the installation of the appropriate NMO language<br />

packs in non-English locales. The non-ASCII data generated by NMO is printed to the<br />

command line or to specific log files or wizard screens.<br />

◆ When NMO I18N is set up, NMO can process and display non-ASCII data that is<br />

passed to it by the operating system, <strong>NetWorker</strong> software, and <strong>Oracle</strong> software.<br />

◆ When NMO L10N is set up by also installing the required NMO language packs,<br />

NMO can also generate non-ASCII data, localized according to the user locale. The<br />

non-ASCII data can include text messages, dates, times, and numeric values<br />

displayed in the locale-dependent <strong>for</strong>mat.<br />

The <strong>EMC</strong> In<strong>for</strong>mation Protection Software Compatibility <strong>Guide</strong> on the Powerlink website<br />

provides details on the different languages supported and the operating system,<br />

<strong>Oracle</strong> Server, and <strong>NetWorker</strong> software requirements <strong>for</strong> NMO L10N.<br />

NMO L10N is supported <strong>for</strong> the following:<br />

◆ Regular backups and restores<br />

◆ Proxy backups and restores with a supported PowerSnap <strong>Module</strong> release, as<br />

described in the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes<br />

The extent of the NMO L10N support is limited by the following:<br />

◆ L10N support that is provided by the operating system on the NMO client host.<br />

◆ L10N support that is provided by the <strong>NetWorker</strong> client and server software.<br />

◆ National Language Support (NLS) or globalization support that is provided by<br />

the <strong>Oracle</strong> software.<br />

When NMO L10N support is set up as described in “Configure L10N support” on<br />

page 69, NMO generates messages in localized <strong>for</strong>m and displays localized text in the<br />

wizard, except <strong>for</strong> the following:<br />

◆ Comments (lines starting with the symbol #) in the nwora.res file and RMAN<br />

scripts<br />

◆ All debug messages, including the messages in the configuration wizard debug<br />

log files and in the log files specified by NSR_DEBUG_FILE and<br />

NSR_SB_DEBUG_FILE<br />

◆ Output to the <strong>Oracle</strong> trace file<br />

“Configure L10N support” on page 69 describes how to set up NMO L10N support.<br />

Product features 35


Introduction<br />

36<br />

<strong>Oracle</strong> Data Guard support<br />

Parallelism<br />

NMO software supports <strong>Oracle</strong> Data Guard, an <strong>Oracle</strong> data availability and<br />

protection solution that involves the primary database and one or more standby<br />

databases over an IP network. As transactions occur in the primary database and<br />

redo data is written to the local redo logs, Data Guard automatically transfers this<br />

redo data to the standby sites and applies it to the standby databases, synchronizing<br />

them with the primary database.<br />

RMAN backups of datafiles, archived redo logs, and possibly other files can be<br />

offloaded to a physical standby database, and the backups used to recover the<br />

primary database or a standby database. RMAN and Data Guard documentation<br />

provides in<strong>for</strong>mation on how to configure and back up a physical standby database,<br />

and use the backups to recover the primary or standby database.<br />

To configure NMO backups and restores in a Data Guard environment:<br />

1. Follow the instructions in <strong>Oracle</strong> documentation on how to set up the required<br />

RMAN configurations, <strong>for</strong> example, to use a Recovery Catalog and the<br />

DB_UNIQUE_NAME parameter.<br />

2. Install and configure the NMO and <strong>NetWorker</strong> client software on the primary<br />

database host, and on each physical standby database host involved in the<br />

backups and restores.<br />

3. Configure a Client resource on the <strong>NetWorker</strong> server <strong>for</strong> the primary database<br />

host and each physical standby database host involved in the backups and<br />

restores. In the Client resource of the primary database host, specify the hostname<br />

of the physical standby host in the Remote Access attribute if you set<br />

NSR_CLIENT to the primary database hostname in the following step.<br />

4. Create an RMAN script <strong>for</strong> the primary database and the standby database,<br />

setting the same NSR_CLIENT parameter value in both. The NSR_CLIENT value<br />

used <strong>for</strong> a backup should be the same as the NSR_CLIENT value used <strong>for</strong> the<br />

restore of that backup. Setting NSR_CLIENT to the primary hostname might be<br />

preferable.<br />

Parallelism is a feature that enables NMO backup or restore streams of <strong>Oracle</strong> data<br />

from several clients, or many <strong>Oracle</strong> data streams from one client, at the same time.<br />

Different types of configuration settings enable different types of parallelism during<br />

NMO operations:<br />

◆ The Parallelism attribute in the <strong>NetWorker</strong> Server resource specifies the<br />

maximum number of backup save streams that the <strong>NetWorker</strong> software allows to<br />

arrive in parallel at the server.<br />

◆ The Parallelism attribute (a hidden attribute) in the <strong>NetWorker</strong> Client resource<br />

specifies the maximum number of data streams that the <strong>Oracle</strong> Server sends in<br />

parallel to the <strong>NetWorker</strong> server or storage node during an NMO backup.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Policy uni<strong>for</strong>mity<br />

Restartable backups<br />

Introduction<br />

◆ For proxy operations, the PowerSnap parameter settings specify the maximum<br />

number of parallel save streams on the proxy client host.<br />

Note: The degree of proxy backup or restore parallelism is not controlled by the allocation<br />

of multiple channels in the RMAN script. <strong>Oracle</strong> uses only one of the allocated channels <strong>for</strong><br />

the proxy backup or restore, unless specific backup options are used.<br />

◆ Configurations on a RAC system enable parallel <strong>Oracle</strong> backups and restores<br />

with the NMO software on multiple nodes of a cluster. Chapter 6, “Cluster and<br />

RAC Systems,” provides more details.<br />

If policy uni<strong>for</strong>mity is enabled, NMO automatically en<strong>for</strong>ces the uni<strong>for</strong>mity of the<br />

browse and retention policies between all the dependent save sets in a scheduled<br />

backup cycle (whether or not save set bundling is enabled). When save set bundling<br />

is also enabled, all the save sets in a bundle receive the same browse and retention<br />

policies.<br />

After NMO per<strong>for</strong>ms an incremental scheduled backup, if the browse and retention<br />

policies of the save sets in the backup are longer than the policies of preceding<br />

dependent save sets in the same backup cycle, the NMO program nsrnmostart<br />

changes the policies of all save sets in the cycle to match the longest policy of the new<br />

incremental save sets. NMO modifies the policies recorded in the <strong>NetWorker</strong> media<br />

database. As a result, backups cannot expire and become recyclable be<strong>for</strong>e other<br />

dependent backups from the same backup cycle.<br />

The NMO software does not en<strong>for</strong>ce policy uni<strong>for</strong>mity <strong>for</strong> a manual backup, except<br />

when a subsequent scheduled backup is dependent on the manual backup, and then<br />

the policies of the manual backup are modified accordingly.<br />

Policy uni<strong>for</strong>mity does not depend on whether save sets are stored on separate<br />

volumes. For example, if parts of a save set bundle are split onto separate volumes, all<br />

the save sets in the bundle still receive the same browse and retention policies.<br />

“Configure policy uni<strong>for</strong>mity” on page 92 provides in<strong>for</strong>mation on how to configure<br />

policy uni<strong>for</strong>mity <strong>for</strong> NMO backups.<br />

RMAN can back up files that have not been backed up since a specified time. For<br />

example, to continue the backup of a database that was canceled 2 days ago, use the<br />

following command:<br />

backup device type sbt database not backed up since time ’sysdate-2’<br />

RMAN compares the given time in this command with the completion time of the<br />

most recent backup of a datafile to determine if the datafile requires backup. The<br />

appropriate <strong>Oracle</strong> backup and recovery documentation provides more in<strong>for</strong>mation.<br />

The following sections provide more in<strong>for</strong>mation on how to cancel NMO backups:<br />

◆ “Cancel a manual backup” on page 107<br />

◆ “Cancel a scheduled backup” on page 111<br />

Product features 37


Introduction<br />

38<br />

Retention policies<br />

RMAN provides an <strong>Oracle</strong> retention policy <strong>for</strong> backups. An <strong>Oracle</strong> retention policy is<br />

based on the recovery window or redundancy; it is not based on a defined time<br />

period, such as a year. <strong>Oracle</strong> considers a backup obsolete when it is no longer<br />

required according to the <strong>Oracle</strong> retention policy setting. <strong>Oracle</strong> checks the retention<br />

policy of a backup when the report obsolete... or delete obsolete... command is run.<br />

NMO supports the <strong>Oracle</strong> retention policy with some restrictions, since the<br />

<strong>NetWorker</strong> server has its own browse and retention policies to specify how long data<br />

is available <strong>for</strong> recovery. <strong>NetWorker</strong> browse and retention policies are based on a<br />

user-defined time period. Since the <strong>Oracle</strong> retention policy is independent from that<br />

of the <strong>NetWorker</strong> server, and there is no mechanism to synchronize these policies, the<br />

<strong>NetWorker</strong> and <strong>Oracle</strong> policies could conflict.<br />

Example 5 Expiring a backup<br />

!<br />

A <strong>NetWorker</strong> server might expire an NMO backup that is not yet obsolete in RMAN,<br />

depending on the <strong>NetWorker</strong> browse and retention policies. Use of NMO cannot<br />

guarantee that the <strong>NetWorker</strong> server will not expire a backup volume until all the<br />

RMAN backups on that volume have been removed from the RMAN catalog.<br />

To avoid conflicts, per<strong>for</strong>m either of the following:<br />

◆ Disable the <strong>Oracle</strong> retention policy (and then use only the <strong>NetWorker</strong> server<br />

policy) with the following command:<br />

configure retention policy to none<br />

If the Recovery Catalog is used, exempt a backup from the retention policy with<br />

one of the following commands:<br />

change backupset...keep until/<strong>for</strong>ever...<br />

backup...keep until/<strong>for</strong>ever...<br />

◆ (If you want to use the <strong>Oracle</strong> retention policy) Set the <strong>NetWorker</strong> browse and<br />

retention policies to be long enough that backups are kept on the backup volumes<br />

until the <strong>Oracle</strong> retention policy makes them obsolete.<br />

Set the <strong>NetWorker</strong> policies in the <strong>NetWorker</strong> Client resource <strong>for</strong> scheduled<br />

backups or through the NSR_SAVESET_BROWSE and<br />

NSR_SAVESET_RETENTION parameters. “Configure a Client resource with<br />

NMC” on page 87 provides more in<strong>for</strong>mation on how to set <strong>NetWorker</strong> policies<br />

<strong>for</strong> NMO backups.<br />

IMPORTANT<br />

Run the crosscheck command on the NMO backups be<strong>for</strong>e running report<br />

obsolete or delete obsolete backups of the device type sbt_tape. This ensures that<br />

backups expired by the <strong>NetWorker</strong> server are flagged as expired in the RMAN<br />

catalog. As a result, RMAN can correctly identify which backups are not needed<br />

according to the <strong>Oracle</strong> retention policy.<br />

For example:<br />

1. Run the following command to synchronize the RMAN Catalog and<br />

<strong>NetWorker</strong> indexes:<br />

crosscheck backup;<br />

2. Run the following command to delete all obsolete backups defined by the<br />

current <strong>Oracle</strong> retention policy:<br />

delete obsolete;<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Save set bundling<br />

Introduction<br />

If NMO save set bundling is configured, NMO automatically creates a save set<br />

bundle <strong>for</strong> each scheduled backup cycle of an <strong>Oracle</strong> database object, by grouping all<br />

the dependent save sets from the same backup cycle into the save set bundle.<br />

A “backup cycle” includes a full backup of the database object and all subsequent<br />

incremental backups that are dependent on the full backup.<br />

Note: NMO does not support save set bundling <strong>for</strong> proxy backups. NMO per<strong>for</strong>ms save set<br />

bundling <strong>for</strong> regular <strong>Oracle</strong> backups only.<br />

During staging operations with <strong>NetWorker</strong> server release 7.4 and later, if the staging<br />

criteria determine that a particular NMO save set should be staged (migrated) and<br />

the save set is part of a save set bundle, the <strong>NetWorker</strong> server stages the entire save<br />

set bundle. If the nsrstage command is used to manually stage one or more save sets<br />

from a save set bundle, all the save sets in the bundle are staged.<br />

Note: After a staging operation during which all the save sets in a bundle are staged, the<br />

resulting available space on the staging device might exceed the lower-water mark specified in<br />

the staging policy.<br />

The <strong>NetWorker</strong> administration guide provides details on how to work with staging<br />

policies and per<strong>for</strong>m automatic and manual staging operations through the<br />

<strong>NetWorker</strong> server.<br />

“NMO scheduled backups and save set bundling” on page 39 describes NMO save<br />

set bundling during regular scheduled backups, and how to configure save set<br />

bundling.<br />

If policy uni<strong>for</strong>mity is configured, NMO automatically en<strong>for</strong>ces the uni<strong>for</strong>mity of<br />

browse and retention policies <strong>for</strong> all the dependent save sets of the same scheduled<br />

backup cycle or same save set bundle, which ensures that incremental backups do not<br />

persist after the backups they depend on have expired.<br />

“Other <strong>Oracle</strong> features” on page 44 provides more in<strong>for</strong>mation on how policy<br />

uni<strong>for</strong>mity relates to save set bundling. Save set bundling and policy uni<strong>for</strong>mity can<br />

be enabled and disabled independently.<br />

NMO scheduled backups and save set bundling<br />

Use the in<strong>for</strong>mation in the following sections to plan a save set bundling strategy and<br />

enable save set bundling <strong>for</strong> NMO scheduled backups. Both are per<strong>for</strong>med to<br />

prepare <strong>for</strong> staging operations with <strong>NetWorker</strong> server 7.4 and later.<br />

“Configure save set bundling” on page 91 provides in<strong>for</strong>mation on how to configure<br />

save set bundling <strong>for</strong> NMO scheduled backups.<br />

RMAN backup levels and dependencies<br />

An RMAN backup can be either full or incremental:<br />

◆ A full (or stand-alone full) backup includes every used block of the database<br />

objects listed in the RMAN backup script (unused blocks might be skipped). This<br />

type of backup is created when you do not specify a backup level with the RMAN<br />

backup command. A full backup cannot be the parent of a subsequent<br />

incremental backup. (Incremental backups cannot be dependent on a stand-alone<br />

full backup.)<br />

Product features 39


Introduction<br />

40<br />

◆ An incremental backup is either level 0 or level 1. Incremental backups are created<br />

when you specify either incremental level=0 or incremental level=1 with the<br />

RMAN backup command. Incremental backups are dependent on preceding<br />

incremental backups in the same scheduled backup cycle:<br />

A level 0 incremental is physically identical to a full backup, but is recorded as<br />

incremental in the RMAN repository. (A level 0 backup may also be referred<br />

to as "full" in other sections of this guide.)<br />

A level 1 incremental can be either of the following:<br />

– A differential backup, which contains only the data blocks changed since the<br />

most recent incremental backup, whether level 0 or 1. The differential<br />

backup is dependent on the preceding level 0 or 1 backup. Incremental<br />

backups are differential by default.<br />

– A cumulative backup, which contains only the data blocks changed since<br />

the most recent level 0 incremental backup. The cumulative backup is<br />

dependent on the preceding level 0 backup.<br />

RMAN backup sets and NMO save sets<br />

NMO save set bundling is per<strong>for</strong>med at the backup set level.<br />

An NMO backup (either full or incremental) generates one or more <strong>NetWorker</strong> save<br />

sets. The backup is also composed of one or more RMAN backup sets, with each<br />

backup set containing one or more backup pieces. A backup piece contains data<br />

blocks from one or more <strong>Oracle</strong> database files. Each NMO save set corresponds to<br />

one backup piece.<br />

Note: Backup set and backup piece are <strong>Oracle</strong> terms. Save set is a <strong>NetWorker</strong> term.<br />

◆ A control file, parameter file (or spfile), archived log, or datafile cannot span more<br />

than one backup set.<br />

◆ A control file or parameter file backup cannot span more than one backup piece.<br />

◆ An archived log or datafile backup can span more than one backup piece in a<br />

backup set.<br />

It is possible to determine which backup set contains a specific datafile (by querying<br />

the v$ views in the <strong>Oracle</strong> database), but not which backup pieces within the backup<br />

set contain the datafile.<br />

An <strong>Oracle</strong> backup set contains either of the following:<br />

◆ The backup of a control file, parameter file, or archived log, which is always<br />

per<strong>for</strong>med as a full backup.<br />

Note: The backup of a control file, parameter file, or archived log is always placed in its<br />

own save set bundle.<br />

◆ Full or incremental backups of one or more <strong>Oracle</strong> datafiles.<br />

A backup set can include both full and incremental backups. For example, a<br />

backup set might contain incremental backups of datafiles 1 and 2 and a full<br />

backup of datafile 3.<br />

Creating NMO save set bundles<br />

If save set bundling is enabled, all dependent save sets from the same backup cycle are<br />

included in the same save set bundle. Save sets are dependent when two or more<br />

save sets are required to restore a database object. (All the NMO save sets from a<br />

backup set are placed into the same save set bundle.)<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Introduction<br />

At the end of a full or level 0 scheduled backup, the NMO software creates a new save<br />

set bundle <strong>for</strong> the backup set from the backup. If subsequent incremental backups are<br />

per<strong>for</strong>med that are dependent on the level 0 backup, NMO adds their save sets to the<br />

save set bundle from the level 0 backup.<br />

A separate save set bundle is created <strong>for</strong> each scheduled backup cycle of a particular<br />

<strong>Oracle</strong> database object, where a backup cycle consists of a full or level 0 backup of the<br />

object and all the subsequent incremental backups that are dependent on the level 0<br />

backup.<br />

A save set bundle contains one of the following:<br />

◆ The save sets from a stand-alone full backup, with no other dependent save sets.<br />

For example, the save sets from the backup of a control file, parameter file, or<br />

archived log (always per<strong>for</strong>med as a full backup) are placed in their own save set<br />

bundle.<br />

◆ The save sets from a level 0 backup of an <strong>Oracle</strong> object and all subsequent<br />

incremental backups in the same backup cycle of the object.<br />

When an incremental backup occurs and NMO cannot find a preceding dependent<br />

backup in any existing bundles, NMO creates a new save set bundle <strong>for</strong> the<br />

incremental backup.<br />

Save sets from a manual backup are placed into a save set bundle only if a subsequent<br />

scheduled backup is dependent on them. The manual backup save sets are placed in<br />

the save set bundle at the same time as the dependent save sets from the scheduled<br />

backup.<br />

For save set bundling purposes, you can simultaneously run multiple backup cycles<br />

that back up different objects from the same database, as long as different files are<br />

backed up by the different cycles. For example, one cycle can back up datafiles 1 and<br />

2, while another cycle backs up datafiles 3, 4, and 5 from the same database. The<br />

cycles can also be of different lengths. For example, one cycle can last a week, while<br />

another concurrent cycle lasts several weeks.<br />

Note: The backup copies feature and save set bundling of backup copies are not supported<br />

with NMO scheduled backups. Backup copies created during a manual backup are<br />

independent of each other, and each copy goes to a different <strong>NetWorker</strong> volume.<br />

If an error occurs during save set bundling, the bundling operation fails but the<br />

scheduled backup can finish successfully. In<strong>for</strong>mation about the bundling failure is<br />

printed to the savegrp output and to the debug file specified by NSR_DEBUG_FILE.<br />

How the nsrnmostart program per<strong>for</strong>ms save set bundling<br />

The NMO program nsrnmostart automatically places save sets into a save set bundle<br />

at the end of a scheduled backup, be<strong>for</strong>e the nwora.res file is backed up. “Configure<br />

save set bundling” on page 91 provides in<strong>for</strong>mation on the nwora.res file.<br />

To per<strong>for</strong>m save set bundling, the nsrnmostart program connects to the <strong>Oracle</strong><br />

database by attempting to use the login and password from the RMAN script. If a<br />

login and password are not available from the script, the program uses the<br />

ORACLE_SID value from the nsrnmo script to search the nwora.res file <strong>for</strong> the<br />

NSR_ORACLE_CONNECT_FILE parameter, and uses the connection strings from<br />

the specified connection file. “Configure save set bundling” on page 91 provides<br />

more details on the requirements of save set bundling.<br />

Product features 41


Introduction<br />

42<br />

After connecting to the <strong>Oracle</strong> database, the nsrnmostart program obtains all the<br />

required in<strong>for</strong>mation about the backups from the <strong>Oracle</strong> control file (by querying the<br />

v$backup_set, v$backup_piece, and v$backup_datafile tables). The control file can<br />

store only a limited number of backup entries. When the maximum number of entries<br />

is exceeded, old entries in the control file are overwritten by new ones. Save set<br />

bundling is successful only if in<strong>for</strong>mation in the control file about backed-up save<br />

sets has not been overwritten. The <strong>Oracle</strong> documentation provides in<strong>for</strong>mation about<br />

proper maintenance of the control file and how much backup in<strong>for</strong>mation the control<br />

file can store.<br />

The nsrnmostart program creates a save set bundle <strong>for</strong> each full or incremental level<br />

0 backup. The program adds the save sets from subsequent incremental backups to<br />

the bundles of the full or level 0 backups they are dependent on.<br />

The name that the nsrnmostart program assigns to a save set bundle is a number<br />

corresponding to the save time of the oldest save set in the bundle. NMO provides the<br />

<strong>NetWorker</strong> server with the list of save sets contained in each save set bundle.<br />

After a scheduled backup, the <strong>NetWorker</strong> server stores the save set bundle name and<br />

the list of save sets it contains in the media database. You can view the bundle<br />

in<strong>for</strong>mation by using the mminfo command, as described in “Save set bundling<br />

in<strong>for</strong>mation in the media database” on page 43.<br />

Example 6 Save set bundling <strong>for</strong> a one-week scheduled backup cycle of a tablespace<br />

A one-week scheduled backup cycle of a tablespace includes a level 0 backup of the<br />

tablespace on Sunday and a level 1 backup every other day of the week. The save set<br />

bundle <strong>for</strong> the cycle is created during the Sunday backup, and save sets from each<br />

level 1 backup are added into the same bundle. The complete bundle contains the<br />

save sets from the seven daily backups of the tablespace. A new bundle is created <strong>for</strong><br />

the next backup cycle during the following week.<br />

<strong>NetWorker</strong> staging restrictions<br />

When planning the strategy <strong>for</strong> NMO save set bundling, consider the following<br />

<strong>NetWorker</strong> staging restrictions:<br />

◆ <strong>NetWorker</strong> cannot simultaneously stage all the save sets from a save set bundle if<br />

some of the save sets were backed up to separate volumes. <strong>NetWorker</strong><br />

simultaneously stages save sets only if they are located on the same staging<br />

volume. Example 8 on page 43 provides more in<strong>for</strong>mation.<br />

To ensure the proper staging of all the save sets from a save set bundle, do not<br />

split the backup between different staging volumes. If required, split the backup<br />

into different backup cycles, with each cycle going to a separate volume.<br />

◆ <strong>NetWorker</strong> staging policies must not cause the save sets of an NMO backup cycle<br />

to be staged be<strong>for</strong>e the cycle is complete. For example, if a one-week NMO cycle<br />

starts on Sunday, the staging policy must not cause the partially complete save set<br />

bundle to be staged be<strong>for</strong>e the final backup of the cycle occurs on Saturday.<br />

To prevent a staging operation from splitting an NMO backup cycle, adjust the<br />

<strong>NetWorker</strong> staging policy accordingly. For example, adjust the policy so that<br />

older save sets are staged be<strong>for</strong>e new ones, or adjust the high-water and<br />

low-water marks.<br />

The <strong>NetWorker</strong> administration guide provides details on how to work with staging<br />

policies and per<strong>for</strong>m automatic and manual staging operations through the<br />

<strong>NetWorker</strong> server.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Introduction<br />

Save set bundling in<strong>for</strong>mation in the media database<br />

The NMO software stores in<strong>for</strong>mation about each save set bundle in the <strong>NetWorker</strong><br />

media database. “<strong>NetWorker</strong> software” on page 47 provides more in<strong>for</strong>mation about<br />

the media database.<br />

Query the media database by using the <strong>NetWorker</strong> command, mminfo, with the<br />

appropriate options:<br />

◆ The mminfo -r command can display the name of the bundle associated with a<br />

save set. For example, the following command displays a list of all save sets and<br />

their bundles:<br />

mminfo -a -r "ssid,ssbundle"<br />

◆ The mminfo -q command can display all the save sets in a specific bundle. For<br />

example, the following command displays all the save sets in the bundle named<br />

12983479182:<br />

mminfo -a -q "ssbundle=12983479182"<br />

The <strong>NetWorker</strong> command reference guide and the UNIX man pages provide more<br />

in<strong>for</strong>mation on the mminfo command and its available options.<br />

Examples of save set bundles and staging<br />

The following examples illustrate different aspects of save set bundling, and how<br />

splitting the save set bundles across volumes can affect staging operations.<br />

Example 7 Save set bundle join<br />

Two save set bundles are created by separate level 0 backups of files A and B. Then a<br />

new backup set is created by a level 1 backup of both files A and B. Since the new<br />

backup set is dependent on both of the preceding level 0 backups, NMO combines all<br />

three backups into the same save set bundle.<br />

If the original file A backup has the oldest backup time, NMO places the new backup<br />

set (from the level 1 backup) into the save set bundle of the (level 0) file A backup.<br />

NMO then moves the original (level 0) file B backup into the save set bundle with the<br />

other two backups. This method of combining existing bundles into a new save set<br />

bundle is known as a “save set bundle join.”<br />

Example 8 Splitting a save set bundle across volumes<br />

In both of the following cases, a save set bundle is split across multiple volumes. The<br />

parts of the save set bundle on different volumes must be staged separately by the<br />

<strong>NetWorker</strong> server:<br />

◆ A backup uses multiple channels so the backup set spans multiple volumes. All<br />

the save sets belong to the same backup set and save set bundle, but parts of the<br />

bundle are stored on different volumes. During staging, only the save sets on the<br />

same volume can be staged together.<br />

◆ A level 0 backup of file A is per<strong>for</strong>med to volume A. An incremental backup of<br />

file A is then per<strong>for</strong>med to volume B. Although both backups are recorded as<br />

belonging to the same save set bundle, the save set bundle is split across volumes.<br />

During staging, only the save sets on the same volume can be staged together.<br />

Product features 43


Introduction<br />

44<br />

Other <strong>Oracle</strong> features<br />

Example 9 Using save set consolidation to re-unite a save set bundle<br />

A level 0 backup of file A is per<strong>for</strong>med to volume A. A level 1 backup of file A is then<br />

per<strong>for</strong>med to volume B. Save set consolidation is used to merge the save sets from<br />

these two backups onto the same volume. Bundle names are preserved when save sets<br />

are moved from volume to volume by save set consolidation. The consolidated<br />

backup is staged as a single save set bundle.<br />

This section describes supported features of the <strong>Oracle</strong> Server software. The NMO<br />

software supports the <strong>Oracle</strong> releases on specific plat<strong>for</strong>ms, as outlined in the <strong>EMC</strong><br />

In<strong>for</strong>mation Protection Software Compatibility <strong>Guide</strong> on the Powerlink website.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes describes known NMO limitations<br />

related to specific <strong>Oracle</strong> releases.<br />

Examples of the <strong>Oracle</strong> RMAN features that NMO supports are as follows:<br />

◆ Fast incremental backups that use change tracking files.<br />

◆ Proxy backups and restores of archived redo logs.<br />

Note: <strong>Oracle</strong> does not support proxy backups of datafiles or archived redo logs that reside<br />

on <strong>Oracle</strong> Automated Storage. <strong>Oracle</strong> Automated Storage is also known by the term <strong>Oracle</strong><br />

Automated Storage Management (ASM).<br />

◆ Channel backup failover and backup piece restore failover.<br />

◆ Management of backup duration and throttling.<br />

◆ Backups and restores of data residing on <strong>Oracle</strong> Automated Storage.<br />

◆ Flash recovery area and flashback database.<br />

The <strong>Oracle</strong> Recovery Manager documentation provides a complete list of the RMAN<br />

features.<br />

When using <strong>Oracle</strong> RMAN features with NMO, consider the following:<br />

◆ A flash recovery area stores and manages files related to the recovery of a<br />

particular database.<br />

To back up RMAN disk backups, control file autobackups, and archived redo<br />

logs from the flash recovery area to <strong>NetWorker</strong> volumes:<br />

a. Allocate or configure one or more channels with the sbt_tape device type.<br />

b. Back up the files with one of the following RMAN commands:<br />

backup recovery area<br />

backup recovery files<br />

Note: Whether or not a flash recovery area is enabled, the backup recovery files<br />

command can be used to per<strong>for</strong>m the backup.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


For example, the following sequence of RMAN commands can be used to<br />

configure an automatic channel <strong>for</strong> NMO and back up the files from the flash<br />

recovery area:<br />

configure default device type to ’sbt_tape’;<br />

configure channel device type ’sbt_tape’ send<br />

’NSR_ENV=(NSR_SERVER=server1)’;<br />

backup recovery files;<br />

Introduction<br />

◆ If multiple channels are used <strong>for</strong> an RMAN backup command and one of the<br />

channels fails, <strong>Oracle</strong> fails over to another channel to continue the backup job.<br />

For example, if two channels are configured with different <strong>NetWorker</strong> volume<br />

pools and one of the channels fails over to the other channel during a backup, the<br />

entire backup goes to the volumes in the pool of that remaining channel.<br />

◆ Be<strong>for</strong>e using the backup command with the duration...minimize load option,<br />

consider:<br />

The minimize load option might impact the tape streaming since the transfer<br />

rate of data sent by RMAN might be slow with this option, depending on the<br />

duration value.<br />

Note: This is not a concern if you use the <strong>NetWorker</strong> backup to disk feature.<br />

The minimize load option might cause an NMO scheduled backup to be<br />

timed out if RMAN does not send data to the <strong>NetWorker</strong> <strong>Module</strong> within the<br />

time frame specified in the Inactivity Timeout field of the corresponding<br />

<strong>NetWorker</strong> Group resource.<br />

◆ Starting with release 10.1, RMAN does not print database connection strings<br />

(user/password@Netservicename) to the session output. As a result, the parameter<br />

NSR_RMAN_OUTPUT is not required (to suppress the connection strings in the<br />

log files) <strong>for</strong> an RMAN scheduled backup.<br />

<strong>Oracle</strong>11g specific features<br />

NMO <strong>5.0</strong> supports the following major <strong>Oracle</strong>11g features:<br />

◆ Data Recovery Advisor<br />

◆ Improved integration with Data Guard<br />

◆ Archival backup through the RMAN backup...keep command<br />

◆ Improved archived redo log management through the configure archivelog<br />

deletion policy command<br />

◆ Recovery catalog enhancements, such as virtual private catalogs and the import<br />

and merging of recovery catalogs<br />

◆ Multisection or intrafile backup and validation, with the backup of a single large<br />

datafile over multiple channels<br />

◆ Improved block media recovery, with the blockrecover command being replaced<br />

by the recover...block command<br />

◆ Configurable backup compression through the configure compression algorithm<br />

to command<br />

◆ Block change tracking support in Data Guard<br />

Product features 45


Introduction<br />

46<br />

◆ Backup of read-only transportable tablespaces<br />

◆ <strong>Oracle</strong> Enterprise Manager enhancements, with new interfaces <strong>for</strong> the Data<br />

Recovery Advisor<br />

◆ <strong>Oracle</strong> Globalization Support enhancements<br />

To enable NMO support of two of the <strong>Oracle</strong>11g features, Data Recovery Advisor<br />

and archival backup, you must per<strong>for</strong>m the additional configuration procedures<br />

described in “Data Recovery Advisor” on page 46 and “Archival backup feature” on<br />

page 46.<br />

The appropriate <strong>Oracle</strong> documentation provides more in<strong>for</strong>mation on the <strong>Oracle</strong>11g<br />

features.<br />

Data Recovery Advisor<br />

The <strong>Oracle</strong> Data Recovery Advisor is a new tool in <strong>Oracle</strong>11g. Integrated with RMAN<br />

and <strong>Oracle</strong> Enterprise Manager (OEM), the tool enables a DBA to diagnose and repair<br />

database failures.<br />

Be<strong>for</strong>e you can use the Data Recovery Advisor to invoke an RMAN restore script that<br />

involves NMO to repair a database failure, automatic channels must be configured to<br />

specify at least the mandatory parameters NSR_SERVER and NSR_CLIENT.<br />

Note: The NSR_SERVER and NSR_CLIENT parameters are the minimum parameters required<br />

to per<strong>for</strong>m a restore. Other NMO parameters may also be specified <strong>for</strong> the automatic channel<br />

configuration.<br />

To enable the use of Data Recovery Advisor with <strong>Oracle</strong>11g and NMO:<br />

◆ If automatic channels have not been configured <strong>for</strong> NMO backups, use the<br />

following commands to ensure the basic automatic channel configuration:<br />

configure channel device type ’sbt_tape’ parms<br />

’ENV=(NSR_SERVER=<strong>NetWorker</strong>_server_name,<br />

NSR_CLIENT=NMO_client_name)’;<br />

configure channel device type 'sbt_tape' parallelism<br />

number_of_restore_channels;<br />

◆ If automatic channels are already configured <strong>for</strong> NMO backups, no additional<br />

configuration steps are required.<br />

Archival backup feature<br />

With <strong>Oracle</strong>11g, the RMAN backup...keep <strong>for</strong>ever command enables the creation of<br />

an archival backup that is exempt from <strong>Oracle</strong> backup retention policies (but not<br />

automatically exempt from <strong>NetWorker</strong> retention policies). The archival backup is<br />

all-inclusive because every file required to restore a database is backed up to a single<br />

disk or tape location.<br />

To enable the use of the RMAN backup...keep <strong>for</strong>ever command with NMO:<br />

1. Configure an Archive type Pool resource through the <strong>NetWorker</strong> server.<br />

2. Specify that the backup data must go to the Archive pool by per<strong>for</strong>ming one of<br />

the following:<br />

Set the pool selection criteria accordingly on the <strong>NetWorker</strong> server.<br />

Set the NSR_DATA_VOLUME_POOL parameter in the RMAN backup script.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Introduction<br />

3. Set the parameter value NSR_SAVESET_RETENTION=<strong>for</strong>ever through the send<br />

command in the RMAN backup script.<br />

Note: Ensure that the NSR_RETENTION_DISABLED option is not set in the RMAN<br />

backup script used with NMO.<br />

The <strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on how to<br />

configure resources and specify pool selection criteria through the <strong>NetWorker</strong> server.<br />

Software used in the NMO environment<br />

<strong>NetWorker</strong> software<br />

The following sections describe the different software components involved in the<br />

NMO environment.<br />

The <strong>NetWorker</strong> software comprises a high-capacity, easy-to-use data storage<br />

management solution that protects and helps manage data across an entire network.<br />

The <strong>NetWorker</strong> software simplifies the storage management process and reduces the<br />

administrative burden by automating and centralizing data storage operations.<br />

The <strong>NetWorker</strong> software enables a user to:<br />

◆ Per<strong>for</strong>m automated backups during nonpeak hours<br />

◆ Administer, configure, monitor, and control <strong>NetWorker</strong> functions from any<br />

computer on a network<br />

◆ Centralize and automate data management operations<br />

◆ Increase backup per<strong>for</strong>mance by simultaneously sending more than one save<br />

stream to a single device<br />

◆ Optimize per<strong>for</strong>mance by using parallel save streams to multiple backup devices<br />

or storage nodes<br />

<strong>NetWorker</strong> client/server technology uses the network remote procedure call (RPC)<br />

protocol to back up data. The <strong>NetWorker</strong> client software consists of client-side<br />

services and user interface programs.<br />

The <strong>NetWorker</strong> server software consists of several server-side services and programs<br />

that:<br />

◆ Oversee backup and restore processes<br />

◆ Maintain client configuration files<br />

◆ Maintain an online client file index and online media database, which together<br />

comprise the online indexes on the <strong>NetWorker</strong> server<br />

During a backup, the <strong>NetWorker</strong> server makes an entry in the online client file index<br />

and records the location of the data in the online media database. These entries<br />

provide recovery in<strong>for</strong>mation required <strong>for</strong> all backed-up data.<br />

Software used in the NMO environment 47


Introduction<br />

48<br />

NMO software<br />

After a scheduled backup, the <strong>NetWorker</strong> server sends a record of the bootstrap file to<br />

the default printer. This is a printed record of the dates, locations, and save set ID<br />

numbers <strong>for</strong> the server’s online indexes that are required <strong>for</strong> restoring data. Keep the<br />

bootstrap printout on file as a quick reference in the event of a disaster, such as a disk<br />

crash or server failure:<br />

◆ The <strong>NetWorker</strong> installation guide provides in<strong>for</strong>mation on how to install<br />

<strong>NetWorker</strong> software.<br />

◆ The <strong>NetWorker</strong> administration guide provides in<strong>for</strong>mation on how to configure<br />

and use <strong>NetWorker</strong> software.<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) software is an add-on module <strong>for</strong> the<br />

<strong>NetWorker</strong> server that enables you to per<strong>for</strong>m the following tasks:<br />

◆ Manual <strong>Oracle</strong> backups<br />

◆ Scheduled <strong>Oracle</strong> backups<br />

◆ Restores of <strong>Oracle</strong> backup data<br />

<strong>NetWorker</strong> PowerSnap <strong>Module</strong> software<br />

◆ Automated media management<br />

NMO software provides the following features:<br />

◆ Capability to integrate database and file system backups, to relieve the burden of<br />

backup from the database administrator while allowing the administrator to<br />

retain control of the restore process.<br />

◆ Automatic database storage management through automated scheduling,<br />

autochanger support, electronic tape labeling, and tracking.<br />

◆ Support <strong>for</strong> backup to a centralized backup server.<br />

◆ High per<strong>for</strong>mance through support <strong>for</strong> multiple, concurrent high-speed devices<br />

such as digital linear tape (DLT) drives.<br />

Together with the <strong>NetWorker</strong> server, NMO augments the backup and recovery<br />

system provided by the <strong>Oracle</strong> Server and provides a storage management solution<br />

that addresses the need <strong>for</strong> cross-plat<strong>for</strong>m support of enterprise applications.<br />

Proxy backups and restores of <strong>Oracle</strong> database files residing on specific types of<br />

primary storage devices are supported. These proxy operations are per<strong>for</strong>med by<br />

NMO, with the <strong>NetWorker</strong> server and the appropriate <strong>NetWorker</strong> PowerSnap<br />

<strong>Module</strong> software.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide provides in<strong>for</strong>mation on how to<br />

install the NMO software.<br />

The <strong>NetWorker</strong> PowerSnap <strong>Module</strong> software works with the <strong>NetWorker</strong> server and<br />

NMO software to per<strong>for</strong>m RMAN proxy backups and restores of <strong>Oracle</strong> data that<br />

resides on specific types of primary storage.<br />

Each type of primary storage requires a different type of PowerSnap <strong>Module</strong>. A<br />

proxy backup per<strong>for</strong>med with the PowerSnap <strong>Module</strong> involves taking a snapshot of<br />

the <strong>Oracle</strong> data. The snapshot resides on the primary storage to ensure high<br />

availability of the database and eliminate downtime latency on the <strong>Oracle</strong> Server<br />

host.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


<strong>Oracle</strong> backup and recovery system<br />

Introduction<br />

During a proxy backup, the <strong>Oracle</strong> data can optionally be copied from the snapshot to<br />

a <strong>NetWorker</strong> storage device. The data is copied to the secondary storage by either the<br />

<strong>Oracle</strong> Server host or a proxy client host that is separate from the <strong>Oracle</strong> Server host.<br />

The following sources provide in<strong>for</strong>mation on how to configure and run proxy<br />

backups and restores with the NMO and PowerSnap <strong>Module</strong> software:<br />

◆ Chapter 7, “Proxy Backups and Restores”<br />

◆ <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation<br />

The <strong>EMC</strong> In<strong>for</strong>mation Protection Software Compatibility <strong>Guide</strong> on the Powerlink website<br />

provides a complete list of supported PowerSnap <strong>Module</strong>s.<br />

This section describes the system used <strong>for</strong> regular <strong>Oracle</strong> backup and recovery.<br />

The NMO and <strong>NetWorker</strong> server and client software function with the standard<br />

<strong>Oracle</strong> backup and recovery system to produce an efficient <strong>Oracle</strong> data storage<br />

management system. The implementation of an <strong>Oracle</strong> backup and recovery strategy<br />

requires a knowledge of how the <strong>NetWorker</strong> software works together with the <strong>Oracle</strong><br />

components.<br />

The regular <strong>Oracle</strong> backup and recovery system consists of the following:<br />

◆ <strong>Oracle</strong> Server<br />

◆ <strong>Oracle</strong> Recovery Manager (RMAN)<br />

◆ Recovery Catalog (optional)<br />

◆ Backup Management Tools <strong>for</strong> <strong>Oracle</strong> Enterprise Manager (optional)<br />

The <strong>NetWorker</strong> software consists of the following components:<br />

◆ <strong>NetWorker</strong> server<br />

◆ <strong>NetWorker</strong> client<br />

◆ <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong><br />

Figure 1 on page 50 illustrates the architecture of the regular <strong>Oracle</strong> backup and<br />

recovery system, and shows the functional relationship between the <strong>NetWorker</strong> and<br />

<strong>Oracle</strong> software components. The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> media management<br />

library (MML) is integrated with the <strong>Oracle</strong> Server during the NMO installation on<br />

the <strong>Oracle</strong> Server host. The <strong>NetWorker</strong> Management Console program (used to<br />

configure the <strong>NetWorker</strong> resources) and the <strong>Oracle</strong> Enterprise Manager (OEM)<br />

Backup Manager can be optionally located on a separate plat<strong>for</strong>m, referred to as the<br />

GUI console.<br />

Software used in the NMO environment 49


Introduction<br />

50<br />

Figure 1 Regular <strong>Oracle</strong> backup and recovery system<br />

<strong>Oracle</strong> Recovery Manager<br />

During the <strong>Oracle</strong> backup and restore operations, NMO acts as an intermediary<br />

between the <strong>NetWorker</strong> server and <strong>Oracle</strong> Recovery Manager (RMAN).<br />

RMAN is the main <strong>Oracle</strong> utility <strong>for</strong> backing up, restoring, and recovering <strong>Oracle</strong><br />

datafiles, control files, and archived redo log files. It stores in<strong>for</strong>mation about its<br />

operations in the control file of the backed-up database (target database) and,<br />

optionally, in the Recovery Catalog on the <strong>Oracle</strong> Server host.<br />

RMAN provides the following features:<br />

◆ Online and offline <strong>Oracle</strong> database backups<br />

◆ High per<strong>for</strong>mance through parallel backups and restores<br />

◆ An intelligent interface to <strong>Oracle</strong> databases<br />

◆ Well-defined backup strategies<br />

◆ Checks <strong>for</strong> corrupt blocks during backups and restores<br />

◆ Block-level incremental backups and restores<br />

The <strong>Oracle</strong> Recovery Manager documentation provides more in<strong>for</strong>mation on RMAN.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

GUI console <strong>Oracle</strong> Server system<br />

<strong>NetWorker</strong><br />

server<br />

OEM<br />

Backup<br />

Manager<br />

<strong>NetWorker</strong><br />

Management Console<br />

RMAN<br />

Recovery<br />

Catalog<br />

<strong>NetWorker</strong><br />

client<br />

<strong>Oracle</strong><br />

database files<br />

<strong>Oracle</strong><br />

Server<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

Storage<br />

medium<br />

<strong>NetWorker</strong><br />

server<br />

GEN-000170


Introduction<br />

<strong>Oracle</strong> Recovery Catalog<br />

The Recovery Catalog is a collection of <strong>Oracle</strong> database tables that contain structural<br />

in<strong>for</strong>mation about <strong>Oracle</strong> database backups and restores. The collection includes<br />

in<strong>for</strong>mation about the following types of objects:<br />

NMO components<br />

◆ Backup sets and backup pieces<br />

◆ Image copies<br />

◆ Proxy copies<br />

◆ Archived redo logs<br />

◆ Target database schema<br />

◆ Stored scripts (user-created sequences of RMAN commands)<br />

The Recovery Catalog is maintained by the RMAN utility. This utility uses the<br />

catalog in<strong>for</strong>mation or the database control file to determine how to per<strong>for</strong>m<br />

requested backup and restore operations. Store the Recovery Catalog in the dedicated<br />

Recovery Catalog database.<br />

The <strong>Oracle</strong> Recovery Manager documentation provides more in<strong>for</strong>mation on the<br />

Recovery Catalog, including the implications of not using it <strong>for</strong> backups and restores.<br />

Table 1 on page 51 lists the components that are installed on the NMO client host<br />

during the NMO software installation. Unless specified otherwise, the files are<br />

located in the same directory as the <strong>NetWorker</strong> client software.<br />

Table 1 NMO components (page 1 of 2)<br />

Name on UNIX Name on Windows Description<br />

fdiff.jar<br />

nwora.jar<br />

nwora_res.jar<br />

fdiff.jar<br />

nwora.jar<br />

nwora_res.jar<br />

Plug-in jar files <strong>for</strong> the NMO backup and recovery configuration wizards.<br />

libcommonssl.7.5.build#.so In a subdirectory under /usr/lib/nsr/nmo or /opt/networker/lib/nmo on UNIX only. An NMO<br />

library that is required <strong>for</strong> communication with <strong>NetWorker</strong>.<br />

libnwora.xx In /usr/lib on UNIX only. The main NMO library (known as Media Management Library in<br />

<strong>Oracle</strong> documentation) that is loaded by the <strong>Oracle</strong> backup or restore process.<br />

nsrnmo nsrnmo.bat The nsrnmo script that contains parameter settings <strong>for</strong> a particular scheduled backup. The<br />

script is only used <strong>for</strong> a scheduled backup that has been configured through NMC (the legacy<br />

configuration method without the wizard).<br />

nsrnmo.sh In /etc on UNIX only. A sample template <strong>for</strong> the nsrnmo script. You should copy and customize<br />

this template, and save the original file in /etc.<br />

nsrnmoadmin nsrnmoadmin.exe The program that is used either to create resource settings in the NWORA resource file, or to<br />

migrate legacy backup configurations to the new <strong>for</strong>mat supported by the configuration wizard.<br />

nsrnmodrpostcmd nsrnmodrpostcmd.exe A sample postcommand script that can be customized to back up specific files at the end of a<br />

scheduled backup, in preparation <strong>for</strong> disaster recovery.<br />

nsrnmoinfo nsrnmoinfo.exe The program that determines the <strong>NetWorker</strong> volumes required to restore specified <strong>Oracle</strong><br />

backup pieces from NMO backups.<br />

nsrnmoprobe nsrnmoprobe.exe The program that probes <strong>for</strong> the number of generated <strong>Oracle</strong> logs as a condition that triggers<br />

probe-based backups.<br />

NMO components 51


Introduction<br />

52<br />

Table 1 NMO components (page 2 of 2)<br />

Name on UNIX Name on Windows Description<br />

nsrnmostart nsrnmostart.exe The program that invokes a scheduled backup on the <strong>Oracle</strong> Server, launching RMAN by<br />

passing arguments to the <strong>Oracle</strong> utility. The program optionally runs precommand and<br />

postcommand scripts.<br />

nsroraclecat nsroraclecat.exe Not available on Linux Itanium, Solaris AMD64/EM64T, or Windows Itanium (plat<strong>for</strong>ms that do<br />

not support proxy backups). The program that is used to remove RMAN catalog entries during<br />

automatic catalog synchronization <strong>for</strong> proxy backups.<br />

nsrorara nsrorara.exe The program that per<strong>for</strong>ms operations on behalf of the NMO configuration wizard on the local<br />

or remote NMO host.<br />

nsrsbtcn.exe<br />

orasbt.dll<br />

NMO backup and restore processes<br />

This section describes the processes involved in regular backups and restores.<br />

To provide storage management services <strong>for</strong> <strong>Oracle</strong> Server data, NMO implements<br />

the media management interface, also known as the <strong>Oracle</strong> System Backup to Tape<br />

(SBT). This interface comprises a media management library (MML) that is integrated<br />

with the <strong>Oracle</strong> Server during the NMO installation on the <strong>Oracle</strong> Server host.<br />

<strong>Oracle</strong> loads the NMO MML at run time, and the <strong>Oracle</strong> Server backup sessions call<br />

the NMO MML software routines to back up and restore <strong>Oracle</strong> data to and from the<br />

media controlled by the <strong>NetWorker</strong> server.<br />

A regular <strong>Oracle</strong> backup can be per<strong>for</strong>med in either of two ways:<br />

◆ By issuing the appropriate commands through the RMAN command line<br />

interface.<br />

◆ By using the <strong>Oracle</strong> Enterprise Manager Backup Management Tools, which<br />

include an optional graphical user interface to the RMAN utility.<br />

RMAN establishes connections with the target database. Each RMAN channel starts<br />

an <strong>Oracle</strong> Server backup session that per<strong>for</strong>ms the backup. During the backup, the<br />

following occurs:<br />

1. The <strong>Oracle</strong> Server backup sessions read the datafile, control file, or archived redo<br />

log being backed up, and then write it to the <strong>NetWorker</strong> server through the MML.<br />

2. The <strong>NetWorker</strong> server stores the <strong>Oracle</strong> data to the appropriate backup storage<br />

device.<br />

At the end of the <strong>Oracle</strong> backup, the <strong>NetWorker</strong> server updates the online client and<br />

media indexes with in<strong>for</strong>mation about the backup media used and the <strong>Oracle</strong> data it<br />

contains.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

On Windows only. The orasbt.dll file is the main NMO library (known as Media Management<br />

Library in <strong>Oracle</strong> documentation) that is loaded by the <strong>Oracle</strong> backup or restore thread, and it<br />

uses nsrsbtcn.exe to per<strong>for</strong>m any corresponding <strong>NetWorker</strong> operations.


Regular scheduled backup processes<br />

Note: “Deduplication backup processes” on page 55 provides in<strong>for</strong>mation specifically <strong>for</strong> a<br />

deduplication backup.<br />

Introduction<br />

A scheduled NMO backup is a backup of <strong>Oracle</strong> data initiated by the <strong>NetWorker</strong><br />

server.<br />

A regular scheduled backup includes the following interactions:<br />

1. At the scheduled backup start time, the main <strong>NetWorker</strong> service, nsrd, starts the<br />

configured group’s backup by invoking the savegrp program.<br />

2. The savegrp program requests that the <strong>NetWorker</strong> client-side service, nsrexecd,<br />

run the savefs program (mainly used <strong>for</strong> file system backups; it has no usage <strong>for</strong><br />

<strong>Oracle</strong> backups).<br />

3. The savefs program sends back in<strong>for</strong>mation to the savegrp program.<br />

4. The savegrp program contacts the nsrexecd service to start the backup.<br />

5. For each client in the backup group and each of the client’s save sets, the<br />

following sequence of events occurs:<br />

a. The nsrexecd service starts a specific process, depending on how the backup<br />

was configured:<br />

– If the backup was configured through the legacy method (without the<br />

wizard), nsexecd starts the nsrnmo script, which then sets the required<br />

parameters and invokes the NMO program, nsrnmostart.<br />

– If the backup was configured through the new configuration wizard,<br />

nsexecd starts the nsrnmostart program directly.<br />

b. The nsrnmostart program starts the RMAN utility to run the required RMAN<br />

backup script.<br />

c. From this point on, the scheduled <strong>Oracle</strong> backup sessions follow the same<br />

steps as described in “Regular manual backup processes” on page 54.<br />

Note: At the end of a scheduled <strong>Oracle</strong> backup, the savegrp program also automatically backs<br />

up the <strong>NetWorker</strong> server bootstrap and the <strong>Oracle</strong> client file indexes. The bootstrap and client<br />

indexes are not automatically backed up at the end of a manual NMO backup.<br />

Figure 2 on page 54 shows how the <strong>Oracle</strong> Server, <strong>NetWorker</strong> server, and NMO<br />

processes interact during a regular scheduled NMO backup that was configured<br />

through the legacy method (without the wizard).<br />

NMO backup and restore processes 53


Introduction<br />

54<br />

In a scheduled backup configured through the wizard, the nsrnmo process is<br />

removed from the picture, and the nsrexecd and nsrnmostart processes interact<br />

directly with each other.<br />

savefs<br />

<strong>Oracle</strong> Server<br />

(<strong>NetWorker</strong> client)<br />

Figure 2 Regular scheduled NMO backup<br />

Regular manual backup processes<br />

Note: “Deduplication backup processes” on page 55 provides in<strong>for</strong>mation specifically <strong>for</strong> a<br />

deduplication backup.<br />

A manual NMO backup is a user-initiated backup through an <strong>Oracle</strong> backup utility,<br />

RMAN or <strong>Oracle</strong> Enterprise Manager. NMO considers a backup scheduled through<br />

<strong>Oracle</strong> Enterprise Manager to be a manual backup.<br />

When the RMAN utility is invoked <strong>for</strong> a backup, <strong>Oracle</strong> Server backup sessions call<br />

the NMO media management library (MML) software routines to initiate the backup.<br />

A manual NMO backup includes the following interactions:<br />

1. The <strong>Oracle</strong> Server backup session that loads the NMO MML (one such backup<br />

session <strong>for</strong> each allocated channel) contacts the nsrexecd service to obtain the<br />

<strong>NetWorker</strong> client in<strong>for</strong>mation.<br />

2. The <strong>Oracle</strong> Server backup sessions contact the main <strong>NetWorker</strong> service, nsrd, to<br />

obtain the required authorization and the identifier of the nsrmmd process that<br />

manages the requested backup device.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

<strong>NetWorker</strong> server Storage<br />

medium<br />

Backup pieces Client file index Media database<br />

<strong>Oracle</strong><br />

process<br />

(channel)<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

rman<br />

nsrnmostart<br />

nsrexecd<br />

tracking<br />

in<strong>for</strong>mation<br />

nsrindexd nsrmmdbd<br />

<strong>NetWorker</strong> <strong>Module</strong><br />

elements<br />

data<br />

interprocess<br />

communication<br />

nsrmmd<br />

nsrnmo savegrp nsrd<br />

GEN-001110


Introduction<br />

3. The <strong>Oracle</strong> Server backup sessions send the backup data to the <strong>NetWorker</strong> media<br />

service, nsrmmd, to store on the appropriate backup volumes.<br />

4. Tracking in<strong>for</strong>mation is stored in the <strong>NetWorker</strong> online indexes:<br />

The nsrmmd service records tracking in<strong>for</strong>mation in the <strong>NetWorker</strong> media<br />

database by using the nsrmmdbd service.<br />

The <strong>Oracle</strong> backup sessions send tracking in<strong>for</strong>mation to the <strong>NetWorker</strong> client<br />

file index by using the nsrindexd service.<br />

Figure 3 on page 55 shows how the <strong>Oracle</strong> Server, <strong>NetWorker</strong> server, and NMO<br />

processes interact during a regular manual NMO backup.<br />

<strong>Oracle</strong> Server<br />

(<strong>NetWorker</strong> client)<br />

Figure 3 Regular manual NMO backup<br />

Deduplication backup processes<br />

<strong>NetWorker</strong> server Storage medium<br />

Backup pieces Client file index Media database<br />

RMAN<br />

tracking<br />

in<strong>for</strong>mation<br />

<strong>Oracle</strong><br />

process<br />

nsrindexd nsrmmdbd<br />

(channel) data<br />

nsrmmd<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

nsrexecd<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

element<br />

interprocess<br />

communication<br />

GEN-000171<br />

“Deduplication backups and restores” on page 21 describes the features of a<br />

deduplication NMO backup.<br />

For scheduled deduplication backups, the steps from “Regular scheduled backup<br />

processes” on page 53 still apply.<br />

A deduplication NMO backup includes the following interactions:<br />

1. The <strong>Oracle</strong> Server backup session that loads the NMO MML (one such backup<br />

session <strong>for</strong> each allocated channel) contacts the nsrexecd service to obtain the<br />

<strong>NetWorker</strong> client in<strong>for</strong>mation.<br />

2. Each <strong>Oracle</strong> Server backup session runs one nsravtar process at any given time.<br />

nsrd<br />

NMO backup and restore processes 55


Introduction<br />

56<br />

3. The <strong>Oracle</strong> Server backup session contacts the main <strong>NetWorker</strong> service, nsrd, to<br />

obtain the required authorization and the identifier of the nsrmmd process that<br />

manages the requested backup device on the <strong>NetWorker</strong> server or storage node.<br />

4. The <strong>Oracle</strong> Server backup session sends the backup data in the <strong>NetWorker</strong> save<br />

set <strong>for</strong>mat to the nsravtar process.<br />

5. The nsravtar process applies deduplication logic to the backup data by using<br />

in<strong>for</strong>mation in a local cache or by contacting the Avamar server, and sends the<br />

unique data blocks to the Avamar server (<strong>NetWorker</strong> deduplication node).<br />

6. The nsravtar process sends a hash ID (one hash ID per save set) to the <strong>Oracle</strong><br />

Server backup session.<br />

7. The <strong>Oracle</strong> Server backup session sends the hash ID in save set <strong>for</strong>mat to the<br />

<strong>NetWorker</strong> media service, nsrmmd, to store on the <strong>NetWorker</strong> backup device.<br />

8. Tracking in<strong>for</strong>mation is stored in the <strong>NetWorker</strong> online indexes:<br />

The nsrmmd service records tracking in<strong>for</strong>mation in the <strong>NetWorker</strong> media<br />

database by using the nsrmmdbd service. The media database entry contains<br />

extended attributes that identify the backup as a deduplication backup, as<br />

described in “Deduplication backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes” on<br />

page 115.<br />

The <strong>Oracle</strong> backup session sends tracking in<strong>for</strong>mation to the <strong>NetWorker</strong> client<br />

file index by using the nsrindexd service.<br />

Figure 4 on page 57 shows how the Avamar server, <strong>NetWorker</strong>, and NMO processes<br />

interact during a deduplication NMO backup. In the figure, the thickness of the data<br />

arrows indicates the amount of data passed between processes:<br />

◆ All the data being backed up is passed between the <strong>Oracle</strong> Server backup session<br />

and nsravtar process.<br />

◆ Hash IDs and new data blocks (never backed up be<strong>for</strong>e by the Avamar server) are<br />

passed between the nsravtar process and Avamar server.<br />

◆ A single hash ID <strong>for</strong> the entire NMO save set is passed between the <strong>Oracle</strong> Server<br />

backup session and <strong>NetWorker</strong> storage node.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Regular restore processes<br />

<strong>Oracle</strong> acle<br />

data /<br />

hash ID<br />

<strong>NetWorker</strong><br />

server<br />

NMO client<br />

<strong>Oracle</strong> Server<br />

backup session<br />

with NMO MML<br />

nsravtar<br />

Figure 4 Deduplication NMO backup<br />

Hash ID<br />

Deduplicated<br />

data / hash ID<br />

<strong>NetWorker</strong><br />

storage node<br />

<strong>NetWorker</strong><br />

deduplication node<br />

(Avamar server)<br />

<strong>NetWorker</strong> client /<br />

utility node<br />

GSAN<br />

Node 1<br />

Node 2<br />

An NMO restore can be per<strong>for</strong>med in either of two ways:<br />

GEN-001111<br />

◆ By issuing the appropriate commands through the RMAN command line<br />

interface.<br />

Or<br />

Introduction<br />

◆ By using the <strong>Oracle</strong> Enterprise Manager Backup Management Tools, which<br />

include an optional graphical user interface to the RMAN utility.<br />

The RMAN utility starts <strong>Oracle</strong> Server sessions on the target database. These <strong>Oracle</strong><br />

Server sessions initiate the restore by calling NMO media management library<br />

(MML) software routines.<br />

Note: “Deduplication restore processes” on page 58 provides in<strong>for</strong>mation specifically <strong>for</strong> a<br />

deduplication restore.<br />

A regular NMO restore includes the following interactions:<br />

1. The NMO MML translates the object names requested by RMAN into a <strong>for</strong>mat<br />

that the <strong>NetWorker</strong> server understands, and <strong>for</strong>wards the names to the<br />

<strong>NetWorker</strong> service, nsrindexd.<br />

2. The nsrindexd service verifies that the backup pieces exist in the client file index.<br />

3. When the <strong>NetWorker</strong> server receives a restore request from the client, the main<br />

<strong>NetWorker</strong> service, nsrd, contacts the media service, nsrmmd.<br />

NMO backup and restore processes 57


Introduction<br />

58<br />

4. The nsrmmd service calls the media database service, nsrmmdbd, to determine<br />

which media contains the requested save set and issue a mount request.<br />

5. The nsrmmd service reads the appropriate backup volumes and passes the data<br />

to the <strong>Oracle</strong> sessions through the NMO MML.<br />

6. The <strong>Oracle</strong> Server sessions write the data to the disk.<br />

Figure 5 on page 58 shows how the <strong>Oracle</strong> Server, <strong>NetWorker</strong> server, and NMO<br />

processes interact during a regular NMO restore.<br />

Figure 5 Regular NMO restore<br />

Deduplication restore processes<br />

<strong>Oracle</strong> Server<br />

(<strong>NetWorker</strong> client)<br />

RMAN<br />

Once RMAN has restored the required files from the backup volumes, a database<br />

administrator can complete the standard <strong>Oracle</strong> database recovery.<br />

A deduplication NMO restore includes the following interactions:<br />

1. The NMO MML translates the object names requested by RMAN into a <strong>for</strong>mat<br />

that the <strong>NetWorker</strong> server understands, and <strong>for</strong>wards the names to the<br />

<strong>NetWorker</strong> server.<br />

2. The <strong>NetWorker</strong> server verifies that the backup pieces exist in the <strong>NetWorker</strong><br />

client file index and media database.<br />

3. When the <strong>Oracle</strong> Server restore session determines from the media database<br />

in<strong>for</strong>mation that the data exists in a deduplication backup, the <strong>Oracle</strong> session<br />

starts a nsravtar process on the NMO client.<br />

4. When the <strong>NetWorker</strong> server receives a restore request from the client, the main<br />

<strong>NetWorker</strong> service, nsrd, contacts the media service, nsrmmd.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

<strong>NetWorker</strong> server Storage<br />

medium<br />

Backup pieces Client file index Media database<br />

<strong>Oracle</strong><br />

process<br />

(channel)<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

nsrexecd<br />

nsrindexd<br />

<strong>NetWorker</strong> <strong>Module</strong><br />

element<br />

data<br />

interprocess<br />

communication<br />

tracking<br />

in<strong>for</strong>mation<br />

nsrmmdbd<br />

nsrmmd<br />

nsrd<br />

GEN-000173


Introduction<br />

5. The nsrmmd service on the <strong>NetWorker</strong> server calls the media database service,<br />

nsrmmdbd, to determine which media contains the requested save set and issue a<br />

mount request.<br />

6. The nsrmmd service reads the appropriate backup volumes and passes the data<br />

(hash ID) to the <strong>Oracle</strong> Server session.<br />

7. The <strong>Oracle</strong> Server session passes the hash ID to the nsravtar process.<br />

8. The nsravtar process retrieves the data corresponding to the hash ID from either<br />

the primary Avamar server or the replication Avamar server, and sends the data<br />

to the <strong>Oracle</strong> Server session.<br />

9. The <strong>Oracle</strong> Server session writes the data to the disk.<br />

NMO backup and restore processes 59


Introduction<br />

60<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This chapter includes the following major sections:<br />

2<br />

Software<br />

Configuration<br />

◆ Configuration roadmap................................................................................................ 62<br />

◆ Verify the <strong>Oracle</strong> Server configuration....................................................................... 63<br />

◆ Verify the <strong>NetWorker</strong> resources .................................................................................. 63<br />

◆ Configuring I18N support ........................................................................................... 67<br />

◆ Configure L10N support .............................................................................................. 69<br />

◆ Migrating a legacy configuration with the nsrnmoadmin command ................... 69<br />

◆ Configuring a backup with the NMC wizard........................................................... 72<br />

◆ Configuring a backup with the NMC legacy method ............................................. 75<br />

◆ Configuring a deduplication backup ......................................................................... 93<br />

◆ Configuring a probe-based backup ............................................................................ 97<br />

Software Configuration 61


Software Configuration<br />

62<br />

Configuration roadmap<br />

The <strong>Oracle</strong> Server and <strong>NetWorker</strong> server must be properly configured be<strong>for</strong>e the<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) software can be used <strong>for</strong> backup and restore<br />

operations.<br />

Be<strong>for</strong>e configuring the <strong>Oracle</strong> Server and <strong>NetWorker</strong> server, ensure that the NMO<br />

software is installed on the <strong>Oracle</strong> Server host according to the instructions in the<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide.<br />

To per<strong>for</strong>m specific configuration procedures, you can use either of the following<br />

through <strong>NetWorker</strong> Management Console (NMC):<br />

◆ Client backup configuration wizard <strong>for</strong> <strong>Oracle</strong><br />

◆ Legacy configuration method (without the wizard) that uses<br />

application-independent screens in NMC<br />

To configure a regular scheduled backup, follow the instructions in the following<br />

sections that apply to your particular environment:<br />

1. Verify the <strong>Oracle</strong> Server configuration according to “Verify the <strong>Oracle</strong> Server<br />

configuration” on page 63.<br />

2. Verify the <strong>NetWorker</strong> resources according to “Verify the <strong>NetWorker</strong> resources”<br />

on page 63.<br />

3. If required, configure internationalization (I18N) support according to<br />

“Configuring I18N support” on page 67.<br />

4. If required, configure localization (L10N) support according to “Configure L10N<br />

support” on page 69.<br />

5. To use the new backup configuration wizard to modify a legacy configuration<br />

that was not created with that wizard, migrate the configuration first according to<br />

“Migrating a legacy configuration with the nsrnmoadmin command” on page 69.<br />

6. Complete the backup configuration by using either the wizard or NMC:<br />

“Configuring a backup with the NMC wizard” on page 72<br />

“Configuring a backup with the NMC legacy method” on page 75 (This<br />

section includes details on creation of nsrnmo and RMAN scripts and manual<br />

configuration of save set bundling and policy uni<strong>for</strong>mity.)<br />

Refer to the following <strong>for</strong> additional in<strong>for</strong>mation on configuring a deduplication<br />

backup or probe-based backup:<br />

◆ “Configuring a deduplication backup” on page 93<br />

◆ “Configuring a probe-based backup” on page 97<br />

Chapter 6, “Cluster and RAC Systems,” provides in<strong>for</strong>mation on configuring any<br />

required cluster or Real Application Cluster (RAC) systems.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Verify the <strong>Oracle</strong> Server configuration<br />

Verify the <strong>NetWorker</strong> resources<br />

<strong>NetWorker</strong> Server resource<br />

Software Configuration<br />

The <strong>Oracle</strong> Server system must be properly installed and configured be<strong>for</strong>e the<br />

<strong>NetWorker</strong> server and NMO software is configured.<br />

To set up the <strong>Oracle</strong> Server system:<br />

1. Install and configure the <strong>Oracle</strong> Server software components, including RMAN.<br />

The appropriate <strong>Oracle</strong> installation guide provides more in<strong>for</strong>mation.<br />

2. Set up and configure the target database and <strong>Oracle</strong> Recovery Catalog. The<br />

<strong>Oracle</strong> Recovery Manager documentation provides more in<strong>for</strong>mation on the<br />

Recovery Catalog.<br />

3. Set up and configure the <strong>Oracle</strong> networking software, <strong>Oracle</strong> Net.<br />

4. Register the target database with the Recovery Catalog. The <strong>Oracle</strong> backup and<br />

recovery documentation provides more in<strong>for</strong>mation.<br />

Note: Detailed in<strong>for</strong>mation on these steps is available from <strong>Oracle</strong> user documentation and<br />

<strong>Oracle</strong> support services. <strong>Oracle</strong> support contact in<strong>for</strong>mation is available at the <strong>Oracle</strong> website.<br />

Verify that the required <strong>NetWorker</strong> resources are configured on the <strong>NetWorker</strong><br />

server, according to the in<strong>for</strong>mation in the following sections.<br />

After the <strong>NetWorker</strong> server software is installed, the <strong>NetWorker</strong> configuration<br />

includes a preconfigured Server resource with attribute settings that influence the<br />

per<strong>for</strong>mance and security of backups.<br />

Table 2 on page 63 describes the main <strong>NetWorker</strong> Server resource attributes. Verify<br />

that the attribute settings in the Server resource are valid <strong>for</strong> the NMO backup<br />

environment. Modify the settings as required.<br />

Table 2 <strong>NetWorker</strong> Server resource attributes<br />

Attribute Description<br />

Name Specifies the hostname of the <strong>NetWorker</strong> server.<br />

Parallelism Specifies the maximum number of backup save streams that the <strong>NetWorker</strong> software allows<br />

to arrive concurrently at the server. The <strong>NetWorker</strong> server edition determines the maximum<br />

parallelism value. When multiple data streams are backed up simultaneously, the efficiency of<br />

the storage devices is increased.<br />

Administrator Specifies users with <strong>NetWorker</strong> Administrator privileges. The initial default setting of the<br />

attribute is root@hostname on UNIX and Administrators@hostname on Windows, where<br />

hostname is the <strong>NetWorker</strong> server hostname. “Specify the required <strong>NetWorker</strong> privileges” on<br />

page 64 provides more in<strong>for</strong>mation.<br />

Datazone pass<br />

phrase<br />

Specifies the key or pass phrase to use <strong>for</strong> AES encryption of <strong>Oracle</strong> data during an NMO<br />

backup. The pass phrase is required to restore the <strong>Oracle</strong> data from the backup.<br />

“NSR_AES_ENCRYPTION” on page 201 provides more in<strong>for</strong>mation.<br />

Verify the <strong>Oracle</strong> Server configuration 63


Software Configuration<br />

64<br />

The <strong>NetWorker</strong> server online help and the <strong>NetWorker</strong> administration guide provide<br />

more in<strong>for</strong>mation on how to configure a <strong>NetWorker</strong> Server resource and its<br />

attributes.<br />

Specify the required <strong>NetWorker</strong> privileges<br />

Certain NMO operations require specific <strong>NetWorker</strong> privileges. The <strong>NetWorker</strong><br />

privileges are specified through the User Group resource. “<strong>NetWorker</strong> user group<br />

privileges” on page 64 provides more in<strong>for</strong>mation.<br />

One NMO operation that requires special privileges is deletion. NMO attempts to<br />

remove an entry from the <strong>NetWorker</strong> index in the following cases:<br />

<strong>NetWorker</strong> user group privileges<br />

◆ If the RMAN delete command is used.<br />

◆ If a running <strong>Oracle</strong> backup is canceled according to the instructions in one of the<br />

following sections:<br />

“Cancel a manual backup” on page 107<br />

“Cancel a scheduled backup” on page 111<br />

Note: If the <strong>Oracle</strong> user is not granted the required <strong>NetWorker</strong> privileges in these cases, NMO<br />

fails to remove the backup save set entries from the <strong>NetWorker</strong> index. However, RMAN might<br />

remove the corresponding entries from the RMAN catalog, which would leave the <strong>NetWorker</strong><br />

index and RMAN catalog unsynchronized. To resynchronize the index and catalog, issue the<br />

appropriate <strong>NetWorker</strong> media management command to manually remove the inconsistent<br />

save set entries from the <strong>NetWorker</strong> index.<br />

To enable NMO to remove an entry from the <strong>NetWorker</strong> index, ensure that the<br />

<strong>Oracle</strong> user has the required <strong>NetWorker</strong> privileges. Verify that the required user<br />

group privileges exist according to “<strong>NetWorker</strong> user group privileges” on page 64.<br />

The <strong>NetWorker</strong> server includes an access control feature. This feature allows<br />

<strong>NetWorker</strong> administrators to assign users to <strong>NetWorker</strong> user groups. Each user<br />

group has a specific set of privileges associated with it, as defined in the Privileges<br />

attribute of the User Group resource.<br />

The <strong>NetWorker</strong> server is installed with two preconfigured user groups:<br />

◆ Administrators — Members of this group have privileges to per<strong>for</strong>m all<br />

<strong>NetWorker</strong> operations. The root user on UNIX, and members of the Microsoft<br />

Windows Administrators group, are always members of this group and cannot<br />

be removed from the group.<br />

◆ Users — By default, members of this group have privileges to back up and<br />

recover local data and monitor <strong>NetWorker</strong> operations. They cannot view or edit<br />

configurations.<br />

Note: The privileges associated with the Users group can be customized to fit the requirements<br />

of the <strong>NetWorker</strong> users in the group. The privileges associated with the Administrators group<br />

cannot be changed.<br />

By default, the <strong>NetWorker</strong> server assigns the following privileges to all users:<br />

◆ Monitor <strong>NetWorker</strong><br />

◆ Recover Local Data<br />

◆ Backup Local Data<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Software Configuration<br />

The default user group configurations are sufficient <strong>for</strong> RMAN backup, restore, and<br />

crosscheck operations that use NMO. If the default user group configurations are<br />

changed, ensure that the required privileges are assigned <strong>for</strong> the operations.<br />

Verify that the required user group privileges exist <strong>for</strong> the NMO operations, as<br />

described in Table 3 on page 65. The <strong>NetWorker</strong> administration guide provides<br />

in<strong>for</strong>mation on how to modify existing privileges.<br />

Note: Proxy backups and restores require the same privileges as regular <strong>Oracle</strong> backups and<br />

restores, plus the privileges required by the PowerSnap <strong>Module</strong>. The <strong>NetWorker</strong> PowerSnap<br />

<strong>Module</strong> documentation provides more in<strong>for</strong>mation on the required privileges.<br />

Table 3 User group privileges required <strong>for</strong> NMO operations<br />

Operation Operating system user that per<strong>for</strong>ms operation Required user group privileges<br />

Migration of a legacy backup configuration with<br />

the nsrnmoadmin command<br />

!<br />

The <strong>Oracle</strong> user is defined as the following:<br />

◆ On UNIX:<br />

If Net service is used, it is the operating system user that starts the Net service.<br />

If Net service is not used, it is the operating system user that runs RMAN.<br />

In the case of a scheduled backup, the operating system user is root on UNIX<br />

and system on Microsoft Windows.<br />

◆ On Windows, the operating system user that runs the <strong>Oracle</strong> service<br />

(<strong>Oracle</strong>Serviceoracle_sid).<br />

IMPORTANT<br />

Root user, or a member of the Microsoft Windows<br />

Administrators group, on the <strong>Oracle</strong> Server<br />

Configure <strong>NetWorker</strong><br />

Regular manual <strong>Oracle</strong> backup <strong>Oracle</strong> user on the <strong>Oracle</strong> Server Recover Local Data, Backup Local Data<br />

(These privileges are set by default)<br />

Regular scheduled <strong>Oracle</strong> backup <strong>Oracle</strong> user on the <strong>Oracle</strong> Server Recover Local Data, Backup Local Data<br />

(These privileges are set by default)<br />

Root user, or a member of the Microsoft Windows<br />

Administrators group, on the <strong>Oracle</strong> Server<br />

Monitor <strong>NetWorker</strong>, Backup Local Data<br />

(These privileges are set by default)<br />

Regular <strong>Oracle</strong> restore <strong>Oracle</strong> user on the <strong>Oracle</strong> Server Recover Local Data<br />

(This privilege is set by default)<br />

RMAN crosscheck <strong>Oracle</strong> user on the <strong>Oracle</strong> Server Recover Local Data<br />

(This privilege is set by default)<br />

RMAN backup deletion <strong>Oracle</strong> user on the <strong>Oracle</strong> Server Operate <strong>NetWorker</strong>, and all its prerequisite<br />

privileges<br />

Restore of NWORA resource file backup to the<br />

<strong>Oracle</strong> Server<br />

Root user, or a member of the Microsoft Windows<br />

Administrators group, on the <strong>Oracle</strong> Server<br />

Save set bundling Root user, or a member of the Microsoft Windows<br />

Administrators group, on the <strong>Oracle</strong> Server<br />

Recover Local Data<br />

(This privilege is set by default)<br />

Operate <strong>NetWorker</strong>, and all its prerequisite<br />

privileges<br />

If the correct user group privileges are not assigned, an <strong>Oracle</strong> backup or restore<br />

fails with an error message that indicates the required user group privileges. The<br />

<strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on <strong>NetWorker</strong> user<br />

groups and setting user group privileges.<br />

Verify the <strong>NetWorker</strong> resources 65


Software Configuration<br />

66<br />

<strong>NetWorker</strong> Schedule resource<br />

!<br />

<strong>NetWorker</strong> Device resources<br />

<strong>NetWorker</strong> volume pools<br />

You can set the backup schedule to one of the existing schedules (provided by the<br />

<strong>NetWorker</strong> Schedule resources on the server) <strong>for</strong> the NMO client by using either<br />

backup configuration wizard or the legacy configuration method.<br />

A <strong>NetWorker</strong> Schedule resource specifies the attributes of the backup schedule. The<br />

<strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on the features of a<br />

Schedule resource.<br />

The NMO software does not honor the <strong>NetWorker</strong> backup levels (except skip) that are<br />

specified in the <strong>NetWorker</strong> Schedule resource.<br />

IMPORTANT<br />

For scheduled NMO backups, the <strong>NetWorker</strong> backup levels that appear in the<br />

Schedule resource do not determine the NMO backup levels. The level of the<br />

NMO backup must be specified as either full or incremental in the RMAN backup<br />

script. The backup level is determined by the level in the RMAN script only.<br />

You must configure a Schedule resource through the legacy method with NMC, as<br />

described in “Configure a Schedule resource with NMC” on page 87.<br />

The <strong>NetWorker</strong> server uses a supported tape or disk storage device to write data<br />

during an <strong>Oracle</strong> backup and to read data during an <strong>Oracle</strong> restore. The <strong>NetWorker</strong><br />

server configuration must include a Device resource <strong>for</strong> each storage device to be<br />

used <strong>for</strong> backups and restores. In addition, each storage device must contain a<br />

labeled and mounted volume.<br />

Configure the required <strong>NetWorker</strong> Device resources with the NMC program. The<br />

<strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on storage devices, the<br />

NMC program, and how to configure Device resources.<br />

The <strong>EMC</strong> <strong>NetWorker</strong> Hardware Compatibility <strong>Guide</strong> on the Powerlink website provides<br />

a complete list of the storage devices that the <strong>NetWorker</strong> server supports.<br />

The <strong>NetWorker</strong> administration guide also provides in<strong>for</strong>mation on how to label and<br />

mount backup volumes in the storage devices, and how to configure any required<br />

storage nodes (with attached devices), autochangers, and silos.<br />

<strong>NetWorker</strong> software directs backups to groups of media or backup volumes called<br />

pools. A pool is a specific collection of backup volumes that the <strong>NetWorker</strong> server<br />

uses to store, sort, and organize backup data. For example, backups of <strong>Oracle</strong> data<br />

such as tablespaces and archived redo logs can be directed to volumes in specific<br />

devices.<br />

Each <strong>NetWorker</strong> volume pool is defined by its Pool resource in the <strong>NetWorker</strong><br />

server. The attribute settings in the Pool resource act as a filter that the server uses to<br />

determine the type of data to write to volumes in the pool. Each volume pool has a<br />

Pool Type attribute.<br />

Note: With NMO, the only valid pool types are backup and backup clone.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Software Configuration<br />

Each <strong>NetWorker</strong> volume belongs to either a preconfigured pool or a user-created<br />

pool. Each pool has a specific label template associated with it, providing an<br />

automated method to identify the media assigned to a pool. <strong>NetWorker</strong> software<br />

uses pools of volumes and label templates to track the data is on each volume.<br />

Note: If a customized volume pool is not specified <strong>for</strong> <strong>Oracle</strong> backup volumes, the <strong>NetWorker</strong><br />

server routes data <strong>for</strong> an <strong>Oracle</strong> backup to the appropriate volume pool.<br />

Configure any required <strong>NetWorker</strong> Pool resources and corresponding Label<br />

Template resources with the NMC program. The <strong>NetWorker</strong> administration guide<br />

and NMC online help provide more in<strong>for</strong>mation.<br />

Setting the NSR_DATA_VOLUME_POOL parameter<br />

To send data from a manual or scheduled backup to a specific pool, you can set the<br />

NSR_DATA_VOLUME_POOL parameter in the RMAN backup session. Chapter 3,<br />

“Backup Procedures,” provides more in<strong>for</strong>mation on the two types of backups.<br />

Firewall support<br />

Configuring I18N support<br />

Note: In the case of proxy backups, the parameter is used to specify the volume pool <strong>for</strong> live<br />

backups only (backups to secondary storage only). The parameter cannot specify the snapshot<br />

pool <strong>for</strong> instant backups. The only way to specify the snapshot pool is by configuring the<br />

<strong>NetWorker</strong> resources, as described in “Configuring the <strong>NetWorker</strong> Pool resources” on<br />

page 169.<br />

NSR_DATA_VOLUME_POOL is mandatory if backup copies are generated during a<br />

manual backup only. Separate <strong>NetWorker</strong> pools must be defined <strong>for</strong> each backup<br />

copy. “Backup copies” on page 27 provides more in<strong>for</strong>mation on how to generate<br />

backup copies during a manual backup.<br />

Appendix A, “Parameters in an RMAN Session,” provides more in<strong>for</strong>mation on the<br />

NSR_DATA_VOLUME_POOL parameters.<br />

The NMO software provides firewall support. The ports that the NMO software uses<br />

<strong>for</strong> the firewall depend on the corresponding ports configured <strong>for</strong> the <strong>NetWorker</strong><br />

server.<br />

To configure the firewall that the NMO software uses, follow the firewall<br />

configuration instructions in the <strong>NetWorker</strong> administration guide <strong>for</strong> the particular<br />

<strong>NetWorker</strong> server plat<strong>for</strong>m.<br />

“Internationalization (I18N) and localization (L10N)” on page 33 describes the<br />

features of NMO internationalization (I18N) support.<br />

To configure I18N support:<br />

1. Ensure that you meet the “Requirements <strong>for</strong> I18N support” on page 68.<br />

2. Follow the configuration steps in “Configure I18N support” on page 68.<br />

Configuring I18N support 67


Software Configuration<br />

68<br />

Requirements <strong>for</strong> I18N support<br />

Configure I18N support<br />

Ensure that all of the following I18N requirements are met:<br />

◆ The NMO client host includes a supported internationalized version of the<br />

operating system, properly configured to operate in the non-English locale.<br />

◆ The <strong>Oracle</strong> software provides the required National Language Support (NLS) or<br />

Globalization support, and the <strong>Oracle</strong> database is configured with the required<br />

non-ASCII character set. The <strong>Oracle</strong> Globalization Support documentation<br />

provides details.<br />

◆ A supported <strong>NetWorker</strong> release 7.4 or later is installed:<br />

Internationalized <strong>NetWorker</strong> server software is installed, either on the NMO<br />

client or on a remote host.<br />

If the <strong>NetWorker</strong> server is located on a remote host, internationalized<br />

<strong>NetWorker</strong> client or storage node software is installed on the NMO client.<br />

The <strong>NetWorker</strong> installation guide provides details on installation of the<br />

<strong>NetWorker</strong> software.<br />

◆ For I18N support during proxy operations, a supported release of the PowerSnap<br />

<strong>Module</strong> is installed and configured, as described in the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong><br />

<strong>Oracle</strong> release notes.<br />

The <strong>NetWorker</strong> documentation provides details on any other I18N requirements.<br />

Note: Configuration of proxy backups or restores with the NMO wizard is not supported.<br />

Wizard references in the following steps do not apply to the configuration of proxy operations.<br />

The PowerSnap <strong>Module</strong> documentation provides details on the PowerSnap options that<br />

support non-ASCII values.<br />

To configure I18N support on the NMO client host:<br />

1. On UNIX only, log in as the root user, then shut down the <strong>NetWorker</strong> services, set<br />

the environment variable LC_ALL to the appropriate locale, and restart the<br />

<strong>NetWorker</strong> services.<br />

For example, in a Japanese locale on UNIX, set LC_ALL as follows:<br />

# nsr_shutdown<br />

# export LC_ALL=JA_jp.eucJP<br />

# /etc/init.d/networker start<br />

2. Set the environment variable NLS_LANG to the character set supported by the<br />

operating system and <strong>Oracle</strong> database, and then restart the <strong>Oracle</strong> Server.<br />

The <strong>Oracle</strong> Globalization Support documentation provides details on the<br />

NLS_LANG variable.<br />

For example, to ensure that <strong>Oracle</strong> properly returns Japanese text in a Japanese<br />

locale, set NLS_LANG as follows:<br />

export NLS_LANG=JAPANESE_JAPAN.JA16EUC<br />

% lsnrctl stop<br />

% lsnrctl start<br />

% sqlplus /nolog<br />

SQL*Plus: <strong>Release</strong> 10.1.0.2.0 - Production on Thu Apr 26 15:12:03<br />

Copyright (c) 1982, 2004, <strong>Oracle</strong>. All rights reserved.<br />

SQL> connect sys/oracle as sysdba;<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Configure L10N support<br />

SQL> shutdown;<br />

SQL> startup;<br />

SQL> quit;<br />

Software Configuration<br />

3. If you do not configure a scheduled backup with the configuration wizard, set the<br />

NLS_LANG parameter in the nsrnmo script to the same value as the environment<br />

variable NLS_LANG.<br />

For example, in a Japanese locale, set NLS_LANG in the nsrnmo script as follows:<br />

NLS_LANG=JAPANESE_JAPAN.JA16EUC<br />

Note: If you configure the scheduled backup with the configuration wizard, you can set<br />

NLS_LANG on a wizard screen. The wizard autopopulates the NLS_LANG field if<br />

NLS_LANG is set in the NWORA resource file.<br />

4. To enable proxy catalog synchronization, set the NSR_ORACLE_NLS_LANG<br />

parameter to the same value as the environment variable NLS_LANG by using<br />

the nsrnmoadmin command.<br />

For example, in a Japanese locale, set the parameter by typing the following<br />

command:<br />

nsrnmoadmin -r add NSR_ORACLE_NLS_LANG JAPANESE_JAPAN.JA16EUC<br />

“Configuring the NWORA resource file with the nsrnmoadmin program” on<br />

page 188 provides details on the nsrnmoadmin command. The command sets the<br />

parameter value in the NWORA resource file, which is described in “The<br />

NWORA resource file” on page 183.<br />

“L10N features” on page 35 describes the features of NMO localization (L10N)<br />

support.<br />

Note: L10N support <strong>for</strong> proxy operations requires PowerSnap <strong>Module</strong> 2.4 SP2 or later.<br />

To configure NMO L10N support, enable the locale by installing the appropriate<br />

NMO language pack <strong>for</strong> the user locale on the NMO client host. Each supported<br />

language has its own language pack.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide provides details on how to<br />

install a supported NMO language pack on a UNIX or Windows system.<br />

Migrating a legacy configuration with the nsrnmoadmin command<br />

You can use the nsrnmoadmin command to migrate a scheduled backup<br />

configuration that was created with a legacy method (without the configuration<br />

wizard in NMO <strong>5.0</strong>) to the configuration storage framework that is supported by the<br />

new NMO wizard. After the migration, you can use the new wizard to modify the<br />

backup configuration.<br />

As an alternative to using the nsrnmoadmin command <strong>for</strong> the migration, you can use<br />

the Specify the RMAN Script Template (Optional) screen of the NMO wizard to<br />

retrieve an existing configuration from an RMAN script.<br />

Configure L10N support 69


Software Configuration<br />

70<br />

To migrate a legacy configuration with the nsrnmoadmin command:<br />

1. Ensure that you meet the “Requirements <strong>for</strong> using the nsrnmoadmin command<br />

<strong>for</strong> migration” on page 70.<br />

2. Use the proper nsrnmoadmin command and options, according to the<br />

“Migration command syntax and options” on page 71.<br />

Requirements <strong>for</strong> using the nsrnmoadmin command <strong>for</strong> migration<br />

Be<strong>for</strong>e using the nsrnmoadmin command to migrate a backup configuration, ensure<br />

that the appropriate requirements are met:<br />

◆ “Windows 2008 and Windows Vista requirements <strong>for</strong> the nsrnmoadmin<br />

command” on page 189 are met on Windows 2008 or Windows Vista.<br />

◆ The required <strong>NetWorker</strong> releases are installed, as described in the <strong>NetWorker</strong><br />

<strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes.<br />

◆ The nsrnmo script contains the mandatory ORACLE_HOME setting.<br />

◆ The RMAN script contains a single valid value <strong>for</strong> each of the following:<br />

Target database username<br />

Password of the target database user<br />

Net service (instance) name<br />

◆ The RMAN script contains correct syntax <strong>for</strong> the following commands:<br />

allocate channel<br />

backup<br />

connect<br />

release channel<br />

send<br />

◆ The RMAN script does not contain any of the following commands:<br />

@<br />

allocate channel <strong>for</strong> maintenance<br />

configure<br />

proxy<br />

Note: Migration of a proxy backup configuration is not supported.<br />

◆ The RMAN script on Microsoft Windows does not include non-ASCII characters.<br />

◆ You have all of the <strong>NetWorker</strong> privileges needed to query and update the Client<br />

resources on a <strong>NetWorker</strong> server, as described in Table 3 on page 65. The<br />

<strong>NetWorker</strong> documentation provides in<strong>for</strong>mation on the required user group<br />

privileges.<br />

◆ If you use the nsrnmoadmin command in interactive mode (without the -Y<br />

option), you can provide the names of all the users that will use the wizard to<br />

modify the configuration (after it has been migrated):<br />

When you use nsrnmoadmin in interactive mode (without the -Y option), you<br />

are prompted by default <strong>for</strong> the names of all such users in ACL <strong>for</strong>mat<br />

(user@hostname). If you do not provide the usernames when prompted, you<br />

must add the usernames at a later time to the <strong>NetWorker</strong> Lockbock resource<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


!<br />

Migration command syntax and options<br />

Software Configuration<br />

<strong>for</strong> the client by using NMC to edit the resource. The <strong>NetWorker</strong><br />

administration guide provides details on editing the Lockbox resource in the<br />

section on lockbox password management.<br />

When you use nsrnmoadmin in noninteractive mode (with the -Y option), the<br />

migration does not prompt <strong>for</strong> any input. After the migration, you must add<br />

the usernames to the <strong>NetWorker</strong> Lockbox resource <strong>for</strong> all the users that will<br />

use the wizard to modify the configuration.<br />

IMPORTANT<br />

If you migrate the backup configuration of a cluster virtual client, you must do one<br />

of the following to enable scheduled backups of the client:<br />

- During the migration, when nsrnmoadmin prompts <strong>for</strong> names of wizard users to<br />

add to the Lockbox resource, specify the name system@physical_hostname<br />

(Windows) or root@physical_hostname (UNIX).<br />

- After the migration, use NMC to edit the Lockbox resource <strong>for</strong> the cluster virtual<br />

client, and add the name system@physical_hostname (Windows) or<br />

root@physical_hostname (UNIX) to the resource.<br />

You must type the nsrnmoadmin command <strong>for</strong> migration on the operating system<br />

command line, as one of the following users:<br />

◆ Root user on UNIX<br />

◆ A member of the Microsoft Windows Administrators group<br />

The command user must meet the migration requirements listed in Table 3 on<br />

page 65.<br />

“Windows 2008 and Windows Vista requirements <strong>for</strong> the nsrnmoadmin command”<br />

on page 189 provides details <strong>for</strong> Windows 2008 and Windows Vista systems.<br />

The nsrnmoadmin command syntax and options are as follows:<br />

nsrnmoadmin -M -s server_name [-c client_name] [-g group_name]<br />

[-N save_set_name] [-Y]<br />

nsrnmoadmin -P -s server_name [-c client_name] [-g group_name]<br />

[-N save_set_name]<br />

The -M and -P options are mutually exclusive.<br />

Command options and settings in brackets ([ ]) are optional. Do not include the<br />

brackets when typing the command.<br />

Migrating a legacy configuration with the nsrnmoadmin command 71


Software Configuration<br />

72<br />

Option Description<br />

Table 4 on page 72 describes the nsrnmoadmin command options.<br />

Table 4 Options of the nsrnmoadmin command <strong>for</strong> migration<br />

-M Specifies the migrate option. The nsrnmoadmin program per<strong>for</strong>ms the following:<br />

1. Queries the <strong>NetWorker</strong> server resource database to locate all of the Client resources that match the values specified by the<br />

-c, -g, -N, and -s options.<br />

2. Migrates each legacy configuration (the nsrnmo script, RMAN script, NWORA resource file, Client resource) to the<br />

configuration <strong>for</strong>mat that is supported by the new NMO wizard.<br />

Note: The nsrnmoadmin program can only migrate a configuration that physically resides on the host where the nsrnmoadmin<br />

command is typed. To migrate the Client resources <strong>for</strong> different physical hosts, you must run the nsrnmoadmin program on<br />

each physical host, or write a script to automate the process.<br />

-P Specifies the probe option. The nsrnmoadmin program per<strong>for</strong>ms a probe to query the <strong>NetWorker</strong> server resource database and<br />

locate all of the Client resources that match the values specified by the -c, -g, -N, and -s options, and prints the results to<br />

standard output. The program does not actually migrate any legacy configurations.<br />

Note: The nsrnmoadmin program can only probe configurations that physically reside on the host where the nsrnmoadmin<br />

command is typed. To probe the Client resources created <strong>for</strong> different physical hosts, you must run the nsrnmoadmin program<br />

on each physical host.<br />

-c client_name Optional. Specifies the hostname of the <strong>NetWorker</strong> client to be configured. Typically, this option specifies a virtual client in a<br />

cluster. The default value is the hostname of the local physical client.<br />

-g group_name Optional. Specifies the name of the <strong>NetWorker</strong> group <strong>for</strong> the query operation. If this option is not specified, then a group name is<br />

not included in the criteria <strong>for</strong> the query of the server resource database.<br />

-N save_set_name Optional. Specifies the value set in the Save Set attribute of the Client resource. If this option is not specified, then a save set<br />

name is not included in the criteria <strong>for</strong> the query of the server resource database.<br />

-s server_name Mandatory. Specifies the hostname of the <strong>NetWorker</strong> server that backs up the client being configured.<br />

-Y Optional. Specifies non-interactive mode, which causes the nsrnmoadmin program to proceed with a migration without<br />

prompting <strong>for</strong> confirmation. If this option is not specified, the nsrnmoadmin program displays all of the fields to be updated in the<br />

Client resource and requests confirmation to proceed with the migration.<br />

Configuring a backup with the NMC wizard<br />

About the backup configuration wizard<br />

To configure a backup with the wizard:<br />

1. Review the in<strong>for</strong>mation in “About the backup configuration wizard” on page 72.<br />

2. Ensure that you meet the “Requirements <strong>for</strong> using the backup configuration<br />

wizard” on page 73.<br />

3. Follow the configuration steps in “Configure a backup with the wizard” on<br />

page 73.<br />

NMO release <strong>5.0</strong> includes a new NMC-based backup configuration wizard (also<br />

known as Client Backup Configuration in NMC) that is integrated with a supported<br />

NMC release 7.5 or later.<br />

“Configuration wizards” on page 30 describes the main features of the backup<br />

configuration wizard. The wizard can configure the Client, Group, and Policy<br />

(browse or retention) resources <strong>for</strong> a scheduled backup. Other <strong>NetWorker</strong> resources<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Software Configuration<br />

must be configured manually (without the wizard) through NMC, as described in<br />

“Configuring a backup with the NMC legacy method” on page 75.<br />

The wizard option <strong>for</strong> configuring a "typical" scheduled backup provides a more<br />

simplified workflow that generates predefined values (<strong>for</strong> the number of backup<br />

channels, backup name <strong>for</strong>mat, and so on). The wizard help provides details on the<br />

predefined settings used <strong>for</strong> a typical scheduled backup.<br />

To use the NMO wizard to modify an existing legacy configuration that was not<br />

created with the wizard, you must first migrate the configuration according to<br />

“Migrating a legacy configuration with the nsrnmoadmin command” on page 69.<br />

The following sources provide more in<strong>for</strong>mation on the configuration wizard:<br />

◆ <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide<br />

◆ <strong>NetWorker</strong> administration guide or release notes<br />

◆ Descriptive inline text in the wizard<br />

◆ Online help in the wizard<br />

Requirements <strong>for</strong> using the backup configuration wizard<br />

Be<strong>for</strong>e you use the backup configuration wizard, ensure that all of the following<br />

requirements are met:<br />

Configure a backup with the wizard<br />

◆ The NMC user that starts the wizard (the wizard user) has the Configure<br />

<strong>NetWorker</strong> privileges on the <strong>NetWorker</strong> server where the configuration is<br />

created.<br />

◆ Communication between the NMC server, <strong>NetWorker</strong> server, and NMO client<br />

uses nsrauth authentication. The <strong>NetWorker</strong> documentation provides any<br />

requirements <strong>for</strong> nsrauth authentication.<br />

◆ The required <strong>NetWorker</strong> releases are installed on the NMC server, <strong>NetWorker</strong><br />

server, and NMO client hosts, as described in the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong><br />

release notes.<br />

To create or modify a backup configuration with the wizard:<br />

1. Start the <strong>NetWorker</strong> Management Console software.<br />

2. Open the <strong>Administration</strong> window:<br />

a. In the Console window, click Enterprise.<br />

b. In the left pane, select a <strong>NetWorker</strong> server in the Enterprise list.<br />

c. In the right pane, select the application.<br />

d. From the Enterprise menu, click Launch Application.<br />

The <strong>Administration</strong> window is launched as a separate application.<br />

3. In the <strong>Administration</strong> window, click Configuration.<br />

4. In the Configuration window, click Clients.<br />

Configuring a backup with the NMC wizard 73


Software Configuration<br />

74<br />

!<br />

5. Start the wizard by the appropriate method:<br />

If you are creating a new backup configuration, use one of the following<br />

methods:<br />

– Select Configuration > Client Backup Configuration > New.<br />

– In the left pane under the client name, right-click Clients and select Client<br />

Backup Configuration > New.<br />

– In the main Clients list, right-click the NMO client and select Client<br />

Backup Configuration > New.<br />

If you are modifying an existing backup configuration, right-click the NMO<br />

client in the right pane, and select Client Backup Configuration > Modify.<br />

6. On each wizard screen that appears, specify the required options and values <strong>for</strong><br />

the backup configuration.<br />

If you use the wizard to configure a deduplication backup, ensure that the<br />

Filesperset field is set to 1 on the Specify the RMAN Options (Part 1 of 2) screen.<br />

Each wizard screen includes an online help button that you can click to access<br />

descriptions of all the fields and options on the screen:<br />

On all but the last screen, click Next to proceed.<br />

On the last screen, Review and Accept the Client Configuration, click Create<br />

or Modify to create or modify the configuration, respectively, and click Finish<br />

to exit the wizard.<br />

If you choose to save configuration settings to an RMAN script on disk, you can edit<br />

the script later and also use the script <strong>for</strong> a manual NMO backup. The resources<br />

required <strong>for</strong> a manual backup must be configured with the legacy method (without<br />

the wizard).<br />

IMPORTANT<br />

When you use the wizard to configure a cluster virtual client, the wizard attempts<br />

to per<strong>for</strong>m all of the additional settings required <strong>for</strong> the cluster environment,<br />

including the following:<br />

- Creating the required Client resources.<br />

- Adding the required ACL entries to the Lockbox resource, <strong>for</strong> the physical hosts<br />

provided in the Remote Access field on the <strong>NetWorker</strong> Client Properties screen of<br />

the wizard.<br />

- Setting the NSR_CLIENT parameter.<br />

- Adding the -c virtual_clientname option to the Backup Command attribute in the<br />

Client resource of the virtual client.<br />

In the Client resource of the virtual client, ensure that the Remote Access attribute<br />

is set with user@physical_hostname <strong>for</strong> each of the physical hosts of the cluster;<br />

otherwise, the backup might fail.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Configuring a backup with the NMC legacy method<br />

Software Configuration<br />

The following sections describe how to configure backups with the legacy method<br />

(without the configuration wizard).<br />

About backup configuration with the legacy method<br />

Create RMAN scripts <strong>for</strong> backups<br />

NMO release <strong>5.0</strong> still supports the legacy method of backup configuration, as used in<br />

previous NMO releases. To configure a scheduled backup, you can still manually<br />

create an RMAN script and nsrnmo script, set parameters in the NWORA resource<br />

file if needed, and configure the <strong>NetWorker</strong> resources with NMC.<br />

As an alternative, you can use the backup configuration wizard to configure a<br />

scheduled backup, as described in “Configuring a backup with the NMC wizard” on<br />

page 72. However, <strong>NetWorker</strong> resources other than the Client and Group resource<br />

must still be configured manually with NMC.<br />

For a manual backup, the <strong>NetWorker</strong> Client resource must be modified manually<br />

through the legacy method, as required.<br />

Create an appropriate RMAN script to per<strong>for</strong>m the preferred type of manual or<br />

scheduled backup on the <strong>Oracle</strong> Server host.<br />

NSR* parameters in the script must be set with the methods described in “Setting the<br />

NSR* parameters” on page 200. The use of the send command is recommended<br />

where possible. “The send command” on page 211 provides more in<strong>for</strong>mation.<br />

NSR* parameters cannot be set through other methods, <strong>for</strong> example, by using the<br />

setenv or set command on the operating system command line. Appendix A,<br />

“Parameters in an RMAN Session,” provides complete in<strong>for</strong>mation on the NSR*<br />

parameters in the RMAN script or session.<br />

RMAN backup scripts can be stored as flat ASCII files. Alternatively, if a Recovery<br />

Catalog is used, backup scripts can be stored in the Recovery Catalog database. The<br />

appropriate <strong>Oracle</strong> backup and recovery documentation provides in<strong>for</strong>mation on<br />

storing the backup scripts in the Recovery Catalog database.<br />

The following sections provide details on RMAN scripts <strong>for</strong> manual backups and<br />

scheduled backups.<br />

RMAN scripts <strong>for</strong> manual backups<br />

If automatic channel allocation and persistent settings are used, the backup<br />

command can be run as a stand-alone command. “Automatic channel allocation” on<br />

page 26 provides more in<strong>for</strong>mation.<br />

Example 10 RMAN script <strong>for</strong> a manual backup<br />

The following RMAN script is <strong>for</strong> a manual backup of an entire <strong>Oracle</strong> database to<br />

the volume pool MondayFulls of the (remote) <strong>NetWorker</strong> server mars.emc.com:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(NSR_SERVER=mars.emc.com,<br />

NSR_DATA_VOLUME_POOL=MondayFulls)’;<br />

backup full filesperset 4 <strong>for</strong>mat ’FULL_%d_%U’ (database);<br />

Configuring a backup with the NMC legacy method 75


Software Configuration<br />

76<br />

!<br />

}<br />

release channel t1;<br />

release channel t2;<br />

To specify a Media Management (in this case, NMO) device, set the type option in the<br />

allocate channel command to SBT_TAPE.<br />

If a device is allocated by using the allocate channel t1 type disk command (with<br />

<strong>Oracle</strong> correctly configured and NMO uninstalled), backups can be directed to disk<br />

files through <strong>Oracle</strong>’s backup implementation.<br />

In the preceding RMAN backup script, the <strong>for</strong>mat string FULL_%d_%U specifies the<br />

name of each backup piece. This name can be anything, provided that each backup<br />

piece has a unique name on the <strong>NetWorker</strong> server. Substitution variables, such as %d<br />

and %U, can be used to guarantee unique names:<br />

◆ %d specifies the name of the database.<br />

◆ %U specifies a unique <strong>Oracle</strong> system-generated filename.<br />

A <strong>for</strong>mat string such as FULL or FULL_%d will not generate unique names.<br />

Similarly, the <strong>for</strong>mat string FULL_%U will not generate unique names <strong>for</strong> two<br />

databases that are being backed up to the same <strong>NetWorker</strong> server.<br />

IMPORTANT<br />

If a backup piece name is not unique, the <strong>Oracle</strong> backup fails.<br />

During a manual backup, the prefix RMAN: automatically precedes the backup piece<br />

name in the <strong>NetWorker</strong> media database. For example, if the backup piece name<br />

specified in the RMAN script is accounts_data_file, the manual backup records the<br />

save set name as RMAN:accounts_data_file in the media database. The mminfo<br />

command displays the save set name in this <strong>for</strong>m.<br />

The following sources provide more in<strong>for</strong>mation:<br />

◆ The appropriate <strong>Oracle</strong> backup and recovery documentation provides<br />

in<strong>for</strong>mation on how to write RMAN scripts.<br />

◆ The <strong>Oracle</strong> Enterprise Manager documentation provides in<strong>for</strong>mation on how to<br />

use the <strong>Oracle</strong> Enterprise Manager Backup Wizard to generate RMAN scripts.<br />

◆ Appendix B, “RMAN Commands,” provides important in<strong>for</strong>mation on RMAN<br />

commands.<br />

◆ “Regular backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes” on page 114 describes the<br />

in<strong>for</strong>mation stored <strong>for</strong> a manual backup in the <strong>NetWorker</strong> indexes.<br />

Example 11 RMAN script <strong>for</strong> AES encryption during an <strong>Oracle</strong> backup<br />

The following RMAN script per<strong>for</strong>ms a nonproxy backup of the <strong>Oracle</strong> database to<br />

the <strong>NetWorker</strong> server mars.emc.com by using 256-bit AES encryption, as specified by<br />

the NSR_AES_ENCRYPTION parameter setting:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(NSR_SERVER=mars.emc.com, NSR_AES_ENCRYPTION=TRUE)’;<br />

backup full filesperset 4 <strong>for</strong>mat ’FULL_%d_%U’ (database);<br />

release channel t1;<br />

}<br />

The AES encryption uses the key or pass phrase that is set in the Datazone pass<br />

phrase attribute of the <strong>NetWorker</strong> Server resource. “NSR_AES_ENCRYPTION” on<br />

page 201 provides more in<strong>for</strong>mation.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


!<br />

IMPORTANT<br />

RMAN scripts <strong>for</strong> scheduled backups<br />

!<br />

Software Configuration<br />

Keep a record of all pass phrases used <strong>for</strong> 256-bit AES encryption. Be careful when<br />

you change the pass phrase on the <strong>NetWorker</strong> server. If the pass phrase on the<br />

server is changed and you cannot remember the pass phrase used <strong>for</strong> an NMO<br />

backup, the encrypted data cannot be recovered. The <strong>NetWorker</strong> administration<br />

guide provides more in<strong>for</strong>mation on pass phrases.<br />

Example 17 on page 122 shows a sample <strong>Oracle</strong> restore of an AES encrypted backup,<br />

with the NSR_ENCRYPTION_PHRASES parameter that specifies the original pass<br />

phrase that was used <strong>for</strong> the backup.<br />

IMPORTANT<br />

For scheduled backups (both regular and proxy backups), do not include send as<br />

part of the allocate channel command. The send command must be separate.<br />

For example, NMO does not support the following <strong>for</strong> scheduled backups:<br />

allocate channel t1 type ’SBT_TAPE’ send<br />

’NSR_ENV=(NSR_SERVER=mars.emc.com)’;<br />

The following is the correct <strong>for</strong>m of the commands:<br />

allocate channel t1 type ’SBT_TAPE’;<br />

send channel t1 ’NSR_ENV=(NSR_SERVER=mars.emc.com)’;<br />

With automatic channel allocation, specifying the send command be<strong>for</strong>e the backup<br />

or restore command causes the following error:<br />

RMAN-06422: no channels found <strong>for</strong> SEND command<br />

“Automatic channel allocation” on page 26 provides in<strong>for</strong>mation on automatic<br />

channel allocation.<br />

Example 12 RMAN script <strong>for</strong> a scheduled backup<br />

The following RMAN script is <strong>for</strong> a scheduled backup of an entire <strong>Oracle</strong> database to<br />

the volume pool MondayFulls. The Recovery Catalog is used in this case:<br />

connect target target_user/target_passwd@target_Netservicename;<br />

connect rcvcat rcvcat_user/rcvcat_passwd@rcvcat_Netservicename;<br />

run {<br />

set command id to ’xxx’;<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(NSR_DATA_VOLUME_POOL=MondayFulls)’;<br />

backup full filesperset 4<br />

<strong>for</strong>mat ’FULL_%d_%U’<br />

(database);<br />

release channel t1;<br />

release channel t2;<br />

}<br />

If automatic channel allocation and persistent settings are used, a scheduled RMAN<br />

backup script must still be created and contain the following commands:<br />

◆ connect target<br />

◆ connect rcvcat (if using a Recovery Catalog)<br />

◆ backup<br />

Configuring a backup with the NMC legacy method 77


Software Configuration<br />

78<br />

!<br />

The command connect target target_user/target_passwd@target_Netservicename is<br />

mandatory in each RMAN script <strong>for</strong> a scheduled backup. This command establishes<br />

the proper connection to the target database.<br />

Specify the correct values in the connect target command:<br />

◆ target_user is the user with SYSDBA privileges <strong>for</strong> the target database.<br />

◆ target_passwd is the password of the target_user (<strong>for</strong> connecting as SYSDBA),<br />

specified in the target database’s orapwd file.<br />

◆ target_Netservicename is the Net service name of the target database. This name is<br />

mandatory in the connect target command.<br />

A password file must be used <strong>for</strong> the target database. To use the password file, the<br />

orapwd utility might need to be used and the REMOTE_LOGIN_PASSWORDFILE<br />

parameter set to exclusive in the initoracle_sid.ora file. The appropriate <strong>Oracle</strong><br />

documentation provides more in<strong>for</strong>mation.<br />

Notes:<br />

◆ Since each scheduled backup RMAN script requires a connect target command,<br />

each <strong>Oracle</strong> instance requires a separate scheduled backup RMAN script.<br />

◆ In the connect target command, do not use the value internal <strong>for</strong> target_user or the<br />

value oracle <strong>for</strong> target_passwd.<br />

The command connect rcvcat rcvcat_user/rcvcat_passwd@rcvcat_Netservicename is<br />

mandatory if the Recovery Catalog is used <strong>for</strong> the scheduled <strong>Oracle</strong> backup. This<br />

command establishes the proper connection to the Recovery Catalog database.<br />

Specify the correct values in the connect rcvcat command:<br />

◆ rcvcat_user is the owner of the Recovery Catalog database.<br />

◆ rcvcat_passwd is the password of the rcvcat_user.<br />

◆ rcvcat_Netservicename is the Net service name of the Recovery Catalog database.<br />

To enable the scheduled backup to be canceled, the scheduled <strong>Oracle</strong> backup script<br />

must include set command id to ‘xxx’ (where xxx can be any string of characters<br />

enclosed in single quotes). “Cancel a scheduled backup” on page 111 provides more<br />

in<strong>for</strong>mation on how to cancel a scheduled backup.<br />

The remainder of the scheduled backup script in Example 12 on page 77, starting<br />

with the first allocate channel command, is similar to the manual backup script in<br />

Example 10 on page 75 except that the NSR_SERVER parameter setting is not<br />

included.<br />

IMPORTANT<br />

Do not set the parameters NSR_SERVER or NSR_GROUP in a scheduled RMAN<br />

backup script. NMO sets these two parameters to the values specified in the Client<br />

resource <strong>for</strong> the scheduled <strong>Oracle</strong> backup, and these values cannot be overridden.<br />

To have the scheduled backup automatically use a volume pool, the backup group<br />

can be specified in the Pool resource. The scheduled backup uses that pool unless the<br />

parameter NSR_DATA_VOLUME_POOL is set in the RMAN script. Then that<br />

parameter’s setting takes precedence over any pool associated with the scheduled<br />

backup group.<br />

If NSR_DATA_VOLUME_POOL is set in the RMAN script to a pool different from<br />

the one associated with the backup group, the scheduled backup uses the<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Software Configuration<br />

NSR_DATA_VOLUME_POOL pool. It is the user’s responsibility to set that<br />

parameter correctly in the RMAN script <strong>for</strong> a scheduled backup.<br />

Each scheduled backup RMAN script must be stored as a text file. The database<br />

administrator should give minimal permissions to the scheduled backup RMAN<br />

script file. This way, unauthorized users cannot see the sensitive user IDs and<br />

passwords of the target and Recovery Catalog databases.<br />

If a single <strong>Oracle</strong> instance has multiple RMAN scripts associated with it (<strong>for</strong> example,<br />

to per<strong>for</strong>m tablespace-level or file-level, full or incremental backups, and so on), the<br />

database administrator might choose to place the two common connect commands in<br />

a single file and invoke those two connect commands in all RMAN scripts by using<br />

the @ command.<br />

Test RMAN scripts <strong>for</strong> scheduled backups<br />

When you create an RMAN script, test the script be<strong>for</strong>e using it <strong>for</strong> scheduled<br />

backups.<br />

To test the RMAN script, type one of the following commands:<br />

rman cmdfile ’script_name’ send<br />

’”NSR_ENV=(NSR_SERVER=<strong>NetWorker</strong>_server_name, NSR_GROUP=group_name)”’<br />

rman nocatalog cmdfile ’script_name’ send<br />

’”NSR_ENV=(NSR_SERVER=<strong>NetWorker</strong>_server_name, NSR_GROUP=group_name)”’<br />

where:<br />

Customize the nsrnmo script<br />

◆ script_name is the RMAN script file pathname.<br />

◆ <strong>NetWorker</strong>_server_name is the name of the server that starts the backup.<br />

◆ group_name is the name of the scheduled backup group as specified in the Client<br />

resource.<br />

Customize the nsrnmo script on the <strong>Oracle</strong> Server host by modifying the parameters<br />

in the script.<br />

The NMO installation on the <strong>Oracle</strong> Server host stores the following files:<br />

◆ A sample nsrnmo script in the same directory as the <strong>NetWorker</strong> executables. The<br />

sample script filenames are:<br />

nsrnmo on UNIX<br />

nsrnmo.bat on Windows<br />

◆ A template of the script in the /etc/nsrnmo.sh file on UNIX. Do not modify this<br />

file.<br />

Note: On Windows, save a copy of the original nsrnmo.bat file be<strong>for</strong>e modifying it.<br />

“Editing the nsrnmo.bat file on Windows 2008 or Windows Vista” on page 80 provides<br />

specific requirements <strong>for</strong> Windows 2008 and Windows Vista systems.<br />

Multiple versions of the nsrnmo script can be created (<strong>for</strong> example, one <strong>for</strong> each<br />

<strong>Oracle</strong> instance) on the same <strong>Oracle</strong> Server host. Each version of the script must have<br />

a unique name, starting with the letters nsr or save. On Windows, the name must also<br />

end in .bat or .cmd.<br />

Configuring a backup with the NMC legacy method 79


Software Configuration<br />

80<br />

To create a new version of the nsrnmo script:<br />

1. Copy the sample script file (nsrnmo on UNIX or nsrnmo.bat on Windows) to a<br />

file with a different name.<br />

2. Customize the parameters in the new file.<br />

For example, you might create the new script file named nsrnmo_prodDB on UNIX<br />

or nsrnmo_prodDB.bat on Windows.<br />

All versions of the nsrnmo script must be located in the same directory as the<br />

<strong>NetWorker</strong> executables. Do not move the nsrnmo scripts to a different directory.<br />

Notes:<br />

◆ A nsrnmo script from a previous NMO release works with NMO release <strong>5.0</strong>.<br />

However, the nsrnmo script installed with NMO release <strong>5.0</strong> might include new<br />

parameter settings not found in the script from the previous release.<br />

◆ To facilitate the correct reporting of scheduled backup save sets <strong>for</strong> a UNIX NMO<br />

client within the group details window of the <strong>NetWorker</strong> Management Console<br />

(NMC), specify the following shell within the nsrnmo script on UNIX:<br />

/bin/bash, if it exists on the UNIX client<br />

/bin/ksh, if /bin/bash does not exist on the UNIX client<br />

Editing the nsrnmo.bat file on Windows 2008 or Windows Vista<br />

Only a member of the Microsoft Windows Administrators group can edit the<br />

nsrnmo.bat file or any file located in the <strong>NetWorker</strong>_installation_dir\bin directory on<br />

Windows.<br />

On Windows 2008 or Windows Vista, you must follow these steps to edit the<br />

nsrnmo.bat file in the <strong>NetWorker</strong>_installation_dir\bin directory:<br />

1. Click Start.<br />

2. Right-click Notepad or any other text editor listed as a menu item.<br />

3. Select Run as administrator.<br />

4. Open the <strong>NetWorker</strong>_installation_dir\bin\nsrnmo.bat file in the text editor.<br />

5. Edit and save the nsrnmo.bat file.<br />

The nsrnmo script on Solaris zones<br />

On a Solaris system with Solaris zones, a sparse root zone can have shared directories<br />

that are mounted from the global zone. Such directories are read-only on the sparse<br />

root zone. If NMO is installed on a sparse root zone and /usr is one of the shared<br />

directories, the nsrnmo script in /usr/sbin is read-only on the sparse root zone. In<br />

this case, the nsrnmo script must be edited on the global zone.<br />

If multiple sparse root zones are configured on a physical computer, all of the virtual<br />

sparse root zones see the nsrnmo script in /usr/sbin. In this case, each sparse root<br />

zone should use a unique script filename, such as nsrnmo1, nsrnmo2, and so on. The<br />

Backup Command attribute in the Client resource <strong>for</strong> each sparse root zone must<br />

contain the unique nsrnmo filename <strong>for</strong> that zone. “Configure a Client resource with<br />

NMC” on page 87 provides more in<strong>for</strong>mation on the Client resource.<br />

Parameters in the nsrnmo script<br />

The sample nsrnmo script installed with NMO contains parameters that must be<br />

customized <strong>for</strong> a particular scheduled <strong>Oracle</strong> backup. The parameters in the sample<br />

nsrnmo script are all undefined by default.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Software Configuration<br />

The nsrnmo script contains only the parameters required on the particular system<br />

where the script is installed. The following parameters appear in the nsrnmo script<br />

on specific UNIX systems only:<br />

◆ LD_LIBRARY_PATH appears in the script on:<br />

HP-UX (64-bit Itanium)<br />

Linux<br />

Solaris<br />

◆ LIBPATH appears in the script on AIX.<br />

◆ SHLIB_PATH appears in the script on HP-UX (32-bit and 64-bit PA-RISC).<br />

Follow the instructions in the <strong>Oracle</strong> installation guide to determine which of the<br />

parameters (LD_LIBRARY_PATH, LIBPATH, SHLIB_PATH) to set on a particular<br />

operating system and to what value.<br />

The ORACLE_HOME parameter is mandatory <strong>for</strong> each scheduled backup, and must<br />

be set in the nsrnmo script. The other parameters in the nsrnmo script are optional,<br />

and can be left undefined in the script, if preferred.<br />

Note: For other parameters to be in effect during a scheduled backup, lines must be added in<br />

the nsrnmo script to define and export the parameters. The use of either the UNIX setenv<br />

command or Windows set command to set the parameters has no effect.<br />

The following sections describe the parameters that can be set in the nsrnmo script<br />

<strong>for</strong> scheduled backups. The comments in the nsrnmo script file provide details on the<br />

parameters:<br />

◆ “ORACLE_HOME” on page 81<br />

◆ “LD_LIBRARY_PATH” on page 82<br />

◆ “LIBPATH” on page 82<br />

◆ “SHLIB_PATH” on page 82<br />

◆ “NSR_RMAN_ARGUMENTS” on page 82<br />

◆ “NSR_SB_DEBUG_FILE” on page 83<br />

◆ “ORACLE_SID” on page 83<br />

◆ “ORACLE_USER” on page 83<br />

◆ “PRECMD” on page 84<br />

◆ “POSTCMD” on page 85<br />

◆ “TNS_ADMIN” on page 86<br />

ORACLE_HOME<br />

This parameter is mandatory <strong>for</strong> each scheduled backup. Set ORACLE_HOME in the<br />

nsrnmo script file to the home directory of the <strong>Oracle</strong> Server installation. The RMAN<br />

executable, rman, must be located in the subdirectory bin of $ORACLE_HOME.<br />

For example, if the <strong>Oracle</strong> Server installation is located in the directory<br />

/disk3/oracle/app/oracle/product/10.0, ORACLE_HOME must be set in the<br />

nsrnmo script as follows:<br />

ORACLE_HOME=/disk3/oracle/app/oracle/product/10.0<br />

Configuring a backup with the NMC legacy method 81


Software Configuration<br />

82<br />

LD_LIBRARY_PATH<br />

This parameter is optional <strong>for</strong> a scheduled backup. Set LD_LIBRARY_PATH in the<br />

nsrnmo script file to the pathname of the directory that contains the <strong>Oracle</strong> libraries,<br />

typically $ORACLE_HOME/lib or $ORACLE_HOME/lib64.<br />

For example, if the <strong>Oracle</strong> libraries are located in the directory<br />

/disk3/oracle/app/oracle/product/10.0/lib, set LD_LIBRARY_PATH in the<br />

nsrnmo script as follows:<br />

LD_LIBRARY_PATH=/disk3/oracle/app/oracle/product/10.0/lib<br />

Uncomment the line “export LD_LIBRARY_PATH” (by removing the # symbol at the<br />

start of the line) under the “export_environment variables()” function heading in the<br />

nsrnmo script:<br />

export_environment_variables()<br />

{<br />

export ORACLE_HOME<br />

export NSR_RMAN_ARGUMENTS<br />

:<br />

:<br />

export LD_LIBRARY_PATH<br />

}<br />

LIBPATH<br />

This parameter is optional <strong>for</strong> a scheduled backup. It appears in the nsrnmo script on<br />

AIX only. Set LIBPATH in the nsrnmo script file to the pathname of the directory that<br />

contains the <strong>Oracle</strong> libraries, typically $ORACLE_HOME/lib.<br />

To set LIBPATH in the nsrnmo script, follow the example shown in<br />

“LD_LIBRARY_PATH” on page 82. Replace LD_LIBRARY_PATH with LIBPATH.<br />

Uncomment the line “export LIBPATH” in the script.<br />

SHLIB_PATH<br />

This parameter is optional <strong>for</strong> a scheduled backup. It appears in the nsrnmo script on<br />

HP-UX only. Set SHLIB_PATH in the nsrnmo script file to the pathname of the<br />

directory that contains the <strong>Oracle</strong> libraries, typically $ORACLE_HOME/lib.<br />

To set SHLIB_PATH in the nsrnmo script, follow the example shown in<br />

“LD_LIBRARY_PATH” on page 82. Replace LD_LIBRARY_PATH with<br />

SHLIB_PATH. Uncomment the line “export SHLIB_PATH” in the script.<br />

NSR_RMAN_ARGUMENTS<br />

This parameter is optional <strong>for</strong> a scheduled backup. Set NSR_RMAN_ARGUMENTS to<br />

a double-quoted string that contains any valid combination of options <strong>for</strong> the RMAN<br />

executable, rman. The appropriate <strong>Oracle</strong> Recovery Manager documentation<br />

provides details on the valid options.<br />

For example, to append RMAN output to the message log file<br />

/nsr/applogs/msglog.log, set NSR_RMAN_ARGUMENTS in the nsrnmo script as<br />

follows:<br />

NSR_RMAN_ARGUMENTS="msglog ’/nsr/applogs/msglog.log’ append"<br />

To append RMAN output to the message log file /nsr/applogs/msglog.log if a<br />

Recovery Catalog is not used, set NSR_RMAN_ARGUMENTS in the nsrnmo script<br />

as follows:<br />

NSR_RMAN_ARGUMENTS="nocatalog msglog ’/nsr/applogs/msglog.log’ append"<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Software Configuration<br />

NSR_SB_DEBUG_FILE<br />

This parameter is optional <strong>for</strong> a scheduled backup. It is used only <strong>for</strong> debugging<br />

purposes.<br />

Enable debugging by setting NSR_SB_DEBUG_FILE to the complete pathname of a<br />

file to receive detailed debug in<strong>for</strong>mation <strong>for</strong> the scheduled backup. This file will<br />

exclude MML-specific debug in<strong>for</strong>mation, which is directed to NSR_DEBUG_FILE (if<br />

set in the RMAN script).<br />

Note: If NSR_SB_DEBUG_FILE is undefined (by default), no debug in<strong>for</strong>mation is generated.<br />

If a file with the specified pathname cannot be created, debug in<strong>for</strong>mation is either directed to<br />

the default location or not generated.<br />

For example, to send detailed debug in<strong>for</strong>mation <strong>for</strong> the scheduled backup to the<br />

/usr/logs/schedbkup.log file, set the parameter NSR_SB_DEBUG_FILE in the<br />

nsrnmo script as follows:<br />

NSR_SB_DEBUG_FILE=/usr/logs/schedbkup.log<br />

“NMO error messages” on page 222 provides more in<strong>for</strong>mation on how the debug<br />

in<strong>for</strong>mation is written if the parameter NSR_SB_DEBUG_FILE is set to an invalid<br />

pathname.<br />

ORACLE_SID<br />

This parameter is required <strong>for</strong> a scheduled backup in the following cases:<br />

◆ The connect target and connect rcvcat commands <strong>for</strong> the scheduled backup are<br />

stored in a separate file, and the connect commands are invoked in the RMAN<br />

script by using the @ command.<br />

◆ Save set bundling is enabled <strong>for</strong> the scheduled backup.<br />

◆ A proxy backup is per<strong>for</strong>med with catalog synchronization enabled. Chapter 7,<br />

“Proxy Backups and Restores,” provides more in<strong>for</strong>mation on proxy backups and<br />

catalog synchronization.<br />

Set ORACLE_SID in the nsrnmo script file to the system identifier (SID) value of the<br />

<strong>Oracle</strong> database to be backed up. For example, if catalog synchronization is enabled<br />

<strong>for</strong> proxy backups and the SID of the <strong>Oracle</strong> database to be backed up is orcl10,<br />

ORACLE_SID must be set as follows:<br />

ORACLE_SID=orcl10<br />

ORACLE_USER<br />

This parameter is optional <strong>for</strong> a scheduled backup configured through the legacy<br />

method (without the wizard) on UNIX only.<br />

Enable the scheduled backup <strong>for</strong> operating system authentication by setting<br />

ORACLE_USER to the username of the <strong>Oracle</strong> operating system user, which is set up<br />

to connect to the <strong>Oracle</strong> database through operating system authentication.<br />

Note: Using ORACLE_USER to per<strong>for</strong>m an NMO backup through operating system<br />

authentication is not supported <strong>for</strong> the following:<br />

- A scheduled backup configured through the new configuration wizard.<br />

- A scheduled backup on Microsoft Windows.<br />

- A probe-based backup.<br />

- A scheduled proxy backup.<br />

Configuring a backup with the NMC legacy method 83


Software Configuration<br />

84<br />

!<br />

For example, to per<strong>for</strong>m a scheduled NMO backup on UNIX through operating<br />

system authentication (the backup must be configured through the legacy method),<br />

set ORACLE_USER to the required <strong>Oracle</strong> operating system username:<br />

ORACLE_USER=<strong>Oracle</strong>_OS_username<br />

PRECMD<br />

This parameter is optional. Set PRECMD to the complete pathname of a file containing<br />

a preprocessing script to be executed be<strong>for</strong>e the RMAN backup script.<br />

Note: The pathname value of PRECMD must not contain any spaces. For example, instead of<br />

setting PRECMD to C:\Program Files\Legato\nsr\precmd.bat, set the parameter to<br />

C:\Progra~1\Legato\nsr\precmd.bat.<br />

If the pre-command script fails (returns a nonzero value), the scheduled <strong>Oracle</strong><br />

backup does not proceed (that is, the RMAN script is not executed).<br />

IMPORTANT<br />

The script file must have permissions that allow execution by the root user, as the<br />

scheduled <strong>Oracle</strong> backup is always launched by root. The script should return a<br />

zero value when it succeeds and a nonzero value when it fails. The return of a<br />

nonzero value will cause the scheduled backup to fail.<br />

A sample preprocessing script <strong>for</strong> UNIX is shown as follows. This script is stored in<br />

the file whose complete pathname is specified in the parameter PRECMD in the<br />

nsrnmo script.<br />

For example, if the script is stored in the /usr/scripts/orashutdown file, set the<br />

parameter PRECMD as follows:<br />

PRECMD=/usr/scripts/orashutdown<br />

This sample script shuts down the <strong>Oracle</strong> database, presumably <strong>for</strong> an offline<br />

database backup. The su command is required in the script since the nsrnmo script<br />

runs as root user:<br />

#!/bin/ksh<br />

# Define Site Specifics Here<br />

TARGET_DATABASE=proddb<br />

ERRFILE=/tmp/precmd.log<br />

ORACLE_USER=proddb<br />

#<br />

# Scheduled backup launches as "root" run PRECMD as oracle user<br />

su - $ORACLE_USER -c "{<br />

# Shutdown target database and start in maintenace mode<br />

export ORACLE_SID=$TARGET_DATABASE<br />

svrmgrl


!<br />

status=0<br />

fi<br />

exit $status<br />

Software Configuration<br />

POSTCMD<br />

This parameter is optional. Set POSTCMD to the complete pathname of a file that<br />

contains a postprocessing script to be executed after the RMAN backup script.<br />

Note: The pathname value of POSTCMD must not contain any spaces. For example, instead of<br />

setting POSTCMD to C:\Program Files\Legato\nsr\postcmd.bat, set the parameter to<br />

C:\Progra~1\Legato\nsr\postcmd.bat.<br />

If the RMAN backup script fails, the failure is reported, and the postprocessing script<br />

is executed nevertheless. If the postprocessing script fails, an error message is<br />

reported.<br />

IMPORTANT<br />

The script file must have permissions allowing execution by the root user, as the<br />

scheduled <strong>Oracle</strong> backup is always launched by root. The script should return a<br />

zero value when it succeeds and a nonzero value when it fails.<br />

A sample postprocessing script <strong>for</strong> UNIX is shown as follows. This script is stored in<br />

the file whose complete pathname is specified in the parameter POSTCMD in the<br />

nsrnmo script.<br />

For example, if the script is stored in the /usr/scripts/orastartup file, set the<br />

parameter POSTCMD as follows:<br />

POSTCMD=/usr/scripts/orastartup<br />

This sample script starts up the <strong>Oracle</strong> database, presumably after an offline backup.<br />

The su command is required in the script since the nsrnmo script runs as root user:<br />

#!/bin/ksh<br />

# Define Site Specifics Here<br />

TARGET_DATABASE=proddb<br />

ERRFILE=/tmp/postcmd.log<br />

ORACLE_USER=proddb<br />

#<br />

# Scheduled backup launches as "root" run POSTCMD as user proddb<br />

su - $ORACLE_USER -c "{<br />

# Mount target database as ready <strong>for</strong> use<br />

export ORACLE_SID=$TARGET_DATABASE<br />

svrmgrl


Software Configuration<br />

86<br />

Configure a Group resource with NMC<br />

!<br />

TNS_ADMIN<br />

This parameter is mandatory if the <strong>Oracle</strong> Net configuration files are located in a<br />

directory other than the default $ORACLE_HOME/network/admin directory.<br />

In this case, set the value of TNS_ADMIN to the pathname of the directory that<br />

contains the <strong>Oracle</strong> Net configuration files. To set TNS_ADMIN in the nsrnmo script,<br />

follow the example shown in “LD_LIBRARY_PATH” on page 82. Replace<br />

LD_LIBRARY_PATH with TNS_ADMIN. Uncomment the line “export<br />

TNS_ADMIN” in the script.<br />

Note: As an alternative, you can use the backup configuration wizard to configure the Group<br />

resource, as described in “Configuring a backup with the NMC wizard” on page 72.<br />

“Configuring a probe-based backup” on page 97 provides details on configuration<br />

requirements <strong>for</strong> a probe-based backup.<br />

For a scheduled NMO backup, a <strong>NetWorker</strong> Group resource must be configured that<br />

specifies the attributes of the backup group. The Group resource specifies a set of<br />

<strong>NetWorker</strong> Client resources that all start to back up data at a specified time, once the<br />

following occurs:<br />

◆ The Autostart attribute is enabled.<br />

◆ The backup start time is specified in the Group resource.<br />

By configuring one or more <strong>NetWorker</strong> backup groups <strong>for</strong> scheduled backups, the<br />

backups can be:<br />

◆ Distributed to alleviate network traffic.<br />

◆ Scheduled <strong>for</strong> a time of day when per<strong>for</strong>mance demands on the database and<br />

<strong>NetWorker</strong> server are lower.<br />

One or more Client resources configured <strong>for</strong> the <strong>Oracle</strong> Server host can be assigned to<br />

a <strong>NetWorker</strong> backup group.<br />

All <strong>NetWorker</strong> backup groups can be created and modified. All backup groups except<br />

the Default group can be deleted.<br />

To use the Default group <strong>for</strong> testing scheduled backups, change its Autostart<br />

attribute to Enabled.<br />

Note: To have a regular scheduled backup automatically use a volume pool associated with the<br />

backup group, specify the group name in the Pool resource <strong>for</strong> the volume pool.<br />

IMPORTANT<br />

For a regular scheduled <strong>Oracle</strong> backup, the Snapshot attribute in the Group<br />

resource must be set to False.<br />

You can create a <strong>NetWorker</strong> Group resource with the NMC interface. The <strong>NetWorker</strong><br />

administration guide and NMC online help provide more in<strong>for</strong>mation.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Configure a Schedule resource with NMC<br />

Configure a Client resource with NMC<br />

Software Configuration<br />

Review the summary in<strong>for</strong>mation in “<strong>NetWorker</strong> Schedule resource” on page 66.<br />

Configure the <strong>NetWorker</strong> Schedule resource with NMC, to specify the days of the<br />

week when a scheduled <strong>Oracle</strong> backup runs.<br />

The <strong>NetWorker</strong> server provides several preconfigured schedules. Both the<br />

preconfigured schedules and customized schedules can be created and modified.<br />

The <strong>NetWorker</strong> administration guide and NMC online help provide more<br />

in<strong>for</strong>mation on how to use the NMC interface.<br />

Customize a <strong>NetWorker</strong> Schedule resource <strong>for</strong> an <strong>Oracle</strong> backup. In the Schedule<br />

resource, select a level <strong>for</strong> each day of the week:<br />

◆ Level full, incremental, or level 1 to 9 specifies that the <strong>NetWorker</strong> server runs the<br />

backup script on that day.<br />

◆ Level skip specifies that the <strong>NetWorker</strong> server does not run the backup script on<br />

that day.<br />

Specify the name of the <strong>NetWorker</strong> schedule in the Schedule attribute of the Client<br />

resource, as described in “Configure a Client resource with NMC” on page 87.<br />

Note: As an alternative, you can use the backup configuration wizard to configure the Client<br />

resource, as described in “Configuring a backup with the NMC wizard” on page 72.<br />

“Configuring a probe-based backup” on page 97 provides details on configuration<br />

requirements <strong>for</strong> a probe-based backup.<br />

A <strong>NetWorker</strong> Client resource is a set of attributes assigned to the NMO client host<br />

and stored on the <strong>NetWorker</strong> server. Be<strong>for</strong>e NMO software can be used <strong>for</strong> backups<br />

or restores, a Client resource must be configured <strong>for</strong> the NMO client host.<br />

If the <strong>NetWorker</strong> server software is installed on the NMO client host, a basic Client<br />

resource <strong>for</strong> the NMO client is created automatically during the <strong>NetWorker</strong><br />

installation. The Client resource must be customized <strong>for</strong> an NMO backup.<br />

“<strong>NetWorker</strong> indexes and policies used <strong>for</strong> restores” on page 118 provides more<br />

in<strong>for</strong>mation on how the <strong>NetWorker</strong> server uses the browse and retention policies to<br />

manage <strong>Oracle</strong> backup data and enable the data to be restored.<br />

“Configuring the <strong>NetWorker</strong> Client resource” on page 170 provides in<strong>for</strong>mation on<br />

how to configure the Client resource <strong>for</strong> proxy backups.<br />

To configure the Client resource <strong>for</strong> a regular scheduled backup by using the NMC<br />

interface, specify the required values <strong>for</strong> each attribute, according to Table 5 on<br />

page 88.<br />

Leave the following attributes blank:<br />

◆ Directive<br />

◆ Archive Users<br />

◆ Remote User<br />

◆ Password<br />

Configuring a backup with the NMC legacy method 87


Software Configuration<br />

88<br />

Attribute Description<br />

Note: On a Solaris system with Solaris zones, ensure that the security fields (such as Remote<br />

Access and Privileges) of <strong>NetWorker</strong> resources used during NMO backups and restores refer<br />

to the hostname of the zone in which NMO operates.<br />

Each <strong>Oracle</strong> installation requires a separate Client resource. The Backup Command<br />

attribute of the Client resource must contain only one nsrnmo script name, and<br />

ORACLE_HOME is a mandatory parameter in each nsrnmo script.<br />

If multiple RMAN scripts are specified <strong>for</strong> the Save Set attribute of the Client<br />

resource:<br />

◆ The RMAN scripts are executed in arbitrary order, possibly in parallel.<br />

◆ If the nsrnmo script also contains a well-defined setting <strong>for</strong> PRECMD or<br />

POSTCMD, the precommand and postcommand files will be:<br />

Common <strong>for</strong> all the RMAN scripts<br />

Executed once <strong>for</strong> each RMAN script<br />

The sequence of execution of “precommand–RMAN script–postcommand” triplets is<br />

arbitrary. To include preprocessing and postprocessing with the backups of the<br />

various <strong>Oracle</strong> database instances of an <strong>Oracle</strong> installation, define a separate<br />

<strong>NetWorker</strong> Client resource <strong>for</strong> each <strong>Oracle</strong> instance.<br />

Note: If a scheduled <strong>Oracle</strong> backup is retried, the specified precommand and postcommand<br />

will be executed again <strong>for</strong> that backup.<br />

Figure 6 on page 90 shows a sample Client resource <strong>for</strong> a UNIX NMO client.<br />

Figure 7 on page 91 shows a sample Client resource <strong>for</strong> a Windows NMO client.<br />

Table 5 <strong>NetWorker</strong> Client resource attributes (page 1 of 2)<br />

Name Specifies the hostname of the <strong>Oracle</strong> Server host.<br />

Backup Command For a scheduled backup configured through the legacy method with NMC (not through the wizard), specifies the name of a<br />

single customized nsrnmo script to use <strong>for</strong> the backup.<br />

For example, the nsrnmo script name might be nsrnmo or nsrnmo2 on UNIX, or nsrnmo.bat or nsrnmo2.bat on Windows.<br />

On a Solaris system with Solaris zones where NMO is installed on sparse root zones, the Backup Command attribute in the<br />

Client resource <strong>for</strong> each sparse root zone must contain the unique nsrnmo filename <strong>for</strong> that zone.<br />

Note: If you configure a scheduled backup through the configuration wizard, the wizard automatically adds the nsrnmostart<br />

program name to this attribute. In that case, do not modify this attribute.<br />

Browse Policy Specifies the length of time that the <strong>NetWorker</strong> server retains an entry <strong>for</strong> an <strong>Oracle</strong> backup in the online client file index. This<br />

attribute applies only to scheduled backups.<br />

Note: For a scheduled backup, if the parameter NSR_SAVESET_BROWSE is set as described in Appendix A, “Parameters<br />

in an RMAN Session,” its value overrides the Browse Policy attribute setting in the Client resource.<br />

To set a specific browse policy <strong>for</strong> a manual backup, use the parameter NSR_SAVESET_BROWSE. If the parameter is not<br />

set, the <strong>NetWorker</strong> server uses the most appropriate value <strong>for</strong> the browse policy.<br />

Group Specifies the <strong>NetWorker</strong> backup group to use <strong>for</strong> a scheduled backup. “Configure a Group resource with NMC” on page 86<br />

provides more in<strong>for</strong>mation on <strong>NetWorker</strong> backup groups.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Attribute Description<br />

Table 5 <strong>NetWorker</strong> Client resource attributes (page 2 of 2)<br />

Software Configuration<br />

Remote Access Specifies the fully qualified hostname of a remote system, to enable restores of the backups to that remote system.<br />

On a Solaris system with Solaris zones, the Remote Access attribute must contain the hostname of the zone in which NMO<br />

operates.<br />

Note: If backups from a cluster, or recovery to a host other than the one being backed up, are not required, do not modify the<br />

Remote Access attribute.<br />

Retention Policy Specifies the minimum length of time that the <strong>NetWorker</strong> server maintains in<strong>for</strong>mation about <strong>Oracle</strong> backup data in the online<br />

media database. This attribute applies only to scheduled backups.<br />

Note: For a scheduled backup, if the parameter NSR_SAVESET_RETENTION is set as described in Appendix A,<br />

“Parameters in an RMAN Session,” its value overrides the Retention Policy attribute setting in the Client resource.<br />

To set a specific retention policy <strong>for</strong> a manual backup, use the parameter NSR_SAVESET_RETENTION. If the parameter is<br />

not set, the <strong>NetWorker</strong> server uses the most appropriate value <strong>for</strong> the retention policy.<br />

Save Set Specifies the complete pathname of each RMAN script to be used <strong>for</strong> a scheduled backup, preceded by RMAN:. Do not<br />

include any spaces between the prefix RMAN: and the script name. On Windows, the pathname can include <strong>for</strong>ward slashes,<br />

<strong>for</strong> example, RMAN:F:/scripts/incr_1_bkup.<br />

For example, if two separate RMAN backup scripts are created in the files /disk/rman_scripts/archlogbkup and<br />

/disk/rman_scripts/fullbkup (to be run by the nsrnmo script in the Backup Command attribute), specify the complete file<br />

pathnames prepended by RMAN: in the Save Set attribute:<br />

RMAN:/disk/rman_scripts/archlogbkup<br />

RMAN:/disk/rman_scripts/fullbkup<br />

Note: If you configure a scheduled backup through the configuration wizard, the wizard automatically includes the prefix<br />

RMAN: in the Save Set attribute setting, as described in “Backup configuration storage with the wizard” on page 31.<br />

The save set in<strong>for</strong>mation <strong>for</strong> the scheduled backup is stored in the <strong>NetWorker</strong> indexes as described in:<br />

“Regular backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes” on page 114<br />

“Deduplication backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes” on page 115<br />

Schedule Specifies the <strong>NetWorker</strong> backup schedule to use <strong>for</strong> a scheduled backup. “Configure a Schedule resource with NMC” on<br />

page 87 provides more in<strong>for</strong>mation on <strong>NetWorker</strong> backup schedules.<br />

Configuring a backup with the NMC legacy method 89


Software Configuration<br />

90<br />

Figure 6 UNIX Client resource <strong>for</strong> scheduled backups<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Figure 7 Windows Client resource <strong>for</strong> scheduled backups<br />

Software Configuration<br />

Configure an email notification<br />

To send an email notification of the scheduled backup results to the owner of a save<br />

set, edit the Owner Notification attribute in the Client resource <strong>for</strong> the <strong>Oracle</strong> Server<br />

(or <strong>Oracle</strong> instance).<br />

In the Owner Notification attribute, specify a notification command directed to the<br />

login ID of the owner, <strong>for</strong> example:<br />

Configure save set bundling<br />

/usr/bin/mail -s “server1-server2-server3 backup” jdoe<br />

The <strong>NetWorker</strong> administration guide and NMC online help provide more<br />

in<strong>for</strong>mation on how to edit the attributes of the <strong>NetWorker</strong> Client resource.<br />

This section describes how to manually configure save set bundling <strong>for</strong> NMO<br />

scheduled backups.<br />

As an alternative, you can use the backup configuration wizard to configure the<br />

scheduled backup and set the NSR_BUNDLING parameter to enable save set<br />

bundling. “Configuring a backup with the NMC wizard” on page 72 provides more<br />

in<strong>for</strong>mation.<br />

Save set bundling can be enabled and disabled independently of policy uni<strong>for</strong>mity. If<br />

save set bundling is enabled, policy uni<strong>for</strong>mity should also be enabled, as described<br />

in “Configure policy uni<strong>for</strong>mity” on page 92.<br />

Configuring a backup with the NMC legacy method 91


Software Configuration<br />

92<br />

Configure policy uni<strong>for</strong>mity<br />

To enable save set bundling:<br />

◆ Set the NSR_BUNDLING parameter value to enabled by typing the following<br />

command:<br />

nsrnmoadmin -r add NSR_BUNDLING enabled<br />

By default, the NSR_BUNDLING parameter is disabled.<br />

“Configuring the NWORA resource file with the nsrnmoadmin program” on<br />

page 188 provides details on the nsrnmoadmin command. The command sets the<br />

parameter value in the NWORA resource file, which is described in “The<br />

NWORA resource file” on page 183.<br />

◆ Ensure that NMO scheduled backups are configured properly according to the<br />

“Configuration roadmap” on page 62.<br />

◆ Ensure that the user group privileges <strong>for</strong> the root or administrative user on the<br />

NMO client include the Operate <strong>NetWorker</strong> privileges. The corresponding User<br />

Group resource is configured on the <strong>NetWorker</strong> server, as described in<br />

“<strong>NetWorker</strong> user group privileges” on page 64.<br />

◆ If the proper username and password are not located in the RMAN script (<strong>for</strong><br />

example, the connection strings are included as a command file in the RMAN<br />

script, such as @connection_file), ensure the following:<br />

The ORACLE_SID parameter is set in the nsrnmo script, as described in<br />

“Customize the nsrnmo script” on page 79.<br />

An NWORA SID resource with the NSR_ORACLE_CONNECT_FILE<br />

parameter setting is created in the NWORA resource file (nwora.res) <strong>for</strong> the<br />

ORACLE_SID, as described in “NWORA SID resources” on page 186.<br />

NMO cannot retrieve the connection strings from the RMAN script when the<br />

connection strings are included as a command file in the script. In this case, NMO<br />

must retrieve the connection strings from the connection file specified by the<br />

parameter in the NWORA resource file.<br />

◆ Ensure that the <strong>NetWorker</strong> server is release 7.4 or later, to support staging of the<br />

NMO save set bundles.<br />

◆ In a RAC system, ensure that all channels are allocated on the same NMO client<br />

node where the backup is initiated. Save set bundling does not support load<br />

balancing across different RAC nodes.<br />

To disable save set bundling, set the NSR_BUNDLING parameter value to disabled by<br />

typing the following command:<br />

nsrnmoadmin -r update NSR_BUNDLING disabled<br />

This section describes how to manually configure policy uni<strong>for</strong>mity <strong>for</strong> NMO<br />

backups.<br />

As an alternative, you can use the backup configuration wizard to set the<br />

NSR_INCR_EXPIRATION parameter to enable policy uni<strong>for</strong>mity. “Configuring a<br />

backup with the NMC wizard” on page 72 provides more in<strong>for</strong>mation.<br />

Policy uni<strong>for</strong>mity can be enabled and disabled independently of save set bundling. If<br />

save set bundling is enabled, as described in “Configure save set bundling” on<br />

page 91, policy uni<strong>for</strong>mity should also be enabled.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


To enable policy uni<strong>for</strong>mity:<br />

Software Configuration<br />

◆ Set the NSR_INCR_EXPIRATION parameter value to enabled by typing the<br />

following command:<br />

nsrnmoadmin -r add NSR_INCR_EXPIRATION enabled<br />

By default, the NSR_INCR_EXPIRATION parameter is disabled.<br />

“Configuring the NWORA resource file with the nsrnmoadmin program” on<br />

page 188 provides details on the nsrnmoadmin command. The command sets the<br />

parameter value in the NWORA resource file, which is described in “The<br />

NWORA resource file” on page 183.<br />

◆ Ensure that NMO scheduled backups are configured properly according to the<br />

“Configuration roadmap” on page 62.<br />

◆ Ensure that the user group privileges <strong>for</strong> the root or administrative user on the<br />

NMO client include the Operate <strong>NetWorker</strong> privileges. The corresponding User<br />

Group resource is configured on the <strong>NetWorker</strong> server, as described in<br />

“<strong>NetWorker</strong> user group privileges” on page 64.<br />

◆ If the proper username and password are not located in the RMAN script (<strong>for</strong><br />

example, the connection strings are included as a command file in the RMAN<br />

script, such as @connection_file), ensure the following:<br />

The ORACLE_SID parameter is set in the nsrnmo script, as described in<br />

“Customize the nsrnmo script” on page 79.<br />

An NWORA SID resource with the NSR_ORACLE_CONNECT_FILE<br />

parameter setting is created in the NWORA resource file (nwora.res) <strong>for</strong> the<br />

ORACLE_SID, as described in “NWORA SID resources” on page 186.<br />

NMO cannot retrieve the connection strings from the RMAN script when the<br />

connection strings are included as a command file in the script. In this case, NMO<br />

must retrieve the connection strings from the connection file specified by the<br />

parameter in the NWORA resource file.<br />

◆ In a RAC system, ensure that all channels are allocated on the same NMO client<br />

node where the backup is initiated. Policy uni<strong>for</strong>mity does not support load<br />

balancing across different RAC nodes.<br />

To disable policy uni<strong>for</strong>mity, set the NSR_INCR_EXPIRATION parameter value to<br />

disabled by typing the following command:<br />

Configuring a deduplication backup<br />

nsrnmoadmin -r update NSR_INCR_EXPIRATION disabled<br />

To configure a deduplication NMO backup:<br />

1. Review the following sections:<br />

“Deduplication backups and restores” on page 21<br />

“Requirements <strong>for</strong> a deduplication backup” on page 94<br />

“Best practices <strong>for</strong> a deduplication backup” on page 94<br />

2. Follow the configuration steps in “Configure a deduplication backup” on<br />

page 95.<br />

Configuring a deduplication backup 93


Software Configuration<br />

94<br />

Requirements <strong>for</strong> a deduplication backup<br />

Best practices <strong>for</strong> a deduplication backup<br />

Be<strong>for</strong>e you configure a deduplication backup, ensure that all of the following<br />

requirements are met:<br />

◆ The NMO client plat<strong>for</strong>m and operating system support deduplication. The <strong>EMC</strong><br />

In<strong>for</strong>mation Protection Software Compatibility <strong>Guide</strong> on the Powerlink website<br />

provides details on the plat<strong>for</strong>ms and operating systems that support<br />

deduplication.<br />

◆ The <strong>NetWorker</strong> client and server releases support NMO deduplication. The<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes provides more details.<br />

◆ The Avamar server is installed and configured as a <strong>NetWorker</strong> deduplication<br />

node. The <strong>NetWorker</strong> documentation provides more details.<br />

◆ The <strong>NetWorker</strong> backup device (receives only the backup metadata or hash ID<br />

during the NMO deduplication backup) is configured as an advanced file type<br />

device (AFTD), as described in the <strong>NetWorker</strong> administration guide.<br />

This section provides recommendations on when to use NMO deduplication, and<br />

configuration tips to improve the per<strong>for</strong>mance of a deduplication backup.<br />

The benefits of deduplication are dependent on the environment. Deduplication may<br />

be beneficial in a data warehouse environment where the data does not change<br />

frequently. It may also be beneficial <strong>for</strong> databases where only a small percentage of<br />

data is updated repeatedly, or new data is added to a database but the old data does<br />

not change much.<br />

Deduplication is not recommended <strong>for</strong> RMAN incremental backups. During an<br />

incremental backup, <strong>Oracle</strong> transmits only the data blocks that have changed, which<br />

guarantees a very low rate of duplication. When the overhead of deduplicating data<br />

is added to the overhead of an <strong>Oracle</strong> incremental backup, the result is decreased<br />

per<strong>for</strong>mance and insignificant benefits <strong>for</strong> the amount of data stored.<br />

During planning and configuration of a deduplication backup, keep in mind these<br />

best practices that can improve the backup per<strong>for</strong>mance:<br />

◆ Do not create more than four backup channels <strong>for</strong> a deduplication backup.<br />

◆ Do not use RMAN multiplexing <strong>for</strong> a deduplication backup. To disable<br />

multiplexing, ensure that filesperset is set to 1.<br />

If you use the wizard to configure the deduplication backup, ensure that the<br />

Filesperset field is set to 1 on the Specify the RMAN Options (Part 1 of 2) screen.<br />

◆ Do not use RMAN binary compression (<strong>for</strong> example, ZLIB) with a deduplication<br />

backup.<br />

◆ Do not include a deduplication client in the same group as non-deduplication<br />

clients.<br />

◆ Once a deduplication node (Avamar server) is selected <strong>for</strong> an initial full backup<br />

of a client, continue to use the same deduplication node <strong>for</strong> all of the client's<br />

backups, to take advantage of the data already stored on the server.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Configure a deduplication backup<br />

Software Configuration<br />

◆ Schedule a deduplication backup to avoid the Avamar server read-only periods.<br />

An Avamar server spends periods of time in maintenance mode, where it may be<br />

unavailable <strong>for</strong> backup or have limited bandwidth.<br />

Note: A deduplication NMO backup that runs during such a maintenance mode period<br />

may be suspended until the Avamar server resources become available.<br />

◆ Ensure that the same cache is used to back up the same data every time by not<br />

changing the values of the parameters NSR_DEDUP_CACHE_ENABLED and<br />

NSR_DEDUP_CACHE_TAG. The following sources provide more details:<br />

“NSR_DEDUP_CACHE_ENABLED” on page 203<br />

“NSR_DEDUP_CACHE_TAG” on page 204<br />

◆ Associate the backup of specific tablespaces with a specific channel to ensure that<br />

<strong>Oracle</strong> does not distribute the data to a different channel when the database<br />

structure or size changes.<br />

For example, the following RMAN backup script shows how to associate<br />

tablespaces with a channel:<br />

run {<br />

allocate channel c1 type 'SBT_TAPE';<br />

send channel c1 'NSR_ENV=(NSR_DEDUP_CACHE_TAG=orcl102_c1)';<br />

allocate channel c2 type 'SBT_TAPE';<br />

send channel c2 'NSR_ENV=(NSR_DEDUP_CACHE_TAG=orcl102_c2)';<br />

send 'NSR_ENV=(NSR_DEDUP_BACKUP=TRUE,<br />

NSR_DEDUP_NODE=avamar.emc.com)';<br />

backup filesperset=1<br />

(tablespace tbs1, tbs5 channel c1)<br />

(tablespace tbs2, tbs3, tbs4 channel c2);<br />

release channel c1;<br />

release channel c2;<br />

}<br />

◆ Group tablespaces that contain similar (duplicated) data and associate them with<br />

the same channel. This practice requires familiarity with the database data. A<br />

tablespace must also be added to the backup script when a new tablespace is<br />

created.<br />

Avamar and <strong>NetWorker</strong> documentation provides more in<strong>for</strong>mation on Avamar<br />

server and <strong>NetWorker</strong> requirements <strong>for</strong> deduplication backups.<br />

To configure a scheduled deduplication backup, you can use either the configuration<br />

wizard or the legacy configuration method.<br />

Note: You must configure a manual deduplication backup with the legacy method only.<br />

However, you can generate the base RMAN script <strong>for</strong> a manual backup with the configuration<br />

wizard, described in “Configuring a backup with the NMC wizard” on page 72.<br />

◆ To use the configuration wizard (<strong>for</strong> a scheduled backup only), follow the<br />

instructions in “Configuring a backup with the NMC wizard” on page 72.<br />

On the Specify the De-duplication Options screen, apply these additional<br />

settings:<br />

Select to enable deduplication.<br />

Specify the hostname of the deduplication node (Avamar server) that will<br />

store the deduplicated backup data.<br />

Configuring a deduplication backup 95


Software Configuration<br />

96<br />

When you select to enable deduplication, the wizard automatically sets the<br />

parameter NSR_DEDUP_CACHE_TAG <strong>for</strong> each channel.<br />

Note: You cannot override the default NSR_DEDUP_CACHE_TAG setting.<br />

◆ To use the legacy configuration method (without the wizard), follow the<br />

instructions in “Configuring a backup with the NMC legacy method” on page 75.<br />

Note: For a manual deduplication backup, the Client resource needs to include only the<br />

two attribute settings in step a on page 96.<br />

Apply these additional settings <strong>for</strong> a deduplication backup:<br />

a. Set the following attributes in the Client resource <strong>for</strong> the NMO client by using<br />

NMC:<br />

– Select the De-duplication Backup attribute, to enable deduplication.<br />

– For the De-duplication Node attribute, specify the hostname of the<br />

deduplication node (Avamar server) that will store the deduplicated<br />

backup data.<br />

Note: For a manual deduplication backup, the De-duplication Node attribute must<br />

have the same value as the NSR_DEDUP_NODE setting in the RMAN script.<br />

b. Set the following parameters in the RMAN backup script, if required:<br />

– “NSR_DEDUP_BACKUP” on page 203 (<strong>for</strong> a manual backup only)<br />

– “NSR_DEDUP_CACHE_TAG” on page 204<br />

– “NSR_DEDUP_NODE” on page 204 (<strong>for</strong> a manual backup only)<br />

Example 13 on page 96 shows a sample RMAN script <strong>for</strong> a manual<br />

deduplication backup.<br />

For a scheduled deduplication backup, if the Client resource contains the two<br />

attribute settings described in step a on page 96, the RMAN script must not<br />

include the parameters NSR_DEDUP_BACKUP and NSR_DEDUP_NODE.<br />

Example 13 RMAN script <strong>for</strong> a manual deduplication backup<br />

The following RMAN script shows the mandatory parameter settings <strong>for</strong> a manual<br />

deduplication backup. The NSR_DEDUP_CACHE_TAG parameter must be set to a<br />

different value <strong>for</strong> each allocated channel:<br />

run {<br />

allocate channel ch1 type 'SBT_TAPE';<br />

allocate channel ch2 type 'SBT_TAPE’';<br />

send 'NSR_ENV=(NSR_SERVER=mars.emc.com, NSR_CLIENT=oracle.emc.com,<br />

NSR_DEDUP_BACKUP=TRUE, NSR_DEDUP_NODE=node3.emc.com)';<br />

send channel ch1 'NSR_ENV=(NSR_DEDUP_CACHE_TAG=ora11_ch1)';<br />

send channel ch2 'NSR_ENV=(NSR_DEDUP_CACHE_TAG=ora11_ch2)';<br />

backup full filesperset 4 <strong>for</strong>mat 'FULL_%d_%U' (database);<br />

release channel ch1;<br />

release channel ch2;<br />

}<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Configuring a probe-based backup<br />

Requirements <strong>for</strong> a probe-based backup<br />

Configure a probe-based backup<br />

To configure a probe-based NMO backup:<br />

1. Review the following sections:<br />

“Probe-based backups” on page 23<br />

Software Configuration<br />

“Requirements <strong>for</strong> a probe-based backup” on page 97<br />

2. Follow the configuration steps in “Configure a probe-based backup” on page 97.<br />

Be<strong>for</strong>e you configure a probe-based backup, ensure that the following requirements<br />

are met:<br />

◆ The required <strong>NetWorker</strong> releases are installed, as described in the <strong>NetWorker</strong><br />

<strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes.<br />

◆ If you want to use the nsrnmoprobe program provided with NMO to check <strong>for</strong><br />

the number of <strong>Oracle</strong> logs generated since the last probe-based backup (as a<br />

condition that triggers a probe-based backup), ensure that you have reviewed the<br />

details on nsrnmoprobe in “Configure a probe-based backup” on page 97.<br />

◆ If you want to check <strong>for</strong> a user-defined condition (other than the number of<br />

generated <strong>Oracle</strong> logs) that triggers a probe-based backup, a script/program is<br />

created that meets the requirements of the Probe Command attribute of the Probe<br />

resource, as described in “Configure a probe-based backup” on page 97.<br />

For example, the user-defined condition that triggers a probe-based backup is<br />

that more than two tape drives are idle in a jukebox. To check <strong>for</strong> this condition, a<br />

script named nsrjukeboxprobe is created in the /usr/sbin directory on Solaris.<br />

When the script runs and checks the number of idle tape drives in the jukebox, it<br />

returns one of the following values:<br />

0 — Signifies that more than two tape drives are idle in the jukebox.<br />

1 — Signifies that two or fewer tape drives are idle in the jukebox.<br />

Other than 0 or 1 — Signifies that an error occurred during the probe.<br />

The <strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on user-defined<br />

probes in the section on creating a client probe.<br />

To configure a probe-based NMO backup:<br />

1. Create a separate <strong>NetWorker</strong> Probe resource <strong>for</strong> the nsrnmoprobe program and<br />

any other script/program that checks <strong>for</strong> a user-defined condition. Set the Probe<br />

resource attributes as described in Table 6 on page 98.<br />

Configuring a probe-based backup 97


Software Configuration<br />

98<br />

Attribute Description<br />

Table 6 <strong>NetWorker</strong> Probe resource attributes<br />

Name Name of the Probe resource <strong>for</strong> the probe script/program used to check <strong>for</strong> a probe-based backup condition. Each Probe<br />

resource must have a unique name, which does not have to be the same as the probe script/program name.<br />

Probe Command Name and path of the probe script/program that checks (“probes”) <strong>for</strong> the condition that triggers a probe-based backup. The<br />

script/program meets the following requirements:<br />

Name starts with nsr or save.<br />

Location is the same directory as used <strong>for</strong> the <strong>NetWorker</strong> client binaries.<br />

Permissions of the script/program file include the “execute” permission.<br />

Returns one of the following code values when it finishes running its probe:<br />

- 0 — Signifies that the backup condition has been met.<br />

- 1 — Signifies that the backup condition has not been met.<br />

- Other than 0 or 1 - Signifies that an error occurred during the probe.<br />

To use the probe program that is included with the NMO software, set this attribute to nsrnmoprobe. The nsrnmoprobe<br />

program checks <strong>for</strong> the number of <strong>Oracle</strong> logs generated since the last probe-based backup and triggers a new probe-based<br />

backup when the number exceeds the change threshold.<br />

Command Options Required <strong>for</strong> the nsrnmoprobe program only, a comma-separated list of the settings of one or more of the following<br />

parameters. Example 14 on page 99 outlines the parameter settings that nsrnmoprobe requires in each possible scenario.<br />

Parameter Description<br />

LOG_THRESHOLD Mandatory. Specifies the change threshold, which is the minimum number of redo logs<br />

(generated since the last probe-based backup) required to trigger a new probe-based<br />

backup. When the number of logs generated since the last probe-based backup equals<br />

or exceeds the change threshold, nsrnmoprobe triggers a probe-based backup.<br />

NSR_DEBUG_FILE Optional. Specifies the pathname of the log file that receives debug in<strong>for</strong>mation from<br />

the probe-based backup triggered by nsrnmoprobe.<br />

NSR_ORACLE_CONNECT_FILE Set only if both of the following are true:<br />

The Client resource is not configured with the wizard; it is configured through the<br />

legacy method with NMC.<br />

The NWORA resource file is not set up with the <strong>Oracle</strong> home and database<br />

connection in<strong>for</strong>mation.<br />

Specifies the pathname of the RMAN connection file, which contains the connection<br />

strings required to connect to the <strong>Oracle</strong> database that is to be probed.<br />

Example 14 on page 99 provides a sample setting of this parameter.<br />

ORACLE_HOME Set only if both of the following are true:<br />

The Client resource is not configured with the wizard; it is configured through the<br />

legacy method with NMC.<br />

The NWORA resource file is not set up with the <strong>Oracle</strong> home and database<br />

connection in<strong>for</strong>mation.<br />

Specifies the home directory pathname <strong>for</strong> the <strong>Oracle</strong> database that is to be probed.<br />

Example 14 on page 99 provides a sample setting of this parameter.<br />

ORACLE_SERVICE Set only if both of the following are true:<br />

The Client resource is not configured with the wizard; it is configured through the<br />

legacy method with NMC.<br />

The NWORA resource file is set up with the <strong>Oracle</strong> home and database connection<br />

in<strong>for</strong>mation through the command nsrnmoadmin –r add sid=Net_service_name<br />

home=<strong>Oracle</strong>_home connect=connect_filepath.<br />

Specifies the Net service name <strong>for</strong> the <strong>Oracle</strong> database that is to be probed. In this<br />

case, the ORACLE_SERVICE setting must be the same as the NSR_ORACLE_SID<br />

setting in the NWORA resource file.<br />

Example 14 on page 99 provides a sample setting of this parameter.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Software Configuration<br />

Note: The State attribute of the Probe resource is visible only in diagnostic mode. At the<br />

end of each successful probe-based backup, the nsrnmoprobe program stores the current<br />

log sequence number and database instance number in the State attribute. The State<br />

attribute is not used with user-defined probes.<br />

2. Configure the <strong>NetWorker</strong> Group resource <strong>for</strong> a probe-enabled backup group. Set<br />

the probe-specific attributes in the Group resource, as described in the <strong>NetWorker</strong><br />

administration guide (the section on creating and scheduling a probe group). The<br />

Group resource has been extended to include several new attributes that must be<br />

set <strong>for</strong> a probe-based backup group.<br />

When probing is enabled through the Group resource attributes, probing occurs<br />

continuously throughout the backup window, which is the time window defined<br />

by the Probe Start Time and Probe End Time attributes.<br />

Note: If a probe-enabled backup group is started manually, probing occurs immediately<br />

(only once, not repeatedly at intervals) and the backup starts only if the probe conditions<br />

are met.<br />

3. Configure the <strong>NetWorker</strong> Client resource <strong>for</strong> the NMO client according to the<br />

instructions in the appropriate section:<br />

“Configuring a backup with the NMC wizard” on page 72<br />

“Configure a Client resource with NMC” on page 87<br />

In the Client resource:<br />

For the Probe attribute, specify the name of the required Probe resource from<br />

step 1. This attribute associates the Client resource with the probe<br />

script/program specified in the Probe resource.<br />

Note: A Client resource can be associated with only one probe.<br />

The configuration wizard does not display the Probe field. If you configure a Client<br />

resource with the wizard, you must then use NMC manually to edit the Client resource<br />

and set the Probe attribute.<br />

For the Group attribute, specify the probe-enabled group from step 2.<br />

Note: A probe-based backup group must include at least one probe-enabled client.<br />

Example 15 on page 100 describes the configuration of a probe-based backup that<br />

is triggered by both nsrnmoprobe and a user-defined probe.<br />

Example 14 Possible Command Options settings <strong>for</strong> the nsrnmoprobe program<br />

To use the nsrnmoprobe program that is provided with the NMO software, the Probe<br />

resource must be set up properly, as described in “Configure a probe-based backup”<br />

on page 97.<br />

Configuring a probe-based backup 99


Software Configuration<br />

100<br />

The Command Options attribute in the Probe resource must include specific<br />

parameter settings, which depend on the particular scenario:<br />

◆ The LOG_THRESHOLD parameter is always mandatory.<br />

◆ The NSR_DEBUG_FILE parameter is optional.<br />

◆ Three possible scenarios dictate the required settings in the Command Options<br />

attribute:<br />

a. The Client resource has been configured through the legacy method with<br />

NMC (not with the wizard), and the NWORA resource file has not been set up<br />

with the <strong>Oracle</strong> home and database connection in<strong>for</strong>mation.<br />

In this case, Command Options must include the parameters<br />

LOG_THRESHOLD, NSR_ORACLE_CONNECT_FILE, and<br />

ORACLE_HOME. (NSR_DEBUG_FILE is optional.)<br />

For example, Command Options is set as follows:<br />

LOG_THRESHOLD=10, NSR_DEBUG_FILE=/tmp/probe.log,<br />

NSR_ORACLE_CONNECT_FILE=/RMAN/rmanpw,<br />

ORACLE_HOME=/oracle/hp_11_31_ia/64bit/product/11.1.0.6.0<br />

b. The Client resource has been configured with the wizard, and the NWORA<br />

resource file has not been set up with the <strong>Oracle</strong> home and database<br />

connection in<strong>for</strong>mation.<br />

In this case, Command Options must include the LOG_THRESHOLD<br />

parameter. (NSR_DEBUG_FILE is optional.)<br />

For example, Command Options is set as follows:<br />

LOG_THRESHOLD=10, NSR_DEBUG_FILE=/tmp/probe.log<br />

c. The Client resource has been configured through the legacy method with<br />

NMC (without the wizard), and the NWORA resource file is set up to retrieve<br />

<strong>Oracle</strong> home and database connection in<strong>for</strong>mation.<br />

In this case, the NWORA resource file must be set up through the command<br />

nsrnmoadmin –r add sid=Net_service_name home=<strong>Oracle</strong>_home<br />

connect=connect_filepath. Command Options must include the parameters<br />

LOG_THRESHOLD and ORACLE_SERVICE, where ORACLE_SERVICE is set<br />

to the same Net service name as NSR_ORACLE_SID in the NWORA file.<br />

(NSR_DEBUG_FILE is optional.)<br />

“Configuring the NWORA resource file with the nsrnmoadmin program” on<br />

page 188 provides important details on the nsrnmoadmin command.<br />

For example, Command Options is set as follows:<br />

LOG_THRESHOLD=10, NSR_DEBUG_FILE=/tmp/probe.log,<br />

ORACLE_SERVICE=proddb.world<br />

Example 15 Multiple probes <strong>for</strong> a probe-based backup<br />

A probe-based backup is triggered when both of the following are true:<br />

◆ At least 25 <strong>Oracle</strong> log files are generated on an NMO client named mars.<br />

◆ More than two tape drives are idle in a jukebox, attached to a <strong>NetWorker</strong> storage<br />

node named marmaris. (The jukebox is used to save the data <strong>for</strong> the probe-based<br />

backup.)<br />

Both the NMO client and storage node are Solaris machines.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Software Configuration<br />

The nsrnmoprobe program is installed with the NMO software in /usr/sbin on the<br />

NMO client. The nsrnmoprobe program checks <strong>for</strong> the number of <strong>Oracle</strong> log files<br />

generated on the NMO client.<br />

A script named nsrjukeboxprobe is created with “execute” permissions and stored in<br />

the /usr/sbin directory on the storage node. The script checks <strong>for</strong> the number of idle<br />

tape drives in the jukebox, and returns either of two values:<br />

◆ 0 — Signifies that more than two tape drives are idle in the jukebox.<br />

◆ 1 — Signifies that two or fewer tape drives are idle in the jukebox.<br />

To configure the probe-based backup, the following steps are per<strong>for</strong>med:<br />

1. A Probe resource is created <strong>for</strong> the nsrnmoprobe program with the following<br />

attribute settings:<br />

Name — NMO probe<br />

Probe Command — nsrnmoprobe<br />

Command Options — LOG_THRESHOLD=25,<br />

NSR_DEBUG_FILE=/tmp/probe.log<br />

2. A Probe resource is created <strong>for</strong> the user-defined probe with the following<br />

attribute settings:<br />

Name — Jukebox probe<br />

Probe Command — nsrjukeboxprobe<br />

3. A Group resource is created with the required attribute settings <strong>for</strong> the<br />

probe-enabled backup group, including the following:<br />

Name — probe_group<br />

Probe Based Backup — Enabled (this is a checkbox in NMC)<br />

Probe Success Criteria — All<br />

4. A Client resource is created <strong>for</strong> the NMO client through the configuration wizard.<br />

The Client resource includes the following attribute settings:<br />

Name — mars<br />

Backup Command — nsrnmostart -C<br />

Group — probe_group<br />

Probe — NMO probe<br />

Save Set — RMAN:/orcl102_FULL<br />

5. A Schedule resource is created with the following attribute settings:<br />

Name — SkipAll<br />

Period — Either Week or Month<br />

Calendar — Skip level is selected <strong>for</strong> every day in the period<br />

6. A “dummy” Client resource is created <strong>for</strong> the storage node through the legacy<br />

method (without the wizard). The Client resource includes the following attribute<br />

settings:<br />

Name — marmaris<br />

Backup Command — (blank)<br />

Group — probe_group<br />

Configuring a probe-based backup 101


Software Configuration<br />

102<br />

Probe — Jukebox probe<br />

Save Set — SKIP (a keyword is required in this attribute)<br />

Schedule — SkipAll<br />

Note: The Skip level in the SkipAll schedule causes the backup to be skipped on the<br />

storage node. The probe runs on the storage node as specified through the Group<br />

resource; the probe is not affected by the Schedule resource.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This chapter includes the following major sections:<br />

3<br />

Backup Procedures<br />

◆ Manual backup procedures ....................................................................................... 104<br />

◆ Scheduled backup procedures ................................................................................... 110<br />

◆ Regular backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes............................................... 114<br />

◆ Deduplication backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes.................................... 115<br />

Backup Procedures 103


Backup Procedures<br />

104<br />

Manual backup procedures<br />

!<br />

To per<strong>for</strong>m a manual NMO backup of <strong>Oracle</strong> data:<br />

1. Review in<strong>for</strong>mation in “Product features” on page 20 about the features that<br />

apply to your particular backup.<br />

2. Review “Requirements <strong>for</strong> a manual backup” on page 104.<br />

3. Review the in<strong>for</strong>mation on how to cancel a manual backup in “Cancel a manual<br />

backup” on page 107.<br />

4. Per<strong>for</strong>m the manual backup by either of the following methods:<br />

Use the RMAN command line interface, according to “Manual backup<br />

through the RMAN command line interface” on page 105.<br />

Use the <strong>Oracle</strong> Enterprise Manager Backup Management Tools, according to<br />

“Manual backup through <strong>Oracle</strong> Enterprise Manager Backup Management<br />

Tools” on page 105.<br />

IMPORTANT<br />

Requirements <strong>for</strong> a manual backup<br />

The <strong>NetWorker</strong> server bootstrap and client indexes are not automatically backed<br />

up at the end of a manual <strong>Oracle</strong> backup, as they are <strong>for</strong> a scheduled <strong>Oracle</strong><br />

backup. After running a manual <strong>Oracle</strong> backup, per<strong>for</strong>m a <strong>NetWorker</strong> server<br />

bootstrap backup according to “<strong>NetWorker</strong> server bootstrap backup” on page 106.<br />

Regular <strong>NetWorker</strong> server bootstrap backups help to ensure adequate preparation<br />

<strong>for</strong> disaster recovery.<br />

“Monitor a manual backup” on page 108 provides in<strong>for</strong>mation on how to monitor the<br />

status of a manual NMO backup.<br />

“Scheduled backup procedures” on page 110 provides in<strong>for</strong>mation on scheduled<br />

NMO backups.<br />

Be<strong>for</strong>e starting a manual backup, ensure that the required configurations and scripts<br />

are in place:<br />

◆ The <strong>Oracle</strong> system is properly configured, as described in Chapter 2, “Software<br />

Configuration.”<br />

The <strong>Oracle</strong> Server has the Net service configured. If a Recovery Catalog is to be<br />

used, the Recovery Catalog is set up and the target database registered.<br />

◆ The <strong>NetWorker</strong> server has the required resources configured, as described in<br />

Chapter 2, “Software Configuration”:<br />

Server<br />

Client<br />

Device<br />

Pool<br />

◆ If using an RMAN script <strong>for</strong> the manual backup, the script is created, as described<br />

in “Create RMAN scripts <strong>for</strong> backups” on page 75.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Backup Procedures<br />

◆ The required backup devices and volumes are set up:<br />

A volume is labeled (and mounted, as required) in each configured backup<br />

device.<br />

If auto media management is enabled <strong>for</strong> a tape device or autochanger, a tape<br />

is loaded in the tape device or autochanger <strong>for</strong> the <strong>NetWorker</strong> server to use<br />

automatically.<br />

Manual backup through the RMAN command line interface<br />

!<br />

A manual <strong>Oracle</strong> backup can be started by using the RMAN command line interface<br />

on the <strong>Oracle</strong> Server host.<br />

If the RMAN script <strong>for</strong> a manual backup from Example 10 on page 75 is stored in the<br />

file /disk1/scripts/full_backup.txt on a UNIX <strong>Oracle</strong> Server, and the Net service has<br />

been configured to connect to the databases payroll and rcvcatdb, then the manual<br />

<strong>Oracle</strong> backup can be started with the following command:<br />

rman target internal/oracle@payroll rcvcat rman/rman@rcvcatdb cmdfile<br />

\’/disk1/scripts/full_backup.txt\’<br />

On Microsoft Windows, the command to run the RMAN script is rman.exe. The<br />

appropriate <strong>Oracle</strong> backup and recovery documentation provides more in<strong>for</strong>mation<br />

on the rman or rman.exe command line options.<br />

IMPORTANT<br />

The <strong>NetWorker</strong> server bootstrap and client indexes are not automatically backed<br />

up at the end of a manual <strong>Oracle</strong> backup, as they are <strong>for</strong> a scheduled <strong>Oracle</strong><br />

backup. After running a manual <strong>Oracle</strong> backup, per<strong>for</strong>m a <strong>NetWorker</strong> server<br />

bootstrap backup according to “<strong>NetWorker</strong> server bootstrap backup” on page 106.<br />

Regular <strong>NetWorker</strong> server bootstrap backups help to ensure adequate preparation<br />

<strong>for</strong> disaster recovery.<br />

“Cancel a manual backup” on page 107 provides in<strong>for</strong>mation on how to cancel a<br />

manual NMO backup.<br />

Manual backup through <strong>Oracle</strong> Enterprise Manager Backup Management Tools<br />

!<br />

The <strong>Oracle</strong> Enterprise Manager Backup Management Tools can be used instead of the<br />

RMAN command line interface to start an <strong>Oracle</strong> database backup. The <strong>Oracle</strong><br />

Enterprise Manager Backup Management Tools include a graphical user interface to<br />

RMAN <strong>for</strong> generating the required RMAN commands and per<strong>for</strong>ming backup and<br />

restore operations.<br />

IMPORTANT<br />

After the completion of an NMO backup or restore, the <strong>Oracle</strong> Enterprise Manager<br />

job queue history displays the status of the job as “failed”, even if the backup or<br />

restore completed successfully. This is due to a known problem with <strong>Oracle</strong><br />

Enterprise Manager. View the job output to confirm that the backup or restore<br />

completed successfully.<br />

The <strong>Oracle</strong> Enterprise Manager documentation included with the product kit<br />

provides more in<strong>for</strong>mation on using the <strong>Oracle</strong> Enterprise Manager Backup<br />

Management Tools.<br />

Manual backup procedures 105


Backup Procedures<br />

106<br />

<strong>NetWorker</strong> server bootstrap backup<br />

The bootstrap is a special save set that the <strong>NetWorker</strong> server software creates in<br />

preparation <strong>for</strong> disaster recovery. The bootstrap save set contains the in<strong>for</strong>mation<br />

needed to restore the online <strong>NetWorker</strong> indexes and resource configuration files to<br />

the state just be<strong>for</strong>e the bootstrap was created.<br />

The <strong>NetWorker</strong> server automatically per<strong>for</strong>ms a backup of its bootstrap and the client<br />

index of the <strong>Oracle</strong> Server only at the end of a scheduled <strong>Oracle</strong> backup. This is done<br />

by the <strong>NetWorker</strong> savegrp program that per<strong>for</strong>ms the scheduled backup.<br />

Note: If only manual (unscheduled) <strong>Oracle</strong> backups are run, and the client index and bootstrap<br />

are not backed up manually, then no backups of the online client index and <strong>NetWorker</strong> server<br />

bootstrap will be available <strong>for</strong> use in the event of a disaster recovery on the <strong>NetWorker</strong> server.<br />

After finishing a manual <strong>Oracle</strong> backup, the bootstrap and client index must also be<br />

backed up.<br />

Back up the bootstrap and index<br />

To back up the <strong>NetWorker</strong> server bootstrap and index:<br />

1. Log in as follows:<br />

On a UNIX <strong>NetWorker</strong> server as the root user.<br />

On a Windows <strong>NetWorker</strong> server as the Windows system administrator.<br />

2. Type the following savegrp command:<br />

savegrp -O -l full -P printer_name -c <strong>Oracle</strong>_Server_name<br />

-c <strong>NetWorker</strong>_server_name<br />

where:<br />

printer_name is the name of the printer where the bootstrap in<strong>for</strong>mation is<br />

printed at the end of the bootstrap backup.<br />

<strong>Oracle</strong>_Server_name is the hostname of the <strong>Oracle</strong> Server.<br />

<strong>NetWorker</strong>_server_name is the hostname of the <strong>NetWorker</strong> server.<br />

After successfully backing up the bootstrap and the client index by using the savegrp<br />

command:<br />

◆ Confirmation of the savegrp completion appears in the <strong>NetWorker</strong> Administrator<br />

program.<br />

◆ In<strong>for</strong>mation is sent to the printer_name printer about the saved bootstrap.<br />

Note: Store the bootstrap printout in a safe place. The printed bootstrap in<strong>for</strong>mation includes<br />

dates, locations, and save set ID numbers <strong>for</strong> the bootstrap save sets backed up during the past<br />

month. With this in<strong>for</strong>mation, determine which volumes are needed to recover the <strong>NetWorker</strong><br />

indexes and resource configuration files during a disaster recovery.<br />

The following sources provide in<strong>for</strong>mation on the savegrp command and options:<br />

◆ <strong>NetWorker</strong> administration guide <strong>for</strong> the particular <strong>NetWorker</strong> server plat<strong>for</strong>m<br />

◆ savegrp entry in the <strong>NetWorker</strong> command reference guide<br />

◆ savegrp man page on UNIX<br />

The <strong>NetWorker</strong> administration guide provides in<strong>for</strong>mation on bootstrap backups.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Cancel a manual backup<br />

Backup Procedures<br />

The <strong>NetWorker</strong> disaster recovery guide provides in<strong>for</strong>mation on how to use the<br />

bootstrap backup during a disaster recovery.<br />

To keep the <strong>NetWorker</strong> index and RMAN catalog synchronized, ensure that the<br />

<strong>Oracle</strong> user has the required <strong>NetWorker</strong> privileges <strong>for</strong> removing <strong>NetWorker</strong> index<br />

entries be<strong>for</strong>e you cancel a manual <strong>Oracle</strong> backup. “Specify the required <strong>NetWorker</strong><br />

privileges” on page 64 provides more in<strong>for</strong>mation.<br />

The following sections describe how to cancel a running or nonresponding manual<br />

backup.<br />

Cancel a running manual backup<br />

To cancel a running manual <strong>Oracle</strong> backup (not including a backup initiated by<br />

<strong>Oracle</strong> Enterprise Manager) during the RMAN script execution on any plat<strong>for</strong>m,<br />

press either Ctrl+C, or the equivalent “attention” key combination on the system.<br />

Note: If this method of canceling a manual <strong>Oracle</strong> backup is not successful, use the alter<br />

system kill command described in “Cancel a scheduled backup” on page 111.<br />

Cancel a nonresponding manual backup<br />

The following are the steps <strong>for</strong> canceling a nonresponding <strong>Oracle</strong> backup. However,<br />

if these steps do not work, contact <strong>Oracle</strong> <strong>for</strong> assistance.<br />

Note: When using these steps, NMO does not attempt to remove the backup save set entries<br />

from the <strong>NetWorker</strong> index. As a result, the <strong>NetWorker</strong> index and RMAN catalog might<br />

become unsynchronized.<br />

To cancel a nonresponding <strong>Oracle</strong> backup on UNIX:<br />

1. Include the set command id to ‘xxx’ command in the RMAN backup script that is<br />

used <strong>for</strong> the <strong>Oracle</strong> backup. Otherwise, the query in the next step will fail.<br />

Example 12 on page 77 provides a sample script with the command.<br />

2. Run the following query in the <strong>Oracle</strong> svrmgrl or sqlplus program to determine<br />

the <strong>Oracle</strong> process ID that corresponds to each RMAN channel:<br />

select spid, client_info from v$process p, v$session s where<br />

p.addr=s.paddr and client_info like ‘%id=%‘;<br />

3. Type the following kill command to cancel the <strong>Oracle</strong> backup process:<br />

kill -9 pid<br />

where pid is the appropriate <strong>Oracle</strong> process ID.<br />

To cancel a nonresponding <strong>Oracle</strong> backup on Windows, stop the nsrsbtcn.exe<br />

process in Task Manager.<br />

Manual backup procedures 107


Backup Procedures<br />

108<br />

Monitor a manual backup<br />

To monitor the status of <strong>Oracle</strong> backup and restore operations, use the NMC interface<br />

program.<br />

The <strong>NetWorker</strong> server program displays progress and completion messages that<br />

advise when a backup or restore is complete, and in<strong>for</strong>mation on why a backup or<br />

restore cannot proceed. The <strong>NetWorker</strong> administration guide provides more<br />

in<strong>for</strong>mation on viewing these types of messages with the <strong>NetWorker</strong> program.<br />

Appendix C, “Troubleshooting and Error Messages,” provides in<strong>for</strong>mation on how<br />

to obtain RMAN-specific and NMO diagnostic and error messages.<br />

The following figures show the types of <strong>Oracle</strong> backup messages displayed in the<br />

Monitoring Window of the NMC interface:<br />

◆ Figure 8 on page 108 shows messages displayed in the Sessions tab.<br />

◆ Figure 9 on page 109 shows messages displayed in the Devices tab.<br />

◆ Figure 10 on page 109 show messages displayed in the Log tab.<br />

The <strong>NetWorker</strong> administration guide and NMC online help provide more<br />

in<strong>for</strong>mation.<br />

Figure 8 <strong>Oracle</strong> backup messages in Sessions tab of Monitoring window<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Figure 9 <strong>Oracle</strong> backup messages in Devices tab of Monitoring window<br />

Figure 10 <strong>Oracle</strong> backup messages in Log tab of Monitoring window<br />

Backup Procedures<br />

Manual backup procedures 109


Backup Procedures<br />

110<br />

Scheduled backup procedures<br />

To prepare <strong>for</strong> a scheduled NMO backup of <strong>Oracle</strong> data:<br />

1. Review in<strong>for</strong>mation in “Product features” on page 20 about the features that<br />

apply to your particular backup.<br />

2. Ensure that the required backup configurations are in place, as described in<br />

“Configuration roadmap” on page 62.<br />

3. Run a test scheduled <strong>Oracle</strong> backup according to “Test a scheduled backup” on<br />

page 110.<br />

4. Review the steps <strong>for</strong> canceling a scheduled backup in “Cancel a scheduled<br />

backup” on page 111.<br />

At the end of a successful scheduled backup, NMO automatically backs up the<br />

NWORA resource file if it exists, as described in “NWORA resource file backup” on<br />

page 173.<br />

“Monitor a scheduled backup” on page 112 provides in<strong>for</strong>mation on how to track the<br />

status of scheduled backups.<br />

The following sections describe the backup in<strong>for</strong>mation stored in the <strong>NetWorker</strong><br />

indexes:<br />

◆ “Regular backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes” on page 114<br />

◆ “Deduplication backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes” on page 115<br />

Test a scheduled backup<br />

After the NMO environment <strong>for</strong> scheduled backups on the <strong>Oracle</strong> Server is set up,<br />

test a scheduled backup manually by using the NMC program.<br />

Be<strong>for</strong>e starting the backup, check <strong>for</strong> the following:<br />

◆ All the required parameters have been set, either through the wizard or through<br />

the legacy method in the nsrnmo and RMAN scripts.<br />

◆ For a legacy configuration, any required preprocessing and postprocessing<br />

scripts (optional) are in place.<br />

◆ The <strong>NetWorker</strong> server and <strong>Oracle</strong> Server have been correctly configured.<br />

Test a scheduled backup as follows:<br />

1. Start the NMC program as the root user on UNIX, or as the administrator<br />

Microsoft user on Windows.<br />

2. Select the appropriate <strong>NetWorker</strong> server to per<strong>for</strong>m the backup.<br />

3. Select the correct group name <strong>for</strong> the backup.<br />

4. Start the scheduled backup <strong>for</strong> the specified group.<br />

The <strong>NetWorker</strong> software immediately backs up the clients in the backup group.<br />

The <strong>NetWorker</strong> administration guide and NMC online help provide in<strong>for</strong>mation on<br />

how to use the NMC interface to per<strong>for</strong>m these steps.<br />

A savegroup completion report in email provides the scheduled backup results.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Backup Procedures<br />

Note: “Cancel a scheduled backup” on page 111 provides in<strong>for</strong>mation on how to cancel the<br />

scheduled <strong>Oracle</strong> backup.<br />

Scheduled backup error messages<br />

If the scheduled backup fails, an error message is produced. The <strong>NetWorker</strong><br />

administration guide provides in<strong>for</strong>mation on how to obtain more details about the<br />

scheduled backup by using the <strong>NetWorker</strong> administration program.<br />

For additional debug in<strong>for</strong>mation, set the NSR_SB_DEBUG_FILE parameter through<br />

one of the following methods:<br />

Cancel a scheduled backup<br />

◆ Use the configuration wizard to set the parameter in the Advanced Environment<br />

Options field on the Specify the Environment Options (Optional) screen.<br />

◆ Use the legacy configuration method to set the parameter in the nsrnmo script.<br />

“NSR_SB_DEBUG_FILE” on page 83 provides details on the parameter.<br />

If the scheduling portion of a scheduled NMO backup succeeds but the actual backup<br />

fails, error messages and debug in<strong>for</strong>mation might be generated in the locations<br />

described in “RMAN error messages” on page 221.<br />

To keep the <strong>NetWorker</strong> index and RMAN catalog synchronized, ensure that the<br />

<strong>Oracle</strong> user has the required <strong>NetWorker</strong> privileges <strong>for</strong> removing <strong>NetWorker</strong> index<br />

entries be<strong>for</strong>e canceling a scheduled <strong>Oracle</strong> backup. “Specify the required <strong>NetWorker</strong><br />

privileges” on page 64 provides more in<strong>for</strong>mation.<br />

NMO currently supports use of the Stop button in the <strong>NetWorker</strong> Administrator<br />

program to cancel a running scheduled <strong>Oracle</strong> backup only if the <strong>NetWorker</strong> server<br />

and <strong>Oracle</strong> Server are both running on UNIX plat<strong>for</strong>ms.<br />

The level of Stop button support depends on the <strong>NetWorker</strong> server operating system<br />

(where the <strong>Oracle</strong> Server operating system is already assumed to be UNIX):<br />

◆ If the <strong>NetWorker</strong> server system is UNIX, then the Stop button is supported.<br />

◆ If the <strong>NetWorker</strong> server system is Windows, then the Stop button is not<br />

supported.<br />

Note: Although the progress message might indicate that the backup has exited<br />

prematurely (be<strong>for</strong>e finishing), the NMO processes might still be running on the <strong>Oracle</strong><br />

Server host.<br />

To cancel a running scheduled <strong>Oracle</strong> backup when the Stop button does not work,<br />

the running rman process must be interrupted on the <strong>Oracle</strong> Server host:<br />

1. In the <strong>NetWorker</strong> Administrator program, click the Stop button to prevent NMO<br />

from retrying the backup.<br />

2. For each allocated channel, per<strong>for</strong>m the following:<br />

a. View the RMAN message log file to determine the <strong>Oracle</strong> session ID <strong>for</strong> the<br />

channel. (The log filename is specified in the NSR_RMAN_ARGUMENTS<br />

parameter, set either through the Advanced Environment Options field in the<br />

wizard or through the nsrnmo script in a legacy configuration.)<br />

Scheduled backup procedures 111


Backup Procedures<br />

112<br />

Monitor a scheduled backup<br />

For example, the following sample line from an RMAN message log shows<br />

that channel ch1 has the <strong>Oracle</strong> session ID 15:<br />

channel ch1: sid=15 devtype=SBT_TAPE<br />

b. Run the following select command in the <strong>Oracle</strong> svrmgrl or sqlplus program<br />

to determine the serial number:<br />

select serial# from v$session where sid=session_id;<br />

where session_id is the <strong>Oracle</strong> session ID from the RMAN message log in<br />

step a.<br />

c. Run the following alter system command in the <strong>Oracle</strong> svrmgrl or sqlplus<br />

program to terminate the channel:<br />

alter system kill session ‘session_id, serial#’;<br />

where:<br />

– session_id is the <strong>Oracle</strong> session ID from step a.<br />

– serial# is the serial number from step b.<br />

“Cancel a nonresponding manual backup” on page 107 describes how to also cancel a<br />

nonresponding scheduled backup.<br />

Scheduled <strong>Oracle</strong> backups can be monitored the same way as manual <strong>Oracle</strong><br />

backups. “Monitor a manual backup” on page 108 provides more in<strong>for</strong>mation.<br />

In addition, messages appear in the appropriate Group window in the <strong>NetWorker</strong><br />

server program and a report is generated upon completion of a scheduled <strong>Oracle</strong><br />

backup.<br />

In<strong>for</strong>mation about scheduled NMO backups is displayed on the Groups and Sessions<br />

tabs of the Monitoring window in the NMC interface program:<br />

◆ During the backup, the Sessions tab lists one save session <strong>for</strong> each channel used<br />

by NMO <strong>for</strong> the backup. The display shows the rate of data being backed up and<br />

total size of the backed-up data.<br />

◆ After the backup, the Groups tab enables you to select the backup group and<br />

display details about the group, including the “Completed successfully” box that<br />

contains one entry <strong>for</strong> each channel used by NMO <strong>for</strong> the backup. Figure 11 on<br />

page 113 shows the type of group details displayed, including the size of each<br />

save set.<br />

Note: For a deduplication backup, the NMC display shows the total size of the data prior to<br />

deduplication, not the size of the deduplicated data. The display also does not indicate that the<br />

data is <strong>for</strong> a deduplication backup that is stored on the Avamar server.<br />

The <strong>NetWorker</strong> administration guide provides details on viewing in<strong>for</strong>mation about<br />

scheduled backups in the NMC program.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Figure 11 Group details <strong>for</strong> regular scheduled backups<br />

Automation of NSR_SERVER and NSR_GROUP parameter settings<br />

!<br />

Backup Procedures<br />

Note: The in<strong>for</strong>mation in this section is applicable to a legacy configuration only, not to a<br />

configuration set up through the NMO <strong>5.0</strong> wizard.<br />

The parameters NSR_SERVER and NSR_GROUP must not be set in a scheduled<br />

backup RMAN script. NMO automatically passes server and group in<strong>for</strong>mation<br />

(received from the <strong>NetWorker</strong> server that started the backup) to <strong>Oracle</strong> Server<br />

processes, created <strong>for</strong> each allocated channel.<br />

NMO also passes an internal parameter, NSR_SAVESET_NAME, to set the save set<br />

name.<br />

IMPORTANT<br />

Do not set the parameter NSR_SAVESET_NAME.<br />

To pass the in<strong>for</strong>mation to the <strong>Oracle</strong> Server processes, NMO invokes the RMAN<br />

executable with send as a command line option. “The send command” on page 211<br />

provides more in<strong>for</strong>mation.<br />

Scheduled backup procedures 113


Backup Procedures<br />

114<br />

Regular backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes<br />

The <strong>NetWorker</strong> server maintains in<strong>for</strong>mation about each backup in its online<br />

indexes. Chapter 1, “Introduction,”provides more in<strong>for</strong>mation about the online<br />

indexes.<br />

This section describes the in<strong>for</strong>mation maintained in the <strong>NetWorker</strong> indexes <strong>for</strong><br />

regular manual and scheduled backups. “Deduplication backup in<strong>for</strong>mation in<br />

<strong>NetWorker</strong> indexes” on page 115 describes in<strong>for</strong>mation about deduplication<br />

backups.<br />

The <strong>NetWorker</strong> client file index contains the filename backup_piece_name <strong>for</strong> the save<br />

set name <strong>for</strong> either a manual or scheduled NMO backup.<br />

The <strong>NetWorker</strong> media database contains the following in<strong>for</strong>mation, depending on<br />

the type of backup and the <strong>NetWorker</strong> server version used to per<strong>for</strong>m the backup:<br />

◆ For a manual backup, the name RMAN:backup_piece_name <strong>for</strong> the save set name.<br />

◆ For a scheduled backup with a <strong>NetWorker</strong> server release prior to 7.3.2, the value<br />

from the Save Set field of the Client resource <strong>for</strong> the save set name.<br />

◆ For a scheduled backup with <strong>NetWorker</strong> server release 7.3.2 or later, the name<br />

RMAN:backup_piece_name <strong>for</strong> the save set name.<br />

Query the online <strong>NetWorker</strong> indexes by using the <strong>NetWorker</strong> commands, nsrinfo<br />

and mminfo.<br />

◆ To query the client file index, use the nsrinfo command. For example:<br />

nsrinfo -n oracle -s <strong>NetWorker</strong>_server_hostname<br />

<strong>Oracle</strong>_Server_hostname<br />

◆ To query the media database, use the mminfo command. For example:<br />

mminfo -v -s <strong>NetWorker</strong>_server_hostname -c <strong>Oracle</strong>_Server_hostname<br />

The <strong>NetWorker</strong> command reference guide and the UNIX man pages provide more<br />

in<strong>for</strong>mation on these <strong>NetWorker</strong> commands.<br />

The following examples show the command output <strong>for</strong> a manual or scheduled NMO<br />

backup, where the backup piece is named 1hiu83f4_1_1 and the scheduled backup is<br />

per<strong>for</strong>med with <strong>NetWorker</strong> server release 7.3.2 or later:<br />

◆ The client file index includes the backup piece name <strong>for</strong> the save set:<br />

nsrinfo -n oracle -s ca-oracle1 ca-oracle1<br />

1hiu83f4_1_1, date=1192133159 Thu Dec 11 16:05:59 2008<br />

◆ The media database includes the prefix RMAN: with the backup piece name <strong>for</strong><br />

the save set:<br />

mminfo -v -s ca-oracle1 -c ca-oracle1<br />

volume client date time size<br />

NMO.001 ca-oracle1 12/11/08 16:05:59 145 MB<br />

ssid fl level name<br />

4212032038 cb full RMAN:1hiu83f4_1_1<br />

Note: The media database also includes in<strong>for</strong>mation about the bootstrap, index, and NWORA<br />

resource file backups that occur as part of each scheduled backup. The preceding mminfo<br />

command sample does not show the bootstrap, index, and NWORA resource file in<strong>for</strong>mation<br />

<strong>for</strong> the scheduled backup.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Backup Procedures<br />

Cross-check the client file index and media database by using the save time. For<br />

example:<br />

mminfo -c ca-oracle1 -t 1192133159<br />

nsrinfo -n oracle -t ’12/11/08 16:05:59’ ca-oracle1<br />

Deduplication backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes<br />

The deduplication backup in<strong>for</strong>mation maintained in the <strong>NetWorker</strong> indexes is <strong>for</strong><br />

the <strong>NetWorker</strong> save set stored on the <strong>NetWorker</strong> storage node, which contains only a<br />

single file with the hash ID and <strong>NetWorker</strong> metadata <strong>for</strong> the backup.<br />

Note: The backup size recorded in the <strong>NetWorker</strong> indexes does not match the amount of data<br />

backed up during the deduplication backup.<br />

The following examples show the index query results from the nsrinfo and mminfo<br />

commands, where the backup piece is named 35ji3i75_1_1:<br />

◆ As <strong>for</strong> a regular backup, the client file index includes the backup piece name <strong>for</strong><br />

the save set of the deduplication backup:<br />

nsrinfo -n oracle -vV molecule<br />

UNIX file '35ji3i75_1_1', size=212, off=0, app=oracle(25),<br />

date=1212610342 Wed Jun 04 16:12:22 2008, (unknown fid), file size=0<br />

In this case, the size of the backup piece is the size of the Avamar hash ID (20<br />

bytes) plus the size of the <strong>NetWorker</strong> metadata that contains the backup piece<br />

name.<br />

◆ To query the media database, use the mminfo command with the -q dedupe<br />

option (displays only save sets created through deduplication) and the -S option<br />

(lists the extended options <strong>for</strong> the deduplication backups):<br />

mminfo -S -q dedupe<br />

ssid=1330050855 savetime=06/04/08 16:12:22 (1212610342)<br />

RMAN:35ji3i75_1_1 level=full sflags=vF size=216 files=1<br />

insert=06/04/08 create=06/04/08 complete=06/04/08 browse=07/04/08<br />

23:59:59 retent=06/04/09 23:59:59<br />

clientid=08b98b33-00000004-4824ae51-4824ae45-000c0000-80de6f33<br />

*Client path: /<strong>NetWorker</strong>/server_name/client_name;<br />

*Data set size: 34000000;<br />

*De-Dup session id: 27;<br />

*De-Dup snapup time: 2008-06-04;<br />

*De-duplication: Yes;<br />

*De-duplication host: scip2d088.lss.emc.com;<br />

*Domain: /<strong>NetWorker</strong>/server_name;<br />

*New data on De-Dup Node: 6899656.00;<br />

*New files: 1;<br />

*Replication host: scip2d089.legato.com;<br />

*Size on De-Dup Node: 34603008.00;<br />

group: Default;<br />

Clone #1: cloneid=1212610343 time=06/04/08 16:12:23<br />

retent=06/04/09 flags=F frag@ 0 volid=1648811587<br />

file/rec=1330050855/0 rn=0 last=06/04/08<br />

The save file size reported by mminfo is the same as that reported by nsrinfo,<br />

except <strong>for</strong> an extra four bytes due to a <strong>NetWorker</strong> end-of-save-set marker.<br />

When a deduplication backup is deleted (<strong>for</strong> example, by a user or the <strong>NetWorker</strong><br />

server), the backup in<strong>for</strong>mation is deleted immediately from the <strong>NetWorker</strong> indexes,<br />

and a request is queued <strong>for</strong> deletion of the backup from the Avamar server. The<br />

Deduplication backup in<strong>for</strong>mation in <strong>NetWorker</strong> indexes 115


Backup Procedures<br />

116<br />

<strong>NetWorker</strong> documentation provides more in<strong>for</strong>mation on deletion of deduplication<br />

backups.<br />

Once a deduplication save set passes its retention time and its data chunks are<br />

deleted from the Avamar server, the save set may no longer be recoverable with the<br />

scanner program.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This chapter includes the following sections:<br />

4<br />

Data Restore and<br />

Recovery<br />

◆ About restore and recovery ........................................................................................ 118<br />

◆ RMAN scripts <strong>for</strong> restore and recovery................................................................... 121<br />

◆ Per<strong>for</strong>ming an <strong>Oracle</strong> data restore and recovery.................................................... 123<br />

Data Restore and Recovery 117


Data Restore and Recovery<br />

118<br />

About restore and recovery<br />

Only <strong>Oracle</strong> data that has been backed up according to the instructions in Chapter 3,<br />

“Backup Procedures,”can be restored.<br />

Note: The <strong>NetWorker</strong> server interface cannot be used to restore <strong>Oracle</strong> data that was backed up<br />

with NMO.<br />

Review the following sections in preparation <strong>for</strong> the <strong>Oracle</strong> data restore and recovery<br />

procedures:<br />

◆ “<strong>NetWorker</strong> indexes and policies used <strong>for</strong> restores” on page 118<br />

◆ “Recovery configuration wizard” on page 118<br />

◆ “RMAN scripts <strong>for</strong> restore and recovery” on page 121<br />

<strong>NetWorker</strong> indexes and policies used <strong>for</strong> restores<br />

Recovery configuration wizard<br />

During an <strong>Oracle</strong> backup, the <strong>NetWorker</strong> server adds an entry <strong>for</strong> each backup piece<br />

in the online client file index and records the location of the data in the media<br />

database. These entries provide in<strong>for</strong>mation required to restore every <strong>Oracle</strong> data<br />

object backed up:<br />

◆ The client file index entry is maintained until the browse policy specified <strong>for</strong> the<br />

client’s save set expires.<br />

◆ The media database entry is maintained until the retention policy specified <strong>for</strong> the<br />

client’s save set expires.<br />

When the retention policies <strong>for</strong> all the save sets on a backup volume expire, the<br />

volume becomes recyclable and eligible <strong>for</strong> automatic relabeling by the <strong>NetWorker</strong><br />

server. The save set entries, however, remain in the media database until the volume<br />

is actually relabeled. When the volume is relabeled, the data on it becomes<br />

inaccessible and can no longer be restored.<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) uses the client file index entries to restore<br />

<strong>Oracle</strong> backup pieces. Set the browse policy to a period long enough to retain the<br />

client index entries <strong>for</strong> restoring the <strong>Oracle</strong> backup pieces.<br />

Note: After a browse policy expires, the <strong>NetWorker</strong> scanner program can be used to rebuild<br />

the online indexes. However, index entries regenerated by using scanner might cause the<br />

<strong>NetWorker</strong> indexes to become unsynchronized with the RMAN catalog and lead to problems.<br />

To avoid problems, ensure that the backup pieces have unique names, as described in “RMAN<br />

scripts <strong>for</strong> manual backups” on page 75.<br />

The <strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on how the<br />

<strong>NetWorker</strong> server uses browse and retention policies to manage <strong>Oracle</strong> backup data<br />

and track the location and status of the data on backup volumes.<br />

NMO <strong>5.0</strong> software supports a new recovery configuration wizard that is integrated<br />

with the <strong>NetWorker</strong> Management Console (NMC). The recovery configuration<br />

wizard used in NMO release 4.5 or earlier is replaced by the NMC-based wizard in<br />

NMO release <strong>5.0</strong>.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Data Restore and Recovery<br />

You can run the recovery configuration wizard from the <strong>NetWorker</strong> Console<br />

<strong>Administration</strong> window, which you can start on any supported host by using a web<br />

browser session and specifying the Console server URL.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> release notes provides details on the <strong>NetWorker</strong><br />

requirements <strong>for</strong> the support of the NMC-based configuration wizards.<br />

To configure a restore with the wizard:<br />

1. Review the in<strong>for</strong>mation in “Features of the recovery configuration wizard” on<br />

page 119.<br />

2. Ensure that you meet the “Requirements <strong>for</strong> using the recovery configuration<br />

wizard” on page 120.<br />

3. Follow the steps in “Configure a restore with the wizard” on page 120.<br />

Features of the recovery configuration wizard<br />

The recovery configuration wizard can create an RMAN script <strong>for</strong> the following types<br />

of restore and recovery:<br />

◆ Current time restore and recovery of a whole or partial <strong>Oracle</strong> database, where a<br />

partial database is a set of tablespaces or datafiles.<br />

The wizard can configure a tablespace restore as long as the control file contains<br />

in<strong>for</strong>mation about the tablespace.<br />

◆ Point-in-time restore and recovery of a whole <strong>Oracle</strong> database.<br />

◆ Restore of individual archived redo logs.<br />

◆ Restore and recovery of <strong>Oracle</strong> data to a different database through the creation<br />

of a duplicate database on either the local host or a remote host, using backups of<br />

the original target database.<br />

The database duplication script created by the wizard uses the RMAN duplicate<br />

command to create a duplicate database while the original database is retained.<br />

The duplicate database can either be an identical copy of the original database or<br />

contain only a subset of the original tablespaces. For example, the duplicate<br />

database can be created to run independently on a remote host, <strong>for</strong> the purpose of<br />

practicing restore and recovery operations while the production database<br />

remains in operation on the local host:<br />

If the duplicate database is to be created on the same host as the original<br />

database, the RMAN script is also generated on the local host. In this case, the<br />

wizard requests names <strong>for</strong> the duplicate database, datafiles, and redo logs that<br />

differ from those of the original database.<br />

If the duplicate database is to be created on a remote host, the RMAN script is<br />

generated on either the local or remote host, as specified in the wizard. In this<br />

case, the wizard requests a name <strong>for</strong> the duplicate database that differs from<br />

that of the original database. (The datafile and redo log names can be the same<br />

as <strong>for</strong> the original database.)<br />

The recovery configuration wizard can only create a new RMAN script <strong>for</strong> restore<br />

and recovery. The wizard cannot modify an existing RMAN script. You must use a<br />

text editor to modify an RMAN script that was created by the wizard.<br />

“RMAN scripts <strong>for</strong> restore and recovery” on page 121 provides more in<strong>for</strong>mation<br />

about RMAN scripts <strong>for</strong> restore and recovery.<br />

About restore and recovery 119


Data Restore and Recovery<br />

120<br />

The recovery configuration wizard does not support the following:<br />

◆ Cluster or <strong>Oracle</strong> RAC systems<br />

◆ Proxy backups<br />

◆ RMAN automatic channels<br />

The following sources provide more in<strong>for</strong>mation on the configuration wizard:<br />

◆ <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide<br />

◆ Descriptive inline text in the wizard<br />

◆ Online help in the wizard<br />

Requirements <strong>for</strong> using the recovery configuration wizard<br />

Be<strong>for</strong>e you use the recovery configuration wizard, ensure that all of the following<br />

requirements are met:<br />

◆ The NMC user that starts the wizard (the wizard user) has the Remote Access<br />

<strong>NetWorker</strong> privileges on the <strong>NetWorker</strong> server where the NMO client<br />

configuration is stored.<br />

◆ Communication between the NMC server, <strong>NetWorker</strong> server, and NMO client<br />

uses nsrauth authentication. The <strong>NetWorker</strong> documentation provides any<br />

requirements <strong>for</strong> nsrauth authentication.<br />

◆ The required <strong>NetWorker</strong> releases are installed on the NMC server, <strong>NetWorker</strong><br />

server, and NMO client hosts, as described in the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong><br />

release notes.<br />

◆ The <strong>NetWorker</strong> Client resource <strong>for</strong> the NMO client was created through one of<br />

the following:<br />

Backup configuration wizard in NMO <strong>5.0</strong><br />

Migration of a legacy configuration with the nsrnmoadmin command<br />

Legacy configuration method (without the wizard), where the value of the<br />

Save Set attribute of the Client resource has the RMAN: prefix<br />

◆ Prior to creation of a database duplication script, the AUXILIARY instance exists<br />

on the local or remote host, and is accessible through <strong>Oracle</strong> Net. The <strong>Oracle</strong><br />

Database Backup and Recovery Advanced User’s <strong>Guide</strong> provides details on how to<br />

create an AUXILIARY instance.<br />

Configure a restore with the wizard<br />

To create an RMAN restore script with the recovery configuration wizard:<br />

1. Start the <strong>NetWorker</strong> Management Console software.<br />

2. Open the <strong>Administration</strong> window:<br />

a. In the Console window, click Enterprise.<br />

b. In the left pane, select a <strong>NetWorker</strong> server in the Enterprise list.<br />

c. In the right pane, select the application.<br />

d. From the Enterprise menu, click Launch Application.<br />

The <strong>Administration</strong> window is launched as a separate application.<br />

3. In the <strong>Administration</strong> window, click Configuration.<br />

4. In the Configuration window, click Clients.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


!<br />

Data Restore and Recovery<br />

5. To start the wizard, right-click the NMO client in the right pane, and select<br />

Recover.<br />

6. On each wizard screen that appears, specify the required values <strong>for</strong> the RMAN<br />

script configuration.<br />

Each wizard screen includes an online help button that you can click to access<br />

descriptions of all the fields and options on the screen:<br />

On all but the last screen, click Next to proceed.<br />

On the last screen, Review and Accept the Script Creation, click Create to<br />

create the RMAN restore script.<br />

IMPORTANT<br />

When you create an RMAN restore script with the wizard and select the offline or<br />

online mode option <strong>for</strong> tablespaces, you might need to manually edit the script and<br />

insert an "alter database open;" command be<strong>for</strong>e the sql...tablespace... commands,<br />

if it will be required <strong>for</strong> your particular database (if the database will not be open<br />

at the point where the sql commands are to be run).<br />

RMAN scripts <strong>for</strong> restore and recovery<br />

An appropriate RMAN script is required to per<strong>for</strong>m the preferred type of <strong>Oracle</strong><br />

restore operation on the <strong>Oracle</strong> Server host. You can create the RMAN script either<br />

manually or by using the recovery configuration wizard. “Recovery configuration<br />

wizard” on page 118 provides details on the recovery configuration wizard.<br />

RMAN restore scripts can be stored as text files. Alternatively, if a Recovery Catalog<br />

is used, restore scripts can be stored in the Recovery Catalog database. The <strong>Oracle</strong><br />

backup and recovery documentation provides more in<strong>for</strong>mation on storing the<br />

restore scripts in the Recovery Catalog database.<br />

The NSR* parameters in the script must be set by the methods described in “Setting<br />

the NSR* parameters” on page 200. The use of the send command is recommended<br />

where possible. “The send command” on page 211 provides more in<strong>for</strong>mation.<br />

Example 16 RMAN script to restore a tablespace<br />

The following RMAN script per<strong>for</strong>ms a restore of an <strong>Oracle</strong> tablespace by using the<br />

(remote) <strong>NetWorker</strong> server mars.emc.com. The <strong>Oracle</strong> data is restored to the<br />

<strong>NetWorker</strong> client server1.emc.com. This RMAN script also includes the recovery<br />

step, which is explained in “Per<strong>for</strong>m an <strong>Oracle</strong> data recovery” on page 127:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(NSR_SERVER=mars.emc.com,<br />

NSR_CLIENT=server1.emc.com)’;<br />

sql ’alter tablespace users offline immediate’;<br />

restore tablespace users;<br />

recover tablespace users;<br />

sql ’alter tablespace users online’;<br />

release channel t1;<br />

release channel t2;<br />

}<br />

“Create RMAN scripts <strong>for</strong> backups” on page 75 provides more in<strong>for</strong>mation on setting<br />

NSR* parameters in an RMAN script.<br />

RMAN scripts <strong>for</strong> restore and recovery 121


Data Restore and Recovery<br />

122<br />

Example 17 RMAN script to restore an AES encrypted backup<br />

By default, if the NSR_ENCRYPTION_PHRASES parameter is not set, NMO obtains<br />

the encryption phrase from the <strong>NetWorker</strong> server <strong>for</strong> decrypting an AES encrypted<br />

backup during an <strong>Oracle</strong> restore.<br />

The NSR_ENCRYPTION_PHRASES parameter must be set if both of the following<br />

are true:<br />

◆ The <strong>Oracle</strong> data being restored was backed up with 256-bit AES encryption.<br />

Example 11 on page 76 shows a sample <strong>Oracle</strong> backup with AES encryption.<br />

◆ The encryption phrase on the <strong>NetWorker</strong> server has changed since the <strong>Oracle</strong><br />

data was backed up.<br />

If both of these conditions are true, ensure that the NSR_ENCRYPTION_PHRASES<br />

parameter is set through the send command in the RMAN restore script.<br />

“NSR_ENCRYPTION_PHRASES” on page 205 provides more in<strong>for</strong>mation.<br />

The following RMAN script per<strong>for</strong>ms a nonproxy <strong>Oracle</strong> restore of the database by<br />

using the encryption phrase, original_encryption_phrase, that was originally used to<br />

back up the database. The encryption phrase must be in double quotes:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(NSR_SERVER=mars.emc.com, NSR_CLIENT=server1.emc.com,<br />

NSR_ENCRYPTION_PHRASES="original_encryption_phrase")’;<br />

restore database;<br />

release channel t1;<br />

}<br />

Example 18 RMAN script to restore from a specified pool<br />

By default, NMO and <strong>NetWorker</strong> use configuration settings and in<strong>for</strong>mation in the<br />

media database to determine the backup volume to use <strong>for</strong> an NMO restore.<br />

As an alternative, you can use the NSR_RECOVER_POOL parameter in the RMAN<br />

restore script to restore data from a specified volume pool if there are multiple copies<br />

(clones) of the backup on different volume pools. “NSR_RECOVER_POOL” on<br />

page 206 provides more in<strong>for</strong>mation.<br />

The following RMAN script per<strong>for</strong>ms a nonproxy restore of the database from the<br />

specified volume pool named <strong>Oracle</strong>ClonePool2, where the pool contains a clone of<br />

the original backup volume.<br />

shutdown immediate;<br />

startup mount;<br />

run {<br />

allocate channel c1 type 'SBT_TAPE';<br />

send channel c1 ’NSR_ENV=(NSR_SERVER=backup01,<br />

NSR_RECOVER_POOL=<strong>Oracle</strong>ClonePool2)’;<br />

restore database;<br />

release channel c1;<br />

}<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Per<strong>for</strong>ming an <strong>Oracle</strong> data restore and recovery<br />

Requirements <strong>for</strong> an <strong>Oracle</strong> data restore<br />

Data Restore and Recovery<br />

To per<strong>for</strong>m a restore and recovery of <strong>Oracle</strong> data:<br />

1. Review “Requirements <strong>for</strong> an <strong>Oracle</strong> data restore” on page 123.<br />

2. Per<strong>for</strong>m the <strong>Oracle</strong> data restore by either of the following methods:<br />

Use the RMAN command line interface, according to “Restore through the<br />

RMAN command line interface” on page 125.<br />

Use the <strong>Oracle</strong> Enterprise Manager Backup Management Tools, according to<br />

“Restore with <strong>Oracle</strong> Enterprise Manager Backup Management Tools” on<br />

page 126.<br />

Note: Use of the <strong>Oracle</strong> Enterprise Manager Backup Management Tools is not<br />

supported with the recovery configuration wizard.<br />

3. Complete the <strong>Oracle</strong> data recovery, if required, according to “Per<strong>for</strong>m an <strong>Oracle</strong><br />

data recovery” on page 127.<br />

Be<strong>for</strong>e starting an <strong>Oracle</strong> data restore, ensure that the required configurations,<br />

volumes, and scripts are in place:<br />

◆ The <strong>Oracle</strong> system is properly configured, as described in Chapter 2, “Software<br />

Configuration.”<br />

◆ The <strong>NetWorker</strong> server has the required resources configured, as described in<br />

Chapter 2, “Software Configuration”:<br />

Server<br />

Client<br />

Device<br />

Pool<br />

◆ If using an RMAN restore script, the script is created, as described in “RMAN<br />

scripts <strong>for</strong> restore and recovery” on page 121.<br />

◆ The volume required <strong>for</strong> the restore operation is mounted in a configured backup<br />

device:<br />

If you use a stand-alone tape drive, the volume is mounted manually.<br />

If you use an autochanger, the <strong>NetWorker</strong> server mounts the volume<br />

automatically.<br />

To determine the volumes required <strong>for</strong> the restore, you can use the nsrnmoinfo<br />

command, as described in “Using the nsrnmoinfo command to determine the<br />

volumes <strong>for</strong> restore” on page 123.<br />

Using the nsrnmoinfo command to determine the volumes <strong>for</strong> restore<br />

To determine the <strong>NetWorker</strong> volumes that contain the <strong>Oracle</strong> backup pieces to be<br />

restored, you can use the nsrnmoinfo command. The nsrnmoinfo program is<br />

installed with the NMO software in the same directory as the <strong>NetWorker</strong> client<br />

software.<br />

Note: On Windows, the command name is nsrnmoinfo.exe.<br />

Per<strong>for</strong>ming an <strong>Oracle</strong> data restore and recovery 123


Data Restore and Recovery<br />

124<br />

The nsrnmoinfo command syntax and options are as follows:<br />

nsrnmoinfo[.exe] [-c <strong>NetWorker</strong>_client_name] [-s <strong>NetWorker</strong>_server_name]<br />

[-f filename] [backup_piece_name1 [backup_piece_name2 ...]]<br />

where:<br />

◆ <strong>NetWorker</strong>_client_name specifies the hostname of the <strong>NetWorker</strong> client whose<br />

index contains in<strong>for</strong>mation on the <strong>Oracle</strong> backup pieces. By default, the client is<br />

the local host.<br />

◆ <strong>NetWorker</strong>_server_name specifies the hostname of the <strong>NetWorker</strong> server to query<br />

<strong>for</strong> the volumes. By default, the server is the local host.<br />

◆ filename specifies the name of a text file that contains a list of one or more backup<br />

piece names <strong>for</strong> restore:<br />

The file must contain each backup piece name on a separate line.<br />

The file cannot contain spaces or comments (<strong>for</strong> example, comment lines<br />

preceded with the # symbol).<br />

◆ backup_piece_name1 and backup_piece_name2 specify backup piece names <strong>for</strong><br />

restore.<br />

Command options in brackets ([ ]) are optional. Do not include the brackets when<br />

typing the command.<br />

To use the nsrnmoinfo command, specify the names of the backup pieces by either or<br />

both of the following:<br />

◆ List the backup piece names as options of the nsrnmoinfo command.<br />

◆ List the backup piece names in a text file, and specify the name of the file with the<br />

-f option of the nsrnmoinfo command.<br />

The nsrnmoinfo command displays a list of one or more volumes required <strong>for</strong> the<br />

<strong>Oracle</strong> restore:<br />

◆ For each backup piece, the list includes the accessible volumes containing the<br />

backup piece, which the <strong>NetWorker</strong> server will use <strong>for</strong> the restore.<br />

◆ For each volume, the list includes the following:<br />

The name and location of the volume.<br />

The save time of the backup piece on the volume.<br />

The listed volumes are the most accessible ones, which the <strong>NetWorker</strong> server intends<br />

to use <strong>for</strong> the restore at the time that the command is typed:<br />

◆ The command lists clones of volumes if the original volumes are not accessible.<br />

◆ If any listed volumes are removed from the <strong>NetWorker</strong> devices or deleted after<br />

the nsrnmoinfo command is typed, the server can per<strong>for</strong>m the restore by using<br />

different volumes that are accessible. For example, the server can use an<br />

accessible clone (already mounted in a drive or available <strong>for</strong> mounting in a<br />

jukebox) instead of a listed volume.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Example 19 Sample nsrnmoinfo commands <strong>for</strong> <strong>Oracle</strong> restores<br />

Data Restore and Recovery<br />

Each of the following nsrnmoinfo commands displays a list of the volumes required<br />

to restore the specified backup pieces:<br />

◆ The following command searches in the <strong>NetWorker</strong> index of the client mars on<br />

the server server1 <strong>for</strong> in<strong>for</strong>mation on the volumes that contain the backup pieces<br />

backupc_1 and backupc_2:<br />

nsrnmoinfo -c mars -s server1 backupc_1 backupc_2<br />

◆ The following command searches in the <strong>NetWorker</strong> index of the local host <strong>for</strong><br />

in<strong>for</strong>mation on the volumes that contain the backup pieces listed in the file<br />

backup2.txt: (Both the <strong>NetWorker</strong> client and server are assumed to be the local<br />

host.)<br />

nsrnmoinfo -f backup2.txt<br />

◆ The following command searches in the <strong>NetWorker</strong> index of the client mars <strong>for</strong><br />

in<strong>for</strong>mation on the volumes that contain both:<br />

The backup piece backupc_3.<br />

The backup pieces listed in the file backup3.txt.<br />

(The <strong>NetWorker</strong> server is assumed to be the local host.)<br />

nsrnmoinfo -c mars backupc_3 -f backup3.txt<br />

Example 20 Volume in<strong>for</strong>mation displayed by the nsrnmoinfo command<br />

The following nsrnmoinfo command searches in the <strong>NetWorker</strong> index of the local<br />

host on the server mars <strong>for</strong> in<strong>for</strong>mation on the volumes containing the backup pieces<br />

backup1 and backup2:<br />

nsrnmoinfo -s mars backup1 backup2<br />

The nsrnmoinfo command displays the following type of in<strong>for</strong>mation:<br />

backup1:<br />

mars.003 at /space/nw_volume1 (save time 1098886937)<br />

mars.004 at /space/nw_volume2 (save time 1098883454)<br />

backup2:<br />

mars.005 at /dev/rmt/0cbn (save time 1098883452)<br />

According to this command display:<br />

◆ Volumes mars.003 and mars.004 are required to restore the backup piece<br />

backup1.<br />

◆ Volume mars.005 is required to restore the backup piece backup2.<br />

Restore through the RMAN command line interface<br />

An <strong>Oracle</strong> data restore can be started by using the RMAN command line interface on<br />

the <strong>Oracle</strong> Server host.<br />

To restore an <strong>Oracle</strong> database to a different system from the one backed up, follow<br />

the instructions in “Restore to a different host” on page 126.<br />

If the RMAN restore script on page 121 is stored in the file /disk1/scripts/restore.txt<br />

and the Net service has been configured to connect to the databases payroll and<br />

rcvcatdb, the <strong>Oracle</strong> restore can be started with the following command:<br />

rman target internal/oracle@payroll rcvcat rman/rman@rcvcatdb cmdfile<br />

\’/disk1/scripts/restore.txt\’<br />

Per<strong>for</strong>ming an <strong>Oracle</strong> data restore and recovery 125


Data Restore and Recovery<br />

126<br />

On Microsoft Windows, the command to run the RMAN script is rman.exe. The<br />

appropriate <strong>Oracle</strong> backup and recovery documentation provides more in<strong>for</strong>mation<br />

on the rman or rman.exe command options.<br />

Restore to a different host<br />

In some cases, an <strong>Oracle</strong> database must be restored to a different system from the one<br />

that was originally backed up. Some situations where this could occur include, but<br />

are not limited to, per<strong>for</strong>ming a disaster recovery or duplicating a database on a<br />

remote host. The appropriate <strong>Oracle</strong> documentation provides more in<strong>for</strong>mation.<br />

To restore an <strong>Oracle</strong> database to different system:<br />

1. On the <strong>NetWorker</strong> server that contains the backup to be restored, specify the<br />

hostname of the different system <strong>for</strong> the Remote Access attribute in the Client<br />

resource of the original system.<br />

2. Install and configure NMO on the different system where the <strong>Oracle</strong> data is to be<br />

restored.<br />

3. Install and configure RMAN on the different system.<br />

4. Create an appropriate RMAN restore script.<br />

5. In the RMAN script, set the parameter NSR_SERVER to the name of the<br />

<strong>NetWorker</strong> server that contains the backup.<br />

6. In the RMAN script, set the parameter NSR_CLIENT to either the name of the<br />

<strong>NetWorker</strong> client (<strong>Oracle</strong> Server host) that was backed up or the value of<br />

NSR_CLIENT that was used during the backup.<br />

7. Use the appropriate RMAN command to run the script to restore the <strong>Oracle</strong><br />

database files.<br />

Restore with <strong>Oracle</strong> Enterprise Manager Backup Management Tools<br />

!<br />

Note: Use of the <strong>Oracle</strong> Enterprise Manager Backup Management Tools is not supported with<br />

the recovery configuration wizard.<br />

The <strong>Oracle</strong> Enterprise Manager Backup Management Tools include a graphical user<br />

interface to RMAN. This interface can be used instead of the RMAN command line<br />

interface to do the following:<br />

◆ Generate the required RMAN commands.<br />

◆ Per<strong>for</strong>m backup and restore operations.<br />

IMPORTANT<br />

After the completion of an NMO backup or restore, the <strong>Oracle</strong> Enterprise Manager<br />

job queue history displays the status of the job as “failed”, even if the backup or<br />

restore completed successfully. This is due to a known problem with <strong>Oracle</strong><br />

Enterprise Manager. View the job output to confirm that the backup or restore<br />

completed successfully.<br />

The <strong>Oracle</strong> Enterprise Manager documentation included with the product kit<br />

provides more in<strong>for</strong>mation on using the <strong>Oracle</strong> Enterprise Manager Backup<br />

Management Tools.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Per<strong>for</strong>m an <strong>Oracle</strong> data recovery<br />

Data Restore and Recovery<br />

After restoring the NMO backups of the <strong>Oracle</strong> data by using the RMAN utility,<br />

complete the data recovery, if required.<br />

To recover the <strong>Oracle</strong> data, use the appropriate <strong>Oracle</strong> commands to apply the<br />

archived redo logs and online redo logs. There are two ways to use the <strong>Oracle</strong><br />

recovery commands:<br />

◆ Include the <strong>Oracle</strong> commands in the RMAN restore script. A sample RMAN<br />

script is provided on page 121.<br />

◆ After the RMAN restore script has completed successfully, type the commands at<br />

the operating system command line.<br />

The appropriate <strong>Oracle</strong> backup and recovery documentation provides more<br />

in<strong>for</strong>mation on <strong>Oracle</strong> data recovery procedures.<br />

Per<strong>for</strong>ming an <strong>Oracle</strong> data restore and recovery 127


Data Restore and Recovery<br />

128<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This chapter includes the following sections:<br />

5<br />

Disaster Recovery<br />

◆ About disaster recovery ............................................................................................. 130<br />

◆ Preparing an <strong>Oracle</strong> database <strong>for</strong> disaster recovery .............................................. 130<br />

◆ Per<strong>for</strong>ming a disaster recovery ................................................................................. 133<br />

◆ Sample postcommand script ..................................................................................... 134<br />

Disaster Recovery 129


Disaster Recovery<br />

130<br />

About disaster recovery<br />

It is important to develop a plan <strong>for</strong> recovering from a disaster on the computer<br />

system. Back up important data on a daily basis. To prepare <strong>for</strong> a disk crash or loss of<br />

data, develop and test a plan <strong>for</strong> recovering data.<br />

You must determine the required frequency of backups. Consider that backup<br />

frequency is a trade-off between the time spent backing up data, and the time spent<br />

later recovering a database after a crash.<br />

The following sections describe how to prepare <strong>for</strong> disaster recovery on an <strong>Oracle</strong><br />

Server or <strong>NetWorker</strong> server host, and how to per<strong>for</strong>m an <strong>Oracle</strong> disaster recovery to a<br />

new host.<br />

This disaster recovery in<strong>for</strong>mation pertains to single-instance databases only. The<br />

in<strong>for</strong>mation does not pertain to disaster recovery <strong>for</strong>:<br />

◆ ASM environments (<strong>for</strong> example, requiring backups of ASM metadata)<br />

◆ PowerSnap <strong>Module</strong> environments<br />

◆ RAC environments<br />

Preparing an <strong>Oracle</strong> database <strong>for</strong> disaster recovery<br />

To prepare an <strong>Oracle</strong> database environment <strong>for</strong> disaster recovery, you must back up<br />

the following minimum list of files:<br />

◆ <strong>Oracle</strong> database (all the datafiles)<br />

◆ Archived redo logs<br />

◆ Control file<br />

◆ Initialization parameter files, including one or both of the following:<br />

PFILE (user-managed parameter file)<br />

SPFILE (server-managed parameter file)<br />

◆ Network files, including listener.ora, sqlnet.ora, tnsnames.ora<br />

◆ Text file containing the <strong>Oracle</strong> DBID<br />

◆ Password file, in the following location by default:<br />

On UNIX, $ORACLE_HOME/dbs/orapw$ORACLE_SID<br />

On Windows, %ORACLE_HOME%\database\PWD%ORACLE_SID%.ora<br />

◆ Registry files:<br />

On UNIX, oratab is typically in /var/opt/oracle or /etc<br />

On Windows, My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\<strong>Oracle</strong><br />

◆ Recovery Catalog, if applicable<br />

◆ RMAN scripts, if applicable<br />

The <strong>Oracle</strong> documentation provides an exhaustive list of the files (other than the<br />

<strong>Oracle</strong> database) that should be backed up.<br />

Follow these guidelines to facilitate disaster recovery:<br />

◆ Institute mirrored control files.<br />

◆ Refer to <strong>Oracle</strong> documentation <strong>for</strong> recommendations on whether to institute<br />

mirrored online redo logs.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Create the DBID text file<br />

◆ Back up the archived redo logs frequently between database backups.<br />

◆ Back up the Recovery Catalog after every target database backup.<br />

Disaster Recovery<br />

◆ After manual <strong>Oracle</strong> backups, per<strong>for</strong>m regular backups of the <strong>NetWorker</strong> server<br />

bootstrap and <strong>Oracle</strong> client file index by using the procedure described in<br />

“<strong>NetWorker</strong> server bootstrap backup” on page 106.<br />

To back up the required files in preparation <strong>for</strong> disaster recovery, per<strong>for</strong>m the<br />

following:<br />

1. “Create the DBID text file” on page 131<br />

2. “Set up a postcommand script <strong>for</strong> backup of <strong>Oracle</strong>-related files” on page 131<br />

3. “Set up RMAN backups of the database and related files” on page 132<br />

4. “Set up RMAN backups of Recovery Catalog” on page 132<br />

The <strong>Oracle</strong> DBID is an internal <strong>Oracle</strong> ID that helps <strong>Oracle</strong> find the autobackup of the<br />

SPFILE, if the Recovery Catalog is not accessible.<br />

Be<strong>for</strong>e the <strong>Oracle</strong> DBID can be backed up, you must manually record the DBID in a<br />

text file. The simplest way to find the DBID of an <strong>Oracle</strong> database is to connect to the<br />

database through RMAN once the database has been mounted.<br />

Once you have recorded the DBID in a text file, you can store the text file containing<br />

the DBID in any directory where you have the proper operating system permissions.<br />

You can use a postcommand script to back up the DBID text file, as described in “Set<br />

up a postcommand script <strong>for</strong> backup of <strong>Oracle</strong>-related files” on page 131.<br />

In the sample postcommand script provided with the NMO software, the DBID text<br />

file is assumed to be dbid.txt, located in the $ORACLE_HOME directory. “Sample<br />

postcommand script” on page 134 provides details on the sample postcommand<br />

script.<br />

Set up a postcommand script <strong>for</strong> backup of <strong>Oracle</strong>-related files<br />

You can use a postcommand script to back up the files that <strong>Oracle</strong> RMAN does not<br />

back up, such as the following files:<br />

◆ Initialization parameter file PFILE (user-managed parameter file)<br />

◆ Network files, including listener.ora, sqlnet.ora, tnsnames.ora<br />

◆ Text file containing the <strong>Oracle</strong> DBID, as described in “Create the DBID text file”<br />

on page 131<br />

◆ Password file in the following location by default:<br />

On UNIX, $ORACLE_HOME/dbs/orapw$ORACLE_SID<br />

On Windows, %ORACLE_HOME%\database\PWD%ORACLE_SID%.ora<br />

◆ Registry files:<br />

On UNIX, oratab is typically in /var/opt/oracle or /etc<br />

On Windows, My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\<strong>Oracle</strong><br />

◆ RMAN scripts, if applicable<br />

You can either create a postcommand script from scratch, or modify the<br />

postcommand script that is provided with the NMO software.<br />

Preparing an <strong>Oracle</strong> database <strong>for</strong> disaster recovery 131


Disaster Recovery<br />

132<br />

On UNIX, you can use any name <strong>for</strong> the postcommand script. On Windows, the<br />

script name must end in .bat.<br />

Note: During a scheduled NMO backup, the nsrnmostart process passes the options<br />

-s server_name -g group_name to the postcommand script if the script name begins with<br />

nsrnmodr.<br />

In a scheduled RMAN backup, include the postcommand script by one of the<br />

following methods:<br />

◆ If you use the NMO wizard to configure the RMAN backup, specify the<br />

postcommand script in the wizard.<br />

◆ If you use the legacy method (without the wizard) to configure the RMAN<br />

backup, set the POSTCMD parameter in the nsrnmo script.<br />

“Sample postcommand script” on page 134 provides details on the postcommand<br />

script that is provided with the NMO software.<br />

Set up RMAN backups of the database and related files<br />

Set up an RMAN backup with NMO to back up the following files:<br />

◆ <strong>Oracle</strong> database (all the datafiles)<br />

◆ Archived redo logs<br />

◆ Control file<br />

◆ Initialization parameter file SPFILE (server-managed parameter file)<br />

Follow the instructions in the preceding chapters of this guide to properly configure<br />

and run the RMAN backup with NMO.<br />

For example, to include the control file and SPFILE in the backup, you can add the<br />

following commands to the RMAN backup script:<br />

◆ backup current control file<br />

Set up RMAN backups of Recovery Catalog<br />

◆ backup spfile<br />

The RMAN documentation provides details on RMAN commands and scripts.<br />

If you want to back up PFILE (user-managed parameter file) or other files that <strong>Oracle</strong><br />

RMAN does not back up, you can use a postcommand script. “Set up a postcommand<br />

script <strong>for</strong> backup of <strong>Oracle</strong>-related files” on page 131 provides details on setting up<br />

the postcommand script.<br />

Set up an RMAN backup of the Recovery Catalog by using the same method as <strong>for</strong><br />

the target database backup, as described in “Set up RMAN backups of the database<br />

and related files” on page 132.<br />

<strong>Oracle</strong> documentation provides more in<strong>for</strong>mation on setting up and running<br />

Recovery Catalog backups.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Per<strong>for</strong>ming a disaster recovery<br />

<strong>NetWorker</strong> server recovery<br />

Disaster Recovery<br />

The following sections provide guidelines <strong>for</strong> different types of disaster recovery<br />

operations:<br />

◆ “<strong>NetWorker</strong> server recovery” on page 133<br />

◆ “<strong>Oracle</strong> disaster recovery to a new host” on page 133<br />

<strong>NetWorker</strong> software can be used to recover from different types of disasters on the<br />

<strong>NetWorker</strong> server. The degree of data loss during a disaster can range from one or<br />

more files lost when a disk crashes, to an entire computer system. The degree of<br />

severity of the disaster determines the procedures that must be per<strong>for</strong>med to recover<br />

data on the <strong>NetWorker</strong> server.<br />

With respect to <strong>NetWorker</strong> backups, recall that the bootstrap is a critical file, backed<br />

up only after scheduled <strong>Oracle</strong> backups. If only manual <strong>Oracle</strong> backups are per<strong>for</strong>med,<br />

back up the bootstrap and client index manually. “<strong>NetWorker</strong> server bootstrap<br />

backup” on page 106 provides more in<strong>for</strong>mation.<br />

Along with the bootstrap in<strong>for</strong>mation, keep accurate records of the network and<br />

system configurations, and maintain all the original software in a safe location. For a<br />

comprehensive disaster recovery, the following items are required:<br />

◆ Original operating system media and patches<br />

◆ Original <strong>NetWorker</strong> media<br />

◆ Device drivers and media device names<br />

◆ File system configuration<br />

◆ IP addresses and hostnames<br />

<strong>Oracle</strong> disaster recovery to a new host<br />

◆ Bootstrap in<strong>for</strong>mation<br />

The <strong>NetWorker</strong> disaster recovery guide provides in<strong>for</strong>mation on how to recover the<br />

<strong>NetWorker</strong> server from various types of disasters. “Related documentation” on<br />

page 15 describes how to access the guide.<br />

To per<strong>for</strong>m an <strong>Oracle</strong> disaster recovery to a new host:<br />

1. Install the <strong>Oracle</strong> software on the new host.<br />

2. Install <strong>NetWorker</strong> client and NMO software on the new host, and create a Client<br />

resource <strong>for</strong> the new host.<br />

3. Ensure that the user per<strong>for</strong>ming the recovery on the new host is listed in the<br />

Remote Access attribute in the Client resource of the original host. (This is<br />

required <strong>for</strong> “directed recovery” in <strong>NetWorker</strong>.)<br />

4. To recover <strong>Oracle</strong> files that were backed up through a postcommand script, use<br />

either the <strong>NetWorker</strong> User GUI or the recover command.<br />

For example, a typical recover command is as follows:<br />

recover –s <strong>NetWorker</strong>_server –c client_name_of_original_host<br />

–d /var/opt/oracle –a /var/opt/oracle/oratab<br />

Per<strong>for</strong>ming a disaster recovery 133


Disaster Recovery<br />

134<br />

Sample postcommand script<br />

Note: On Windows, you may need to reinsert the oracle.reg file into the registry after<br />

recovering it, <strong>for</strong> example, with the following command:<br />

regedit /S C:\temp\oracle.reg<br />

The <strong>Oracle</strong> documentation provides more details.<br />

5. To per<strong>for</strong>m the remainder of the disaster recovery, follow the instructions in the<br />

<strong>Oracle</strong> Database Backup and Recovery User’s <strong>Guide</strong>. In the RMAN script, set the<br />

NSR_CLIENT parameter to the name of the original host.<br />

You can use a postcommand script to back up files that <strong>Oracle</strong> RMAN does not back<br />

up, as described in “Set up a postcommand script <strong>for</strong> backup of <strong>Oracle</strong>-related files”<br />

on page 131. The NMO software includes a sample postcommand script that you can<br />

modify <strong>for</strong> your environment.<br />

The NMO installation provides a sample postcommand script that is specific to UNIX<br />

or Windows, depending on the plat<strong>for</strong>m where NMO is installed. The sample script<br />

is installed in the bin subdirectory under the <strong>NetWorker</strong> software directory, <strong>for</strong><br />

example, under /usr/sbin.<br />

You must customize the settings in the sample postcommand script <strong>for</strong> the specific<br />

environment. At a minimum, you must set the ORACLE_HOME and ORACLE_SID<br />

parameters in the script. If these two parameters are not set, the postcommand script<br />

fails at runtime.<br />

Note: During a scheduled NMO backup, the nsrnmostart process passes the options<br />

-s server_name -g group_name to the postcommand script if the script name begins with<br />

nsrnmodr.<br />

View the sample postcommand script provided with NMO as follows:<br />

◆ Example 21 on page 134<br />

◆ Example 22 on page 135<br />

Example 21 Sample postcommand script on UNIX<br />

The sample postcommand script named nsrnmodrpostcmd is installed with the<br />

NMO software on UNIX.<br />

To use this script <strong>for</strong> backups in your environment, you must customize the script. At<br />

a minimum, set the ORACLE_HOME and ORACLE_SID parameters in the script.<br />

The nsrnmodrpostcmd script provided on UNIX is as follows:<br />

##!/bin/ksh<br />

#<br />

ORACLE_HOME=<br />

ORACLE_SID=<br />

GRP=no<br />

SRV=no<br />

complete=0<br />

shift<br />

shift<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


while [ "$#" -gt "0" ]<br />

do<br />

if [ "$1" = "-g" ]; then<br />

GRP=$2<br />

if [ "$SRV" != "no" ]; then<br />

complete=1<br />

fi<br />

elif [ "$1" = "-s" ]; then<br />

SRV=$2<br />

if [ "$GRP" != "no" ]; then<br />

complete=1<br />

fi<br />

fi<br />

shift<br />

done<br />

if [ $complete -eq 1 ]; then<br />

save -s $SRV -g $GRP $ORACLE_HOME/network/admin<br />

save -s $SRV -g $GRP $ORACLE_HOME/dbs/orapw$ORACLE_SID<br />

save -s $SRV -g $GRP /var/opt/oracle/oratab<br />

save -s $SRV -g $GRP $ORACLE_HOME/dbid.txt<br />

fi<br />

Example 22 Sample postcommand script on Windows<br />

Disaster Recovery<br />

The sample postcommand script named nsrnmodrpostcmd.bat is installed with the<br />

NMO software on Windows.<br />

To use this script <strong>for</strong> backups in your environment, you must customize the script. At<br />

a minimum, set the ORACLE_HOME and ORACLE_SID parameters in the script.<br />

The nsrnmodrpostcmd.bat script provided on Windows is as follows:<br />

echo off<br />

set SRV=no<br />

set GRP=no<br />

set ORACLE_HOME=<br />

shift<br />

set ORACLE_SID=<br />

shift<br />

:start<br />

if %1==-g goto assignG<br />

if %1==-s goto assignS<br />

if not exist %1 goto fail<br />

shift<br />

goto start<br />

:assignG<br />

set GRP=%2<br />

shift<br />

shift<br />

if %SRV%==no goto start<br />

goto end<br />

:assignS<br />

set SRV=%2<br />

shift<br />

shift<br />

if %GRP%==no goto start<br />

:end<br />

Sample postcommand script 135


Disaster Recovery<br />

136<br />

save -s %SRV% -g %GRP% %ORACLE_HOME%\network\admin<br />

save -s %SRV% -g %GRP% %ORACLE_HOME%\database\PWD%ORACLE_SID%.ora<br />

regedit -E C:\temp\oracle.reg HKEY_LOCAL_MACHINE\SOFTWARE\<strong>Oracle</strong><br />

save -s %SRV% -g %GRP% C:\temp\oracle.reg<br />

save -s %SRV% -g %GRP% %ORACLE_HOME%\dbid.txt<br />

:fail<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This chapter includes the following sections:<br />

6<br />

Cluster and RAC<br />

Systems<br />

◆ Considerations <strong>for</strong> cluster and RAC systems ......................................................... 138<br />

◆ Cluster systems............................................................................................................ 139<br />

◆ RAC systems ................................................................................................................ 140<br />

Cluster and RAC Systems 137


Cluster and RAC Systems<br />

138<br />

Considerations <strong>for</strong> cluster and RAC systems<br />

To prepare <strong>for</strong> successful <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) operations on cluster<br />

and RAC systems, consider the following:<br />

◆ “Parameters in the RMAN script or session” on page 138<br />

◆ “<strong>NetWorker</strong> software configuration” on page 139<br />

◆ “Backup failover” on page 139<br />

Parameters in the RMAN script or session<br />

NSR_CLIENT<br />

!<br />

The parameters NSR_CLIENT and NSR_SERVER must be correctly set in the RMAN<br />

script or session. Appendix A, “Parameters in an RMAN Session,” provides more<br />

in<strong>for</strong>mation on how to set the required parameters.<br />

During an <strong>Oracle</strong> backup, the <strong>NetWorker</strong> server creates entries about the backed-up<br />

data in the online client file index. During an <strong>Oracle</strong> restore, the data is retrieved by<br />

first searching this client file index.<br />

The parameter NSR_CLIENT that is set in the RMAN script provides the following<br />

in<strong>for</strong>mation to the <strong>NetWorker</strong> server:<br />

◆ During a backup, the name of the <strong>NetWorker</strong> client whose index file should be<br />

used to record the backup in<strong>for</strong>mation.<br />

◆ During a restore, the name of the <strong>NetWorker</strong> client whose index file should be<br />

used to search <strong>for</strong> the save set to be restored.<br />

If NSR_CLIENT is not set, the <strong>NetWorker</strong> server uses the name of the local physical<br />

host. Set the parameter NSR_CLIENT to the same value <strong>for</strong> all channels allocated<br />

during the backup.<br />

The value of NSR_CLIENT (either the default value or an explicitly defined value)<br />

used <strong>for</strong> a backup should be the same as the value of NSR_CLIENT used <strong>for</strong> the<br />

restore of that backup. Setting NSR_CLIENT to the name of the virtual (as opposed to<br />

the physical) host might be preferable, so the backup and restore scripts run<br />

successfully unmodified, regardless of the physical host that executes the scripts.<br />

IMPORTANT<br />

If NSR_CLIENT is set to any value other than the default value during a backup or<br />

restore, the Remote Access attribute must be modified in that <strong>NetWorker</strong> Client<br />

resource. The <strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation.<br />

For each <strong>Oracle</strong> backup and restore, set NSR_CLIENT by using either the rman send<br />

command on the operating system command line or the send command in the<br />

RMAN script.<br />

Note: Setting NSR_CLIENT in the system environment has no effect.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


NSR_SERVER<br />

<strong>NetWorker</strong> software configuration<br />

Backup failover<br />

Cluster systems<br />

Cluster and RAC Systems<br />

Set the parameter NSR_SERVER <strong>for</strong> a manual <strong>Oracle</strong> backup or restore if the<br />

<strong>NetWorker</strong> server is a remote system <strong>for</strong> the node running the RMAN session. The<br />

parameter must be set to the server name <strong>for</strong> each channel.<br />

Note: The parameter NSR_SERVER does not need to be set <strong>for</strong> a scheduled <strong>Oracle</strong> backup.<br />

Ensure the correct <strong>NetWorker</strong> software configuration by per<strong>for</strong>ming the following<br />

tasks:<br />

1. Ensure that the system is set up properly:<br />

In the <strong>NetWorker</strong> Client resource of each host, the Save Set attribute is set to:<br />

RMAN:RMAN_script_pathname<br />

In the directory that contains the savefs program file, there is an empty file<br />

named pathownerignore. Create the pathownerignore file if it does not exist.<br />

The <strong>NetWorker</strong> installation guide provides more in<strong>for</strong>mation on the default<br />

directory <strong>for</strong> the savefs program.<br />

2. Configure a Client resource on the <strong>NetWorker</strong> server <strong>for</strong> each RAC node that will<br />

be used to run backups and restores. In each Client resource, use the fully<br />

qualified IP name as the client name.<br />

“Configure a Client resource with NMC” on page 87 provides in<strong>for</strong>mation on<br />

how to configure a Client resource <strong>for</strong> NMO backups.<br />

3. In the Remote Access attribute in the Client resource <strong>for</strong> a virtual host, specify the<br />

name of each physical host that can store and retrieve the backups.<br />

Neither RMAN nor NMO supports Transparent Application Failover (TAF). As a<br />

result, if a failure occurs during a backup, the backup is not automatically restarted<br />

from the point of failure on another node. Only connect-time failover is supported.<br />

“Connect-time failover” on page 144 provides more in<strong>for</strong>mation.<br />

A cluster system typically includes multiple nodes connected by a shared SCSI bus to<br />

which common storage is attached. In a cluster system, cluster services such as disk<br />

services can be defined and assigned their own IP addresses and names (virtual<br />

hosts). The services and their associated storage can migrate <strong>for</strong> failover between the<br />

physical nodes in the cluster.<br />

Together, the NMO and <strong>NetWorker</strong> server software can back up and restore an<br />

<strong>Oracle</strong> database configured on cluster disk services. The <strong>NetWorker</strong> server treats<br />

each cluster service as an independent client and stores the associated backup entries<br />

in the online indexes under the name of the service.<br />

After properly configuring a cluster service as a <strong>NetWorker</strong> client, NMO can be used<br />

with the <strong>NetWorker</strong> server to back up and restore the database associated with the<br />

service, independent of the actual node that provides the service.<br />

Cluster systems 139


Cluster and RAC Systems<br />

140<br />

To configure a cluster system <strong>for</strong> <strong>Oracle</strong> backup and restore operations that use<br />

NMO, follow the “Roadmap <strong>for</strong> backup/restore configuration in a cluster system” on<br />

page 140.<br />

Roadmap <strong>for</strong> backup/restore configuration in a cluster system<br />

Backup failover<br />

RAC systems<br />

RAC terminology<br />

The <strong>Oracle</strong> Server and <strong>NetWorker</strong> server systems must be configured be<strong>for</strong>e NMO<br />

can be used with the <strong>NetWorker</strong> server <strong>for</strong> <strong>Oracle</strong> backup and restore operations in a<br />

cluster system.<br />

Be<strong>for</strong>e configuring <strong>Oracle</strong> backup and restore operations in a cluster system, ensure<br />

the following:<br />

◆ The NMO software is properly installed according to the instructions in the<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide.<br />

◆ The <strong>Oracle</strong> Server and <strong>NetWorker</strong> server system configurations are completed<br />

according to the instructions in the “Configuration roadmap” on page 62.<br />

To properly configure <strong>Oracle</strong> backup and restore operations with NMO in a cluster<br />

system:<br />

1. Configure the storage <strong>for</strong> the database as a cluster disk service.<br />

The appropriate cluster administration guide from the particular cluster software<br />

vendor provides more in<strong>for</strong>mation.<br />

2. Configure a Client resource on the <strong>NetWorker</strong> server <strong>for</strong> the virtual host and each<br />

physical host that will run backups and restores.<br />

3. Create an RMAN script that includes the appropriate NSR_CLIENT parameter<br />

settings. “NSR_CLIENT” on page 138 provides more in<strong>for</strong>mation.<br />

When a node failure occurs during a manual (unscheduled) <strong>Oracle</strong> backup, a database<br />

administrator (DBA) must restart the backup after instance recovery. Since the <strong>Oracle</strong><br />

Net services are configured with a cluster service name, the restarted backup is<br />

executed on the physical node that takes control of the cluster service.<br />

When a node failure occurs during a scheduled <strong>Oracle</strong> backup, the <strong>NetWorker</strong> server<br />

restarts the backup (from the beginning, not from the point of failure) if the Client<br />

Retries attribute in the <strong>NetWorker</strong> Group resource is set to a value greater than zero.<br />

The restarted backup is executed on the node that takes control of the cluster service.<br />

The NMO software supports backups and restores of RAC systems <strong>for</strong> parallelism<br />

and high availability.<br />

A node in a RAC system is a physical computer with a hostname such as<br />

node1.emc.com. An <strong>Oracle</strong> instance is a memory structure and a group of <strong>Oracle</strong><br />

Server processes running on a node.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


RAC backups and restores<br />

Cluster and RAC Systems<br />

An <strong>Oracle</strong> database (<strong>for</strong> example, named databs1) comprises a set of datafiles, which<br />

are used by the <strong>Oracle</strong> instances and can be shared between the nodes. All instances<br />

share the same datafiles and control file. Each node must have its own set of redo log<br />

files and its own archived redo logs.<br />

After proper configuration of RAC and the associated cluster system, NMO enables<br />

<strong>Oracle</strong> backups on either a single node or several nodes of the RAC system.<br />

A parallel <strong>Oracle</strong> backup uses <strong>Oracle</strong> instances running in parallel on multiple nodes<br />

of the cluster. In the RMAN backup script created <strong>for</strong> running a parallel <strong>Oracle</strong><br />

backup, allocate multiple channels <strong>for</strong> the backup and specify that each channel run<br />

on a specific node. The parameter NSR_CLIENT must be set to the same value <strong>for</strong> each<br />

channel. “NSR_CLIENT” on page 138 provides more in<strong>for</strong>mation on setting the<br />

parameter.<br />

NMO software enables restores of the <strong>Oracle</strong> data to any physical node in the cluster,<br />

regardless of which physical node originally per<strong>for</strong>med the backup.<br />

To enable <strong>Oracle</strong> backup and restore operations, follow the configuration steps in<br />

“Roadmap <strong>for</strong> backup/restore configuration in a RAC system” on page 141.<br />

Roadmap <strong>for</strong> backup/restore configuration in a RAC system<br />

To properly configure <strong>Oracle</strong> backup and restore operations with NMO in a RAC<br />

system:<br />

1. Install the proper cluster management software on each cluster node.<br />

The appropriate cluster installation documentation from the particular cluster<br />

software vendor provides more in<strong>for</strong>mation.<br />

2. Configure the cluster <strong>for</strong> use with RAC.<br />

The appropriate RAC documentation from <strong>Oracle</strong> Corporation provides more<br />

in<strong>for</strong>mation.<br />

3. Install and configure the RAC software.<br />

The required patches from <strong>Oracle</strong> might need to be installed, to complete the<br />

RAC installation and linking procedures. Configure the <strong>Oracle</strong> Net services to<br />

allow connect-time (SQL Net) failover. “Connect-time failover” on page 144<br />

provides guidelines. The appropriate <strong>Oracle</strong> documentation provides more<br />

in<strong>for</strong>mation.<br />

4. Install NMO on each node of the cluster to be used <strong>for</strong> backup and recover<br />

operations.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide provides more in<strong>for</strong>mation.<br />

5. Configure a Client resource on the <strong>NetWorker</strong> server <strong>for</strong> the virtual host and each<br />

physical host that will run backups and restores.<br />

6. Create the appropriate RMAN backup and restore scripts <strong>for</strong> the preferred types<br />

of <strong>Oracle</strong> backups and restores on the RAC system. The following sections<br />

provide more in<strong>for</strong>mation:<br />

“Creating RMAN backup scripts” on page 146<br />

“Creating RMAN restore scripts” on page 146<br />

RAC systems 141


Cluster and RAC Systems<br />

142<br />

7. Review the additional issues concerning <strong>Oracle</strong> recover operations in “Archived<br />

redo logs” on page 147.<br />

8. To set up a local storage node <strong>for</strong> each RAC node involved in a backup, follow the<br />

instructions in “Setting up RAC nodes to back up to a local storage node” on<br />

page 142.<br />

Setting up RAC nodes to back up to a local storage node<br />

To set up RAC nodes to back up to a local storage node:<br />

1. Ensure that the <strong>NetWorker</strong> storage node software is installed on each RAC node<br />

to be used <strong>for</strong> the NMO backup.<br />

2. On the <strong>NetWorker</strong> server, create a <strong>NetWorker</strong> Storage Node resource <strong>for</strong> each<br />

RAC node to be used <strong>for</strong> the NMO backup. The <strong>NetWorker</strong> administration guide<br />

provides details on storage node configuration.<br />

3. Create a <strong>NetWorker</strong> Device resource <strong>for</strong> the device on each RAC node to be used<br />

<strong>for</strong> the NMO backup. The <strong>NetWorker</strong> administration guide provides details on<br />

device resource configuration.<br />

4. Ensure that Groups and the selection criteria (such as Clients) of the media pool<br />

used <strong>for</strong> the devices match the settings in the NMO backup configuration.<br />

5. Label and mount a <strong>NetWorker</strong> volume on each storage node.<br />

6. Select one of the RAC nodes to store the <strong>NetWorker</strong> indexes <strong>for</strong> the NMO backup<br />

and to initiate the backup.<br />

7. For the RAC node that will initiate the NMO backup, create a <strong>NetWorker</strong> Client<br />

resource with the attribute settings required <strong>for</strong> the backup, as described in<br />

“<strong>NetWorker</strong> software configuration” on page 139:<br />

The Remote Access attribute must include the hostnames of all the other RAC<br />

nodes.<br />

The Storage Nodes attribute must contain curphyhost, followed by<br />

nsrserverhost. The Storage Nodes attribute must be set to the following:<br />

curphyhost<br />

nsrserverhost<br />

8. For each of the other RAC nodes that will not initiate the NMO backup, create a<br />

basic Client resource. (Settings in these other Client resources do not affect the<br />

NMO backup.)<br />

9. On the RAC node that will initiate the NMO backup, create the required nsrnmo<br />

script and RMAN backup script. The RMAN script must include the<br />

NSR_CLIENT setting, as described in “NSR_CLIENT” on page 138.<br />

Example 23 on page 142 shows how to set up three RAC nodes as storage nodes <strong>for</strong><br />

NMO backups.<br />

Example 23 Setting up RAC nodes as storage nodes<br />

A RAC system contains three nodes named A, B, and C. Each node has a Linux<br />

operating system, and an attached tape drive to be used <strong>for</strong> NMO backups.<br />

<strong>NetWorker</strong> storage node software is installed on each node.<br />

In the NMC interface, a Storage Node resource is created <strong>for</strong> each node by<br />

right-clicking Storage Nodes in the Devices pane and selecting New.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Cluster and RAC Systems<br />

After the Storage Node resources are created, a Device resource is created <strong>for</strong> each<br />

tape drive. Each Device resource is created in NMC by right-clicking Devices in the<br />

Devices pane and selecting New. Since the tape devices are attached to storage<br />

nodes, the device names must have the <strong>for</strong>mat rd=host_name:device_name. For<br />

example:<br />

◆ Tape device /dev/rmt/tape0 is attached to node A. In the Device resource, the<br />

device name is rd=A:/dev/rmt/tape0.<br />

◆ Tape device /dev/rmt/tape3 is attached to node B. In the Device resource, the<br />

device name is rd=B:/dev/rmt/tape3.<br />

◆ Tape device /dev/rmt/tape1 is attached to node C. In the Device resource, the<br />

device name is rd=C:/dev/rmt/tape1.<br />

In the tape device on each node, a volume is labeled and mounted. All of the volumes<br />

are assigned to the Default pool in this example.<br />

Node A is selected to store the index entries <strong>for</strong> the NMO backups and initiate the<br />

backups. (The choice of node A was arbitrary; node B or node C could have been<br />

chosen instead.) In all the RMAN backup and restores scripts, NSR_CLIENT must be<br />

set to the hostname of node A.<br />

In the <strong>NetWorker</strong> Client resource <strong>for</strong> node A:<br />

◆ The Remote Access attribute is set to the hostnames of nodes B and C.<br />

◆ The Storage Nodes attribute is set to:<br />

curphyhost<br />

nsrserverhost<br />

◆ The remaining attributes are set, as required. For example:<br />

The Backup Command attribute is set to the nsrnmo script name.<br />

The Group attribute is set to the backup group name.<br />

The Save Set attribute is set to the RMAN script pathname.<br />

The following RMAN script uses all three nodes to per<strong>for</strong>m the backup. Each node<br />

backs up data to its local tape drive:<br />

connect target sys/oracle@connect_identifier;<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’<br />

connect ’sys/oracle@Net_service_name_of_instance_A’;<br />

allocate channel t2 type ’SBT_TAPE’<br />

connect ’sys/oracle@Net_service_name_of_instance_B’;<br />

allocate channel t3 type ’SBT_TAPE’<br />

connect ’sys/oracle@Net_service_name_of_instance_C’;<br />

send channel t1 ’NSR_ENV=(NSR_CLIENT=A)’;<br />

send channel t2 ’NSR_ENV=(NSR_CLIENT=A)’;<br />

send channel t3 ’NSR_ENV=(NSR_CLIENT=A)’;<br />

backup database;<br />

release channel t1;<br />

release channel t2;<br />

release channel t3;<br />

}<br />

To enable restores, NSR_CLIENT must be set to the hostname of node A. For<br />

example, the following RMAN script restores the database. The script can be run on<br />

any host:<br />

connect target sys/oracle@connect_identifier;<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

send channel t1 ’NSR_ENV=(NSR_CLIENT=A)’;<br />

RAC systems 143


Cluster and RAC Systems<br />

144<br />

Connect-time failover<br />

}<br />

send channel t2 ’NSR_ENV=(NSR_CLIENT=A)’;<br />

restore database;<br />

release channel t1;<br />

release channel t2;<br />

If multiple listeners support a single service, a connect-time failover reroutes the<br />

connection request to another listener if the first listener is down or cannot make the<br />

connection. To enable the connect-time failover in RAC, there must be a listener on<br />

each node, and each instance must use the same Net service name.<br />

When using the local Net service naming method, the client’s tnsnames.ora file<br />

should include the following parameters:<br />

o92pA.emc.com =<br />

(DESCRIPTION =<br />

(ADDRESS_LIST =<br />

(FAILOVER = ON)<br />

(ADDRESS = (PROTOCOL = tcp) (HOST = nodeA)<br />

(PORT = 1521))<br />

(ADDRESS = (PROTOCOL = tcp) (HOST = nodeB)<br />

(PORT = 1521))<br />

)<br />

(CONNECT DATA =<br />

(SERVICE_NAME = proddb)<br />

)<br />

)<br />

◆ Set the FAILOVER parameter to ON. The default value is ON <strong>for</strong> an<br />

ADDRESS_LIST, and OFF when ADDRESS_LIST is not specified.<br />

Note: FAILOVER was introduced in <strong>Oracle</strong>8i.<br />

◆ Include the ADDRESS_LIST parameter:<br />

If multiple addresses are specified, but the ADDRESS_LIST parameter is<br />

omitted, the <strong>Oracle</strong> Net service reads the addresses sequentially and attempts<br />

to connect to the last one only.<br />

If the ADDRESS_LIST parameter is specified, the addresses are tried in the<br />

order they appear in the list.<br />

◆ In the CONNECT_DATA section, use SERVICE_NAME instead of the system<br />

identifer (SID). SERVICE_NAME should be different from SID.<br />

Note: SERVICE_NAME was introduced in <strong>Oracle</strong>8i.<br />

◆ GLOBAL_DBNAME should not appear in the SID_LIST_LISTENER parameter of<br />

the listener.ora file since it disables the failover.<br />

When a node or listener to which a client tries to connect is not available, the next<br />

listener on the list is contacted. When the instance is down but the listener is running,<br />

the failover occurs only if the instance is configured to dynamically register with the<br />

listener.<br />

Dynamic instance registration<br />

Dynamic instance registration was introduced in <strong>Oracle</strong>8i. During dynamic instance<br />

registration, the database registers itself with the <strong>Oracle</strong> listener on startup and<br />

unregisters itself on shutdown.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


To per<strong>for</strong>m dynamic instance registration:<br />

Cluster and RAC Systems<br />

◆ Set the INSTANCE_NAME and SERVICE_NAME parameters in the initialization<br />

file (initoracle_sid.ora). There can be several services <strong>for</strong> a single instance.<br />

◆ If the listener does not listen on the default port (1521), set the LOCAL_LISTENER<br />

parameter in the initialization file.<br />

◆ The SID_LIST_LISTENER parameter in listener.ora must not include SID_DESC<br />

<strong>for</strong> the RAC instances.<br />

◆ It is not necessary to have the listener.ora file when the listener listens on the<br />

default port.<br />

When the instance is down, the listener does not know how to connect to it. As a<br />

result, the listener tries the next connect option specified in the ADDRESS_LIST in the<br />

tnsnames.ora file.<br />

Note: Some applications such as <strong>Oracle</strong> Enterprise Manager still require static database<br />

registration with a listener.<br />

Static instance registration<br />

With static registration, the in<strong>for</strong>mation about the instance is manually configured in<br />

the listener.ora file through SID_DES in the SID_LIST_LISTENER parameter. The<br />

listener contains continuous in<strong>for</strong>mation about the instance, even if the instance is<br />

down. As a result, when the instance is down, the listener still tries to connect to it<br />

rather than try the next connect option specified in the tnsnames.ora file.<br />

Backup failover<br />

When a manual backup is interrupted by an <strong>Oracle</strong> server-side failure, a DBA must<br />

restart the backup after instance recovery. During the restarted backup, the<br />

connection request to the failed instance is rerouted to another instance according to<br />

the connect-time failover setup in the tnsnames.ora file.<br />

For a scheduled backup, when the first backup attempt returns an error, the<br />

<strong>NetWorker</strong> server restarts the backup if the Client Retries attribute in the <strong>NetWorker</strong><br />

Group resource is set to a value greater than zero. The connect-time failover reroutes<br />

the connection to an available instance, and the restarted backup starts from the<br />

beginning. For example, if the backup fails 5 hours into a 10-hour backup, it takes 15<br />

hours to complete the backup. In this case, the operator might elect to wait until the<br />

next scheduled backup.<br />

On a RAC system, traditional cluster failover is not available. If an instance or node<br />

fails in RAC, another node detects the failure and recovers the failed node’s data. As a<br />

result, the nodes in RAC carry on without the failed node. If a system failure occurs<br />

on the RAC node used to initiate an NMO backup, the backup fails. In this case,<br />

manual intervention is required to configure and restart the backup on a different<br />

RAC node that is available:<br />

1. On the available RAC node, ensure that the following software is installed:<br />

<strong>NetWorker</strong> client<br />

<strong>NetWorker</strong> storage node (optional)<br />

NMO<br />

2. Configure the Client resource <strong>for</strong> the available RAC node.<br />

3. Replace the original Client resource with the new Client resource from step 2 <strong>for</strong><br />

the NMO backup.<br />

RAC systems 145


Cluster and RAC Systems<br />

146<br />

Creating RMAN backup scripts<br />

A single RMAN backup script can be used to run a parallel <strong>Oracle</strong> backup with NMO<br />

on a RAC system. In the backup script, allocate multiple channels <strong>for</strong> the backup and<br />

specify that each channel run on a specific node.<br />

Example 24 RMAN script <strong>for</strong> a manual <strong>Oracle</strong> backup on a RAC system<br />

Creating RMAN restore scripts<br />

Suppose a RAC system consists of two nodes named node1.emc.com and<br />

node2.emc.com. The <strong>Oracle</strong> instances named instance1 and instance2 are running on<br />

node1.emc.com and node2.emc.com, respectively. The <strong>NetWorker</strong> server is located<br />

on a separate node, server1.emc.com.<br />

The following RMAN script <strong>for</strong> a manual backup is intended to run on<br />

node1.emc.com by using the NOCATALOG mode of RMAN. The script sets<br />

NSR_CLIENT to node1.emc.com and NSR_SERVER to server1.emc.com. As a result,<br />

the <strong>NetWorker</strong> server stores the backup in<strong>for</strong>mation in the node1.emc.com client file<br />

index, as described in “NSR_CLIENT” on page 138. Two channels are allocated to<br />

each of the nodes, node1.emc.com and node2.emc.com:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

allocate channel t3 type ’SBT_TAPE’<br />

connect ’user_name/user_passwd@connect_string_of_node2’;<br />

allocate channel t4 type ’SBT_TAPE’<br />

connect ’user_name/user_passwd@connect_string_of_node2’;<br />

send ’NSR_ENV=(NSR_CLIENT=node1.emc.com,<br />

NSR_SERVER=server1.emc.com);<br />

backup filesperset 1<br />

<strong>for</strong>mat ’instance1_%s_%p’<br />

(database);<br />

release channel t1;<br />

release channel t2;<br />

release channel t3;<br />

release channel t4;<br />

}<br />

“Backing up all archived logs from each node” on page 147 provides a sample script<br />

to back up all the archive log files in a RAC system.<br />

A single RMAN restore script can be used to run a parallel <strong>Oracle</strong> restore with NMO<br />

on a RAC system. In the restore script, allocate multiple channels <strong>for</strong> the restore and<br />

specify that each channel run on a specific node.<br />

Note: NMO does not support multiple RMAN restores that are running at the same time.<br />

To run an <strong>Oracle</strong> restore on a RAC system, none of the nodes can be open. Only the<br />

node that is running the RMAN restore script needs to be mounted.<br />

Example 25 RMAN script <strong>for</strong> an <strong>Oracle</strong> restore on a RAC system<br />

Refer to Example 24 on page 146. A RAC system consists of two nodes named<br />

node1.emc.com and node2.emc.com. The <strong>Oracle</strong> instances named instance1 and<br />

instance2 are running on node1.emc.com and node2.emc.com, respectively. The<br />

<strong>NetWorker</strong> server is located on a separate node, server1.emc.com.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Archived redo logs<br />

Cluster and RAC Systems<br />

The following RMAN restore script is to be run on node2.emc.com. The script<br />

restores the backup that was created by the backup script in Example 24 on page 146.<br />

This restore script sets NSR_CLIENT to node1.emc.com and NSR_SERVER to the<br />

remote <strong>NetWorker</strong> server name. As a result, the <strong>NetWorker</strong> server will obtain the<br />

backup in<strong>for</strong>mation from the node1.emc.com client file index. Two channels are<br />

allocated to each of the nodes, node1.emc.com and node2.emc.com:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

allocate channel t3 type ’SBT_TAPE’<br />

connect ’user_name/user_passwd@connect_string_of_node1’;<br />

allocate channel t4 type ’SBT_TAPE’<br />

connect ’user_name/user_passwd@connect_string_of_node1’;<br />

send ’NSR_ENV=(NSR_CLIENT=node1.emc.com,<br />

NSR_SERVER=server1.emc.com)’;<br />

restore database;<br />

release channel t1;<br />

release channel t2;<br />

release channel t3;<br />

release channel t4;<br />

}<br />

In this example, the parallel <strong>Oracle</strong> backup was per<strong>for</strong>med with NSR_CLIENT set to<br />

node1.emc.com <strong>for</strong> each channel in the RMAN backup script. In order to restore the<br />

backup data to node2.emc.com, add node2.emc.com to the Remote Access attribute in<br />

the <strong>NetWorker</strong> Client resource <strong>for</strong> node1.emc.com.<br />

The <strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on how to modify<br />

the Client resource.<br />

“Restoring all archived logs from each node” on page 148 provides a sample script to<br />

restore all the archive log files in a RAC system.<br />

Each node in a RAC system maintains a separate set of redo logs. Redo logs that<br />

become full are archived on the local node. As a result, the archived redo logs are<br />

divided among the nodes of the system.<br />

To enable RMAN to back up and recover a RAC system, make all the archived redo<br />

log files accessible by all nodes participating in the backup or recovery. The<br />

appropriate <strong>Oracle</strong> RAC documentation provides in<strong>for</strong>mation on how to share the<br />

archived redo logs.<br />

The following sections provide sample scripts to back up and restore all the archived<br />

redo log files in a RAC system:<br />

◆ “Backing up all archived logs from each node” on page 147<br />

◆ “Restoring all archived logs from each node” on page 148<br />

Backing up all archived logs from each node<br />

All the archived log files in a RAC system can be backed up from a single node (<strong>for</strong><br />

example, a node named ops1.emc.com) by using the following type of RMAN script:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’<br />

connect ’user_name/user_passwd@connect_string_of_ops1’;<br />

allocate channel t2 type ’SBT_TAPE’<br />

connect ’user_name/user_passwd@connect_string_of_ops2’;<br />

send ’NSR_ENV=(NSR_CLIENT=ops1.emc.com)’;<br />

RAC systems 147


Cluster and RAC Systems<br />

148<br />

}<br />

backup filesperset 10<br />

(archivelog all delete input <strong>for</strong>mat ’al_%s_%p’);<br />

release channel t1;<br />

release channel t2;<br />

Restoring all archived logs from each node<br />

All the archived log files in a RAC system can be restored from a single node (<strong>for</strong><br />

example, a node named ops1.emc.com) by using the following type of RMAN script:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’<br />

connect ’user_name/user_passwd@connect_string_of_ops1’;<br />

allocate channel t2 type ’SBT_TAPE’<br />

connect ’user_name/user_passwd@connect_string_of_ops2’;<br />

send ’NSR_ENV=(NSR_SERVER=mars.emc.com, NSR_CLIENT=ops1.emc.com)’;<br />

restore (archive log all);<br />

release t1;<br />

release t2;<br />

}<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This chapter includes the following sections:<br />

7<br />

Proxy Backups and<br />

Restores<br />

◆ Overview of proxy backups and restores ................................................................ 150<br />

◆ Proxy backup and restore system ............................................................................. 151<br />

◆ Proxy backup processes ............................................................................................. 153<br />

◆ Proxy restore processes .............................................................................................. 159<br />

◆ Software configuration roadmap.............................................................................. 163<br />

◆ Proxy backup requirements....................................................................................... 171<br />

◆ Proxy backup in<strong>for</strong>mation in the <strong>NetWorker</strong> indexes........................................... 174<br />

◆ Proxy restore requirements........................................................................................ 177<br />

◆ Catalog synchronization <strong>for</strong> proxy backups ........................................................... 181<br />

◆ Proxy backups and restores on cluster systems...................................................... 194<br />

Proxy Backups and Restores 149


Proxy Backups and Restores<br />

150<br />

Overview of proxy backups and restores<br />

Types of proxy backups<br />

Instant backups<br />

Live backups<br />

Proxy backups and restores provide continuous snapshot-based protection and<br />

availability of <strong>Oracle</strong> data on specific types of primary storage. The <strong>NetWorker</strong><br />

<strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) software supports proxy backups and restores of <strong>Oracle</strong><br />

data with the following requirements:<br />

◆ The proxy backups create snapshots of <strong>Oracle</strong> data that reside on primary storage<br />

devices supported by the PowerSnap <strong>Module</strong>s that work with the NMO.<br />

The <strong>EMC</strong> In<strong>for</strong>mation Protection Software Compatibility <strong>Guide</strong> on the Powerlink<br />

website provides a complete list of supported PowerSnap <strong>Module</strong>s.<br />

◆ The proxy operations use the particular PowerSnap <strong>Module</strong> software designed<br />

<strong>for</strong> the primary storage.<br />

The following sources provide details on the installation requirements <strong>for</strong> proxy<br />

operations:<br />

◆ <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide<br />

◆ <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation<br />

(Refer to the PowerSnap <strong>Module</strong> version <strong>for</strong> the primary storage system.)<br />

NMO supports the following types of proxy backups, in cooperation with the<br />

appropriate PowerSnap <strong>Module</strong>:<br />

◆ “Instant backups” on page 150<br />

◆ “Live backups” on page 150<br />

An instant backup creates a point-in-time copy (snapshot) of <strong>Oracle</strong> data and stores<br />

this copy on the primary storage system. Instant backups can be scheduled to occur<br />

many times in a single day, with little impact to the <strong>Oracle</strong> Server or network.<br />

The group of <strong>Oracle</strong> datafiles in the point-in-time copy is referred to as a snap set. A<br />

snapshot policy must be configured to control the lifecycle of the snap set. This policy<br />

specifies the frequency of instant backups and how long snapshots are retained<br />

be<strong>for</strong>e being recycled. “Software configuration roadmap” on page 163 provides more<br />

in<strong>for</strong>mation.<br />

Note: NMO supports scheduled instant backups only. Manual (unscheduled) instant backups<br />

are not supported.<br />

NMO supports the following two types of live backup, which back up a snapshot to<br />

secondary (traditional) storage:<br />

◆ Deferred live backup — An existing point-in-time copy (snapshot), that is created<br />

during an instant backup, is backed up to secondary storage, such as tape. The<br />

snapshot is retained on the primary storage.<br />

◆ Immediate live backup — A point-in-time copy (snapshot) is created, and<br />

immediately backed up to secondary storage, such as tape. The snapshot is then<br />

automatically deleted from the primary storage.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Types of proxy restores<br />

Instant restores<br />

Rollbacks<br />

!<br />

A snapshot policy must be configured to enable live backups. “Software<br />

configuration roadmap” on page 163 provides more in<strong>for</strong>mation.<br />

IMPORTANT<br />

Proxy Backups and Restores<br />

Instant backups protect against logical failures only. To protect against physical<br />

failures, the point-in-time copy must be backed up to secondary storage.<br />

A proxy client host that is separate from the <strong>Oracle</strong> Server host can be used to move<br />

the point-in-time copy to the traditional storage medium, such as tape. Using a proxy<br />

client as a secondary host reduces the impact on the <strong>Oracle</strong> Server.<br />

Note: The proxy client can be a <strong>NetWorker</strong> storage node.<br />

NMO supports the following types of proxy restores, in cooperation with the<br />

appropriate PowerSnap <strong>Module</strong>:<br />

◆ “Instant restores” on page 151<br />

◆ “Rollbacks” on page 151<br />

◆ “Restores from secondary storage” on page 151<br />

During an instant restore, the saved data is retrieved from a mounted point-in-time<br />

copy that was created with an instant backup. A minimal amount of time is required<br />

<strong>for</strong> this type of restore.<br />

A rollback restores a whole point-in-time copy to a source location by using the<br />

hardware’s particular capabilities. Rollbacks are destructive restores because they<br />

overwrite the entire contents of a snapshot unit, such as a volume or disk. Use the<br />

<strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation to determine if a rollback is<br />

supported on a specific type of hardware.<br />

Restores from secondary storage<br />

If the point-in-time copy was backed up to secondary storage through a live backup,<br />

the PowerSnap <strong>Module</strong> software uses the <strong>NetWorker</strong> recover program to retrieve the<br />

data.<br />

Proxy backup and restore system<br />

For proxy backups and restores, the NMO, <strong>NetWorker</strong> server and client, and<br />

appropriate PowerSnap <strong>Module</strong> software function with the components of the <strong>Oracle</strong><br />

backup and restore system. The implementation of a proxy backup and restore<br />

strategy requires a knowledge of how the <strong>Oracle</strong> and <strong>EMC</strong> software components<br />

work together.<br />

Proxy backup and restore system 151


Proxy Backups and Restores<br />

152<br />

The <strong>Oracle</strong> backup and restore system consists of the following:<br />

◆ <strong>Oracle</strong> Server<br />

◆ Recovery Manager (RMAN)<br />

◆ Recovery Catalog (optional)<br />

◆ <strong>Oracle</strong> Enterprise Manager Backup Management Tools (optional)<br />

The following sections provide more in<strong>for</strong>mation on RMAN and the Recovery<br />

Catalog:<br />

◆ “<strong>Oracle</strong> Recovery Manager” on page 50<br />

◆ “<strong>Oracle</strong> Recovery Catalog” on page 51<br />

The <strong>EMC</strong> software components required <strong>for</strong> proxy backups are the following:<br />

◆ <strong>NetWorker</strong> server<br />

◆ <strong>NetWorker</strong> client (installed on the <strong>Oracle</strong> Server and proxy client host)<br />

◆ NMO (installed on the <strong>Oracle</strong> Server)<br />

◆ <strong>NetWorker</strong> PowerSnap <strong>Module</strong> (installed on the <strong>Oracle</strong> Server and proxy client<br />

host)<br />

Note: <strong>NetWorker</strong> storage node software can be optionally installed on the proxy client host.<br />

Figure 12 on page 153 illustrates the architecture of the proxy backup and restore<br />

system. It provides an overview of the functional relationship between the <strong>Oracle</strong><br />

and <strong>NetWorker</strong> software components. The interactions of the components are<br />

described in the following sections:<br />

◆ “Proxy backup processes” on page 153<br />

◆ “Proxy restore processes” on page 159<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


RMAN<br />

Recovery<br />

Catalog<br />

Figure 12 Proxy backup and restore system<br />

Proxy backup processes<br />

<strong>Oracle</strong> Server host PowerSnap proxy client<br />

(<strong>NetWorker</strong> storage node)<br />

<strong>NetWorker</strong><br />

client<br />

<strong>Oracle</strong><br />

Server<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

PowerSnap<br />

<strong>Module</strong><br />

<strong>Oracle</strong><br />

data files<br />

<strong>NetWorker</strong><br />

client<br />

PowerSnap<br />

<strong>Module</strong><br />

Point-in-time copy<br />

of <strong>Oracle</strong> data files<br />

Primary storage<br />

Proxy Backups and Restores<br />

<strong>NetWorker</strong><br />

server<br />

<strong>NetWorker</strong><br />

server<br />

Storage<br />

medium<br />

GEN-000174<br />

During a proxy backup of <strong>Oracle</strong> data, <strong>Oracle</strong> Server processes interact with the<br />

<strong>NetWorker</strong> server through the NMO and PowerSnap <strong>Module</strong> software. The NMO<br />

media management library (MML) is integrated with the <strong>Oracle</strong> Server kernel<br />

software.<br />

Note: Certain RMAN features, such as checking <strong>for</strong> corrupt blocks, are not applicable to proxy<br />

backups because the MML controls that process.<br />

When a proxy backup is initiated, the RMAN utility starts the <strong>Oracle</strong> Server<br />

processes that call the MML proxy-specific routines. The MML routines communicate<br />

with the PowerSnap <strong>Module</strong> service.<br />

On the <strong>Oracle</strong> Server host, the PowerSnap <strong>Module</strong> uses a storage plat<strong>for</strong>m-specific<br />

application programming interface (API) to take a snapshot of the <strong>Oracle</strong> data on the<br />

primary storage.<br />

Proxy backup processes 153


Proxy Backups and Restores<br />

154<br />

Scheduled proxy backup<br />

If a live backup is per<strong>for</strong>med, the PowerSnap <strong>Module</strong> moves the <strong>Oracle</strong> data from the<br />

point-in-time copy (snapshot) on the primary storage to the <strong>NetWorker</strong> server or<br />

storage node. The <strong>NetWorker</strong> server or storage node then stores the <strong>Oracle</strong> data on<br />

the secondary storage, such as a tape.<br />

At the end of the proxy backup, the <strong>NetWorker</strong> server updates the online client and<br />

media indexes with in<strong>for</strong>mation about the backup. The <strong>NetWorker</strong> administration<br />

guide provides more in<strong>for</strong>mation about <strong>NetWorker</strong> server and <strong>NetWorker</strong> client<br />

programs and services.<br />

Note: A proxy backup can be started only by automatic or manual invocation of the scheduled<br />

<strong>NetWorker</strong> backup group. A proxy backup cannot be scheduled through <strong>Oracle</strong> Enterprise<br />

Manager or started from RMAN. The <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation provides<br />

in<strong>for</strong>mation on how to manually invoke a scheduled backup.<br />

A scheduled backup is a backup of <strong>Oracle</strong> data that the <strong>NetWorker</strong> server initiates.<br />

The following sections describe the process steps in the three types of scheduled<br />

proxy backup:<br />

◆ “Scheduled instant backup” on page 154<br />

◆ “Scheduled immediate live backup” on page 156<br />

◆ “Deferred live backup” on page 158<br />

Note: To simplify the descriptions and illustrations in these sections, certain steps have been<br />

omitted, such as the step to obtain the proper <strong>NetWorker</strong> authorization.<br />

Scheduled instant backup<br />

A scheduled instant backup involves the following steps:<br />

1. At the scheduled backup start time, the main <strong>NetWorker</strong> service, nsrd, starts the<br />

configured group’s backup by invoking the savegrp program.<br />

2. The savegrp program requests that the <strong>NetWorker</strong> client-side service, nsrexecd,<br />

on the <strong>Oracle</strong> Server host run the savefs program to verify the existence of the<br />

RMAN scripts to be used <strong>for</strong> the backup.<br />

3. If the savefs program succeeds, the savegrp program starts the PowerSnap<br />

program, nsrsnap, on the <strong>Oracle</strong> Server host. Otherwise, the backup fails.<br />

4. If an existing point-in-time copy needs to be removed (<strong>for</strong> example, it is expired<br />

according to the snapshot policy), the nsrsnap program invokes the nsrsnapck<br />

program to remove both the point-in-time copy from the storage system and the<br />

corresponding <strong>NetWorker</strong> index entries.<br />

Note: If the point-in-time copy was not copied to secondary storage, the nsrsnapck<br />

program invokes the nsroraclecat program to remove the corresponding RMAN catalog<br />

entries. “Automatic catalog synchronization with the nsroraclecat program” on page 191<br />

provides more in<strong>for</strong>mation.<br />

5. The nsrsnap program contacts the nsrexecd service, which starts the nsrnmo<br />

script <strong>for</strong> the scheduled backup.<br />

6. The nsrnmo script sets the required parameters and invokes the NMO program,<br />

nsrnmostart.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Proxy Backups and Restores<br />

7. The nsrnmostart program starts the RMAN utility to run the required RMAN<br />

backup script.<br />

8. RMAN starts an <strong>Oracle</strong> process that calls the MML, which contacts the<br />

PowerSnap master program, nsrpsd, to per<strong>for</strong>m the instant backup:<br />

PowerSnap processes create the point-in-time copy that comprises the backup.<br />

The nsrmmd service per<strong>for</strong>ms the following:<br />

– Stores metadata (used only by the PowerSnap <strong>Module</strong>) about the<br />

point-in-time copy on the media belonging to the configured snapshot<br />

pool.<br />

– Records tracking in<strong>for</strong>mation about the metadata in the <strong>NetWorker</strong> media<br />

database by using the nsrmmdbd service.<br />

The nsrindexd service records in<strong>for</strong>mation about the point-in-time metadata<br />

in the <strong>NetWorker</strong> client file index.<br />

The nsrindexd service records tracking in<strong>for</strong>mation about each backup piece<br />

name in the <strong>NetWorker</strong> client file index. The client index contains one entry<br />

per datafile.<br />

The <strong>Oracle</strong> Server records the backup entry in the RMAN catalog.<br />

9. After the RMAN script completes successfully, the nsrnmostart program backs<br />

up the NWORA resource file, described in “The NWORA resource file” on<br />

page 183.<br />

10. If the Snapshot Policy resource specifies that the point-in-time copy must be<br />

copied to secondary storage, the nsrsnap program per<strong>for</strong>ms the steps in<br />

“Deferred live backup” on page 158.<br />

Note: The point-in-time copy is not deleted from the primary storage.<br />

11. The savegrp program backs up the <strong>NetWorker</strong> server bootstrap and <strong>Oracle</strong> client<br />

file indexes.<br />

Figure 13 on page 156 shows how the <strong>Oracle</strong> Server and <strong>NetWorker</strong> processes<br />

interact during a scheduled instant backup.<br />

Proxy backup processes 155


Proxy Backups and Restores<br />

156<br />

<strong>Oracle</strong> Server<br />

(<strong>NetWorker</strong> client)<br />

Primary storage<br />

<strong>Oracle</strong><br />

process<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

RMAN<br />

nsrnmostart<br />

nsrnmo<br />

nsrsnapck<br />

nsroraclecat<br />

(optional)<br />

<strong>Oracle</strong><br />

data files<br />

nsrsnap<br />

Figure 13 Scheduled instant backup<br />

Scheduled immediate live backup<br />

A scheduled immediate live backup involves the following steps:<br />

data<br />

PowerSnap<br />

processes<br />

Note: The first seven steps are the same as those in “Scheduled instant backup” on page 154.<br />

1. At the scheduled backup start time, the main <strong>NetWorker</strong> service, nsrd, starts the<br />

configured group’s backup by invoking the savegrp program.<br />

2. The savegrp program requests that the <strong>NetWorker</strong> client-side service, nsrexecd,<br />

on the <strong>Oracle</strong> Server host run the savefs program to verify the existence of the<br />

RMAN scripts to be used <strong>for</strong> the backup.<br />

3. If the savefs program succeeds, the savegrp program starts the PowerSnap<br />

program, nsrsnap, on the <strong>Oracle</strong> Server host. Otherwise, the backup fails.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

PowerSnap proxy client<br />

(<strong>NetWorker</strong> storage node)<br />

Point-in-time copy<br />

of <strong>Oracle</strong> data files<br />

PowerSnap<br />

processes<br />

tracking<br />

in<strong>for</strong>mation<br />

nsrpsd nsrexecd nsrmmd<br />

PowerSnap<br />

elements<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

elements<br />

nsrexecd<br />

savefs<br />

Snapshot<br />

pool media<br />

interprocess communication<br />

<strong>NetWorker</strong><br />

server<br />

Client file index<br />

nsrindexd<br />

Media database<br />

nsrmmdbd<br />

nsrd<br />

savegrp<br />

Start<br />

Here<br />

GEN-000175


Proxy Backups and Restores<br />

4. If an existing point-in-time copy needs to be removed (<strong>for</strong> example, it is expired<br />

according to the snapshot policy), the nsrsnap program invokes the nsrsnapck<br />

program to remove both the point-in-time copy from the storage system and the<br />

corresponding <strong>NetWorker</strong> index entries.<br />

Note: If the point-in-time copy was not copied to secondary storage, the nsrsnapck<br />

program invokes the nsroraclecat program to remove the corresponding RMAN catalog<br />

entries. “Automatic catalog synchronization with the nsroraclecat program” on page 191<br />

provides more in<strong>for</strong>mation.<br />

5. The nsrsnap program contacts the nsrexecd service, which starts the nsrnmo<br />

script <strong>for</strong> the scheduled backup.<br />

6. The nsrnmo script sets the required parameters and invokes the NMO program,<br />

nsrnmostart.<br />

7. The nsrnmostart program starts the RMAN utility to run the required RMAN<br />

backup script.<br />

8. RMAN starts <strong>Oracle</strong> processes that call the MML, which contacts the PowerSnap<br />

master program, nsrpsd, to per<strong>for</strong>m the immediate live backup:<br />

PowerSnap processes create the point-in-time copy, move the data to<br />

secondary storage, and then delete the point-in-time copy from the primary<br />

storage.<br />

The nsrmmd service records the tracking in<strong>for</strong>mation about the secondary<br />

storage save sets in the <strong>NetWorker</strong> media database by using the nsrmmdbd<br />

service.<br />

The nsrindexd service records the tracking in<strong>for</strong>mation <strong>for</strong> each backup piece<br />

name and <strong>for</strong> each stored operating system datafile in the <strong>NetWorker</strong> client<br />

file index. The client index contains two entries per datafile.<br />

The <strong>Oracle</strong> Server records the backup entry in the RMAN catalog.<br />

9. After the RMAN script completes successfully, the nsrnmostart program backs<br />

up the NWORA resource file, described in “The NWORA resource file” on<br />

page 183.<br />

10. The savegrp program backs up the <strong>NetWorker</strong> server bootstrap and <strong>Oracle</strong> client<br />

file indexes.<br />

Figure 14 on page 158 shows how the <strong>Oracle</strong> Server and <strong>NetWorker</strong> processes<br />

interact during a scheduled immediate live backup.<br />

Proxy backup processes 157


Proxy Backups and Restores<br />

158<br />

Deferred live backup<br />

<strong>Oracle</strong> Server<br />

(<strong>NetWorker</strong> client)<br />

Primary storage<br />

<strong>Oracle</strong><br />

process<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

RMAN<br />

nsrnmostart<br />

nsrnmo<br />

nsrsnapck<br />

nsroraclecat<br />

(optional)<br />

<strong>Oracle</strong><br />

data files<br />

nsrsnap<br />

data<br />

PowerSnap<br />

processes<br />

Figure 14 Scheduled immediate live backup<br />

A deferred live backup runs automatically as part of a scheduled backup, as specified<br />

by the Backup Snapshots attribute of the Snapshot Policy resource. The <strong>NetWorker</strong><br />

PowerSnap <strong>Module</strong> documentation provides more in<strong>for</strong>mation.<br />

A deferred live backup involves the following steps:<br />

1. The nsrsnap or nsrsnapadmin program invokes the PowerSnap processes to<br />

copy the point-in-time copy to secondary storage.<br />

Note: The point-in-time copy is not deleted from the primary storage.<br />

2. The nsrmmd service records the tracking in<strong>for</strong>mation about the deferred live<br />

backup in the <strong>NetWorker</strong> media database by using the nsrmmdbd service.<br />

3. The nsrindexd service records the tracking in<strong>for</strong>mation <strong>for</strong> each stored operating<br />

system datafile in the <strong>NetWorker</strong> client file index.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

PowerSnap proxy client<br />

(<strong>NetWorker</strong> storage node)<br />

Point-in-time copy<br />

of <strong>Oracle</strong> data files<br />

PowerSnap<br />

processes<br />

tracking<br />

in<strong>for</strong>mation<br />

nsrpsd nsrexecd nsrmmd<br />

PowerSnap<br />

elements<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

elements<br />

nsrexecd<br />

savefs<br />

Secondary<br />

storage medium<br />

interprocess communication<br />

<strong>NetWorker</strong><br />

server<br />

Client file index<br />

nsrindexd<br />

Media database<br />

nsrmmdbd<br />

nsrd<br />

savegrp<br />

Start<br />

Here<br />

GEN-000176


Proxy Backups and Restores<br />

Figure 15 on page 159 shows how the <strong>Oracle</strong> Server and <strong>NetWorker</strong> processes<br />

interact during a scheduled deferred live backup.<br />

Figure 15 Deferred live backup<br />

Proxy restore processes<br />

<strong>Oracle</strong> Server<br />

(<strong>NetWorker</strong> client)<br />

Primary storage<br />

Start<br />

Here<br />

<strong>Oracle</strong><br />

data files<br />

interprocess<br />

communication<br />

nsrsnap (at end<br />

of savegrp) or<br />

nsrsnapadmin<br />

PowerSnap<br />

elements<br />

Point-in-time copy<br />

of <strong>Oracle</strong> data files<br />

PowerSnap proxy client<br />

(<strong>NetWorker</strong> storage node)<br />

PowerSnap<br />

processes<br />

tracking<br />

in<strong>for</strong>mation<br />

nsrexecd nsrmmd<br />

A proxy restore can be per<strong>for</strong>med in either of two ways:<br />

◆ By issuing the appropriate commands through the RMAN command line<br />

interface.<br />

Or<br />

<strong>NetWorker</strong><br />

server<br />

Client file index<br />

nsrindexd<br />

GEN-000177<br />

◆ By using the <strong>Oracle</strong> Enterprise Manager Backup Management Tools, which<br />

include an optional graphical user interface to the RMAN utility.<br />

The RMAN utility starts <strong>Oracle</strong> Server processes on the target database. These <strong>Oracle</strong><br />

Server processes start the restore by calling MML routines.<br />

The following sections describe the process steps in the three types of proxy restore:<br />

◆ “Instant restore or rollback” on page 160<br />

◆ “Restore from secondary storage” on page 161<br />

data<br />

Secondary<br />

storage medium<br />

Media database<br />

nsrmmdbd<br />

Proxy restore processes 159


Proxy Backups and Restores<br />

160<br />

Instant restore or rollback<br />

An instant restore or rollback involves the following steps:<br />

1. The MML per<strong>for</strong>ms the following:<br />

a. Translates the instant backup object names requested by RMAN into a <strong>for</strong>mat<br />

that the <strong>NetWorker</strong> server understands.<br />

b. Verifies the existence of the instant backup objects through the nsrindexd<br />

service.<br />

c. Verifies that the restore destination directory exists and is accessible, and<br />

creates the .nworapc directory.<br />

2. The MML contacts the PowerSnap master program, nsrpsd, on the <strong>Oracle</strong> Server<br />

host.<br />

3. The nsrpsd program works with other PowerSnap and <strong>NetWorker</strong> programs to<br />

per<strong>for</strong>m the restore operation:<br />

PowerSnap processes retrieve the point-in-time metadata stored on the device<br />

associated with the snapshot pool by using the nsrmmd and nsrmmdbd<br />

processes.<br />

PowerSnap processes per<strong>for</strong>m one of the following:<br />

– During an instant restore, mount the point-in-time copy and copy the files<br />

into a destination requested by NMO.<br />

– During a rollback, execute a command (specific to the primary storage) to<br />

move the whole point-in-time copy (snapshot unit) into the source<br />

destination.<br />

4. If operating system files (not raw devices or volumes) are restored during an<br />

instant restore, NMO moves the restored files from the .nworapc directory to the<br />

parent directory.<br />

Once the required <strong>Oracle</strong> files are restored, a database administrator can complete the<br />

standard <strong>Oracle</strong> database recovery.<br />

Figure 16 on page 161 shows how the <strong>Oracle</strong> Server and <strong>NetWorker</strong> processes<br />

interact during an instant restore or rollback.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


RMAN<br />

<strong>Oracle</strong> Server<br />

(<strong>NetWorker</strong> client)<br />

<strong>Oracle</strong><br />

process<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

Figure 16 Instant restore or rollback<br />

Restore from secondary storage<br />

<strong>Oracle</strong><br />

data files<br />

nsrexecd<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

element<br />

Primary storage<br />

data<br />

(<strong>for</strong> details on<br />

data flow, see<br />

description)<br />

PowerSnap<br />

module<br />

PowerSnap proxy client<br />

(<strong>NetWorker</strong> storage node)<br />

Point-in-time copy<br />

of <strong>Oracle</strong> data files<br />

PowerSnap<br />

module<br />

tracking<br />

in<strong>for</strong>mation<br />

nsrpsd nsrexecd nsrmmd<br />

PowerSnap<br />

elements<br />

Snapshot<br />

pool media<br />

interprocess communication<br />

Proxy Backups and Restores<br />

<strong>NetWorker</strong><br />

server<br />

Client file index<br />

nsrindexd<br />

Media database<br />

nsrmmdbd<br />

A restore of a proxy backup from secondary storage involves the following steps:<br />

1. The MML per<strong>for</strong>ms the following:<br />

a. Translates the instant backup object names requested by RMAN into a <strong>for</strong>mat<br />

that the <strong>NetWorker</strong> server understands.<br />

b. Verifies the existence of the instant backup objects through the nsrindexd<br />

service.<br />

c. Verifies that the restore destination directory exists, and creates the .nworapc<br />

directory.<br />

2. The MML contacts the PowerSnap master program, nsrpsd, on the <strong>Oracle</strong> Server<br />

host.<br />

nsrd<br />

GEN-000178<br />

Proxy restore processes 161


Proxy Backups and Restores<br />

162<br />

3. The nsrpsd program works with other PowerSnap and <strong>NetWorker</strong> programs to<br />

retrieve the data from secondary storage, and per<strong>for</strong>m the restore operation.<br />

PowerSnap processes restore the files (save sets) into a destination requested by<br />

NMO. The processes use the nsrmmd and nsrmmdbd processes to determine<br />

which media contain the requested save sets and to read the backup volumes.<br />

4. If operating system files (not raw devices or volumes) are restored, NMO moves<br />

the restored files from the .nworapc directory to the parent directory.<br />

Once the required <strong>Oracle</strong> files are restored from the backup volumes, a database<br />

administrator can complete the standard <strong>Oracle</strong> database recovery.<br />

Figure 17 on page 162 shows how the <strong>Oracle</strong> Server and <strong>NetWorker</strong> processes<br />

interact during a restore from secondary storage.<br />

RMAN<br />

<strong>Oracle</strong><br />

process<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

<strong>for</strong> <strong>Oracle</strong><br />

MML<br />

<strong>Oracle</strong> Server<br />

(<strong>NetWorker</strong> client)<br />

nsrexecd<br />

<strong>Oracle</strong><br />

data files<br />

PowerSnap<br />

module<br />

nsrpsd<br />

Primary storage<br />

PowerSnap<br />

elements<br />

<strong>NetWorker</strong><br />

<strong>Module</strong><br />

element<br />

data<br />

Figure 17 Restore from secondary storage<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

PowerSnap proxy client<br />

(<strong>NetWorker</strong> storage node)<br />

tracking in<strong>for</strong>mation<br />

nsrmmd<br />

Secondary<br />

storage<br />

interprocess communication<br />

<strong>NetWorker</strong><br />

server<br />

Client file index<br />

nsrindexd<br />

Media database<br />

nsrmmdbd<br />

nsrd<br />

GEN-000179


Software configuration roadmap<br />

Basic configurations<br />

Proxy Backups and Restores<br />

This section describes the configuration requirements <strong>for</strong> proxy backups and restores.<br />

Be<strong>for</strong>e per<strong>for</strong>ming the required configuration procedures, ensure that both the NMO<br />

and required PowerSnap <strong>Module</strong> software are installed according to the instructions<br />

in the following:<br />

◆ <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide<br />

Additional configurations <strong>for</strong> proxy operations<br />

◆ <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation<br />

(Refer to the PowerSnap <strong>Module</strong> version <strong>for</strong> the primary storage system.)<br />

Ensure that the following basic configurations are per<strong>for</strong>med:<br />

◆ The basic <strong>Oracle</strong> Server and <strong>NetWorker</strong> configurations are per<strong>for</strong>med according<br />

to the “Configuration roadmap” on page 62. The <strong>NetWorker</strong> Server, Client,<br />

Device, and other resources must be configured:<br />

For live <strong>Oracle</strong> backups, a Device resource must be configured <strong>for</strong> each<br />

secondary storage device, such as a tape drive, to be used <strong>for</strong> the backups. The<br />

devices must be mounted prior to the backups.<br />

For instant <strong>Oracle</strong> backups, a snapshot Pool resource must be configured, as<br />

described in “Additional configurations <strong>for</strong> proxy operations” on page 163.<br />

◆ The required scheduled backup configurations are per<strong>for</strong>med according to<br />

“Configuring a backup with the NMC legacy method” on page 75.<br />

For proxy operations, you must configure the <strong>Oracle</strong> database layout to position the<br />

datafiles on primary storage that is supported by the specific PowerSnap <strong>Module</strong>.<br />

Ensure that the additional configuration procedures described in the following<br />

sections are per<strong>for</strong>med:<br />

◆ “Configuring internationalization (I18N) support” on page 164<br />

◆ “Configuring the required <strong>Oracle</strong> settings” on page 164<br />

◆ “Configuring the NWORA resource file” on page 164<br />

◆ “Creating RMAN scripts <strong>for</strong> proxy backups” on page 165<br />

◆ “Configuring the <strong>NetWorker</strong> Pool resources” on page 169<br />

◆ “Configuring the <strong>NetWorker</strong> Snapshot Policy resource” on page 169<br />

◆ “Configuring the <strong>NetWorker</strong> Group resource” on page 169<br />

◆ “Configuring the <strong>NetWorker</strong> Client resource” on page 170<br />

◆ “Testing a scheduled proxy backup” on page 170<br />

Once all the configuration requirements are met, review the in<strong>for</strong>mation in the<br />

following sections prior to per<strong>for</strong>ming proxy backups and restores:<br />

◆ “Proxy backup requirements” on page 171<br />

◆ “Proxy backup in<strong>for</strong>mation in the <strong>NetWorker</strong> indexes” on page 174<br />

◆ “Proxy restore requirements” on page 177<br />

Software configuration roadmap 163


Proxy Backups and Restores<br />

Configuring internationalization (I18N) support<br />

In a non-English environment, NMO supports internationalization (I18N) of proxy<br />

backups and restores with a supported release of the PowerSnap <strong>Module</strong>, as<br />

described in “Internationalization (I18N) and localization (L10N)” on page 33.<br />

To configure I18N support <strong>for</strong> proxy backups, follow the instructions in<br />

“Configuring I18N support” on page 67.<br />

Configuring the required <strong>Oracle</strong> settings<br />

Do not locate the database control files and online redo log files on the same volume<br />

(snapshot unit) as the datafiles that will be backed up through proxy backups.<br />

If the <strong>Oracle</strong> database is expected to have a lot of read or write activity, or an error,<br />

such as “skgfdisp: async read/write failed” appears, specify the following values in<br />

the Registry and Initialization Parameter file:<br />

164<br />

◆ In the Registry, specify the following parameters under<br />

HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE:<br />

ORA_oracle_sid_WORKINGSETMAX<br />

ORA_oracle_sid_WORKINGSETMIN<br />

Possible values to set <strong>for</strong> these parameters are as follows:<br />

ORA_oracle_sid_WORKINGSETMAX = 1600<br />

ORA_oracle_sid_WORKINGSETMIN = 1200<br />

More in<strong>for</strong>mation on these parameters and <strong>Oracle</strong> memory management on<br />

Windows is available in the <strong>Oracle</strong> document number 46001.1, “<strong>Oracle</strong> Database<br />

and the Windows NT Memory Architecture, Technical Bulletin.”<br />

◆ In the Initialization Parameter file (such as initoracle_sid.ora), increase the value of<br />

LARGE_POOL_SIZE to a large value that is appropriate <strong>for</strong> the particular system.<br />

Configuring the NWORA resource file<br />

To enable proxy backups, the NSR_ORACLECAT_MODE parameter resource must<br />

be set to either enabled or disabled in the NWORA resource file, as described in “The<br />

NWORA resource file” on page 183. If the resource value is left unset, proxy backups<br />

fail.<br />

To enable catalog synchronization, per<strong>for</strong>m the configuration procedures in “Catalog<br />

synchronization <strong>for</strong> proxy backups” on page 181.<br />

Notes:<br />

◆ If catalog synchronization is enabled <strong>for</strong> instant backups, the NWORA resource<br />

file must contain an NWORA SID resource <strong>for</strong> each <strong>Oracle</strong> database to be backed<br />

up during instant backups.<br />

◆ Catalog synchronization must be configured be<strong>for</strong>e any proxy backups of a<br />

database are per<strong>for</strong>med.<br />

◆ The parameter ORACLE_SID in the nsrnmo script (used <strong>for</strong> the proxy backup)<br />

must be set to the same value as the parameter NSR_ORACLE_SID in the<br />

NWORA SID resource.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Proxy Backups and Restores<br />

Creating RMAN scripts <strong>for</strong> proxy backups<br />

The basic in<strong>for</strong>mation about RMAN backup scripts in “Create RMAN scripts <strong>for</strong><br />

backups” on page 75 also applies to RMAN scripts <strong>for</strong> proxy backups:<br />

These added requirements apply to RMAN scripts <strong>for</strong> proxy backups:<br />

◆ The appropriate parameters must be set, as described in “Setting the parameters”<br />

on page 166.<br />

◆ The proxy or proxy only option must be specified with each RMAN backup<br />

command.<br />

Note: Certain options of the RMAN backup command, such as maxsetsize and diskratio,<br />

are not supported with the proxy option. Contact <strong>Oracle</strong> Corporation <strong>for</strong> more in<strong>for</strong>mation<br />

on the RMAN options that are not supported.<br />

◆ As required by <strong>Oracle</strong> <strong>for</strong> proxy backups, the %p variable must be included in the<br />

<strong>for</strong>mat string, either explicitly or implicitly within %U. The appropriate <strong>Oracle</strong><br />

backup and recovery documentation provides more in<strong>for</strong>mation.<br />

◆ Allocate only one channel in the RMAN script. Do not allocate more than one<br />

channel in the RMAN script, in an attempt to distribute the proxy backup over<br />

more than one channel.<br />

Note: Proxy backup parallelism is defined by the PowerSnap parameter<br />

NSR_PS_SAVE_PARALLELISM. Table 7 on page 167 provides more in<strong>for</strong>mation.<br />

The following sample RMAN script per<strong>for</strong>ms a proxy backup of an entire <strong>Oracle</strong><br />

database that resides on one or more primary storage devices:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(<br />

NSR_PROXY_PFILE=/oracle/rman/proxy.cfg)’;<br />

backup full proxy only<br />

<strong>for</strong>mat ’FULL_%d_%U’<br />

(database);<br />

release channel t1;<br />

}<br />

NSR_PROXY_PFILE is an optional NMO parameter used <strong>for</strong> proxy backups. “Setting<br />

the parameters” on page 166 provides details.<br />

Multiple channels in RMAN scripts<br />

The allocation of multiple channels in an RMAN script does not control the degree of<br />

backup or restore parallelism. <strong>Oracle</strong> uses only one of the allocated channels <strong>for</strong> the<br />

proxy backup or restore, unless specific backup options are used.<br />

Example 26 RMAN scripts with multiple channels<br />

The proxy backup per<strong>for</strong>med with the following RMAN script is written to either the<br />

<strong>Oracle</strong>Volume1 or <strong>Oracle</strong>Volume2 volume pool (not to both volume pools) because<br />

<strong>Oracle</strong> uses only one of the allocated channels <strong>for</strong> the proxy backup:<br />

run {<br />

allocate channel c1 type ’SBT_TAPE’;<br />

allocate channel c2 type ’SBT_TAPE’;<br />

send channel c1 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=<strong>Oracle</strong>Volume1)’;<br />

send channel c2 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=<strong>Oracle</strong>Volume2)’;<br />

Software configuration roadmap 165


Proxy Backups and Restores<br />

166<br />

}<br />

backup proxy only tablespace tbs1, tbs2, tbs3, tbs4;<br />

release channel c1;<br />

release channel c2;<br />

The following RMAN script uses specific backup options to en<strong>for</strong>ce distribution of<br />

the proxy backup over two channels:<br />

run {<br />

allocate channel c1 type ’SBT_TAPE’;<br />

allocate channel c2 type ’SBT_TAPE’;<br />

send channel c1 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=<strong>Oracle</strong>Volume1)’;<br />

send channel c2 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=<strong>Oracle</strong>Volume2)’;<br />

backup proxy<br />

(tablespace tbs1, tbs2 channel c1)<br />

(tablespace tbs3, tbs4 channel c2);<br />

release channel c1;<br />

release channel c2;<br />

}<br />

Use the following RMAN script to replace both of the preceding two backup scripts:<br />

run {<br />

allocate channel c1 type ’SBT_TAPE’;<br />

send channel c1 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=<strong>Oracle</strong>Volume1)’;<br />

backup proxy tablespace tbs1, tbs2, tbs3, tbs4;<br />

release channel c1;<br />

}<br />

You might want to allocate more than one channel if you know that some of the data<br />

does not reside on supported primary storage devices. In this case, one channel is<br />

used <strong>for</strong> proxy backups and all the others are used <strong>for</strong> regular backups.<br />

Setting the parameters<br />

Two types of parameters can be set <strong>for</strong> the proxy backup and restore operations:<br />

◆ NMO parameters, as described in Appendix A, “Parameters in an RMAN<br />

Session.”<br />

The parameters must be set by using one of the methods in “Setting the NSR*<br />

parameters” on page 200.<br />

◆ PowerSnap <strong>Module</strong> parameters, as described in “PowerSnap parameter settings”<br />

on page 166.<br />

PowerSnap parameter settings<br />

The PowerSnap parameters must be set by using one of the following methods:<br />

◆ By setting the parameters in the send command in one of these ways:<br />

With the rman command on the operating system command line.<br />

In the RMAN backup or restore script.<br />

“The send command” on page 211 provides more in<strong>for</strong>mation on how to use the<br />

send command.<br />

◆ By setting the parameters in a user-defined configuration file. The complete<br />

pathname of the file must be specified in the parameter NSR_PROXY_PFILE, as<br />

described in “NSR_PROXY_PFILE” on page 206.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Proxy Backups and Restores<br />

The configuration file consists of a separate line such as the following <strong>for</strong> each<br />

parameter setting:<br />

parameter_name=parameter_value<br />

where:<br />

parameter_name is the parameter name, such as RESTORE_TYPE_ORDER.<br />

parameter_value is the parameter value, such as pit.<br />

Use the following guidelines to set PowerSnap parameters:<br />

◆ A parameter setting in the configuration file takes precedence over a parameter<br />

setting in the send command.<br />

If the same PowerSnap parameter is set to different values in the configuration<br />

file and send command, the value in the configuration file is the one used <strong>for</strong> the<br />

proxy operation.<br />

◆ In the configuration file, the first valid occurrence of a PowerSnap parameter<br />

takes precedence over any other occurrences of the same parameter in the same<br />

file.<br />

◆ The following are not supported:<br />

The use of the parms option in the configure channel command to set<br />

PowerSnap parameters.<br />

The use of the setenv command on the operating system command line to set<br />

PowerSnap parameters.<br />

Example 27 on page 168 and Example 28 on page 168 provide examples of<br />

PowerSnap parameter settings.<br />

Table 7 on page 167 provides a basic list of supported PowerSnap parameters. The<br />

list is not exhaustive. The <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation provides a<br />

complete list of PowerSnap parameters.<br />

For each parameter, the table includes:<br />

◆ A description of the parameter.<br />

◆ The default value of the parameter.<br />

◆ The valid values that can be assigned to the parameter.<br />

Table 7 PowerSnap parameters (page 1 of 2)<br />

Parameter Description Default and valid values<br />

NSR_DATA_MOVER Mandatory <strong>for</strong> a proxy backup that uses a proxy<br />

client host. Specifies the hostname of the proxy<br />

client host.<br />

NSR_PS_SAVE_PARALLELISM Optional. Specifies the number of concurrent save<br />

streams on the proxy client host.<br />

Local host (default).<br />

The valid hostname of the proxy client host.<br />

16 (default).<br />

An integer value less than or equal to the<br />

Parallelism attribute value in the <strong>NetWorker</strong> Client<br />

resource.<br />

Software configuration roadmap 167


Proxy Backups and Restores<br />

168<br />

Table 7 PowerSnap parameters (page 2 of 2)<br />

Parameter Description Default and valid values<br />

NSR_MAX_STREAMS Optional. Specifies the maximum number of<br />

restore streams.<br />

RESTORE_TYPE_ORDER Optional. Specifies the type of proxy restore to be<br />

per<strong>for</strong>med.<br />

Note: If multiple values are specified, each type of<br />

restore is attempted (n the order specified) until a<br />

restore operation is successful.<br />

Example 27 PowerSnap parameter settings<br />

To set the PowerSnap parameter RESTORE_TYPE_ORDER <strong>for</strong> a proxy restore, a<br />

configuration file named /oracle/rman/proxy.cfg can be created, consisting of the<br />

following line:<br />

RESTORE_TYPE_ORDER=rollback:pit:conventional<br />

In this case, the NMO parameter NSR_PROXY_PFILE must be set to<br />

/oracle/rman/proxy.cfg by using the send command. For example, the following<br />

command sets the parameter correctly:<br />

allocate channel t1 device type ’SBT_TAPE’;<br />

send ’NSR_ENV=(NSR_PROXY_PFILE=/oracle/rman/proxy.cfg)’;<br />

Example 28 PowerSnap parameter settings <strong>for</strong> a Celerra NAS device<br />

To enable proxy backup and restore operations with Celerra ® NAS devices, ensure<br />

that the following PowerSnap parameters are set in the user-defined configuration<br />

file that you specify with the NMO parameter NSR_PROXY_PFILE:<br />

◆ NSR_DATA_MOVER=name or IP of <strong>NetWorker</strong> data mover<br />

Identifies the <strong>NetWorker</strong> data mover to use <strong>for</strong> rollovers.<br />

◆ NSR_SNAP_NAS_CEL_CS_HOST=name or IP of Celerra control station<br />

Identifies the Celerra control station.<br />

◆ NAS_SNAP_SUBTYPE=CEL_SNAPSURE<br />

Identifies the NAS SCM subtype to use.<br />

◆ NSR_SNAP_TYPE=nas<br />

Specifies that this is a NAS save object.<br />

Note: The value of NSR_SNAP_TYPE must be lowercase nas.<br />

◆ NSR_SNAP_NAS_CLIENT=name or IP address of NAS filer with the NFS file system<br />

Identifies the NFS server <strong>for</strong> the specified mount point.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

16 (default).<br />

An integer value.<br />

pit:conventional (default).<br />

One or more of the following values, each value<br />

delimited from the others by a colon(:):<br />

pit — Specifies an instant restore.<br />

conventional — Specifies a proxy restore from<br />

secondary storage media.<br />

rollback — Specifies a rollback restore from a<br />

point-in-time proxy copy.<br />

“Proxy restore requirements” on page 177 provides<br />

more in<strong>for</strong>mation.


Proxy Backups and Restores<br />

The PowerSnap <strong>Module</strong> documentation provides more details on these PowerSnap<br />

parameters.<br />

For example, the following PowerSnap parameters are included in the<br />

/nsr/res/nas_backup.cfg file (specified with NSR_PROXY_PFILE) <strong>for</strong> a proxy<br />

backup with a Celerra NAS device:<br />

cat /nsr/res/nas_backup.cfg<br />

NSR_PS_DEBUG_LEVEL=9<br />

NSR_DEBUG_LEVEL=9<br />

NSR_DATA_MOVER=datamover.emc.com<br />

NSR_SNAP_NAS_CEL_CS_HOST=controlstn<br />

NAS_SNAP_SUBTYPE=CEL_SNAPSURE<br />

NSR_SNAP_TYPE=nas<br />

NSR_SNAP_NAS_CLIENT=11.222.333.44<br />

For example, the following PowerSnap parameters are included in the<br />

/nsr/res/nas_restore.cfg file (specified with NSR_PROXY_PFILE) <strong>for</strong> a proxy restore<br />

with a Celerra NAS device:<br />

cat /nsr/res/nas_restore.cfg<br />

NSR_PS_DEBUG_LEVEL=9<br />

NSR_DEBUG_LEVEL=9<br />

NSR_DATA_MOVER=datamover.emc.com<br />

NSR_SNAP_NAS_CEL_CS_HOST=controlstn<br />

NAS_SNAP_SUBTYPE=CEL_SNAPSURE<br />

NSR_SNAP_TYPE=nas<br />

NSR_SNAP_NAS_CLIENT=11.222.333.44<br />

RESTORE_TYPE_ORDER=conventional<br />

Configuring the <strong>NetWorker</strong> Pool resources<br />

A separate pool must be configured to support proxy backups. The PowerSnap<br />

<strong>Module</strong> stores the metadata from the point-in-time copy (snapshot) in this pool. The<br />

pool is configured by using the same method as <strong>for</strong> a regular NMO backup.<br />

However, the specified backup device should be a file or advanced file type.<br />

Note: Specify the pool name in the Snapshot Pool attribute of the <strong>NetWorker</strong> Group resource,<br />

as described in “Configuring the <strong>NetWorker</strong> Group resource” on page 169.<br />

The <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation provides more in<strong>for</strong>mation on<br />

configuring this extra pool.<br />

Configuring the <strong>NetWorker</strong> Snapshot Policy resource<br />

A special <strong>NetWorker</strong> snapshot policy is required to per<strong>for</strong>m proxy backups. You can<br />

either specify a preconfigured policy or create a new snapshot policy.<br />

Configure a <strong>NetWorker</strong> Snapshot Policy resource by using the instructions in the<br />

<strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation.<br />

Configuring the <strong>NetWorker</strong> Group resource<br />

For proxy backups, configure a <strong>NetWorker</strong> Group resource by using the instructions<br />

in the <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation.<br />

Software configuration roadmap 169


Proxy Backups and Restores<br />

Configuring the <strong>NetWorker</strong> Client resource<br />

The basic <strong>NetWorker</strong> Client resource <strong>for</strong> the <strong>Oracle</strong> Server is configured according to<br />

“Configure a Client resource with NMC” on page 87.<br />

Notes:<br />

◆ Only members of a <strong>NetWorker</strong> user group with the Change Security Settings<br />

privilege can set the Remote Access attribute in the Client Resource.<br />

170<br />

Testing a scheduled proxy backup<br />

!<br />

◆ The Browse Policy attribute in the Client resource applies only to the <strong>NetWorker</strong><br />

client file index entries <strong>for</strong> backups residing on secondary storage (live backups).<br />

◆ The Retention Policy attribute in the Client resource applies only to the<br />

<strong>NetWorker</strong> media database entries <strong>for</strong> live backups.<br />

◆ The lifecycle of a point-in-time copy (instant backup) is governed by the snapshot<br />

policy specified in the Group resource to which the given client belongs.<br />

How to configure the <strong>NetWorker</strong> Client resource<br />

To configure the <strong>NetWorker</strong> Client resource <strong>for</strong> the <strong>Oracle</strong> Server:<br />

1. For the Save Set attribute, specify the complete pathname of each RMAN script to<br />

be used <strong>for</strong> the backups.<br />

2. For the Group attribute, specify the name of the <strong>NetWorker</strong> Group resource<br />

created <strong>for</strong> the proxy backups. “Configuring the <strong>NetWorker</strong> Group resource” on<br />

page 169 provides more in<strong>for</strong>mation.<br />

3. For the Schedule attribute, specify a <strong>NetWorker</strong> backup schedule.<br />

4. For the Backup Command attribute, specify the name of the nsrnmo script to use<br />

<strong>for</strong> the proxy backups.<br />

5. For the Parallelism attribute (a hidden attribute), specify the number of data<br />

streams that the <strong>Oracle</strong> Server is allowed to send in parallel to the <strong>NetWorker</strong><br />

server or storage node.<br />

6. For the Storage Nodes attribute, specify the name of each storage node to which<br />

the <strong>Oracle</strong> Server can back up data.<br />

The <strong>Oracle</strong> Server backs up to the first active, enabled storage node in the order<br />

listed in the attribute. The default storage node name, nsrserverhost, represents<br />

the <strong>NetWorker</strong> server.<br />

7. For the Remote Access attribute, specify the user ID or hostnames of other clients<br />

that are allowed to back up or restore this client’s files.<br />

For proxy backups that use a proxy client host, the Remote Access attribute must<br />

include the proxy client hostname.<br />

IMPORTANT<br />

A proxy backup can be started only by automatic or manual invocation of the<br />

scheduled <strong>NetWorker</strong> backup group. A proxy backup cannot be scheduled<br />

through <strong>Oracle</strong> Enterprise Manager, or started by invoking RMAN from the<br />

operating system command line.<br />

To verify the scheduled backup setup, follow the instructions <strong>for</strong> regular backups in<br />

“Test a scheduled backup” on page 110.<br />

Since manual (unscheduled) proxy backups are not supported, you cannot test a<br />

proxy RMAN script by using the in<strong>for</strong>mation in “Test RMAN scripts <strong>for</strong> scheduled<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Proxy backup requirements<br />

Checking configuration consistency<br />

Proxy Backups and Restores<br />

backups” on page 79. To determine if the script contains any errors, log the RMAN<br />

output into a file by setting the parameter NSR_RMAN_ARGUMENTS in the<br />

nsrnmo script used <strong>for</strong> the backup.<br />

Review the following in<strong>for</strong>mation, specific to proxy backups:<br />

◆ “Checking configuration consistency” on page 171<br />

◆ “Per<strong>for</strong>ming proxy backups” on page 172<br />

“Proxy backups and restores on cluster systems” on page 194 provides in<strong>for</strong>mation<br />

on proxy backups in a cluster environment.<br />

During a scheduled backup, NMO checks <strong>for</strong> consistency between the <strong>NetWorker</strong><br />

Group resource configuration and the RMAN backup session.<br />

If NMO finds a discrepancy between the Group resource configuration and the<br />

RMAN session, warning messages are generated or the backup fails, as described in<br />

the following sections:<br />

◆ “With a group configured <strong>for</strong> proxy backups” on page 171<br />

◆ “With a group configured <strong>for</strong> regular backups” on page 172<br />

With a group configured <strong>for</strong> proxy backups<br />

If the Snapshot attribute in the <strong>NetWorker</strong> Group resource is set to True, the resource<br />

is configured <strong>for</strong> proxy backups. However, this configuration does not guarantee that<br />

a proxy backup is executed. RMAN might still per<strong>for</strong>m only regular <strong>Oracle</strong> backups<br />

if either of the following exists:<br />

◆ None of the backup commands in the RMAN script include the proxy or proxy<br />

only option.<br />

◆ The backup commands in the RMAN script include the proxy or proxy only<br />

option, but none of the <strong>Oracle</strong> database objects (tablespaces or datafiles) specified<br />

in the backup commands reside on a primary storage device that the PowerSnap<br />

<strong>Module</strong> supports.<br />

If RMAN per<strong>for</strong>ms only regular <strong>Oracle</strong> backups due to one of these conditions, NMO<br />

generates the following warnings in the savegroup completion report:<br />

WARNING: Snapshot savegrp is completed but no <strong>Oracle</strong> proxy backup is<br />

detected.<br />

WARNING: Either fix your RMAN script or reconfigure the group resource<br />

without snapshot flag.<br />

While the resulting backups are valid regular (nonproxy) backups, correct the RMAN<br />

script or relocate the <strong>Oracle</strong> datafiles to a supported primary storage device, as<br />

required to enable proxy backups.<br />

The current <strong>EMC</strong> compatibility guides provide details on the primary storage devices<br />

supported <strong>for</strong> proxy backups with the PowerSnap <strong>Module</strong>s.<br />

If a backup command in the RMAN script includes the proxy only option and the<br />

<strong>Oracle</strong> data objects reside on volumes that do not support snapshots, the scheduled<br />

backup fails since RMAN cannot per<strong>for</strong>m a regular backup of the objects. The <strong>Oracle</strong><br />

Proxy backup requirements 171


Proxy Backups and Restores<br />

172<br />

documentation provides a detailed description of the difference between the proxy<br />

and proxy only options.<br />

Note: If the PowerSnap <strong>Module</strong> software involved in a proxy backup cannot determine if a file<br />

is snapshotable, the proxy backup fails.<br />

With a group configured <strong>for</strong> regular backups<br />

If the Snapshot attribute in the <strong>NetWorker</strong> Group resource is set to False, the resource<br />

is configured <strong>for</strong> regular backups. In this case, the use of the proxy or proxy only<br />

option with a backup command in the RMAN script is not supported. Any proxy<br />

backup specified in the RMAN script will fail. If there are regular and proxy backups<br />

in the same RMAN script, RMAN might complete one or more regular backups<br />

be<strong>for</strong>e a proxy backup fails.<br />

Notes:<br />

◆ If RMAN terminates any of the proxy backups in an RMAN script, the savegroup<br />

completion report lists failure of the scheduled backup.<br />

◆ If any proxy backups in an RMAN script fail, RMAN still per<strong>for</strong>ms a regular<br />

backup of the corresponding archived redo logs.<br />

Example 29 Proxy backup failure<br />

Per<strong>for</strong>ming proxy backups<br />

!<br />

A scheduled backup includes the following RMAN script, with the database files<br />

residing on volumes that support snapshots. However, the Snapshot attribute in the<br />

Group resource is set to False. As a result, the proxy database backup fails:<br />

run {<br />

allocate channel ch1 type ’SBT_TAPE’;<br />

allocate channel ch2 type ’SBT_TAPE’;<br />

backup proxy database plus archivelog;<br />

}<br />

Despite the proxy backup failure, RMAN per<strong>for</strong>ms a regular backup of the archived<br />

redo logs. The savegroup completion report lists failure of the scheduled backup.<br />

A proxy backup can be started only by automatic or manual invocation of the<br />

scheduled <strong>NetWorker</strong> backup group.<br />

IMPORTANT<br />

A proxy backup cannot be scheduled through <strong>Oracle</strong> Enterprise Manager or started<br />

by invoking RMAN from the operating system command line. The <strong>NetWorker</strong><br />

PowerSnap <strong>Module</strong> documentation provides in<strong>for</strong>mation on how to manually<br />

invoke a scheduled backup.<br />

Specific types of <strong>Oracle</strong> files, such as control files, cannot be backed up through a<br />

proxy backup. This is an <strong>Oracle</strong> constraint. The <strong>Oracle</strong> documentation <strong>for</strong> the<br />

particular <strong>Oracle</strong> Server release provides more in<strong>for</strong>mation on the <strong>Oracle</strong> file types<br />

that do not support proxy backups.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Proxy Backups and Restores<br />

Directory <strong>for</strong> temporary files<br />

NMO creates temporary files <strong>for</strong> processing purposes in the following directory:<br />

◆ On UNIX, the directory is /nsr/tmp.<br />

◆ On Microsoft Windows, the directory is <strong>NetWorker</strong>_install_path\tmp, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path.<br />

Note: During RMAN operations, do not touch any files in this directory.<br />

Backup summary line in savegroup report<br />

The savegroup completion report <strong>for</strong> a proxy backup contains a summary line that<br />

includes the backup size and number of files. The summary line refers to backup data<br />

written to <strong>NetWorker</strong> devices only.<br />

The summary line <strong>for</strong> an instant backup includes the size of only the metadata stored<br />

<strong>for</strong> the backup, not the size of the files stored on the primary storage as a<br />

point-in-time copy. The number of files includes the number of entries generated <strong>for</strong><br />

the metadata plus the number of entries generated <strong>for</strong> the backup pieces.<br />

Savegroup completion status<br />

When a deferred live backup is run as part of a scheduled group, the backup process<br />

involves two steps:<br />

1. An instant backup is per<strong>for</strong>med. At the end of the instant backup, the backup<br />

entries <strong>for</strong> the point-in-time copy are recorded in the <strong>NetWorker</strong> indexes and<br />

RMAN catalog.<br />

2. The deferred live backup is per<strong>for</strong>med. At the end of the deferred live backup, the<br />

backup entries <strong>for</strong> data stored on the secondary storage are recorded in the<br />

<strong>NetWorker</strong> indexes.<br />

“Proxy backup processes” on page 153 provides more details.<br />

If the instant backup succeeds but the deferred live backup fails, the entire scheduled<br />

backup is reported as failed. However, the point-in-time copy created during the<br />

instant backup is a valid backup and can be used <strong>for</strong> instant or rollback restore.<br />

Note: If RMAN per<strong>for</strong>ms only a regular <strong>Oracle</strong> backup during the instant backup step<br />

(“Checking configuration consistency” on page 171 provides details on when this can happen),<br />

the deferred live backup fails because there is no point-in-time copy to be moved to secondary<br />

storage. The entire backup is reported as failed, but the data is stored on tape and can be used<br />

<strong>for</strong> restore.<br />

NWORA resource file backup<br />

If a scheduled proxy backup completes successfully, NMO automatically backs up<br />

the NWORA resource file, as described in “The NWORA resource file” on page 183.<br />

The NWORA resource file backup is per<strong>for</strong>med at the backup level specified in the<br />

Schedule resource (<strong>for</strong> example, incremental). <strong>Oracle</strong> backups are always per<strong>for</strong>med<br />

at the full level. The <strong>NetWorker</strong> server selects the pool <strong>for</strong> the NWORA resource file<br />

backup based on existing resource configurations. The setting of the parameter<br />

NSR_DATA_VOLUME_POOL does not affect the pool selection.<br />

The savegroup completion report contains a summary line <strong>for</strong> the backup that<br />

includes the phrase "NWORA Resource Backup." The in<strong>for</strong>mation is also written to<br />

the scheduled backup debug file, specified by the parameter NSR_SB_DEBUG_FILE<br />

in the nsrnmo script.<br />

Proxy backup requirements 173


Proxy Backups and Restores<br />

174<br />

In the <strong>NetWorker</strong> indexes, the save set name <strong>for</strong> the NWORA resource file backup is<br />

the same as the file pathname. You can use the <strong>NetWorker</strong> mminfo command to<br />

display the save set name. “NWORA resource file backup in the <strong>NetWorker</strong> indexes”<br />

on page 176 provides in<strong>for</strong>mation on how the backup is represented in the<br />

<strong>NetWorker</strong> indexes.<br />

The NWORA resource file backup can be restored by using the <strong>NetWorker</strong> recover<br />

command or nwrecover GUI program. The <strong>NetWorker</strong> administration guide<br />

provides more in<strong>for</strong>mation.<br />

Note: The file is stored under the "backup" namespace, not the "oracle" namespace.<br />

The browse and retention policies applied to the NWORA resource file backup are<br />

the most conservative policies associated with the given <strong>NetWorker</strong> client, not the<br />

policies that are applied to the <strong>Oracle</strong> backups. As a result, you may see a difference<br />

between the policies assigned to the NWORA resource file backup and the <strong>Oracle</strong><br />

backups.<br />

Canceling proxy backups<br />

Proxy backups can be canceled by using the same methods as <strong>for</strong> regular <strong>Oracle</strong><br />

backups. The following sections provide more in<strong>for</strong>mation:<br />

◆ “Cancel a manual backup” on page 107<br />

◆ “Cancel a scheduled backup” on page 111<br />

Proxy backup in<strong>for</strong>mation in the <strong>NetWorker</strong> indexes<br />

The <strong>NetWorker</strong> server maintains in<strong>for</strong>mation about each backup in its online<br />

indexes. “<strong>NetWorker</strong> software” on page 47 provides more in<strong>for</strong>mation.<br />

The index entry <strong>for</strong> a proxy backup is stored in the <strong>NetWorker</strong> client file index <strong>for</strong> the<br />

<strong>Oracle</strong> Server host, under the "oracle" namespace (as is the case <strong>for</strong> a regular backup).<br />

The <strong>NetWorker</strong> client file index and media database each contain a different value <strong>for</strong><br />

the name of the save set <strong>for</strong> a proxy backup (as is the case <strong>for</strong> a regular scheduled<br />

backup).<br />

Query the online <strong>NetWorker</strong> indexes by using the <strong>NetWorker</strong> commands, nsrinfo<br />

and mminfo:<br />

◆ Type the nsrinfo command to query the <strong>NetWorker</strong> client file index. For<br />

example:<br />

nsrinfo -n oracle -s <strong>NetWorker</strong>_server <strong>Oracle</strong>_Server_hostname<br />

◆ Type the mminfo command to query the <strong>NetWorker</strong> media database. For<br />

example:<br />

mminfo -v -s <strong>NetWorker</strong>_server -c <strong>Oracle</strong>_Server_hostname<br />

The <strong>NetWorker</strong> command reference guide and the UNIX man pages provide more<br />

in<strong>for</strong>mation on these <strong>NetWorker</strong> commands.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Entries in the client file index<br />

Proxy Backups and Restores<br />

For a backup piece created through a proxy backup, the client file index contains<br />

three types of backup entries under the "oracle" namespace:<br />

◆ One entry is generated <strong>for</strong> the backup piece name assigned by RMAN, such as<br />

/PROXY_O901JB_811_1/ in Example 30 on page 175.<br />

◆ The second entry is generated <strong>for</strong> the point-in-time metadata, such as<br />

/brcmeta.1/ in Example 30 on page 175. This entry is created <strong>for</strong> an instant<br />

backup only.<br />

◆ The third entry is generated <strong>for</strong> the <strong>Oracle</strong> datafile that is backed up to secondary<br />

storage, <strong>for</strong> example, /JBOD13_NMO41_MVOL3/tbspc4_data1.dbf in<br />

Example 30 on page 175. This entry is created <strong>for</strong> a live backup only.<br />

Example 30 Proxy backup entries in the client file index<br />

Entries in the media database<br />

The nsrinfo command provides in<strong>for</strong>mation on the proxy backup entries in the<br />

<strong>NetWorker</strong> client file index:<br />

nsrinfo -n oracle marmaris<br />

scanning client ’marmaris’ <strong>for</strong> all savetimes from the oracle namespace<br />

/PROXY_O901JB_811_1/, date=1178916449 Fri May 11 13:47:28 2007<br />

/brcmeta.1/, data=1178916446 Fri May 11 13:47:25 2007<br />

Physical files to rollover:<br />

/JBOD13_NMO41_MVOL3/tbspc4_data1.dbf<br />

/JBOD13_NMO41_MVOL3/tbspc4_data1.dbf, date=1178916453 Fri May 11<br />

13:47:31 2007<br />

For a backup piece created through a proxy backup, the media database contains two<br />

types of entries:<br />

◆ One entry is generated <strong>for</strong> the point-in-time metadata. This entry is created <strong>for</strong> an<br />

instant backup only.<br />

In the mminfo command output <strong>for</strong> this entry:<br />

The Size field contains the size of the metadata stored on the <strong>NetWorker</strong><br />

device.<br />

The Flag field (fl) includes the letter P, representing the point-in-time copy.<br />

To list the entries <strong>for</strong> an instant backup only, type the following mminfo<br />

command:<br />

mminfo -v -c <strong>Oracle</strong>_Server_hostname -q ’snap’<br />

The <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation provides more in<strong>for</strong>mation.<br />

◆ The other entry is generated <strong>for</strong> the <strong>Oracle</strong> datafile that is backed up to secondary<br />

storage. This entry is created <strong>for</strong> a live backup only.<br />

Both entries in the media database include the name of the RMAN backup script used<br />

<strong>for</strong> the proxy backup, such as /space1/home/oracle/bp1 in Example 31 on page 176.<br />

Proxy backup in<strong>for</strong>mation in the <strong>NetWorker</strong> indexes 175


Proxy Backups and Restores<br />

176<br />

Example 31 Proxy backup entries in the media database<br />

The mminfo command provides in<strong>for</strong>mation on the proxy backup entries in the<br />

<strong>NetWorker</strong> media database:<br />

mminfo -v -c marmaris<br />

volume client date time size<br />

nmo.002 marmaris 05/10/07 13:18:39 102 MB<br />

snap.001 marmaris 05/10/07 13:18:41 2 KB<br />

ssid fl lvl name<br />

4064690015 cb full /space1/home/oracle/bp1<br />

4098244417 cbP full /space1/home/oracle/bp1<br />

NWORA resource file backup in the <strong>NetWorker</strong> indexes<br />

In the <strong>NetWorker</strong> indexes, the NWORA resource file backup is stored under the<br />

"backup" namespace. As a result, the <strong>NetWorker</strong> recover or nwrecover program can<br />

be used to restore the backup. The save set name <strong>for</strong> the backup is the same as the file<br />

pathname.<br />

Query the <strong>NetWorker</strong> indexes <strong>for</strong> in<strong>for</strong>mation about the NWORA resource file<br />

backup by using the <strong>NetWorker</strong> commands nsrinfo and mminfo.<br />

Example 32 Resource file backup entry in the client file index<br />

The nsrinfo <strong>Oracle</strong>_Server_hostname command provides in<strong>for</strong>mation on the NWORA<br />

resource file backup entry in the <strong>NetWorker</strong> client file index:<br />

nsrinfo marmaris<br />

scanning client ’marmaris’ <strong>for</strong> all savetimes from the backup namespace<br />

/nsr/res/nwora.res, date=1178808677 Thu May 10 13:18:39 2007<br />

/nsr/res/, date=1178808677 Thu May 10 13:18:39 2007<br />

/nsr/, date=1178808677 Thu May 10 13:18:39 2007<br />

/, date=1178808677 Thu May 10 13:18:39 2007<br />

Note: This entry is not displayed with the nsrinfo -n oracle command because it is stored<br />

under the "backup" namespace, not the "oracle" namespace. The "backup" namespace is the<br />

default namespace <strong>for</strong> the nsrinfo command.<br />

Example 33 Resource file backup entry in the media database<br />

The mminfo -v -c <strong>Oracle</strong>_Server_hostname command provides in<strong>for</strong>mation on the<br />

NWORA resource file backup entry in the <strong>NetWorker</strong> media database:<br />

mminfo -v -c marmaris<br />

volume client date time size<br />

nmo.002 marmaris 05/10/07 13:18:39 4 KB<br />

ssid fl lvl name<br />

3863367791 cb full /nsr/res/nwora.res<br />

The <strong>NetWorker</strong> command reference guide and the UNIX man pages provide more<br />

in<strong>for</strong>mation on these <strong>NetWorker</strong> commands.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Proxy restore requirements<br />

Creating RMAN scripts <strong>for</strong> proxy restores<br />

Proxy Backups and Restores<br />

Chapter 4, “Data Restore and Recovery,” provides basic in<strong>for</strong>mation on how to<br />

configure and run <strong>Oracle</strong> data restore and recovery by using NMO.<br />

Review the following in<strong>for</strong>mation, specific to proxy restores:<br />

◆ “Creating RMAN scripts <strong>for</strong> proxy restores” on page 177<br />

◆ “Per<strong>for</strong>ming proxy restores” on page 178<br />

◆ “Relocating files during proxy restores” on page 179<br />

◆ “Restoring to a different host” on page 180<br />

◆ “Point-in-time recoveries without a Recovery Catalog” on page 181<br />

“Proxy backups and restores on cluster systems” on page 194 provides in<strong>for</strong>mation<br />

on proxy restores in a cluster environment.<br />

The same RMAN script used <strong>for</strong> a regular <strong>Oracle</strong> restore can also be used <strong>for</strong> a proxy<br />

restore.<br />

Note: The RMAN restore command does not include a proxy option.<br />

To create an RMAN script <strong>for</strong> a proxy restore, follow the instructions in Chapter 4,<br />

“Data Restore and Recovery.”<br />

To per<strong>for</strong>m a proxy restore, the appropriate parameters must be set, as described in<br />

“Setting the parameters” on page 166.<br />

The RESTORE_TYPE_ORDER parameter<br />

The RESTORE_TYPE_ORDER parameter setting determines the type of proxy restore<br />

that is per<strong>for</strong>med:<br />

1. RMAN determines which backup needs to be restored and passes the required<br />

backup piece name to NMO.<br />

2. The RESTORE_TYPE_ORDER parameter specifies whether the backup piece is to<br />

be restored by using one of the following:<br />

The point-in-time copy<br />

The copy stored on secondary storage<br />

Example 34 RESTORE_TYPE_ORDER parameter settings<br />

If the RESTORE_TYPE_ORDER parameter is set to the value rollback:pit, a rollback<br />

restore is attempted first. If it fails, an instant restore (indicated by pit) is attempted. If<br />

the parameter is not set, the default order pit:conventional is used, where<br />

conventional represents a restore from secondary storage.<br />

If the rollback option is not set explicitly, a rollback is not attempted. “Per<strong>for</strong>ming<br />

proxy restores” on page 178 provides more in<strong>for</strong>mation on setting up a rollback<br />

operation.<br />

Proxy restore requirements 177


Proxy Backups and Restores<br />

178<br />

!<br />

IMPORTANT<br />

For the RESTORE_TYPE_ORDER parameter, NMO does not support the<br />

<strong>for</strong>ce_rollback option, which is supported by PowerSnap <strong>Module</strong>s. If the option is<br />

specified, the restore fails, even if other valid restore options are also specified.<br />

The NSR_CLIENT parameter<br />

To restore <strong>Oracle</strong> data to a different host, the parameter NSR_CLIENT must be set to<br />

the required hostname. “Restoring to a different host” on page 180 provides more<br />

in<strong>for</strong>mation.<br />

Per<strong>for</strong>ming proxy restores<br />

The following requirements apply to proxy restores:<br />

◆ The PowerSnap <strong>Module</strong> software must be installed, according to the instructions<br />

in the <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation (refer to the PowerSnap<br />

<strong>Module</strong> version <strong>for</strong> the primary storage system).<br />

◆ Each element of the restore path must exist. Otherwise, the restore fails. For<br />

example, to restore a file backup to /space1/oradata/file.dbf, the path<br />

/space1/oradata must exist.<br />

◆ A proxy restore of a symbolic link restores the <strong>Oracle</strong> file to the location pointed<br />

to by the symbolic link. Both the symbolic link and the restore path must exist.<br />

Otherwise, the restore fails.<br />

◆ For a rollback restore, the psrollback.res file must be set up properly, as described<br />

in “Rollback restore” on page 179.<br />

◆ For user-specified relocation of files during a proxy restore, the relocation path<br />

must be specified as described in “Relocating files during proxy restores” on<br />

page 179.<br />

◆ After an <strong>Oracle</strong> restore is complete, a database administrator must recover the<br />

database by using the standard <strong>Oracle</strong> recover command.<br />

Concurrent restore streams<br />

During a proxy restore, the PowerSnap <strong>Module</strong> creates concurrent restore streams to<br />

optimize the restore.<br />

The maximum number of concurrent restore streams is defined by the PowerSnap<br />

parameter NSR_MAX_STREAMS. Table 7 on page 167 provides more in<strong>for</strong>mation.<br />

Directory created <strong>for</strong> file system data restore<br />

During a proxy restore of regular file system data, a .nworapc subdirectory (with<br />

0700 permissions) is created under the restore directory <strong>for</strong> the temporary relocation<br />

of the files being restored. (This relocation is independent of user-specified<br />

relocation.) The empty .nworapc subdirectory persists after the restore and can be<br />

deleted manually, if required.<br />

If a proxy restore of file system data fails, the non-empty .nworapc subdirectory<br />

persists after the restore, and can be deleted manually, if required. Do not use any<br />

datafiles from this subdirectory <strong>for</strong> <strong>Oracle</strong> recovery, or database corruption might<br />

occur. If you restart the failed restore, NMO automatically cleans this subdirectory.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Rollback restore<br />

Proxy Backups and Restores<br />

For a rollback restore, the psrollback.res file must contain the directory name<br />

.nworapc. The file is located as follows:<br />

◆ On UNIX: /nsr/res/psrollback.res<br />

◆ On Microsoft Windows: <strong>NetWorker</strong>_install_path\res\psrollback.res, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path<br />

Add the directory name to the file by using a text editor as either the root user on<br />

UNIX or a member of the Microsoft Windows Administrators group.<br />

The following sources provide more in<strong>for</strong>mation on the psrollback.res file:<br />

◆ <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation <strong>for</strong> the primary storage system.<br />

◆ Comments within the psrollback.res file itself.<br />

Note: The <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation provides in<strong>for</strong>mation on whether<br />

rollback is supported on a particular storage plat<strong>for</strong>m.<br />

Rollback restore on Celerra NAS devices<br />

NMO software supports the rollback safety check feature <strong>for</strong> rollback restores on<br />

Celerra NAS devices. The psrollback.res file lists all the files, directories, partitions,<br />

and volumes that are to be excluded from the rollback safety check. The items<br />

excluded from the safety check will be overwritten during a rollback operation.<br />

Note: For NMO systems, “.etc” must be added to the psrollback.res file.<br />

To enable remount of the NAS file system at the end of a rollback operation, place an<br />

entry <strong>for</strong> the target file system in the appropriate file:<br />

◆ /etc/vfstab on Solaris<br />

◆ /etc/fstab on HP-UX<br />

Relocating files during proxy restores<br />

!<br />

◆ /etc/filesystems on IBM AIX<br />

If this is not done, the remount at the end of the rollback fails. The data is recovered,<br />

but the file system must be remounted manually and the tablespace brought back<br />

online.<br />

This section describes the user-specified relocation of a proxy restore with NMO.<br />

IMPORTANT<br />

Relocation is not supported during a rollback restore. If the<br />

RESTORE_TYPE_ORDER parameter includes the rollback value and the RMAN<br />

restore script specifies relocation, the restore fails, even if the parameter includes<br />

other values.<br />

During a proxy restore, NMO supports and controls relocation, which is the restore<br />

of datafiles (regular files or raw volumes) to a new location. The new location can be<br />

specified by using the RMAN set newname command.<br />

Note: During a regular <strong>Oracle</strong> restore, relocation is also supported, but it is controlled by the<br />

<strong>Oracle</strong> Server.<br />

Proxy restore requirements 179


Proxy Backups and Restores<br />

180<br />

To relocate a regular file or raw volume during a proxy restore, the set newname<br />

command must specify the name of the relocated file as one of the following:<br />

◆ The complete pathname of the relocated file.<br />

◆ The complete pathname of a symbolic link that points to the location where the<br />

file will be restored.<br />

Example 35 Symbolic link specified in the set newname command<br />

!<br />

If the symbolic link /tmp/file1 points to /dbapps/proddb/file2 and the symbolic<br />

link /tmp/file1 is specified in the set newname command, the backed-up file will be<br />

restored to /dbapps/proddb/file2.<br />

IMPORTANT<br />

The procedure to relocate a raw volume includes a restriction that does not apply<br />

when relocating a regular file.<br />

To relocate a raw volume, the base filename (the filename without the directory path)<br />

of the original backed-up raw volume must be identical to one of the following:<br />

◆ The base filename of the relocation path specified in the set newname command.<br />

◆ If the set newname command specifies a symbolic link, the base filename in the<br />

symbolic link.<br />

Example 36 Relocation of a raw volume<br />

Restoring to a different host<br />

If a backed-up raw volume is named /dev/volume_one/rvol1, the<br />

/dev/volume_two/rvol1 relocation path can be specified in the set newname<br />

command. This can occur because the original and relocation paths have the same<br />

base filename, rvol1. However, specifying the /dev/volume_one/rvol2 path in the<br />

set newname command would cause the proxy restore to fail, since the original and<br />

relocation paths have different base filenames.<br />

The following procedure is one way to relocate /dev/volume_one/rvol1 to<br />

/dev/volume_one/rvol2:<br />

1. Create a symbolic link named /tmp/rvol1 that points to<br />

/dev/volume_one/rvol2.<br />

2. Specify /tmp/rvol1 in the set newname command in the RMAN restore script.<br />

In this case, the relocation succeeds because both the original path and symbolic link<br />

name have the same base filename, rvol1.<br />

To restore proxy database backups to a different host, follow the guidelines in<br />

“Restore to a different host” on page 126. Task 2 of that section explains that NMO<br />

must be installed and configured on the system where the <strong>Oracle</strong> data is to be<br />

restored. For proxy restores to a different host, the required PowerSnap <strong>Module</strong> must<br />

also be installed and configured on that system.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Point-in-time recoveries without a Recovery Catalog<br />

Proxy Backups and Restores<br />

Note: If point-in-time recoveries are per<strong>for</strong>med with an RMAN Recovery Catalog, the<br />

in<strong>for</strong>mation in this section does not apply.<br />

During a proxy database backup, <strong>Oracle</strong> backs up the control file after the proxy<br />

backup of the datafiles is complete. In a large database production environment,<br />

there might be a delay between the end time of the datafile backup and the start time<br />

of the control file backup.<br />

During this time delay, if the physical structure of the database is changed (<strong>for</strong><br />

example, a new datafile is added), the control file must be backed up in a separate<br />

RMAN session be<strong>for</strong>e the changes occur. This is due to the fact that the control file<br />

backup from the proxy database backup session will include in<strong>for</strong>mation on the new<br />

database structure.<br />

Catalog synchronization <strong>for</strong> proxy backups<br />

Extra entries in the catalogs<br />

During <strong>Oracle</strong> backups, RMAN stores in<strong>for</strong>mation about each backup piece in the<br />

RMAN repository, also known as the "RMAN catalog". Similarly, NMO stores<br />

in<strong>for</strong>mation about each backup piece in the <strong>NetWorker</strong> indexes, or what <strong>Oracle</strong><br />

documentation refers to as the "MML catalog."<br />

During <strong>Oracle</strong> restores, the following occurs:<br />

◆ The RMAN catalog determines the data to be restored.<br />

◆ The <strong>NetWorker</strong> indexes provide in<strong>for</strong>mation that NMO requires to per<strong>for</strong>m the<br />

restore.<br />

It is important to keep the RMAN catalog and <strong>NetWorker</strong> indexes synchronized,<br />

especially when per<strong>for</strong>ming instant backups.<br />

The catalogs are unsynchronized when one of the following exists:<br />

◆ The RMAN catalog contains backup piece entries that do not have corresponding<br />

<strong>NetWorker</strong> index entries.<br />

◆ The <strong>NetWorker</strong> indexes contain backup piece entries that do not have<br />

corresponding RMAN catalog entries.<br />

Note: If catalog synchronization is enabled <strong>for</strong> NMO, proxy backup entries in the catalogs are<br />

synchronized automatically.<br />

Extra entries in the <strong>NetWorker</strong> indexes do not cause problems as long as the extra<br />

entries contain unique backup piece names that RMAN does not attempt to reuse <strong>for</strong><br />

backups.<br />

However, extra entries in the RMAN catalog can cause serious problems. These extra<br />

entries can occur when corresponding <strong>NetWorker</strong> index entries are removed through<br />

either expiration or <strong>NetWorker</strong> commands such as nsrmm. For example, instant<br />

backups are often configured to expire quickly (within hours), causing the<br />

<strong>NetWorker</strong> index entries to be removed.<br />

Catalog synchronization <strong>for</strong> proxy backups 181


Proxy Backups and Restores<br />

Removing instant backup entries from the <strong>NetWorker</strong> indexes<br />

Instant backup entries in the <strong>NetWorker</strong> indexes are removed in one of the following<br />

ways:<br />

182<br />

◆ At the start of an instant backup, if the number of existing instant backups equals<br />

the value of the Retain Snapshots attribute in the <strong>NetWorker</strong> Snapshot Policy<br />

resource, the oldest instant backup is automatically expired and its <strong>NetWorker</strong><br />

index entries are removed.<br />

Note: This automatic expiration and index entry removal does not apply to instant backups<br />

specified with the nsrnmo -c client_name command.<br />

The following sections provide more in<strong>for</strong>mation on using this command:<br />

- “Proxy backups from a virtual cluster client” on page 195<br />

- “Proxy backups from a physical cluster client” on page 196<br />

◆ When the expiration policy <strong>for</strong> an instant backup expires, the <strong>NetWorker</strong> process<br />

nsrim prunes the backup entries from the <strong>NetWorker</strong> indexes.<br />

◆ The <strong>NetWorker</strong> process nsrexecd per<strong>for</strong>ms consistency checking that can remove<br />

backup entries from the <strong>NetWorker</strong> indexes.<br />

◆ The DBA uses a <strong>NetWorker</strong> command, such as nsrmm, to remove a save set that<br />

includes an instant backup.<br />

Problems with extra entries in the RMAN catalog<br />

When the RMAN catalog contains extra entries (without corresponding entries in the<br />

<strong>NetWorker</strong> indexes), the following types of problems can occur:<br />

!<br />

◆ When RMAN backup optimization is enabled, RMAN might skip backing up<br />

certain files.<br />

◆ The RMAN catalog might expire backups that are required <strong>for</strong> restores.<br />

◆ RMAN restores might fail when RMAN attempts to restore backup pieces that<br />

have no corresponding <strong>NetWorker</strong> index entries.<br />

The RMAN repository can be stored in either the control file of the target database or<br />

in an RMAN recovery catalog. An RMAN recovery catalog is an <strong>Oracle</strong> database.<br />

Note: For proxy instant backups, use an RMAN recovery catalog instead of a control file.<br />

“Control file versus recovery catalog” on page 183 provides more in<strong>for</strong>mation.<br />

IMPORTANT<br />

To enable automatic catalog synchronization <strong>for</strong> proxy backups:<br />

- The parameter ORACLE_SID must be properly set in the nsrnmo scheduled<br />

backup script at the time of the proxy backup. “Customize the nsrnmo script” on<br />

page 79 provides details.<br />

- An NWORA resource file must include the required resources, as described in<br />

“The NWORA resource file” on page 183.<br />

The NMO program nsroraclecat uses the NWORA resources in the file to per<strong>for</strong>m<br />

automatic synchronization of the RMAN catalog and <strong>NetWorker</strong> indexes. DBAs can<br />

also synchronize the catalogs manually by using RMAN commands.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Control file versus recovery catalog<br />

The NWORA resource file<br />

!<br />

Proxy Backups and Restores<br />

The following sections provide complete in<strong>for</strong>mation on how to configure and<br />

per<strong>for</strong>m catalog synchronization:<br />

◆ “The NWORA resource file” on page 183<br />

◆ “Automatic catalog synchronization with the nsroraclecat program” on page 191<br />

The control file of an <strong>Oracle</strong> database can store only a limited number of backup<br />

entries. When the maximum number of entries is exceeded, old entries in the control<br />

file are overwritten by new ones. You can determine the number of entries in a<br />

control file from the appropriate <strong>Oracle</strong> dynamic view. The <strong>Oracle</strong> documentation<br />

provides more in<strong>for</strong>mation.<br />

Instant backups use control file entries of type PROXY COPY. For instant backups, an<br />

RMAN recovery catalog (instead of a control file) can be used, since there is no limit<br />

on the number of entries a recovery catalog can contain.<br />

IMPORTANT<br />

If you use a control file as the RMAN catalog during an instant backup, ensure that<br />

the control file contains enough free entries <strong>for</strong> the backup. RMAN creates a new<br />

entry in the control file <strong>for</strong> each file backed up in an instant backup. The backup of<br />

a large database with many files can quickly use all the free entries in the control<br />

file and start overwriting old entries. When entries are overwritten, the<br />

corresponding backups cannot be restored.<br />

Proxy backups require the NWORA resource file to exist in the following location:<br />

◆ On UNIX: /nsr/res/nwora.res<br />

◆ On Microsoft Windows: <strong>NetWorker</strong>_install_path\res\nwora.res, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path<br />

The NWORA resource file is created by the nsrnmoadmin program when it is run <strong>for</strong><br />

the first time.<br />

To enable instant backups and catalog synchronization, specific NWORA resources<br />

must be added to the file with the nsrnmoadmin program.<br />

Note: The NWORA resource file must not be edited manually. All resources in the file must be<br />

added, modified, or deleted by using the nsrnmoadmin program only. The nsrnmoadmin<br />

program must be run by either the root user on UNIX or a member of the Microsoft Windows<br />

Administrators group.<br />

“Configuring the NWORA resource file with the nsrnmoadmin program” on<br />

page 188 provides details on the nsrnmoadmin program.<br />

The NWORA resource file <strong>for</strong> instant backups must contain two types of resources,<br />

NWORA parameter resources and NWORA SID resources. The following sections<br />

provide more in<strong>for</strong>mation:<br />

◆ “NWORA parameter resources” on page 184<br />

◆ “NWORA SID resources” on page 186<br />

Catalog synchronization <strong>for</strong> proxy backups 183


Proxy Backups and Restores<br />

NWORA parameter resources<br />

An NWORA parameter resource comprises one specific parameter setting, such as<br />

<strong>for</strong> the parameter NSR_ORACLECAT_MODE. For instant backups, the NWORA<br />

resource file must contain at least the following parameter resources:<br />

184<br />

◆ “NSR_NWPATH” on page 184<br />

◆ “NSR_ORACLECAT_DEBUG_FILE” on page 184<br />

◆ “NSR_ORACLECAT_LOG_FILE” on page 184<br />

◆ “NSR_ORACLECAT_MODE” on page 185<br />

◆ “NSR_REMOVE_ON_FAILURE” on page 185<br />

Note: The parameter resources listed in Table 8 on page 184 are the only ones supported. Do<br />

not attempt to add other parameter resources to the NWORA resource file.<br />

Table 8 NWORA parameter resources (page 1 of 2)<br />

Parameter resource Description Default and valid values<br />

NSR_NWPATH Specifies the directory location of the <strong>NetWorker</strong> binary<br />

nsrsnapck.<br />

Note: If you use NMO with Sun-branded <strong>NetWorker</strong>, you must<br />

set NSR_NWPATH by using the following nsrnmoadmin<br />

command:<br />

nsrnmoadmin -r update NSR_NWPATH=/usr/sbin/nsr<br />

NSR_ORACLECAT_DEBUG_FILE Specifies the debug file used by the nsroraclecat program.<br />

Set this parameter only <strong>for</strong> the purpose of debugging the<br />

nsroraclecat program.<br />

Note: The nsroraclecat debug file must be created in a<br />

secure location since it includes a copy of the strings from the<br />

RMAN connection file.<br />

NSR_ORACLECAT_LOG_FILE Specifies the operations log file used by the nsroraclecat<br />

program. The logged in<strong>for</strong>mation includes the backup pieces<br />

successfully removed from the RMAN catalog, and those that<br />

failed to be removed during automatic catalog<br />

synchronization.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Directory pathname <strong>for</strong> the location of<br />

nsrsnapck (default).<br />

Valid directory pathname <strong>for</strong> the location of<br />

the <strong>NetWorker</strong> binary nsrsnapck.<br />

Undefined (default).<br />

Valid pathname of the nsroraclecat debug<br />

file.<br />

Note: If undefined, debug in<strong>for</strong>mation is not<br />

generated.<br />

Undefined (default).<br />

Valid pathname of the nsroraclecat log file.<br />

Note: If undefined, logging in<strong>for</strong>mation is written<br />

to the /nsr/applogs/nsroraclecat.log file by<br />

default.


Table 8 NWORA parameter resources (page 2 of 2)<br />

Parameter resource Description Default and valid values<br />

NSR_ORACLECAT_MODE Specifies whether automatic catalog synchronization is<br />

enabled or disabled during proxy backups.<br />

NSR_ORACLE_NLS_LANG Required to enable proxy catalog synchronization in a<br />

non-English environment only. Specifies the non-English<br />

locale value, as set in the NLS_LANG environment variable.<br />

“Configure I18N support” on page 68 provides more<br />

in<strong>for</strong>mation.<br />

NSR_REMOVE_ON_FAILURE Specifies whether the corresponding <strong>NetWorker</strong> index entries<br />

are removed when the nsroraclecat program fails to remove<br />

one or more RMAN catalog entries during automatic catalog<br />

synchronization. “Automatic catalog synchronization with the<br />

nsroraclecat program” on page 191 provides more<br />

in<strong>for</strong>mation.<br />

Undetermined (default).<br />

Enabled.<br />

Disabled.<br />

Proxy Backups and Restores<br />

Note: Instant backups require the resource value<br />

to be set to either "enabled" or "disabled". If the<br />

value is unset, instant backups fail.<br />

Undetermined (default).<br />

Valid locale value, same as set in the<br />

NLS_LANG environment variable.<br />

Note: If the value is not set to the same value as<br />

the NLS_LANG variable in a non-English<br />

environment, proxy catalog synchronization fails.<br />

FALSE (default).<br />

TRUE.<br />

Using the nsrnmoadmin command to set parameter resources<br />

When the nsrnmoadmin command (with any options) is used <strong>for</strong> the first time after<br />

the NMO installation, the NWORA resource file is automatically populated with five<br />

parameter resources from Table 8 on page 184: NSR_NWPATH,<br />

NSR_ORACLECAT_DEBUG_FILE, NSR_ORACLECAT_LOG_FILE,<br />

NSR_ORACLECAT_MODE, NSR_REMOVE_ON_FAILURE. Depending on the<br />

nsrnmoadmin command options used, the parameter resources are set to either<br />

default or customized values.<br />

Note: Once an NWORA parameter resource is added to the resource file, it cannot be deleted.<br />

However, its value can be modified.<br />

To view the NWORA parameter resources in the resource file, use the nsrnmoadmin<br />

-r list command.<br />

To modify NWORA parameter resource settings, use the nsrnmoadmin -r update<br />

command.<br />

“Configuring the NWORA resource file with the nsrnmoadmin program” on<br />

page 188 provides details on how to use the nsrnmoadmin command.<br />

Catalog synchronization <strong>for</strong> proxy backups 185


Proxy Backups and Restores<br />

186<br />

NWORA SID resources<br />

Example 37 Default NWORA parameter resources<br />

!<br />

After the NMO installation, if the first nsrnmoadmin command used is<br />

nsrnmoadmin -r list (to list the NWORA resource file contents), the command adds<br />

the following default settings <strong>for</strong> the NWORA parameter resources to the resource<br />

file:<br />

NSR_NWPATH=<strong>NetWorker</strong>_binary_path<br />

NSR_ORACLECAT_MODE=undetermined<br />

NSR_REMOVE_ON_FAILURE=FALSE<br />

NSR_ORACLE_LOG_FILE=<br />

NSR_ORACLECAT_DEBUG_FILE=<br />

<strong>NetWorker</strong>_binary_path is the pathname of the directory that contains the <strong>NetWorker</strong><br />

binary nsrsnapck.<br />

To enable instant backups, NSR_ORACLECAT_MODE must be set to either enabled<br />

or disabled by using the nsrnmoadmin -r update command.<br />

This default NWORA resource file does not yet contain any NWORA SID resources,<br />

as described in “NWORA SID resources” on page 186.<br />

An NWORA SID resource comprises a specific group of parameters <strong>for</strong> a single<br />

<strong>Oracle</strong> database. If automatic catalog synchronization is enabled<br />

(NSR_ORACLECAT_MODE is set to enabled), the NWORA resource file must<br />

contain an NWORA SID resource <strong>for</strong> each <strong>Oracle</strong> database (ORACLE_SID). The<br />

NWORA SID resource can include only the parameters described in Table 9 on<br />

page 186.<br />

However, an unlimited number of NWORA SID resources can be added to the<br />

resource file.<br />

IMPORTANT<br />

If automatic catalog synchronization is enabled, but you do not create an NWORA<br />

SID resource <strong>for</strong> an <strong>Oracle</strong> database, the catalogs will not be synchronized during<br />

instant backups of that database. As a result, the catalogs can become<br />

unsynchronized unless you synchronize them manually by using RMAN<br />

commands. “Automatic catalog synchronization with the nsroraclecat program” on<br />

page 191 provides more in<strong>for</strong>mation.<br />

Note: Each NWORA SID resource must have a unique NSR_ORACLE_SID value.<br />

Table 9 NWORA SID resource components (page 1 of 2)<br />

Parameter Description Default and valid values<br />

NSR_ORACLE_CONNECT_FILE Mandatory. Specifies the location of the file containing the<br />

connection strings required to create an RMAN session. “The<br />

connection file” on page 188 provides more in<strong>for</strong>mation.<br />

NSR_ORACLE_HOME Mandatory. Specifies the home directory of the <strong>Oracle</strong><br />

installation. The RMAN executable must be located in<br />

subdirectory bin of this directory.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Undefined (default).<br />

Valid pathname of the RMAN connection file.<br />

Undefined (default).<br />

Valid pathname of the <strong>Oracle</strong> home directory.<br />

Note: The value must be equal to the <strong>Oracle</strong><br />

parameter $ORACLE_HOME value.


Table 9 NWORA SID resource components (page 2 of 2)<br />

Parameter Description Default and valid values<br />

NSR_ORACLE_LIB_PATH Optional. Specifies the pathname of the directory containing<br />

the <strong>Oracle</strong> shared libraries on UNIX, typically<br />

$ORACLE_HOME/lib.<br />

NSR_ORACLE_SID Mandatory. Specifies the SID value of the <strong>Oracle</strong> database<br />

whose RMAN catalog is to be synchronized.<br />

NSR_ORACLE_TNS_ADMIN Optional. Specifies the pathname of the directory containing<br />

the <strong>Oracle</strong> Net configuration files.<br />

Proxy Backups and Restores<br />

Using the nsrnmoadmin command to set SID resources<br />

To add an NWORA SID resource to the resource file, use the nsrnmoadmin -r add<br />

command.<br />

To modify NWORA SID resource settings, use the nsrnmoadmin -r update<br />

command.<br />

“Configuring the NWORA resource file with the nsrnmoadmin program” on<br />

page 188 provides details on how to use the nsrnmoadmin command.<br />

Example 38 NWORA SID resource<br />

Automatic catalog synchronization is enabled <strong>for</strong> instant backups when the<br />

NSR_ORACLECAT_MODE parameter resource is set to enabled. Prior to per<strong>for</strong>ming<br />

instant backups of an <strong>Oracle</strong> database with an ORACLE_SID value of proddb, add an<br />

NWORA SID resource to the resource file by using the nsrnmoadmin -r add<br />

command. The SID resource must include the following:<br />

◆ NSR_ORACLE_SID set to proddb.<br />

Undefined (default).<br />

Valid pathname of the <strong>Oracle</strong> shared library<br />

directory on UNIX.<br />

Note: This parameter is not required on<br />

Windows.<br />

Undefined (default).<br />

Valid SID value of the <strong>Oracle</strong> database.<br />

Note: The value must be equal to the<br />

ORACLE_SID value in the particular nsrnmo<br />

script used <strong>for</strong> the database backup.<br />

“ORACLE_SID” on page 83 provides more<br />

in<strong>for</strong>mation.<br />

Undefined (default).<br />

Valid pathname of <strong>Oracle</strong> network<br />

configuration directory.<br />

Note: The value must be equal to the <strong>Oracle</strong><br />

parameter $TNS_ADMIN value.<br />

◆ NSR_ORACLE_CONNECT_FILE and NSR_ORACLE_HOME set to suitable<br />

values.<br />

◆ NSR_ORACLE_LIB_PATH and NSR_ORACLE_TNS_ADMIN (optional) set to<br />

suitable values.<br />

The following NWORA SID resource can be added <strong>for</strong> the <strong>Oracle</strong> database:<br />

NSR_ORACLE_CONNECT_FILE=/dbapps/proddb/connect.file<br />

NSR_ORACLE_HOME=/dbapps/proddb/app/oracle/product/10.2.0/Db_1<br />

NSR_ORACLE_LIB_PATH=/usr/lib<br />

NSR_ORACLE_SID=proddb<br />

NSR_ORACLE_TNS_ADMIN=/dbapps/proddb/tns<br />

Catalog synchronization <strong>for</strong> proxy backups 187


Proxy Backups and Restores<br />

188<br />

The connection file<br />

!<br />

In this sample, the RMAN connection file is /dbapps/proddb/connect.file and the<br />

<strong>Oracle</strong> home directory is /dbapps/proddb/app/oracle/product/10.2.0/Db_1.<br />

Catalog synchronization requires the connection file <strong>for</strong> an <strong>Oracle</strong> database. The<br />

nsroraclecat program uses the in<strong>for</strong>mation in the connection file to delete RMAN<br />

catalog entries.<br />

In the NWORA SID resource <strong>for</strong> the target database, the parameter<br />

NSR_ORACLE_CONNECT_FILE must be set to the pathname of the connection file.<br />

“NWORA SID resources” on page 186 provides more in<strong>for</strong>mation.<br />

IMPORTANT<br />

A DBA must create the connection file in a secure location.<br />

The connection file must include the following:<br />

◆ The connection string that is required to connect to the target database.<br />

◆ If an RMAN recovery catalog is used, the connection string that is required to<br />

connect to the RMAN recovery catalog.<br />

Note: The connection file must not include any lines starting with the # symbol.<br />

If the connection file does not contain a connection string <strong>for</strong> an RMAN recovery<br />

catalog, the nsroraclecat program assumes that a control file is used as the RMAN<br />

repository during instant backups.<br />

Example 39 Connection file contents<br />

If the following lines exist in the connection file, an RMAN recovery catalog is used as<br />

the RMAN repository:<br />

connect target sys/oracle@proddb;<br />

connect rcvcat rman/rman@oracat;<br />

Note: RMAN catalog deletions fail if the connection file <strong>for</strong> a backup piece does not exist or<br />

does not contain valid connection strings.<br />

Configuring the NWORA resource file with the nsrnmoadmin program<br />

All resources in the NWORA resource file must be added, modified, or deleted by<br />

using the nsrnmoadmin program only.<br />

To run the program, type the nsrnmoadmin command at the operating system<br />

command line, as the root user on UNIX or as a member of the Microsoft Windows<br />

Administrators group.<br />

“The nsrnmoadmin command syntax and options related to proxy backups” on<br />

page 189 provides details on the command syntax and options.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Windows 2008 and Windows Vista requirements <strong>for</strong> the nsrnmoadmin<br />

command<br />

Proxy Backups and Restores<br />

Note: Whenever you make changes to the NWORA resource file on Windows 2008 or<br />

Windows Vista, back up the file manually.<br />

On Windows 2008 and Windows Vista, you must run the nsrnmoadmin command in<br />

the Command Prompt window as an administrator:<br />

1. Click Start.<br />

2. Right-click Command Prompt.<br />

3. Select Run as administrator.<br />

4. Run the nsrnmoadmin command in the open Command Prompt window.<br />

The nsrnmoadmin command syntax and options related to proxy backups<br />

The nsrnmoadmin command syntax and options used to configure proxy backup<br />

settings are as follows:<br />

nsrnmoadmin [-D debug_level] -r list [ResourceName | SidName]<br />

nsrnmoadmin [-D debug_level] -r add ResourceName ResourceValue<br />

nsrnmoadmin [-D debug_level] -r add sid=SidName home=<strong>Oracle</strong>Home<br />

connect=ConnectFilePath [lib=LibraryPath] [tns=TNSPath]<br />

nsrnmoadmin [-D debug_level] -r update ResourceName ResourceValue<br />

nsrnmoadmin [-D debug_level] -r update sid=SidName [home=<strong>Oracle</strong>Home]<br />

[connect=ConnectFilePath] [lib=LibraryPath] [tns=TNSPath]<br />

nsrnmoadmin [-D debug_level] -r delete SidName<br />

where:<br />

◆ debug_level is the level of debug in<strong>for</strong>mation generated.<br />

◆ ResourceName is the name of an NWORA parameter resource.<br />

◆ SidName is the value of the NSR_ORACLE_SID parameter of an NWORA SID<br />

resource.<br />

◆ ResourceValue is the value of the NWORA parameter resource.<br />

◆ <strong>Oracle</strong>Home is the value of the NSR_ORACLE_HOME parameter of the NWORA<br />

SID resource.<br />

◆ ConnectFilePath is the value of the NSR_ORACLE_CONNECT_FILE parameter of<br />

the NWORA SID resource.<br />

◆ LibraryPath is the value of the NSR_ORACLE_LIB_PATH parameter of the<br />

NWORA SID resource.<br />

◆ TNSPath is the value of the NSR_ORACLE_TNS_ADMIN parameter of the<br />

NWORA SID resource.<br />

Only the -D and -r options are supported:<br />

◆ The -D option causes the nsrnmoadmin command to print debug in<strong>for</strong>mation.<br />

◆ The -r option must be followed by the appropriate keywords, which determine<br />

the NWORA resource operation to be per<strong>for</strong>med.<br />

Command options and settings in brackets ([ ]) are optional. Do not include the<br />

brackets when typing the command.<br />

Catalog synchronization <strong>for</strong> proxy backups 189


Proxy Backups and Restores<br />

190<br />

The following sections provide examples of how to use the nsrnmoadmin command<br />

to list, add, update, and delete NWORA resources:<br />

◆ “List the NWORA resources” on page 190<br />

◆ “Add the NWORA resources” on page 190<br />

◆ “Update the NWORA resources” on page 191<br />

◆ “Delete the NWORA SID resources” on page 191<br />

The following sources provide more in<strong>for</strong>mation on the nsrnmoadmin command:<br />

◆ The nsrnmoadmin man page on a UNIX <strong>Oracle</strong> Server that contains the NMO<br />

software.<br />

◆ The nsrnmoadmin entry in the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> command<br />

reference guide on the Powerlink website.<br />

List the NWORA resources<br />

◆ To display the entire NWORA resource file contents, type the following:<br />

nsrnmoadmin -r list<br />

◆ To display the NSR_ORACLECAT_MODE parameter resource only, type the<br />

following:<br />

nsrnmoadmin -r list NSR_ORACLECAT_MODE<br />

◆ To display an NWORA SID resource with the NSR_ORACLE_SID value of<br />

proddb, type the following:<br />

nsrnmoadmin -r list proddb<br />

Add the NWORA resources<br />

◆ To add the NSR_ORACLECAT_MODE parameter resource with the value of<br />

enabled, type one of the following:<br />

nsrnmoadmin -r add NSR_ORACLECAT_MODE enabled<br />

nsrnmoadmin -r add NSR_ORACLECAT_MODE=enabled<br />

Note: If the NWORA parameter resource already exists in the resource file, use of the add<br />

keyword causes the resource value to be updated.<br />

◆ To add a new NWORA SID resource with the NSR_ORACLE_SID value of<br />

proddb and other values as specified in Example 38 on page 187, type the<br />

following:<br />

nsrnmoadmin -r add sid=proddb<br />

home=/dbapps/proddb/app/oracle/product/10.2.0/Db_1<br />

connect=/dbapps/proddb/connect.file lib=/usr/lib<br />

tns=/dbapps/proddb/tns<br />

Note:<br />

- When adding an NWORA SID resource, the keywords sid, home, and connect are<br />

mandatory; the keywords lib and tns are optional.<br />

- If an NWORA SID resource with the same NSR_ORACLE_SID value already exists, the<br />

command updates the values of the existing resource.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Update the NWORA resources<br />

Proxy Backups and Restores<br />

◆ To update the value of the NSR_ORACLECAT_MODE parameter resource to<br />

enabled, type one of the following:<br />

nsrnmoadmin -r update NSR_ORACLECAT_MODE enabled<br />

nsrnmoadmin -r update NSR_ORACLECAT_MODE=enabled<br />

◆ To update the values of the parameters NSR_ORACLE_HOME and<br />

NSR_ORACLE_CONNECT_FILE in an NWORA SID resource with the<br />

NSR_ORACLE_SID value of proddb, type the following:<br />

nsrnmoadmin -r update sid=proddb home=/dbapps/proddb/10.2.0/Db_1<br />

connect=/dbapps/oracle/connect/proddb.connect<br />

Note: When updating an NWORA SID resource, the keyword sid is mandatory. The<br />

keywords home, connect, lib, and tns are optional.<br />

Delete the NWORA SID resources<br />

To delete an NWORA SID resource with the NSR_ORACLE_SID value of proddb,<br />

type the following:<br />

nsrnmoadmin -r delete proddb<br />

Note: Only NWORA SID resources can be deleted from the resource file. NWORA parameter<br />

resources cannot be deleted.<br />

Automatic catalog synchronization with the nsroraclecat program<br />

Automatic catalog synchronization is managed jointly by <strong>NetWorker</strong> server and<br />

NMO programs. To remove instant <strong>Oracle</strong> backup entries from the <strong>NetWorker</strong><br />

indexes, the <strong>NetWorker</strong> server invokes the nsrsnapck program. Prior to removing<br />

the index entries, nsrsnapck invokes the nsroraclecat program to remove the<br />

corresponding RMAN catalog entries.<br />

Note: To per<strong>for</strong>m manual catalog synchronization, you can use specific RMAN commands, as<br />

described in “The change...crosscheck and crosscheck commands” on page 210. The<br />

appropriate <strong>Oracle</strong> documentation provides more in<strong>for</strong>mation on RMAN commands.<br />

Review the following in<strong>for</strong>mation on automatic catalog synchronization:<br />

◆ “RMAN catalog entry removals with nsroraclecat” on page 191<br />

◆ “Failure of the nsroraclecat program” on page 192<br />

◆ “<strong>NetWorker</strong> index entry removals with nsrsnapck” on page 193<br />

RMAN catalog entry removals with nsroraclecat<br />

The nsroraclecat program runs on the <strong>Oracle</strong> Server host that per<strong>for</strong>med the instant<br />

backup:<br />

◆ Do not attempt to run the nsroraclecat program manually.<br />

◆ The nsroraclecat program is run automatically by the nsrsnapck program.<br />

◆ Only one nsroraclecat program can run at a time. If two nsroraclecat programs<br />

are started, the one started first completes its operation be<strong>for</strong>e the second one<br />

proceeds.<br />

Catalog synchronization <strong>for</strong> proxy backups 191


Proxy Backups and Restores<br />

192<br />

To remove the RMAN catalog entries, nsroraclecat obtains in<strong>for</strong>mation from the<br />

NWORA resource file and generates temporary RMAN scripts that include an<br />

RMAN change...delete command <strong>for</strong> each backup piece to be removed.<br />

A separate script is created <strong>for</strong> all the backup pieces from the same database (or<br />

ORACLE_SID).<br />

The nsroraclecat program names each RMAN script as follows:<br />

◆ On UNIX:<br />

/nsr/tmp/.nworapc/nsroraclecat_date_pid<br />

◆ On Microsoft Windows:<br />

<strong>NetWorker</strong>_install_path\tmp\.nworapc\nsroraclecat_date_pid<br />

where:<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path.<br />

date is the current date.<br />

pid is the nsroraclecat process ID.<br />

The nsroraclecat program runs each script in an RMAN session. After the scripts<br />

have finished running, the program removes them.<br />

Note: The nsroraclecat program generates in<strong>for</strong>mation about the backup piece entries<br />

removed from the RMAN catalog. The in<strong>for</strong>mation is written to the nsroraclecat log and debug<br />

files. “NSR_ORACLECAT_LOG_FILE” and “NSR_ORACLECAT_DEBUG_FILE” on page 184<br />

provide more in<strong>for</strong>mation on these files.<br />

The following sources provide more in<strong>for</strong>mation on the nsroraclecat program:<br />

◆ The nsroraclecat man page on a UNIX <strong>Oracle</strong> Server that contains the NMO<br />

software.<br />

◆ The nsroraclecat entry in the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> command reference<br />

guide on the Powerlink website.<br />

Failure of the nsroraclecat program<br />

A fatal error that causes nsroraclecat to fail can be produced by the following:<br />

◆ The nsrsnapck program passes invalid in<strong>for</strong>mation to nsroraclecat, <strong>for</strong> example,<br />

an invalid <strong>NetWorker</strong> client name or an invalid save time of a backup piece.<br />

◆ The nsroraclecat program cannot connect to the <strong>NetWorker</strong> server to query the<br />

<strong>NetWorker</strong> indexes.<br />

◆ The nsroraclecat program cannot locate the required backup pieces in the<br />

<strong>NetWorker</strong> indexes.<br />

To diagnose the cause of a nsroraclecat program failure, review the nsroraclecat log<br />

files specified by NSR_ORACLECAT_DEBUG_FILE and<br />

NSR_ORACLECAT_LOG_FILE. The operations log file is<br />

/nsr/applogs/nsroraclecat.log by default.<br />

If the nsroraclecat program fails, the nsrsnapck program removes the corresponding<br />

<strong>NetWorker</strong> index entries by using the procedures described in “<strong>NetWorker</strong> index<br />

entry removals with nsrsnapck” on page 193.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


!<br />

The following files (if they exist) need to be removed:<br />

Proxy Backups and Restores<br />

◆ Files in one of these directories:<br />

On UNIX: /nsr/tmp/.nworapc<br />

On Microsoft Windows: <strong>NetWorker</strong>_install_path\tmp\.nworapc, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path<br />

◆ Files in either the temporary directory /tmp on UNIX or the temporary directory<br />

specified by the TEMP system variable on Microsoft Windows, where the files<br />

have the name nwora_bp_sid_pid:<br />

sid is an ORACLE_SID value.<br />

pid is a nsroraclecat process ID.<br />

Note: If nsroraclecat fails continuously, disable catalog synchronization (by setting<br />

NSR_ORACLECAT_MODE to disabled) until the cause of the problem is determined.<br />

IMPORTANT<br />

After a nsroraclecat program failure occurs or while catalog synchronization is<br />

disabled, the DBA must synchronize the catalogs manually by using specific<br />

RMAN commands. The appropriate <strong>Oracle</strong> documentation provides more<br />

in<strong>for</strong>mation.<br />

<strong>NetWorker</strong> index entry removals with nsrsnapck<br />

Once the nsroraclecat program has finished the RMAN catalog operations, the<br />

nsrsnapck program removes the <strong>NetWorker</strong> index entries <strong>for</strong> all the backups that<br />

were successfully removed from the RMAN catalog.<br />

If some of the backup entries failed to be removed from the RMAN catalog, the<br />

nsrsnapck program does the following:<br />

!<br />

◆ Removes the corresponding <strong>NetWorker</strong> index entries when<br />

NSR_REMOVE_ON_FAILURE is set to TRUE.<br />

◆ Does not remove the corresponding <strong>NetWorker</strong> index entries when<br />

NSR_REMOVE_ON_FAILURE is set to FALSE.<br />

Note: When NSR_REMOVE_ON_FAILURE is set to FALSE, nsrsnapck removes only<br />

those <strong>NetWorker</strong> index entries that correspond to removed RMAN catalog entries.<br />

IMPORTANT<br />

The NSR_REMOVE_ON_FAILURE setting controls the result of the nsroraclecat<br />

program failure to remove RMAN catalog entries.<br />

- In general, NSR_REMOVE_ON_FAILURE should be set to TRUE, to enable<br />

<strong>NetWorker</strong> index entries to be removed, even if the RMAN catalog entries are not<br />

removed. Otherwise, if entries are not removed from the <strong>NetWorker</strong> indexes, the<br />

snapshot resources are not freed and subsequent backups might fail.<br />

- If RMAN backup optimization is enabled, NSR_REMOVE_ON_FAILURE<br />

should be set to FALSE, to prevent the removal of <strong>NetWorker</strong> index entries.<br />

Otherwise, RMAN might skip backing up certain files.<br />

Catalog synchronization <strong>for</strong> proxy backups 193


Proxy Backups and Restores<br />

194<br />

When the nsroraclecat program fails to run properly, the nsrsnapck program’s<br />

actions depend on whether the instant backup on the primary storage is intact:<br />

◆ If the instant backup on the primary storage is destroyed or invalid, the<br />

nsrsnapck program removes the corresponding entry from the <strong>NetWorker</strong><br />

indexes.<br />

◆ If the instant backup on the primary storage is intact, the nsrsnapck program<br />

does not remove any entries from the <strong>NetWorker</strong> indexes and generates an error<br />

message about the failure in the following file:<br />

On UNIX: /nsr/logs/daemon.raw<br />

On Microsoft Windows: <strong>NetWorker</strong>_install_path\logs\daemon.raw, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path<br />

The <strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on the<br />

daemon.raw log file and how to view its contents.<br />

Proxy backups and restores on cluster systems<br />

Proxy backup failover<br />

!<br />

NMO can per<strong>for</strong>m proxy backups and restores of an <strong>Oracle</strong> database configured on a<br />

cluster system. The software also enables cluster failover <strong>for</strong> proxy backups.<br />

IMPORTANT<br />

The parameter NSR_CLIENT is not supported <strong>for</strong> proxy backups on a cluster<br />

system. This parameter is used <strong>for</strong> restores and regular <strong>Oracle</strong> backups on a cluster<br />

system, as described in Chapter 6, “Cluster and RAC Systems.”<br />

Review the following in<strong>for</strong>mation, specific to proxy operations on a cluster system:<br />

◆ “Proxy backup failover” on page 194<br />

◆ “Proxy backups from a virtual cluster client” on page 195<br />

◆ “Proxy backups from a physical cluster client” on page 196<br />

◆ “Restores from proxy backups on a cluster system” on page 197<br />

During a scheduled proxy backup where the <strong>Oracle</strong> software is configured to fail<br />

over (<strong>for</strong> example, by using <strong>Oracle</strong> Fail Save with MSCS on Microsoft Windows), the<br />

<strong>NetWorker</strong> server retries the backup on the failover node if the Client Retries<br />

attribute is set to a nonzero value in the Group resource. The retry occurs at the<br />

RMAN script level, whereby the RMAN script restarts from the beginning.<br />

Note: To avoid restarting the backups of all objects in the RMAN script during the <strong>NetWorker</strong><br />

retry, you can use the <strong>Oracle</strong> restartable backups feature. This feature enables you to back up<br />

only the files that have not been backed up since a specified time, <strong>for</strong> example, by using the<br />

’sysdate -1’ option. “Restartable backups” on page 37 provides more in<strong>for</strong>mation.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Proxy backups from a virtual cluster client<br />

Proxy Backups and Restores<br />

A proxy backup from a virtual cluster client (virtual host) protects <strong>Oracle</strong> data on<br />

shared cluster disks.<br />

To set up a proxy backup from a virtual cluster client:<br />

1. Install the NMO software on each physical node of the cluster, along with the<br />

<strong>NetWorker</strong> client and appropriate PowerSnap <strong>Module</strong> software.<br />

2. Create a <strong>NetWorker</strong> Client resource <strong>for</strong> the virtual host and each physical host, as<br />

described in “Configuring the <strong>NetWorker</strong> Client resource” on page 170:<br />

In the Remote Access attribute in the Client resource <strong>for</strong> a virtual cluster client,<br />

specify the <strong>Oracle</strong> user from each physical client that can store and retrieve<br />

backups.<br />

In the Save Set attribute, specify the complete pathname of the RMAN script<br />

to back up the <strong>Oracle</strong> data on the shared disk.<br />

3. Configure the other <strong>NetWorker</strong> resources required <strong>for</strong> proxy backups, as<br />

described in “Additional configurations <strong>for</strong> proxy operations” on page 163:<br />

To enable backup failover, specify a nonzero value in the Client Retries<br />

attribute in the <strong>NetWorker</strong> Group resource <strong>for</strong> the scheduled backup. This<br />

value causes the <strong>NetWorker</strong> server to restart the backup of uncompleted<br />

<strong>Oracle</strong> save sets on the failover node.<br />

Specify other recommended attribute settings in the Group resource, as<br />

described in the cluster support in<strong>for</strong>mation of the <strong>NetWorker</strong> administration<br />

guide.<br />

4. Configure the NWORA resource file on each node of the cluster, as described in<br />

“Configuring the NWORA resource file” on page 164.<br />

5. If the Save Set attribute in the Client resource <strong>for</strong> a virtual client specifies an<br />

RMAN script that resides on a private disk, ensure that an empty<br />

pathownerignore file exists on the <strong>Oracle</strong> Server host as follows:<br />

On UNIX: <strong>NetWorker</strong>_install_path/bin/pathownerignore<br />

On Microsoft Windows: <strong>NetWorker</strong>_install_path\bin\pathownerignore<br />

Here, <strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation<br />

path.<br />

Without the pathownerignore file on the <strong>Oracle</strong> Server, the scheduled backup<br />

fails due to the path-ownership rules used to distinguish between data associated<br />

with a physical host and data managed by a virtual client.<br />

6. To specify that the proxy backup entries be stored in a <strong>NetWorker</strong> client file index<br />

other than the virtual client index, <strong>for</strong> example, in a physical client index:<br />

Add -c client_name to the nsrnmo script name in the Backup Command<br />

attribute in the Client resource.<br />

Specify the <strong>Oracle</strong> user from the virtual host in the Remote Access attribute in<br />

the Client resource <strong>for</strong> client_name.<br />

The expiration of instant backups created with the nsrnmo -c client_name<br />

command differs from the expiration of instant backups created without the -c<br />

option. “Removing instant backup entries from the <strong>NetWorker</strong> indexes” on<br />

page 182 provides details on the expiration and removal of backups specified<br />

with nsrnmo -c client_name.<br />

Proxy backups and restores on cluster systems 195


Proxy Backups and Restores<br />

196<br />

Notes:<br />

The host specified with -c client_name must have access to instant backups.<br />

NMO and the PowerSnap <strong>Module</strong> must be installed and configured on the<br />

host specified with -c client_name.<br />

When the backup is started from the virtual cluster client, the backup entries<br />

are stored in the <strong>NetWorker</strong> client file index of the virtual client by default.<br />

The entries <strong>for</strong> the NWORA resource file backup are always stored in the<br />

<strong>NetWorker</strong> index of the physical client.<br />

Example 40 Proxy backup entries in the index of a physical cluster client<br />

To specify that the backup entries be stored in the index of the physical cluster client<br />

mars.emc.com, where the script name is nsrnmo, specify the following in the Backup<br />

Command attribute:<br />

nsrnmo -c mars.emc.com<br />

Proxy backups from a physical cluster client<br />

A proxy backup from a physical cluster client protects <strong>Oracle</strong> data on private disks.<br />

This type of backup is similar to a regular scheduled <strong>Oracle</strong> backup on a non-cluster<br />

system.<br />

The following sources provide in<strong>for</strong>mation on how to set up a proxy backup from a<br />

physical cluster client:<br />

◆ “Proxy backup requirements” on page 171<br />

◆ <strong>NetWorker</strong> administration guide (chapter on cluster support)<br />

When the backup is started from the physical client, the backup entries are stored in<br />

the <strong>NetWorker</strong> index of the physical client by default.<br />

Note: The entries <strong>for</strong> the NWORA resource file backup are always stored in the <strong>NetWorker</strong><br />

index of the physical client.<br />

To specify that the proxy backup entries be stored in a <strong>NetWorker</strong> client file index<br />

other than the physical client index, <strong>for</strong> example, in a virtual client index:<br />

◆ Add -c client_name to the nsrnmo script name in the Backup Command attribute in<br />

the Client resource.<br />

◆ Specify the <strong>Oracle</strong> user from the physical host in the Remote Access attribute in<br />

the Client resource <strong>for</strong> client_name.<br />

The expiration of instant backups created with the nsrnmo -c client_name command<br />

differs from the expiration of instant backups created without the -c option.<br />

“Removing instant backup entries from the <strong>NetWorker</strong> indexes” on page 182<br />

provides details on the expiration and removal of backups specified with nsrnmo -c<br />

client_name.<br />

Notes:<br />

◆ The host specified with -c client_name must have access to instant backups.<br />

◆ NMO and the PowerSnap <strong>Module</strong> must be installed and configured on the host<br />

specified with -c client_name.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Example 41 Proxy backup entries in the index of a virtual cluster client<br />

Proxy Backups and Restores<br />

To specify that the backup entries be stored in the index of the virtual client<br />

monalisa.emc.com, where the script name is nsrnmo, specify the following in the<br />

Backup Command attribute:<br />

nsrnmo -c monalisa.emc.com<br />

Restores from proxy backups on a cluster system<br />

To set up a restore from a proxy backup on a cluster system, per<strong>for</strong>m the following:<br />

1. Set the parameter NSR_CLIENT to the correct value by using one of the methods<br />

in “Setting the NSR* parameters” on page 200:<br />

To restore a backup from a virtual cluster client, set NSR_CLIENT to the name<br />

of the virtual cluster client.<br />

To restore a backup from a physical cluster client, set NSR_CLIENT to the<br />

name of the physical cluster client.<br />

2. In the Remote Access attribute of the Client resource, specify the hostname of the<br />

client on which the restore is to be started.<br />

Note: When a failover occurs during a restore, the restore must be restarted manually on the<br />

failover node.<br />

Proxy backups and restores on cluster systems 197


Proxy Backups and Restores<br />

198<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This appendix includes the following sections:<br />

A<br />

Parameters in an RMAN<br />

Session<br />

◆ Setting the NSR* parameters ..................................................................................... 200<br />

◆ NSR* parameter definitions....................................................................................... 201<br />

Parameters in an RMAN Session 199


Parameters in an RMAN Session<br />

200<br />

Setting the NSR* parameters<br />

This appendix describes the NSR* parameters that can be set in the RMAN command<br />

or script <strong>for</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) backups and restores.<br />

Note: Unless noted otherwise, the parameters are supported <strong>for</strong> both regular and proxy<br />

backups and restores. “Setting the parameters” on page 166 provides in<strong>for</strong>mation specific to<br />

proxy operations.<br />

The NSR* parameters described in Table 10 on page 201 are parameters specific to<br />

<strong>NetWorker</strong> that can be set <strong>for</strong> an RMAN session of:<br />

◆ A manual or scheduled <strong>Oracle</strong> backup.<br />

◆ An <strong>Oracle</strong> restore.<br />

To ensure that the required NSR* parameters are set during an NMO backup or<br />

restore, set them in one of the following ways unless specified otherwise in Table 10<br />

on page 201:<br />

◆ If using automatic channels, set the parameters with the parms option in the<br />

configure channel command.<br />

“Automatic channel allocation” on page 26 provides more in<strong>for</strong>mation on<br />

automatic channels.<br />

◆ If not using automatic channels, set the parameters with the RMAN send<br />

command (recommended), as one of the following:<br />

The rman send command on the operating system command line.<br />

The send command in the RMAN session or script.<br />

Do not mix these different ways of setting the NSR* parameters in the same RMAN<br />

session. The use of a UNIX setenv command or Windows set command on the<br />

operating system command line to set the NSR* parameters has no effect.<br />

On Windows, when an NSR* parameter is set through the parms option, the value of<br />

that NSR* parameter remains in effect <strong>for</strong> all subsequent allocated channels, and <strong>for</strong><br />

all subsequent RMAN sessions until one of the following occurs:<br />

◆ The <strong>Oracle</strong> database is shut down.<br />

◆ The NSR* parameter is unset <strong>for</strong> the channel by using the parms option, as in the<br />

following example:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’<br />

parms ’ENV=(NSR_SERVER=,NSR_DATA_VOLUME_POOL=)’;<br />

:<br />

:<br />

release channel t1;<br />

}<br />

Note: On Windows, this does not occur if the parameters are set through the send command in<br />

all RMAN sessions.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


NSR* parameter definitions<br />

Parameters in an RMAN Session<br />

Table 10 on page 201 lists all the NSR* parameters to set in the RMAN session. For<br />

each parameter, the table includes:<br />

◆ A description of the parameter.<br />

◆ The default value of the parameter.<br />

◆ The valid values that can be assigned to the parameter.<br />

Table 10 Parameters in the RMAN command or script (page 1 of 7)<br />

Parameter Description Default and valid values<br />

NSR_AES_ENCRYPTION Optional. Specifies whether the <strong>Oracle</strong> data is<br />

encrypted by NMO by using 256-bit AES encryption<br />

during the backup be<strong>for</strong>e being sent over the network.<br />

The AES encryption uses the key that is set in the<br />

Datazone pass phrase attribute of the <strong>NetWorker</strong><br />

Server resource. Keep a record of this key or pass<br />

phrase because it is required <strong>for</strong> later restore of the<br />

backup.<br />

Note: NSR_AES_ENCRYPTION must be set through<br />

the send command only.<br />

Record all keys (pass phrases) used <strong>for</strong> 256-bit AES<br />

encryption. Be careful when you change the pass<br />

phrase on the <strong>NetWorker</strong> server. If the pass phrase on<br />

the server is changed and you cannot remember the<br />

pass phrase originally used <strong>for</strong> an NMO backup, the<br />

encrypted data cannot be recovered. The <strong>NetWorker</strong><br />

administration guide provides more in<strong>for</strong>mation on pass<br />

phrases.<br />

NSR_CHECKSUM Optional. Specifies whether or not the <strong>NetWorker</strong><br />

software per<strong>for</strong>ms checksumming on the backup data.<br />

NSR_CLIENT Recommended <strong>for</strong> a backup of <strong>Oracle</strong> running on a<br />

cluster or RAC system.<br />

Recommended <strong>for</strong> all restores.<br />

Specifies the <strong>NetWorker</strong> Client resource to use <strong>for</strong> a<br />

backup or restore session.<br />

Might be needed <strong>for</strong> disaster recovery.<br />

NSR_COMPRESSION Optional. Specifies whether or not the <strong>NetWorker</strong><br />

software per<strong>for</strong>ms compression on the backup data.<br />

FALSE (default) = The <strong>Oracle</strong> data is not encrypted<br />

through 256-bit AES encryption during the backup.<br />

TRUE = The <strong>Oracle</strong> data is encrypted through<br />

256-bit AES encryption during the backup.<br />

FALSE (default) = The <strong>NetWorker</strong> software<br />

per<strong>for</strong>ms no checksumming.<br />

TRUE = The <strong>NetWorker</strong> software per<strong>for</strong>ms<br />

checksumming.<br />

The physical host on which the session runs<br />

(default).<br />

A valid <strong>NetWorker</strong> client hostname.<br />

FALSE (default) = The <strong>NetWorker</strong> software<br />

per<strong>for</strong>ms no compression.<br />

TRUE = The <strong>NetWorker</strong> software per<strong>for</strong>ms<br />

compression.<br />

NSR* parameter definitions 201


Parameters in an RMAN Session<br />

202<br />

Table 10 Parameters in the RMAN command or script (page 2 of 7)<br />

Parameter Description Default and valid values<br />

NSR_DATA_VOLUME_POOL Mandatory if using the set duplex command (with<br />

duplex set to 1, 2, 3, or 4) or other RMAN commands to<br />

generate backup copies during a manual backup.<br />

Specifies the name of the volume pool to use <strong>for</strong> the<br />

<strong>Oracle</strong> backup, including a duplexed <strong>Oracle</strong> backup.<br />

In the case of proxy backups, specifies the volume pool<br />

<strong>for</strong> live backups only (backups to secondary storage<br />

only).<br />

Note: For a scheduled backup, the<br />

NSR_DATA_VOLUME_POOL setting takes<br />

precedence over any pool associated with the<br />

scheduled backup group. For a manual backup that<br />

generates backup copies,<br />

NSR_DATA_VOLUME_POOL must be set through the<br />

parms option, not through the send command or<br />

option.<br />

NSR_DATA_VOLUME_POOL1 Mandatory if using the set duplex command (with<br />

duplex set to 2, 3, or 4) or other RMAN commands to<br />

generate two or more backup copies during a manual<br />

backup.<br />

Specifies the name of the volume pool to use <strong>for</strong> a<br />

duplexed <strong>Oracle</strong> backup.<br />

Note: For a manual backup that generates backup<br />

copies, NSR_DATA_VOLUME_POOL1 must be set<br />

through the parms option, not through the send<br />

command or option.<br />

NSR_DATA_VOLUME_POOL2 Mandatory if using the set duplex command (with<br />

duplex set to 3 or 4) or other RMAN commands to<br />

generate three or more backup copies during a manual<br />

backup.<br />

Specifies the name of the volume pool to use <strong>for</strong> a<br />

duplexed <strong>Oracle</strong> backup.<br />

Note: For a manual backup that generates backup<br />

copies, NSR_DATA_VOLUME_POOL2 must be set<br />

through the parms option, not through the send<br />

command or option.<br />

NSR_DATA_VOLUME_POOL3 Mandatory if using the set duplex command (with<br />

duplex set to 4) or other RMAN commands to generate<br />

four backup copies during a manual backup.<br />

Specifies the name of the volume pool to use <strong>for</strong> a<br />

duplexed <strong>Oracle</strong> backup.<br />

Note: For a manual backup that generates backup<br />

copies, NSR_DATA_VOLUME_POOL3 must be set<br />

through the parms option, not through the send<br />

command or option.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

The most appropriate pool, selected by the<br />

<strong>NetWorker</strong> server (default).<br />

A valid <strong>NetWorker</strong> pool name.<br />

The name must be different from the name used by<br />

the parameter NSR_DATA_VOLUME_POOL1,<br />

NSR_DATA_VOLUME_POOL2, or<br />

NSR_DATA_VOLUME_POOL3.<br />

Undefined (default).<br />

A valid <strong>NetWorker</strong> pool name.<br />

The name must be different from the name used by<br />

the parameter NSR_DATA_VOLUME_POOL,<br />

NSR_DATA_VOLUME_POOL2, or<br />

NSR_DATA_VOLUME_POOL3.<br />

Undefined (default).<br />

A valid <strong>NetWorker</strong> pool name.<br />

The name must be different from the name used by<br />

the parameter NSR_DATA_VOLUME_POOL,<br />

NSR_DATA_VOLUME_POOL1, or<br />

NSR_DATA_VOLUME_POOL3.<br />

Undefined (default).<br />

A valid <strong>NetWorker</strong> pool name.<br />

The name must be different from the name used by<br />

the parameter NSR_DATA_VOLUME_POOL,<br />

NSR_DATA_VOLUME_POOL1, or<br />

NSR_DATA_VOLUME_POOL2.


Table 10 Parameters in the RMAN command or script (page 3 of 7)<br />

Parameter Description Default and valid values<br />

NSR_DEBUG_FILE Optional. Enables debugging by specifying the<br />

complete pathname of the log file on the <strong>Oracle</strong> Server<br />

that receives debug in<strong>for</strong>mation during a proxy or<br />

regular backup or restore.<br />

Only used <strong>for</strong> debugging of the NMO media<br />

management library (MML).<br />

Note: NSR_DEBUG_FILE must be set through the<br />

parms option. Do not set it through the send option or<br />

command.<br />

NSR_DEBUG_LEVEL Optional. Controls the amount of debug in<strong>for</strong>mation that<br />

NMO writes to the debug log file, which is specified by<br />

NSR_DEBUG_FILE.<br />

Note: NSR_DEBUG_LEVEL must be set through the<br />

parms option. Do not set it through the send option or<br />

command.<br />

The debug level limits only the amount of debug<br />

in<strong>for</strong>mation generated by the three functions sbtread(),<br />

sbtwrite(), and sbtpcstatus(), which are called most<br />

often during backups and restores. All the debug<br />

messages <strong>for</strong> other functions are always written to the<br />

log file, regardless of the debug level.<br />

NSR_DEDUP_BACKUP Mandatory <strong>for</strong> a manual deduplication backup. Do not<br />

set <strong>for</strong> a scheduled deduplication backup. Specifies<br />

whether or not deduplication is per<strong>for</strong>med during a<br />

manual NMO backup.<br />

Note: For a scheduled deduplication backup, set the<br />

De-duplication Backup attribute in the <strong>NetWorker</strong> Client<br />

resource, instead of setting this parameter.<br />

NSR_DEDUP_CACHE_ENABLED Optional <strong>for</strong> a deduplication backup. Specifies whether<br />

a hash cache is used during a deduplication backup.<br />

The nsravtar process creates the cache in the<br />

/nsr/dedup/cache or Windows equivalent directory. Use<br />

of the cache increases both the deduplication backup<br />

per<strong>for</strong>mance and disk usage in the cache directory.<br />

Note: Setting of this parameter requires knowledge of<br />

the potential effects on Avamar server operations.<br />

Parameters in an RMAN Session<br />

Undefined (default).<br />

The valid pathname of the debug file to use on the<br />

<strong>Oracle</strong> Server.<br />

Note: If undefined, no debug in<strong>for</strong>mation is generated.<br />

If a file with the specified pathname cannot be created,<br />

debug in<strong>for</strong>mation is either directed to the following<br />

location or not generated:<br />

- /nsr/applogs/nmosbt.log (UNIX)<br />

- <strong>NetWorker</strong>_install_path\applogs\nmosbt.log<br />

(Windows)<br />

0 (default) = Only operational messages are written<br />

<strong>for</strong> the sbtread(), sbtwrite(), and sbtpcstatus()<br />

functions. No entry or exit messages are written <strong>for</strong><br />

the functions.<br />

1 = Only entry and exit messages are written <strong>for</strong> the<br />

sbtread(), sbtwrite(), and sbtpcstatus() functions. No<br />

operational messages are written <strong>for</strong> the functions.<br />

2 = All debug messages <strong>for</strong> all the functions are<br />

written to the log file.<br />

FALSE (default) = Deduplication is not per<strong>for</strong>med<br />

during a manual NMO backup. Other NSR_DEDUP*<br />

parameters are ignored.<br />

TRUE = Deduplication is per<strong>for</strong>med during a manual<br />

NMO backup. If NSR_DEDUP_NODE is not set, the<br />

backup fails.<br />

TRUE (default) = A hash cache is used to increase<br />

per<strong>for</strong>mance during a deduplication backup. This<br />

value is recommended in most cases.<br />

FALSE = A hash cache is not used during a<br />

deduplication backup. The parameter<br />

NSR_DEDUP_CACHE_TAG is ignored.<br />

NSR* parameter definitions 203


Parameters in an RMAN Session<br />

204<br />

Table 10 Parameters in the RMAN command or script (page 4 of 7)<br />

Parameter Description Default and valid values<br />

NSR_DEDUP_CACHE_TAG Mandatory <strong>for</strong> a deduplication backup if the parameter<br />

NSR_DEDUP_CACHE_ENABLED is set to TRUE.<br />

Specifies the tag <strong>for</strong> the nsravtar process to use to<br />

generate the hash cache name <strong>for</strong> a deduplication<br />

backup:<br />

Set to a different value <strong>for</strong> each channel; if the same<br />

tag value is used <strong>for</strong> more than one channel, the<br />

deduplication backup fails.<br />

Set with the send command (not the parms option)<br />

if multiple channels are used on Windows.<br />

Set with the parms option (not the send command)<br />

if automatic channel allocation is used (and multiple<br />

channels are not used on Windows).<br />

NSR_DEDUP_CHUNK_SIZE Optional <strong>for</strong> a deduplication backup. Specifies the size<br />

in bytes that the Avamar server uses <strong>for</strong> data chunks in<br />

a deduplication backup.<br />

If a nonzero value is specified, the Avamar server uses<br />

the fixed size <strong>for</strong> all of the data chunks saved in the<br />

deduplication backup.<br />

Note: Setting of this parameter requires knowledge of<br />

the potential effects on Avamar server operations.<br />

NSR_DEDUP_NODE Mandatory <strong>for</strong> a manual deduplication backup. Do not<br />

set <strong>for</strong> a scheduled deduplication backup. Specifies the<br />

hostname of the Avamar server to per<strong>for</strong>m a manual<br />

NMO backup and store the deduplicated client data.<br />

The hostname must be the same as the Avamar server<br />

hostname set in the De-duplication Node resource.<br />

Note: For a scheduled deduplication backup, set the<br />

De-duplication Node attribute in the <strong>NetWorker</strong> Client<br />

resource, instead of setting this parameter.<br />

NSR_DPRINTF Optional, <strong>for</strong> use with Tech Support only. Specifies<br />

whether <strong>NetWorker</strong> core debug messages are printed<br />

to the file specified by NSR_DEBUG_FILE.<br />

Note: NSR_DPRINTF must be set through the parms<br />

option, not through the send command or option.<br />

Recommended value <strong>for</strong> NSR_DEBUG_LEVEL is 9.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

/ (default; signifies the root directory).<br />

String value of the tag to use to generate a<br />

deduplication cache name. Do not include the client<br />

name in the value.<br />

Recommended value is:<br />

_<br />

For example: ORCL102_t1<br />

Note: The nsravtar process uses the tag value to<br />

generate the cache name through hashing. The actual<br />

cache name does not contain this parameter value.<br />

0 (default; signifies that variable sizes are used <strong>for</strong><br />

the data chunks, as determined by the Avamar<br />

server). This value is recommended in most cases.<br />

Size (greater than zero) in bytes to use <strong>for</strong> all of the<br />

data chunks in a deduplication backup; <strong>for</strong> example,<br />

1024, 2048, 5096, 8194, or a value recommended in<br />

the Avamar documentarion.<br />

Undefined (default).<br />

Avamar server hostname set in the <strong>NetWorker</strong><br />

De-duplication Node resource.<br />

FALSE (default) = <strong>NetWorker</strong> core debug messages<br />

are not printed to NSR_DEBUG_FILE.<br />

TRUE = <strong>NetWorker</strong> core debug messages are<br />

printed to NSR_DEBUG_FILE.<br />

- If NSR_DEBUG_FILE is not set, the messages are<br />

printed to the default location.<br />

- If NSR_DEBUG_LEVEL is set to 0, few debug<br />

messages are printed.


Table 10 Parameters in the RMAN command or script (page 5 of 7)<br />

Parameter Description Default and valid values<br />

NSR_ENCRYPTION_PHRASES Optional. Specifies one or more encryption phrases to<br />

use <strong>for</strong> decrypting <strong>Oracle</strong> data during an NMO restore.<br />

If this parameter is not set, the NMO restore obtains the<br />

encryption phrase from the <strong>NetWorker</strong> server.<br />

If both of the following are true, set this parameter to the<br />

phrase used to originally back up the data:<br />

The <strong>Oracle</strong> data that is being restored was backed<br />

up with 256-bit AES encryption.<br />

The encryption phrase on the <strong>NetWorker</strong> server has<br />

changed since the <strong>Oracle</strong> data was backed up.<br />

Note: NSR_ENCRYPTION_PHRASES must be set<br />

through the RMAN send command only.<br />

NSR_GROUP Optional. Use <strong>for</strong> a manual backup only. Specifies the<br />

<strong>NetWorker</strong> group to use <strong>for</strong> a backup session. Used by<br />

the <strong>NetWorker</strong> server to select the volume pool <strong>for</strong> the<br />

manual backup.<br />

NSR_MMDB_RETRY_TIME Optional. Specifies the number of minutes that NMO<br />

should try to connect to the <strong>NetWorker</strong> media database<br />

be<strong>for</strong>e terminating the operation (backup, restore, or<br />

RMAN maintenance commands). When the media<br />

database is busy, NMO tries to reconnect after sleeping<br />

<strong>for</strong> five seconds between attempts.<br />

NSR_NO_BUSY_ERRORS Optional. Specifies whether a scheduled backup fails<br />

immediately when the <strong>NetWorker</strong> server is busy or<br />

waits <strong>for</strong> the <strong>NetWorker</strong> server to accept the<br />

connection.<br />

Note: For proxy backups, this parameter is always set<br />

to FALSE.<br />

NSR_NO_MULTIPLEX Optional. When set <strong>for</strong> a specific RMAN channel,<br />

specifies whether multiplexing is disabled during a<br />

backup on the <strong>NetWorker</strong> device that the RMAN<br />

channel is using. If multiplexing is disabled, no other<br />

save sets can be written to the device.<br />

To optimize restore operations, RMAN requires NMO<br />

backups to not be multiplexed.<br />

Setting the parameter to TRUE may affect the backup<br />

per<strong>for</strong>mance. For example, the device may sit idle<br />

during part of the backup. If the per<strong>for</strong>mance is<br />

adversely affected, reset the parameter to FALSE.<br />

Parameters in an RMAN Session<br />

Undefined (default).<br />

One or more encryption phrases to use during an<br />

<strong>Oracle</strong> restore with NMO. Each phrase must be a<br />

string enclosed in quotes. Multiple phrases must be<br />

separated by commas, and the entire group of<br />

phrases surrounded by outer quotes that are<br />

different from the inner quotes. For example:<br />

NSR_ENCRYPTION_PHRASES="’key1’,’key2’"<br />

- NMO itself supports double ("), single (’), and<br />

backward (‘) quotes.<br />

- Certain shells might not support certain types of<br />

quotes, <strong>for</strong> example, when the parameter is set<br />

with the send command on the command line.<br />

- <strong>Oracle</strong> does not support the use of single quotes<br />

within an RMAN script.<br />

Note: If undefined, the NMO restore obtains the<br />

encryption phrase from the Datazone pass phrase<br />

attribute of the <strong>NetWorker</strong> Server resource, as<br />

described in “Datazone pass phrase” on page 63.<br />

The predefined <strong>NetWorker</strong> group named Default<br />

(default).<br />

A valid <strong>NetWorker</strong> backup group name.<br />

Note: A <strong>NetWorker</strong> Group resource must be configured<br />

<strong>for</strong> the specified backup group.<br />

0 (default). NMO does not try to reconnect to the<br />

media database if the first attempt fails.<br />

A valid number of minutes.<br />

FALSE (default) = The scheduled backup waits <strong>for</strong><br />

the <strong>NetWorker</strong> server to accept the connection.<br />

TRUE = The scheduled backup fails immediately<br />

when the <strong>NetWorker</strong> server is busy.<br />

FALSE (default) = Multiplexing is enabled on the<br />

device that the RMAN channel is using.<br />

TRUE = Multiplexing is disabled on the device that<br />

the RMAN channel is using.<br />

Note: If a random access <strong>NetWorker</strong> device such as an<br />

advanced file device is used, do not set the parameter<br />

to TRUE.<br />

NSR* parameter definitions 205


Parameters in an RMAN Session<br />

206<br />

Table 10 Parameters in the RMAN command or script (page 6 of 7)<br />

Parameter Description Default and valid values<br />

NSR_NWPATH Mandatory when removing a backup from the<br />

<strong>NetWorker</strong> server if both of the following are true:<br />

The nsrsnapck binary is in a nondefault location.<br />

The NWORA resource file does not contain the<br />

correct location of the <strong>NetWorker</strong> client binaries.<br />

“The NWORA resource file” on page 183 provides<br />

details on the resource file.<br />

Mandatory <strong>for</strong> a manual deduplication backup or<br />

restore and <strong>for</strong> a proxy backup or restore when<br />

<strong>NetWorker</strong> software is installed in a nondefault location<br />

on a UNIX NMO client host.<br />

Specifies the complete pathname of the directory that<br />

contains nsrsnapck or <strong>NetWorker</strong> binaries.<br />

Note: If you use NMO with Sun-branded <strong>NetWorker</strong>,<br />

you must set NSR_NWPATH by using the following<br />

nsrnmoadmin command:<br />

nsrnmoadmin -r update<br />

NSR_NWPATH=/usr/sbin/nsr<br />

“The NWORA resource file” on page 183 provides<br />

details on using the nsrnmoadmin command.<br />

NSR_PROXY_PFILE Supported only <strong>for</strong> a proxy backup or restore.<br />

Mandatory if setting PowerSnap parameters in a<br />

configuration file.<br />

Specifies the complete pathname of a configuration file<br />

that contains PowerSnap parameter settings <strong>for</strong> a proxy<br />

backup or restore.<br />

NSR_RECOVER_POOL Optional <strong>for</strong> restore only. Specifies the name of the<br />

<strong>NetWorker</strong> volume pool to use <strong>for</strong> an NMO restore. You<br />

can use this option to restore data from a specified<br />

volume pool if there are multiple copies (clones) of the<br />

backup on different volume pools.<br />

Note: This parameter cannot be used <strong>for</strong> proxy<br />

restores.<br />

NSR_RETENTION_DISABLED Optional. Specifies whether the <strong>NetWorker</strong> browse and<br />

retention policies are disabled.<br />

Set to TRUE to use <strong>Oracle</strong> policies only (not <strong>NetWorker</strong><br />

policies) to manage the backup data lifecycle. Then the<br />

RMAN catalog and <strong>NetWorker</strong> indexes cannot become<br />

unsynchronized, <strong>for</strong> example, when a <strong>NetWorker</strong> index<br />

entry is expired but the corresponding RMAN catalog<br />

entry is not expired.<br />

NSR_SAVESET_BROWSE Mandatory if setting a nondefault browse policy <strong>for</strong> a<br />

manual <strong>Oracle</strong> backup.<br />

Specifies the date when the entry <strong>for</strong> the backup is to<br />

be removed from the <strong>NetWorker</strong> client index.<br />

Note: NSR_SAVESET_BROWSE must be set through<br />

the send command only. For a scheduled <strong>Oracle</strong><br />

backup, this parameter overrides the Browse Policy<br />

attribute setting in the <strong>NetWorker</strong> Client resource.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

The plat<strong>for</strong>m-specific default location of the<br />

<strong>NetWorker</strong> client binaries (default).<br />

A valid pathname of the directory that contains the<br />

nsrsnapck binary, <strong>for</strong> example, /usr/local/bin.<br />

Undefined (default).<br />

A valid pathname of the configuration file.<br />

Note: If undefined or an invalid pathname, parameter<br />

settings in the preferred configuration file are ignored.<br />

Undefined (default).<br />

A valid name of a <strong>NetWorker</strong> volume pool that<br />

contains a cloned backup to use <strong>for</strong> a restore.<br />

FALSE (default) = <strong>NetWorker</strong> browse and retention<br />

policies are enabled, and used to manage the<br />

lifecycle of the NMO backup data.<br />

TRUE = <strong>NetWorker</strong> browse and retention policies<br />

are disabled. Only <strong>Oracle</strong> policies are used to<br />

manage the lifecycle of the NMO backup data.<br />

The most appropriate policy <strong>for</strong> the client, as<br />

selected by the <strong>NetWorker</strong> server (default).<br />

A valid date in nsr_getdate(3) <strong>for</strong>mat.


Table 10 Parameters in the RMAN command or script (page 7 of 7)<br />

Parameter Description Default and valid values<br />

NSR_SAVESET_RETENTION Mandatory if setting a nondefault retention policy <strong>for</strong> a<br />

manual <strong>Oracle</strong> backup.<br />

Specifies the date when the save set becomes<br />

recyclable.<br />

Note: NSR_SAVESET_RETENTION must be set<br />

through the send command only. For a scheduled<br />

<strong>Oracle</strong> backup, this parameter overrides the Retention<br />

Policy attribute setting in the <strong>NetWorker</strong> Client<br />

resource.<br />

NSR_SERVER Mandatory <strong>for</strong> a manual backup if the <strong>NetWorker</strong> server<br />

host is different from the <strong>Oracle</strong> Server host.<br />

Recommended <strong>for</strong> a local manual backup.<br />

Specifies the hostname of the <strong>NetWorker</strong> server to<br />

per<strong>for</strong>m the <strong>Oracle</strong> backup.<br />

Note: For a manual backup that generates backup<br />

copies, NSR_SERVER must be set through the parms<br />

option, not through the send command or option.<br />

NSR_SERVER_NIC Optional. Specifies the name of a network interface<br />

card (NIC) on a <strong>NetWorker</strong> server.<br />

When this parameter is set through the RMAN send<br />

command <strong>for</strong> an allocated channel, its value overrides<br />

the NSR_SERVER setting <strong>for</strong> that channel only.<br />

Note: This parameter must be explicitly set <strong>for</strong> each<br />

channel to which it applies. Setting this parameter is the<br />

only supported way to override the NSR_SERVER<br />

value <strong>for</strong> a scheduled backup.<br />

Parameters in an RMAN Session<br />

The most appropriate policy <strong>for</strong> the client, as<br />

selected by the <strong>NetWorker</strong> server (default).<br />

A valid date in nsr_getdate(3) <strong>for</strong>mat.<br />

The local physical host (default).<br />

A valid <strong>NetWorker</strong> server name.<br />

Undefined (default).<br />

A valid name of a <strong>NetWorker</strong> server NIC.<br />

NSR* parameter definitions 207


Parameters in an RMAN Session<br />

208<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This appendix includes the following sections:<br />

B<br />

RMAN Commands<br />

◆ The delete expired backup command ...................................................................... 210<br />

◆ The change...crosscheck and crosscheck commands ............................................. 210<br />

◆ The pool option of the backup command................................................................ 210<br />

◆ The send command...................................................................................................... 211<br />

◆ The set duplex command........................................................................................... 215<br />

◆ The trace option of the backup command............................................................... 217<br />

RMAN Commands 209


RMAN Commands<br />

210<br />

The delete expired backup command<br />

For a particular user to be able to use the delete expired backup command with a<br />

<strong>NetWorker</strong> server, the user must have the required <strong>NetWorker</strong> privileges, as<br />

described in “Specify the required <strong>NetWorker</strong> privileges” on page 64.<br />

If the user does not have the required <strong>NetWorker</strong> privileges, or there is an<br />

authorization problem when the delete expired backup command runs, <strong>NetWorker</strong><br />

<strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) fails to remove the required entries in the <strong>NetWorker</strong> client<br />

file index and media database.<br />

Despite this failure, the delete expired backup command removes the corresponding<br />

backup set or backup piece entries in the <strong>Oracle</strong> Recovery Catalog. In this case, the<br />

appropriate <strong>NetWorker</strong> media management command can be used to manually<br />

remove the required save set entries from the <strong>NetWorker</strong> indexes.<br />

The <strong>NetWorker</strong> command reference guide and UNIX man pages provide more<br />

in<strong>for</strong>mation on the <strong>NetWorker</strong> media management commands.<br />

Note: If the <strong>NetWorker</strong> client binaries are located in a nondefault directory on the <strong>Oracle</strong><br />

Server host and the NWORA resource file was not created during the NMO installation, the<br />

parameter NSR_NWPATH might need to be set in the NWORA resource file or in the RMAN<br />

script. “NSR_NWPATH” on page 206 provides more in<strong>for</strong>mation.<br />

The change...crosscheck and crosscheck commands<br />

For all <strong>NetWorker</strong> client file index entries that are not browsable, the running of the<br />

change...crosscheck or crosscheck command causes the status of the corresponding<br />

backup pieces to change to expired in the RMAN catalog.<br />

In the RMAN catalog, an expired status <strong>for</strong> a backup piece indicates that the<br />

<strong>NetWorker</strong> browse policy specified <strong>for</strong> that backup piece has expired.<br />

The pool option of the backup command<br />

!<br />

IMPORTANT<br />

NMO does not support the pool option of the RMAN backup command, with the<br />

exception of pool=0.<br />

If any nonzero value is specified <strong>for</strong> the pool option of the RMAN backup command,<br />

the RMAN session terminates and NMO returns the following error message:<br />

sbtbackup: <strong>Oracle</strong> pools are not supported<br />

“NMO error messages” on page 222 provides more in<strong>for</strong>mation on this error<br />

message.<br />

To specify the <strong>NetWorker</strong> volume pool to be used by NMO, set the parameter<br />

NSR_DATA_VOLUME_POOL in the RMAN script. Appendix A, “Parameters in an<br />

RMAN Session,” provides more in<strong>for</strong>mation.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


The send command<br />

Syntax rules<br />

RMAN Commands<br />

The NMO implementation of the send command enables the NSR* parameters to be<br />

set, as described in Appendix A, “Parameters in an RMAN Session.”<br />

Set the NSR* parameter values by using the methods described in “Setting the NSR*<br />

parameters” on page 200. The use of the send command is recommended where<br />

possible.<br />

The following sections describe the send command syntax and precedence rules and<br />

how to use the send command to set the parameters.<br />

◆ “Syntax rules” on page 211<br />

◆ “Two ways to run the send command” on page 213<br />

◆ “Precedence rules” on page 215<br />

Note: In the following sections, brackets ([]) are used to denote the optional portions of a<br />

command, <strong>for</strong> example, command options and corresponding settings. When typing the<br />

command, do not include the brackets.<br />

The send command must have the following <strong>for</strong>mat:<br />

send [ device_type ’device_specifier’ | channel channel_id ]<br />

’NSR_ENV=(name1=value1 [, name2=value2, ...])’<br />

These sections describe the syntax rules <strong>for</strong> the two main parts of the send command:<br />

◆ “The send command string” on page 211<br />

◆ “The send command options” on page 212<br />

The send command string<br />

The command string in the send command is the string inside the quotes,<br />

’NSR_ENV=(name1=value1...)’.<br />

Follow these syntax rules <strong>for</strong> the send command string:<br />

◆ The maximum length of the command string is restricted by <strong>Oracle</strong> to 512 bytes,<br />

including the terminating NULL.<br />

◆ The NSR_ENV keyword and the parameter names must be all uppercase.<br />

◆ Between the NSR_ENV keyword and left parenthesis, an equal sign and spaces<br />

are optional. For example, these commands are all correct:<br />

send ’NSR_ENV = (NSR_SERVER=server1)’<br />

send ’NSR_ENV=(NSR_SERVER=server1)’<br />

send ’NSR_ENV (NSR_SERVER=server1)’<br />

send ’NSR_ENV(NSR_SERVER=server1)’<br />

◆ The parentheses in the command string are mandatory.<br />

◆ Inside the parentheses, there must be one or more NMO parameter names and the<br />

corresponding parameter values.<br />

◆ Inside the parentheses, spaces are not allowed around the equal signs. A space<br />

be<strong>for</strong>e an equal sign becomes part of the parameter name. A space after an equal<br />

sign becomes part of the parameter’s value.<br />

◆ Commas separating the name=value entries are mandatory.<br />

The send command 211


RMAN Commands<br />

212<br />

◆ Comments are not allowed inside the quotes. In the following example,<br />

“# NSR_SERVER” is considered the first parameter’s name:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(<br />

# NSR_SERVER=server1,<br />

NSR_CLIENT=oracle)’;<br />

:<br />

◆ A send command in an RMAN script can span multiple lines. For example:<br />

send ’NSR_ENV=(<br />

NSR_SERVER=server1,<br />

NSR_CLIENT=oracle)’;<br />

The send command options<br />

Run the send command with only one of the following:<br />

!<br />

◆ send with no option (only the quoted command string) sets the parameters <strong>for</strong> all<br />

allocated channels.<br />

◆ send device_type ‘SBT_TAPE’ sets the parameters <strong>for</strong> all channels of the backup<br />

tape device.<br />

Note: The send command has no effect with device type disk.<br />

◆ send channel sets the parameters <strong>for</strong> the specified channels only.<br />

IMPORTANT<br />

The device_type or the channel option can be used in the send command in an<br />

RMAN script only. Neither option can be used in the send command on the<br />

operating system command line. “The send command on the operating system<br />

command line” on page 213 provides more in<strong>for</strong>mation.<br />

Example 42 A send command sets the parameters <strong>for</strong> a specified channel<br />

In the following sample script, the parameters are set <strong>for</strong> channel t1 only, not <strong>for</strong><br />

channel t2:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

send channel t1 ’NSR_ENV=(NSR_SERVER=server1,<br />

NSR_DATA_VOLUME_POOL=MondayFulls)’;<br />

:<br />

}<br />

This sample RMAN script is referenced in Table 11 on page 213.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Two ways to run the send command<br />

RMAN Commands<br />

Table 11 on page 213 lists the values <strong>for</strong> options used with the send command. The<br />

example referred to is Example 42 on page 212.<br />

Table 11 Option values in the send command<br />

Option value Describes<br />

device_specifier The device type as specified in an allocate channel command in the RMAN script. For a<br />

backup tape device, use SBT_TAPE.<br />

channel_id The channel identifier as specified in an allocate channel command in the RMAN script. In<br />

the example, the identifier is t1.<br />

name1 The first NMO parameter name. In the example, the first parameter name is<br />

NSR_SERVER.<br />

value1 The value assigned to the first parameter. In the example, the first value is server1.<br />

name2 The second NMO parameter name. In the example, the second parameter name is<br />

NSR_DATA_VOLUME_POOL.<br />

value2 The value assigned to the second parameter. In the example, the second value is<br />

MondayFulls.<br />

There are two different ways to run the send command:<br />

◆ As an option of the rman command on the operating system command line, as<br />

described in “The send command on the operating system command line” on<br />

page 213.<br />

◆ In the run job of the RMAN script, as described in “The send command in the<br />

RMAN script” on page 214.<br />

The send command on the operating system command line<br />

To run the send command as an option of the rman invocation on the operating<br />

system command line, type the command in the following <strong>for</strong>mat:<br />

rman send ”’NSR_ENV=(name1=value1[, name2=value2, ...])’”<br />

◆ If more than one send option appears in the rman command, only the last send<br />

command is executed.<br />

◆ Follow all the send command syntax rules listed in “The send command string”<br />

on page 211, except <strong>for</strong> the last rule, which applies only to a send command in an<br />

RMAN script.<br />

◆ Do not use either the device_type or channel option. “The send command<br />

options” on page 212 provides more in<strong>for</strong>mation.<br />

◆ Use two sets of quotes around the command string, each set consisting of a single<br />

and double quote. The single quote can be either be<strong>for</strong>e or after the double quote,<br />

but the second set of quotes must be opposite to the first set. For example, this<br />

command is also correct:<br />

rman send ’”NSR_ENV=(name1=value1[, name2=value2, ...])”’<br />

Two sets of quotes are required to prevent some operating system shells (<strong>for</strong><br />

example, ksh) from treating spaces inside the quotes as meta (special) characters<br />

and attempting to tokenize the string.<br />

The send command 213


RMAN Commands<br />

214<br />

◆ The parameter values in the quoted string are applied to all channels allocated<br />

during the RMAN session. These values are applied be<strong>for</strong>e any parameter values<br />

specified in send commands within the RMAN script itself. “Precedence rules”<br />

on page 215 provides more in<strong>for</strong>mation.<br />

Example 43 An rman send command sets a parameter <strong>for</strong> all channels<br />

In the following example, the NSR_SERVER parameter value (mars.emc.com) is<br />

applied to all three channels (t1, t2, t3) allocated in the RMAN script:<br />

rman send ”’NSR_ENV=(NSR_SERVER=mars.emc.com)’”<br />

(RMAN script:)<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

allocate channel t3 type ’SBT_TAPE’;<br />

:<br />

}<br />

The send command in the RMAN script<br />

To run the send command in the run job of the RMAN script, type the command in<br />

the following <strong>for</strong>mat, at the required point within the run command brackets:<br />

send [ device_type ’device_specifier’ | channel channel_id ]<br />

’NSR_ENV=(name1=value1 [, name2=value2, ...])’<br />

◆ Follow all the send command syntax rules listed in “The send command string”<br />

on page 211.<br />

◆ Use either the device_type or channel option (if required) with the send<br />

command in an RMAN script, as described in “The send command options” on<br />

page 212.<br />

◆ Specify the correct option values in the send command, as described in “The send<br />

command options” on page 212.<br />

◆ RMAN commands are run in the order that they appear in the backup or restore<br />

script. For a parameter value to be in effect during a backup or restore, put the<br />

send command (setting the value) be<strong>for</strong>e the backup or restore command in the<br />

script, but after the allocate channel commands <strong>for</strong> those channels to which the<br />

parameter value applies.<br />

◆ If no channel is allocated when the send command runs, an RMAN error is<br />

produced.<br />

The following sample RMAN script per<strong>for</strong>ms an <strong>Oracle</strong> backup of the entire database<br />

to the volume pool MondayFulls of the (remote) <strong>NetWorker</strong> server mars.emc.com:<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

allocate channel t2 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(NSR_SERVER=mars.emc.com,<br />

NSR_DATA_VOLUME_POOL=MondayFulls)’;<br />

backup full filesperset 4<br />

<strong>for</strong>mat ’FULL_%d_%U’<br />

(database);<br />

release channel t1;<br />

release channel t2;<br />

}<br />

This script is the same as the sample script on page 75. The single send command sets<br />

the parameters <strong>for</strong> both channels.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Precedence rules<br />

!<br />

RMAN Commands<br />

Parameters are set <strong>for</strong> channels allocated during the RMAN session in the following<br />

order:<br />

1. In the parms option in the allocate channel or configure channel command<br />

(configure channel is used only <strong>for</strong> automatic channel allocation).<br />

2. In the rman send command on the operating system command line.<br />

3. In the send command in the run job of the RMAN script.<br />

IMPORTANT<br />

If both the send command on the operating system command line and the send<br />

option in the configure channel command are used at the same time, only the send<br />

option in the configure channel command is executed by <strong>Oracle</strong>.<br />

To prevent confusion and simplify the task of setting parameters in a specific order,<br />

do not mix these different ways of setting parameters in the same RMAN session.<br />

Example 44 Order of parameters set according to the precedence rules<br />

The set duplex command<br />

In the following example, the parameters NSR_SERVER and NSR_CLIENT are set in<br />

this order:<br />

◆ NSR_SERVER is set to server1 (by rman send), changed to server2 (by the first<br />

send command), and finally changed to server3 (by send channel).<br />

◆ NSR_CLIENT is set to client1 (by rman send), changed to client2 (by the first<br />

send command), and finally changed to client3 (by send channel):<br />

rman send ”’NSR_ENV=(NSR_SERVER=server1, NSR_CLIENT=client1)’”<br />

(RMAN script:)<br />

run {<br />

allocate channel t1 type ’SBT_TAPE’;<br />

send ’NSR_ENV=(NSR_SERVER=server2, NSR_CLIENT=client2)’;<br />

send channel t1 ’NSR_ENV=(NSR_SERVER=server3,<br />

NSR_CLIENT=client3)’;<br />

:<br />

}<br />

For a manual backup only, the set duplex command can be set in the RMAN backup<br />

script to generate up to four copies of an <strong>Oracle</strong> backup and then store those copies<br />

on separate media. Set duplex to the value 1, 2 (or instead of 2, set it to on), 3, or 4 to<br />

produce 1, 2, 3, or 4 copies, respectively, of every <strong>Oracle</strong> backup set generated by<br />

subsequent backup commands.<br />

Note: NMO supports the generation of backup copies <strong>for</strong> manual backups only, not <strong>for</strong><br />

scheduled backups.<br />

The set duplex command 215


RMAN Commands<br />

216<br />

Table 12 on page 216 describes the results of setting duplex to each of the valid<br />

values.<br />

Table 12 Set duplex command values<br />

Set duplex command <strong>Oracle</strong> backup results<br />

set duplex=1 The backup set is directed to NSR_DATA_VOLUME_POOL.<br />

set duplex=2<br />

or<br />

set duplex=on<br />

There are no default values <strong>for</strong> the parameters NSR_DATA_VOLUME_POOL,<br />

NSR_DATA_VOLUME_POOL1, NSR_DATA_VOLUME_POOL2, and<br />

NSR_DATA_VOLUME_POOL3. For a manual backup with backup copies, the<br />

values of these parameters must be defined with the parms option, not with the send<br />

command or option. Appendix A, “Parameters in an RMAN Session,” provides more<br />

in<strong>for</strong>mation on how to set parameters.<br />

Each pool specified by one of these NSR_DATA_VOLUME_POOL* parameters must<br />

be properly configured, and each pool must be different from the other pools used. If<br />

a pool is not properly defined or configured, the <strong>Oracle</strong> backup will be suspended,<br />

waiting <strong>for</strong> the proper configuration of that pool.<br />

To enable use of the set duplex command, set the parameter<br />

BACKUP_TAPE_IO_SLAVES to TRUE in the initoracle_sid.ora file. The <strong>Oracle</strong><br />

backup and recovery documentation provides more in<strong>for</strong>mation.<br />

If the current control file is included in the backup, RMAN duplexes the backup<br />

pieces of the control file in the same backup set. If the control file autobackup is<br />

enabled, RMAN also duplexes the backup pieces that belong to the control file<br />

autobackup.<br />

Note: The set duplex command is deprecated by <strong>Oracle</strong>. “Backup copies” on page 27 provides<br />

in<strong>for</strong>mation on additional <strong>Oracle</strong> commands to use <strong>for</strong> backup set duplexing during manual<br />

backups.<br />

During an <strong>Oracle</strong> restore, RMAN selects only one of the copies to use, and if it fails<br />

<strong>for</strong> some reason, the restore fails. If the first copy of a backup piece cannot be found in<br />

NMO, RMAN issues the following type of error message:<br />

RMAN-10035: exception raised in RPC: ORA-19507: failed to retrieve<br />

sequential file, handle="CH2_bkup3_1_1"<br />

To <strong>for</strong>ce RMAN to use the duplexed copy of this missing backup piece, run the<br />

change...crosscheck, crosscheck, or change backuppiece...unavailable command<br />

and retry the restore. These commands cause RMAN to mark the missing backup<br />

piece as expired (“Retention policies” on page 38 provides a definition of expired) and<br />

to use the duplexed copy <strong>for</strong> the restore operation.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Two copies of the backup set are directed to the separate pools specified by<br />

NSR_DATA_VOLUME_POOL and NSR_DATA_VOLUME_POOL1.<br />

These two pools must be different.<br />

set duplex=3 Three copies of the backup set are directed to the separate pools specified by<br />

NSR_DATA_VOLUME_POOL, NSR_DATA_VOLUME_POOL1, and<br />

NSR_DATA_VOLUME_POOL2.<br />

These three pools must be different.<br />

set duplex=4 Four copies of the backup set are directed to the separate pools specified by<br />

NSR_DATA_VOLUME_POOL, NSR_DATA_VOLUME_POOL1,<br />

NSR_DATA_VOLUME_POOL2, and NSR_DATA_VOLUME_POOL3.<br />

These four pools must be different.


The appropriate <strong>Oracle</strong> backup and recovery documentation provides more<br />

in<strong>for</strong>mation.<br />

The trace option of the backup command<br />

RMAN Commands<br />

Set the trace option of the RMAN backup command to the value 0, 1, or 2. The<br />

default value of trace is 0.<br />

The output of trace is written to the <strong>Oracle</strong> sbtio.log file. The output is also written to<br />

the following default log file on the <strong>Oracle</strong> Server host:<br />

◆ On UNIX: /nsr/applogs/nmo.messages.raw<br />

◆ On Windows: <strong>NetWorker</strong>_install_path\applogs\nmo.messages.raw, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path<br />

These log files do not contain <strong>Oracle</strong> Server or RMAN errors.<br />

NMO generates error messages in the nmo.messages.raw file in a<br />

language-independent binary <strong>for</strong>m, readable by the nsr_render_log program only.<br />

The nmo.messages.raw file replaces the nmo.messages file used in previous NMO<br />

releases.<br />

The <strong>NetWorker</strong> administration guide provides in<strong>for</strong>mation on how to use the<br />

nsr_render_log program to read any language-independent binary file, such as<br />

nmo.messages.raw.<br />

Table 13 on page 217 outlines the conditions that are traced when the trace option is<br />

set to each of the three valid values.<br />

Table 13 Trace option values and conditions traced<br />

Trace value Conditions traced<br />

0 (default) All error conditions.<br />

1 All error conditions.<br />

Entry and exit <strong>for</strong> each System Backup to Tape (SBT) function (the NMO implementation of<br />

the <strong>Oracle</strong> SBT interface).<br />

2 All error conditions.<br />

Entry and exit <strong>for</strong> each SBT function (the NMO implementation of the <strong>Oracle</strong> SBT interface).<br />

Values of all function parameters.<br />

First 32 bytes of each read/write buffer.<br />

The trace option of the backup command 217


RMAN Commands<br />

218<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


This appendix includes the following sections:<br />

C<br />

Troubleshooting and<br />

Error Messages<br />

◆ Troubleshooting tips ................................................................................................... 220<br />

◆ RMAN error messages ............................................................................................... 221<br />

◆ NMO error messages .................................................................................................. 222<br />

Troubleshooting and Error Messages 219


Troubleshooting and Error Messages<br />

220<br />

Troubleshooting tips<br />

The following list of troubleshooting tips refers to sections of this administration<br />

guide and the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide. Use the following list<br />

to troubleshoot any problems in running <strong>Oracle</strong> backup and restore operations with<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO).<br />

To set up an <strong>Oracle</strong> backup and restore system correctly:<br />

1. Verify that the combination of the operating system, <strong>Oracle</strong> Server, <strong>NetWorker</strong><br />

server, and <strong>NetWorker</strong> client is supported.<br />

The <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide provides in<strong>for</strong>mation on<br />

installation requirements.<br />

2. Configure the <strong>Oracle</strong> Server and Net service (if used) according to the<br />

instructions in the <strong>Oracle</strong> documentation. “Verify the <strong>Oracle</strong> Server<br />

configuration” on page 63 provides more in<strong>for</strong>mation.<br />

Without NMO installed on the <strong>Oracle</strong> Server host, it should be possible to<br />

per<strong>for</strong>m a backup and restore by using the allocate channel t1 type disk<br />

command.<br />

3. Install and configure the <strong>NetWorker</strong> server and client software.<br />

The following sources provide more in<strong>for</strong>mation:<br />

<strong>NetWorker</strong> installation guide<br />

<strong>NetWorker</strong> administration guide<br />

Chapter 2, “Software Configuration”<br />

4. Install and enable the NMO software according to the instructions in the<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> installation guide.<br />

To relink the library file on UNIX, use the linking commands listed in the<br />

installation guide. Use the correct libnwora.* library file.<br />

To verify the version of NMO installed, check the version of the nsrnmostart<br />

program file or libnwora.* library file:<br />

On UNIX, use one of the following commands, where filenm is either the<br />

nsrnmostart or libnwora.* filename:<br />

what filenm<br />

strings filenm | grep “@(#)”<br />

pkginfo -l LGTOnmo (Solaris only)<br />

On Windows:<br />

a. Find the nsrnmostart.exe or libwora.dll file.<br />

b. Right-click the file icon and select Properties.<br />

c. In the Properties window, click the Version tab and view the file version<br />

in<strong>for</strong>mation.<br />

Compare the library file with the libnwora.* file in the NMO software package;<br />

the two files should be identical. Ensure that <strong>Oracle</strong> is not linked to another<br />

libnwora.*, libobk.* (<strong>NetWorker</strong> BusinesSuite <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> version of<br />

libnwora.*), or liblsm.* (from Legato Storage Manager or Legato Single Server<br />

Version) file.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


RMAN error messages<br />

Troubleshooting and Error Messages<br />

5. Per<strong>for</strong>m a manual <strong>Oracle</strong> backup by using NMO and the proper RMAN script.<br />

Set the required NSR* parameters in either the RMAN backup script or the rman<br />

send command on the operating system command line. Appendix A,<br />

“Parameters in an RMAN Session,” provides in<strong>for</strong>mation on how to set the NSR*<br />

parameters. “RMAN scripts <strong>for</strong> manual backups” on page 75 provides a simple<br />

startup RMAN script.<br />

If the manual backup fails, check the debug files <strong>for</strong> NMO and the <strong>NetWorker</strong><br />

server. For NMO debug in<strong>for</strong>mation, set the parameters NSR_DEBUG_FILE and<br />

NSR_DEBUG_LEVEL. “NMO error messages” on page 222 provides more<br />

in<strong>for</strong>mation.<br />

If the backup fails with the following error, ensure that both NMO and <strong>Oracle</strong><br />

have the same bitness, and refer to the RMAN user guide <strong>for</strong> details on how to<br />

test that the media management library is integrated correctly:<br />

ORA-19554: error allocating device, device type: SBT_TAPE, device<br />

name:<br />

ORA-27211: Failed to load Media Management Library<br />

Additional in<strong>for</strong>mation: 25<br />

6. Per<strong>for</strong>m a scheduled <strong>Oracle</strong> backup by using NMO and the proper RMAN and<br />

nsrnmo scripts.<br />

In the working RMAN manual backup script, add the connect target and connect<br />

rcvcat commands, as described in “RMAN scripts <strong>for</strong> scheduled backups” on<br />

page 77. Customize the nsrnmo script, as described in “Customize the nsrnmo<br />

script” on page 79.<br />

If the manual backup succeeds but the scheduled backup fails, set the parameter<br />

NSR_SB_DEBUG_FILE to generate debug in<strong>for</strong>mation <strong>for</strong> the scheduled backup.<br />

“RMAN error messages” on page 221 provides more in<strong>for</strong>mation.<br />

RMAN stores in<strong>for</strong>mation and RMAN-specific error messages in the log file specified<br />

by using the msglog option. Review the RMAN in<strong>for</strong>mation in this log file after each<br />

backup.<br />

To specify the name of the RMAN log file:<br />

◆ For a manual <strong>Oracle</strong> backup, specify the msglog option in the rman command on<br />

the command line:<br />

rman target ... rcvcat ... msglog filename<br />

◆ For a scheduled <strong>Oracle</strong> backup, specify the msglog option in the parameter<br />

NSR_RMAN_ARGUMENTS in the nsrnmo script.<br />

“NSR_RMAN_ARGUMENTS” on page 82 provides more in<strong>for</strong>mation.<br />

The appropriate <strong>Oracle</strong> error messages guide provides more in<strong>for</strong>mation on specific<br />

RMAN error messages and recommended courses of action.<br />

Note: During a backup on AIX or Windows, if an NMO parameter is set to an invalid value, the<br />

resulting error message might be truncated in the RMAN output. This is due to an <strong>Oracle</strong><br />

RMAN limitation.<br />

RMAN error messages 221


Troubleshooting and Error Messages<br />

222<br />

NMO error messages<br />

During a backup or restore, the NMO software records the NMO error messages in<br />

both the <strong>Oracle</strong> sbtio.log file and the following default log file on the <strong>Oracle</strong> Server<br />

host:<br />

◆ On UNIX: /nsr/applogs/nmo.messages.raw<br />

◆ On Windows: <strong>NetWorker</strong>_install_path\applogs\nmo.messages.raw, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path<br />

These log files do not contain <strong>Oracle</strong> Server or RMAN errors.<br />

NMO generates error messages in the nmo.messages.raw file in a<br />

language-independent binary <strong>for</strong>m, readable by the nsr_render_log program only.<br />

The nmo.messages.raw file replaces the nmo.messages file used in previous NMO<br />

releases.<br />

The <strong>NetWorker</strong> administration guide provides in<strong>for</strong>mation on how to use the<br />

nsr_render_log program to read any language-independent binary file, such as<br />

nmo.messages.raw.<br />

To obtain more debug in<strong>for</strong>mation <strong>for</strong> a backup or restore, set the parameter<br />

NSR_DEBUG_FILE to the valid pathname of a log file to store the in<strong>for</strong>mation. If the<br />

parameter is set to an invalid pathname or the specified file does not have write<br />

permissions, the debug in<strong>for</strong>mation is written as follows:<br />

◆ On UNIX, in the /nsr/applogs/nmosbt.log file.<br />

Otherwise, the in<strong>for</strong>mation is not written.<br />

◆ On Windows, in the <strong>NetWorker</strong>_install_path\applogs\nmosbt.log file, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path.<br />

Otherwise, the in<strong>for</strong>mation is not written.<br />

“NSR_DEBUG_FILE” on page 203 provides more in<strong>for</strong>mation.<br />

The parameter NSR_DEBUG_LEVEL controls the amount of debug in<strong>for</strong>mation<br />

written to the log file specified by NSR_DEBUG_FILE. The debug level setting limits<br />

only the amount of debug in<strong>for</strong>mation generated by the three functions sbtread(),<br />

sbtwrite(), and sbtpcstatus(), which are called most often during backups and<br />

restores. All the debug messages <strong>for</strong> other functions are always written to the log file,<br />

regardless of the debug level. “NSR_DEBUG_LEVEL” on page 203 provides more<br />

in<strong>for</strong>mation.<br />

During a scheduled backup, the NMO software records additional in<strong>for</strong>mation and<br />

error messages in the file specified by the parameter NSR_SB_DEBUG_FILE in the<br />

nsrnmo script. If the parameter is set to an invalid pathname or the specified file does<br />

not have write permissions, the debug in<strong>for</strong>mation is written as follows:<br />

◆ On UNIX, in the /nsr/applogs/nsrnmostart.log file.<br />

Otherwise, the in<strong>for</strong>mation is not written.<br />

◆ On Windows, in the <strong>NetWorker</strong>_install_path\applogs\nsrnmostart.log file, where<br />

<strong>NetWorker</strong>_install_path is the root directory of the <strong>NetWorker</strong> installation path.<br />

Otherwise, the in<strong>for</strong>mation is not written.<br />

If the parameter NSR_SB_DEBUG_FILE is not set in the nsrnmo script file, the debug<br />

in<strong>for</strong>mation is not written. “NSR_SB_DEBUG_FILE” on page 83 provides more<br />

in<strong>for</strong>mation.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


Error messages from the libnwora library<br />

Troubleshooting and Error Messages<br />

The <strong>NetWorker</strong> server also writes diagnostic in<strong>for</strong>mation from the manual or<br />

scheduled <strong>Oracle</strong> backup to specific log files on the <strong>NetWorker</strong> server. The<br />

<strong>NetWorker</strong> administration guide provides more in<strong>for</strong>mation on these log files.<br />

NMO error messages can be grouped into categories, according to the program that<br />

generates the message and the message <strong>for</strong>mat:<br />

◆ “Error messages from the libnwora library” on page 223<br />

◆ “Error messages from the nsrnmoadmin program” on page 231<br />

◆ “Error messages from the nsrnmoinfo program” on page 233<br />

◆ “Error messages from the nsrnmoprobe program” on page 235<br />

◆ “Error messages from the nsrnmostart program” on page 236<br />

Table 14 on page 223 lists error messages generated by the libnwora library, in<br />

alphabetical order.<br />

Note: The library name libnwora applies to UNIX. On Windows, the corresponding library is<br />

named orasbt.dll.<br />

The error messages appear in the following <strong>for</strong>mat:<br />

function_name: error_message (error_type:error_code:error_number)<br />

where:<br />

◆ function_name is the name of the NMO function that produced the error.<br />

◆ error_message is the text of the error message, as shown in the table.<br />

◆ error_type, error_code, error_number are internal numbers that represent an error type<br />

or code. Their significance <strong>for</strong> the user is as follows:<br />

If error_code is 1, the system is out of memory.<br />

If error_code is 3, 13, or 17, a code-level error has occurred. Report the error<br />

message to Technical Support.<br />

Table 14 Error messages from the libnwora library (page 1 of 9)<br />

Error message Description Resolution<br />

A connection to NW server 'server' could not<br />

be established because 'reason'.<br />

Attempted to restore file 'filename' to raw<br />

device 'device_name'.<br />

Attempted to restore raw device<br />

'device_name' to file 'filename'.<br />

Cannot back up object object_name with<br />

proxy copy.<br />

Could not create the LNM index lock file<br />

'filename' (errno)<br />

NMO could not connect to the <strong>NetWorker</strong> client<br />

file index due to the given reason. The client<br />

might not be configured as a client on the server.<br />

A proxy restore of a regular file to a raw device<br />

was attempted. This type of restore is not<br />

supported.<br />

A proxy restore of a raw device file to a regular file<br />

was attempted. This type of restore is not<br />

supported.<br />

The RMAN backup command included the proxy<br />

only option, but the object object_name did not<br />

reside on a primary storage device that the<br />

PowerSnap <strong>Module</strong> supports.<br />

NMO failed to create the lock file required <strong>for</strong> an<br />

index deletion operation.<br />

Take the corrective action suggested by the error<br />

message.<br />

Do not attempt to restore a regular file to a raw<br />

device.<br />

Do not attempt to restore a raw device file to a<br />

regular file.<br />

When the backup command includes the proxy<br />

only option, ensure that the object object_name<br />

resides on a primary storage device that the<br />

PowerSnap <strong>Module</strong> supports.<br />

Report the error number (errno) to Technical<br />

Support.<br />

NMO error messages 223


Troubleshooting and Error Messages<br />

224<br />

Could not decode the 'sf_check' value: xdrs =<br />

0xvalue<br />

Could not decode the 'sf_magic' value: xdrs =<br />

0x%value<br />

Could not decode the 'sf_more' flag: xdrs =<br />

0xvalue<br />

This is an internal XDR error caused by a network<br />

read or write operation.<br />

This is an internal XDR error caused by a network<br />

read or write operation.<br />

This is an internal XDR error caused by a network<br />

read or write operation.<br />

Could not find the nsrsnapck binary. During an index removal <strong>for</strong> a proxy backup, NMO<br />

could not locate the nsrsnapck binary, which is<br />

probably in a nondefault location.<br />

Could not locate the LNM save file<br />

'backup_piece_name' on server 'server'.<br />

Could not locate the LNM save time<br />

'save_time' on server 'server'.<br />

Could not lock 'filename' <strong>for</strong> index deletion.<br />

There were number attempts. (errno)<br />

Table 14 Error messages from the libnwora library (page 2 of 9)<br />

Error message Description Resolution<br />

NMO could not locate an index record <strong>for</strong> the<br />

backup piece. The index record is probably<br />

missing.<br />

NMO could not locate an index record <strong>for</strong> the save<br />

time in the client file index. The index record is<br />

probably missing.<br />

NMO was able to create the lock file required <strong>for</strong><br />

an index deletion operation, but could not lock the<br />

file after the given number of attempts.<br />

Could not lstat - filename The lstat() system call failed. The file filename<br />

either did not exist or had invalid permissions.<br />

Could not lstat secondary link - filename The lstat() system call failed. The file filename<br />

was a symbolic link that pointed to a file that either<br />

did not exist or had invalid permissions.<br />

Could not obtain NSR_ORACLECAT_MODE<br />

from NWORA resource file.<br />

The error was caused by one of the following<br />

conditions:<br />

The NWORA resource file does not exist.<br />

The NWORA resource file has incorrect<br />

permissions.<br />

The NWORA resource file is corrupted.<br />

Could not read link - pathname A proxy backup failed due to the pathname that<br />

was an invalid symbolic link.<br />

Direct saves are not enabled. NMO attempted to connect to an old release of<br />

<strong>NetWorker</strong> server software that is no longer<br />

supported.<br />

Error creating staging directory 'directory'. During a proxy restore of a regular file, the<br />

permissions of the destination directory were<br />

possibly invalid. NMO was not able to create the<br />

required staging subdirectory, .nworapc.<br />

Error in mmdb lookup by time: reason A lookup in the media database failed <strong>for</strong> the<br />

given reason.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Ensure that the parameter NSR_NWPATH is set<br />

correctly.<br />

Use the mminfo and nsrinfo commands to verify<br />

the status of the index record.<br />

Use the mminfo and nsrinfo commands to verify<br />

the status of the index record.<br />

Report the error number (errno) to Technical<br />

Support.<br />

Ensure that the file is an existing file with valid<br />

permissions.<br />

Ensure that the symbolic link points to an existing<br />

file with valid permissions.<br />

Based on the condition, per<strong>for</strong>m one of the<br />

following:<br />

If the NWORA resource file does not exist,<br />

create the file.<br />

Ensure that the NWORA resource file has<br />

correct permissions.<br />

If the NWORA resource file is corrupted,<br />

re-create the file.<br />

“The NWORA resource file” on page 183 provides<br />

more in<strong>for</strong>mation.<br />

Be<strong>for</strong>e a proxy backup, ensure that any symbolic<br />

link is a valid link.<br />

Update the <strong>NetWorker</strong> server software to a release<br />

supported by NMO <strong>5.0</strong>. The <strong>EMC</strong> In<strong>for</strong>mation<br />

Protection Software Compatibility <strong>Guide</strong> on the<br />

Powerlink website provides details on the<br />

supported server releases.<br />

Ensure that the destination directory has valid<br />

permissions <strong>for</strong> a proxy restore.<br />

Use the mminfo command to verify the status of<br />

the media database record. Take the corrective<br />

action suggested by the error message.


Exceeded the number of retries. The<br />

<strong>NetWorker</strong> server may be down or<br />

unreachable.<br />

Exceeded the number of retries <strong>for</strong> nsr_init().<br />

The <strong>NetWorker</strong> server may be down or<br />

unreachable.<br />

Exceeded the number of retries <strong>for</strong> nsr_start().<br />

The <strong>NetWorker</strong> server may be down or<br />

unreachable.<br />

Invalid browse and retention policies. Values<br />

Ignored.<br />

Invalid browse policy browse_time. Value<br />

Ignored.<br />

Table 14 Error messages from the libnwora library (page 3 of 9)<br />

Error message Description Resolution<br />

NMO could not contact the <strong>NetWorker</strong> index<br />

service nsrindexd. This was probably caused by<br />

the <strong>NetWorker</strong> services being shutdown.<br />

After a maximum of five attempts, NMO failed to<br />

call the <strong>NetWorker</strong> core function, nsr_init(). This<br />

was probably caused by the <strong>NetWorker</strong> services<br />

being shut down.<br />

After a maximum of five attempts, NMO failed to<br />

call the <strong>NetWorker</strong> core function, nsr_start(). This<br />

was probably caused by the <strong>NetWorker</strong> services<br />

being shut down.<br />

The NSR_SAVESET_BROWSE and<br />

NSR_SAVESET_RETENTION parameters both<br />

had invalid time values.<br />

The NSR_SAVESET_BROWSE parameter had<br />

an invalid time value, browse_time.<br />

Invalid KEY word The syntax of the string in the RMAN send<br />

command was incorrect.<br />

Invalid retention policy: retention_time. Value<br />

Ignored.<br />

The NSR_SAVESET_RETENTION parameter<br />

had an invalid time value, retention_time.<br />

Invalid source path argument A proxy backup failed due to an invalid source<br />

pathname.<br />

NSR_DATA_VOLUME_POOLn is not set. Multiple copies of the backup data were<br />

requested, but the required<br />

NSR_DATA_VOLUME_POOL parameters were<br />

not set. In the message, n was replaced by a<br />

number corresponding to the missing pool<br />

parameter.<br />

nsrsnapck_binary_name process failed with<br />

error - reason<br />

ORA-19511: Error received from media<br />

manager layer, error text:<br />

Could not create the NWORA resource lock<br />

file (13) (103:105:13)<br />

During an index removal <strong>for</strong> a proxy backup, the<br />

nsrsnapck binary failed. The binary name is<br />

nsrsnapck on UNIX and nsrsnapck.exe on<br />

Windows.<br />

An NMO backup failed because a valid NWORA<br />

resource file does not exist or is not available.<br />

<strong>Oracle</strong> pools are not supported NMO does not support <strong>Oracle</strong> pools. NMO<br />

supports <strong>NetWorker</strong> pools only.<br />

Path pathname is too long. A proxy backup failed because the given<br />

pathname exceeded the limit of 1,024 bytes.<br />

pb_init() failed with (reason): invalid BRCAPI<br />

version<br />

The version number of the BRC API that was<br />

reported by the PowerSnap <strong>Module</strong> was<br />

corrupted.<br />

Troubleshooting and Error Messages<br />

Restart the <strong>NetWorker</strong> services on the server, as<br />

required.<br />

Restart the <strong>NetWorker</strong> services on the server, as<br />

required.<br />

Restart the <strong>NetWorker</strong> services on the server, as<br />

required.<br />

Ensure that the parameters<br />

NSR_SAVESET_BROWSE and<br />

NSR_SAVESET_RETENTION in the RMAN script<br />

both have valid values in the <strong>NetWorker</strong> date<br />

<strong>for</strong>mat.<br />

Ensure that the parameter<br />

NSR_SAVESET_BROWSE in the RMAN script<br />

has a valid value in the <strong>NetWorker</strong> date <strong>for</strong>mat.<br />

“The send command” on page 211 provides the<br />

correct send command syntax.<br />

Ensure that the parameter<br />

NSR_SAVESET_RETENTION in the RMAN script<br />

has a valid value in the <strong>NetWorker</strong> date <strong>for</strong>mat.<br />

Per<strong>for</strong>m a proxy backup with a valid source<br />

pathname only.<br />

When multiple copies of backup data are<br />

requested, set the required<br />

NSR_DATA_VOLUME_POOL parameters.<br />

“NSR_DATA_VOLUME_POOL” on page 202<br />

provides more in<strong>for</strong>mation.<br />

Report the error to Technical Support.<br />

If you do not use the wizard to configure a<br />

scheduled backup with save set bundling, use the<br />

nsrnmoadmin command to create a valid<br />

NWORA resource file, according to instructions in<br />

Chapter 2 or 7 of this administration guide.<br />

Remove the pool option of the backup command<br />

in the RMAN script or set the pool option to zero.<br />

“The pool option of the backup command” on<br />

page 210 provides more in<strong>for</strong>mation.<br />

Ensure that any pathname involved in a proxy<br />

backup does not exceed 1,024 bytes.<br />

Report the error to Technical Support.<br />

NMO error messages 225


Troubleshooting and Error Messages<br />

226<br />

Proxy copy is not supported. A proxy operation was attempted on a plat<strong>for</strong>m<br />

that NMO does not support <strong>for</strong> proxy operations.<br />

'string' should be in <strong>for</strong>mat: KEY=(xxxxx) The syntax of the string in the RMAN send<br />

command was incorrect.<br />

The ASDF body could not be unwrapped. The incoming recover stream of data could not be<br />

decoded due to a possible network error or data<br />

corruption.<br />

The backup file already exists:<br />

backup_piece_name<br />

The BRC API did not return an error string <strong>for</strong><br />

the SBTPC object: object_name<br />

The BRC status of logical object 'filename'<br />

was failure: file_status<br />

The call to nsr_init() failed with the message:<br />

reason<br />

The call to nsr_start() failed with the message:<br />

reason<br />

The call to pb_environment() failed with error:<br />

reason<br />

The call to pb_open() failed with error:<br />

reason<br />

The call to pb_prepare() failed with error:<br />

reason<br />

The call to pb_status() failed <strong>for</strong> object<br />

'object_name' with the error:<br />

reason<br />

The call to pb_status() <strong>for</strong> object<br />

'object_name' failed with error:<br />

reason<br />

The canonical OS file name path is invalid:<br />

filename<br />

Table 14 Error messages from the libnwora library (page 4 of 9)<br />

Error message Description Resolution<br />

NMO could not complete the backup because the<br />

backup piece name already existed in the<br />

<strong>NetWorker</strong> client file index.<br />

An unknown error occurred during a BRC API<br />

function call by the PowerSnap <strong>Module</strong>.<br />

The PowerSnap <strong>Module</strong> reported a failure during<br />

a proxy backup of the file filename.<br />

A call of the <strong>NetWorker</strong> core function, nsr_init(),<br />

failed due to the given reason.<br />

A call of the <strong>NetWorker</strong> core function, nsr_rtart(),<br />

failed due to the given reason.<br />

During a proxy operation, a pb_environment()<br />

function call failed due to the given reason.<br />

During a proxy operation, a pb_open() function<br />

call failed due to the given reason.<br />

During a proxy operation, a pb_prepare() function<br />

call failed due to the given reason.<br />

During a proxy operation, a pb_status() function<br />

call failed due to the given reason.<br />

During a proxy operation, a pb_status() function<br />

call failed due to the given reason.<br />

The operating system filename specified <strong>for</strong> a<br />

proxy operation was not a valid pathname.<br />

The current time could not be obtained (errno). NMO could not obtain the current time due to an<br />

operating system error.<br />

The data could not be XDR'd from the stream. The incoming recover stream of data could not be<br />

decoded due to a possible network error or data<br />

corruption.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Do not attempt a proxy operation on an<br />

unsupported plat<strong>for</strong>m. The <strong>EMC</strong> In<strong>for</strong>mation<br />

Protection Software Compatibility <strong>Guide</strong> on the<br />

Powerlink website provides details on supported<br />

plat<strong>for</strong>ms.<br />

“The send command” on page 211 provides the<br />

correct send command syntax.<br />

Report the error to Technical Support.<br />

Change the <strong>for</strong>mat option string of the RMAN<br />

command to produce a unique backup piece<br />

name, or remove obsolete backup pieces. Then<br />

restart the backup operation.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Ensure that the file pathname specified <strong>for</strong> a proxy<br />

operation is a valid full pathname that is not a<br />

directory.<br />

Report the operating system error (errno) to the<br />

appropriate vendor.<br />

Report the error to Technical Support.


The data source is neither a file or a RAW<br />

volume - filename<br />

The destination does not have the same<br />

terminating name as the source<br />

'device_name'.<br />

The file being recovered could not be found in<br />

its staging location: filename<br />

The file 'filename' cannot be removed from the<br />

staging directory (errno).<br />

The function mm_retrieve() failed with the<br />

error: reason<br />

The function nsr_bind_recov_mm() failed with<br />

the error: reason<br />

The function nsr_end() failed with the error<br />

message: reason<br />

The function nsr_rstart() failed with the error:<br />

reason<br />

The function sbtinit2() has already been<br />

called.<br />

The functions sbtinit() or sbtinit2() have not<br />

been called.<br />

The index entry failed the cross check:<br />

cfx_name(backup_piece_name)<br />

save_time(save_time)<br />

The lookup of 'backup_piece_name' on server<br />

'server' failed - 'reason'<br />

The name of the NSR client could not be<br />

determined.<br />

The name of the NSR server could not be<br />

determined.<br />

Table 14 Error messages from the libnwora library (page 5 of 9)<br />

Error message Description Resolution<br />

The file filename involved in a proxy backup was<br />

not recognized as a regular file or raw volume. For<br />

proxy backups, NMO supports only regular files<br />

and raw volumes.<br />

A proxy restore of a raw device was attempted to<br />

a location with a different basename from the<br />

backed-up source. For example, c1t2d0s2 is the<br />

basename (or terminating name) of<br />

/dev/rdsk/c1t2d0s2.<br />

During a proxy restore, an error occurred at the<br />

point where the file filename was to be moved<br />

from the staging directory .nworapc to the<br />

destination directory.<br />

During a proxy restore of the file filename, a file<br />

with the same name was found in the .nworapc<br />

subdirectory, probably left there by a previous<br />

failed restore. The errno is the error number from<br />

the failed attempt to remove the existing file.<br />

During a restore, a call of the <strong>NetWorker</strong> core<br />

function, mm_retrieve(), failed due to the given<br />

reason.<br />

During a restore, a call of the <strong>NetWorker</strong> core<br />

function, nsr_bind_recov_mm(), failed due to the<br />

given reason.<br />

A call of the <strong>NetWorker</strong> core function, nsr_end(),<br />

failed due to the given reason.<br />

During a restore, a call of the <strong>NetWorker</strong> core<br />

function, nsr_rstart(), failed due to the given<br />

reason.<br />

This is an internal error caused by <strong>Oracle</strong> calling<br />

the function sbinit2() twice.<br />

This is an internal error caused by <strong>Oracle</strong> not<br />

calling the two SBT initialization routines.<br />

During an index lookup, the entry was located in<br />

the client file index but not in the media database.<br />

NMO could not locate backup_piece_name in the<br />

indexes due to the reason. The indexes might be<br />

corrupted.<br />

The name of the <strong>NetWorker</strong> client could not be<br />

determined.<br />

The name of the <strong>NetWorker</strong> server could not be<br />

determined.<br />

Troubleshooting and Error Messages<br />

Ensure that filename is either a regular file or raw<br />

volume, as required <strong>for</strong> proxy backups.<br />

Per<strong>for</strong>m a proxy restore of the raw device to a<br />

location with the same basename as the<br />

backed-up source.<br />

Ensure that there are no permission or other<br />

problems with the destination directory and the<br />

staging directory .nworapc, and then restart the<br />

proxy restore. If the error recurs, report it to<br />

Technical Support.<br />

Remove the file file_name from the .nworapc<br />

subdirectory, and restart the proxy restore.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Restart the <strong>NetWorker</strong> services, and use the<br />

mminfo and nsrinfo commands to verify the<br />

backup in<strong>for</strong>mation in the indexes. Run the nsrck<br />

program to resolve any corruption of the indexes.<br />

Run the nsrck program to resolve any corruption<br />

of the indexes.<br />

Set the parameter NSR_CLIENT to the <strong>NetWorker</strong><br />

client name by using the send command.<br />

Set the parameter NSR_SERVER to the<br />

<strong>NetWorker</strong> server name by using the send<br />

command.<br />

NMO error messages 227


Troubleshooting and Error Messages<br />

228<br />

The NMO BRCAPI version version is outside<br />

the range supported by the BRC service:<br />

earliest_version - latest_version<br />

The NSR client name could not be<br />

determined.<br />

The NSR server name could not be<br />

determined.<br />

NMO release <strong>5.0</strong> does not support the<br />

PowerSnap <strong>Module</strong> release that was used <strong>for</strong> a<br />

proxy operation.<br />

The name of the <strong>NetWorker</strong> client could not be<br />

determined.<br />

The name of the <strong>NetWorker</strong> server could not be<br />

determined.<br />

The NSR_CLIENT parameter was not set. The name of the <strong>NetWorker</strong> client could not be<br />

determined.<br />

The NSR_DMO_BENCHMARK_1 parameter is<br />

no longer supported.<br />

The undocumented parameter<br />

NSR_DMO_BENCHMARK_1 was specified, but it<br />

is no longer supported.<br />

The NSR_SERVER parameter was not set. The name of the <strong>NetWorker</strong> server could not be<br />

determined.<br />

The NW authentication <strong>for</strong> client 'client' was<br />

refused by server 'server' because 'reason'.<br />

NMO could not obtain the required authentication<br />

to connect to the <strong>NetWorker</strong> client file index due<br />

to the given reason. The client might not be<br />

configured as a client on the server.<br />

The NW client has not been set. The name of the <strong>NetWorker</strong> client could not be<br />

determined.<br />

The NW server does not have a valid NMO<br />

proxy copy license.<br />

The <strong>NetWorker</strong> server attempted a proxy<br />

operation without the required license.<br />

The NW server has not been set. The name of the <strong>NetWorker</strong> server could not be<br />

determined.<br />

The NWORA file ID could not be XDR'd.<br />

xdrm: 0xvalue<br />

NWORA fid: 0xvalue<br />

ssid: 0xvalue<br />

ssoff: 0xvalue<br />

The NWORA resource file does not exist.<br />

Please create it with nsrnmoadmin.<br />

The NWORA resource lock file does not exist.<br />

Please create it by running 'nsrnmoadmin -r<br />

list'<br />

The NWORA resource<br />

NSR_ORACLECAT_MODE is in the<br />

'undetermined' state.<br />

Table 14 Error messages from the libnwora library (page 6 of 9)<br />

Error message Description Resolution<br />

This is an internal XDR error caused by a network<br />

read or write operation.<br />

A proxy backup failed because the NWORA<br />

resource file did not exist.<br />

A proxy backup failed because the NWORA<br />

resource lock file did not exist.<br />

In the NWORA resource file,<br />

NSR_ORACLECAT_MODE was set to the default<br />

value of undetermined.<br />

The object 'filename' is not a file. A proxy backup failed because the file filename is<br />

not a data file—neither a raw file nor a regular file.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Ensure that a supported release of the PowerSnap<br />

<strong>Module</strong> is installed. The <strong>EMC</strong> In<strong>for</strong>mation<br />

Protection Software Compatibility <strong>Guide</strong> on the<br />

Powerlink website provides details on supported<br />

releases.<br />

Set the parameter NSR_CLIENT to the <strong>NetWorker</strong><br />

client name by using the send command.<br />

Set the parameter NSR_SERVER to the<br />

<strong>NetWorker</strong> server name by using the send<br />

command.<br />

Set the parameter NSR_CLIENT to the <strong>NetWorker</strong><br />

client name by using the send command.<br />

Do not set the unsupported<br />

parameter NSR_DMO_BENCHMARK_1.<br />

Set the parameter NSR_SERVER to the<br />

<strong>NetWorker</strong> server name by using the send<br />

command.<br />

Take the corrective action suggested by the error<br />

message.<br />

Set the parameter NSR_CLIENT to the <strong>NetWorker</strong><br />

client name by using the send command.<br />

Ensure that the <strong>NetWorker</strong> server has the required<br />

license <strong>for</strong> the proxy operation.<br />

Set the parameter NSR_SERVER to the<br />

<strong>NetWorker</strong> server name by using the send<br />

command.<br />

Report the error to Technical Support.<br />

Create the NWORA resource file by using the<br />

nsrnmoadmin command, and restart the proxy<br />

backup. “The NWORA resource file” on page 183<br />

provides details.<br />

Create the NWORA resource lock file by using the<br />

nsrnmoadmin -r list command, and restart the<br />

proxy backup. “The NWORA resource file” on<br />

page 183 provides details.<br />

Set the value of NSR_ORACLECAT_MODE to<br />

either enabled or disabled (as required) by using<br />

the nsrnmoadmin command.<br />

Per<strong>for</strong>m a proxy backup of a supported type of<br />

data file only.


The ORACLE_SID must be set when<br />

per<strong>for</strong>ming proxy copy backups.<br />

The OS file name has been specified multiple<br />

times by <strong>Oracle</strong>: filename<br />

During a scheduled proxy backup, the parameter<br />

ORACLE_SID was not set in the nsrnmo script.<br />

This is an internal <strong>Oracle</strong> error caused by <strong>Oracle</strong><br />

specifying the same filename twice during a proxy<br />

operation.<br />

The parameter file cannot be open: filename The configuration file specified by the parameter<br />

NSR_PROXY_PFILE could not be opened. The<br />

file should contain PowerSnap parameter settings<br />

<strong>for</strong> a proxy backup or restore.<br />

The pb_cancel() call <strong>for</strong> object 'object_name'<br />

returned the error message:<br />

error<br />

The pb_inquiry() call failed <strong>for</strong> object<br />

'object_name':<br />

error<br />

The pb_inquiry() <strong>for</strong> object 'object_name'<br />

failed because:<br />

error<br />

The pb_inquiry() of object 'object_name'<br />

returned error:<br />

error<br />

The pb_restore() <strong>for</strong> object 'object_name'<br />

failed with error:<br />

error<br />

The pb_save() of object 'object_name'<br />

returned error:<br />

error<br />

The pb_snapshot() call <strong>for</strong> object<br />

'object_name' failed with error:<br />

error<br />

The record obtained has the wrong save time<br />

'save_time1'. The save time queried was<br />

'save_time2'.<br />

The removal of SSID 'save_set_id' failed with<br />

error: reason<br />

The restore destination path is not valid:<br />

filename<br />

Table 14 Error messages from the libnwora library (page 7 of 9)<br />

Error message Description Resolution<br />

The restore operation <strong>for</strong> the file failed <strong>for</strong> an<br />

unknown reason: filename<br />

The pb_cancel() function call failed during a proxy<br />

operation.<br />

The pb_inquiry() function call failed during a proxy<br />

operation.<br />

The pb_inquiry() function call failed during a proxy<br />

operation.<br />

The pb_inquiry() function call failed during a proxy<br />

operation.<br />

The pb_restore() function call failed during a<br />

proxy operation.<br />

The pb_save() function call failed during a proxy<br />

operation.<br />

The pb_snapshot() function call failed during a<br />

proxy operation.<br />

NMO located an index record in the client file<br />

index, but it had an unexpected save time. The<br />

indexes might be corrupted.<br />

An index deletion operation failed <strong>for</strong> the given<br />

reason.<br />

During a proxy restore operation, NMO found the<br />

specified restore destination, filename, to be<br />

invalid.<br />

During a proxy restore, an error occurred at the<br />

point where the file filename was to be moved<br />

from the staging directory .nworapc to the<br />

destination directory.<br />

The savefile_fini() call failed. reason During a restore, a call of the <strong>NetWorker</strong> core<br />

function, savefile_fini(), failed due to the given<br />

reason.<br />

Troubleshooting and Error Messages<br />

In the nsrnmo script, set the parameter<br />

ORACLE_SID to the SID value of the <strong>Oracle</strong><br />

database.<br />

Report the error to Technical Support.<br />

Ensure that the value specified by the parameter<br />

NSR_PROXY_PFILE is a valid pathname of the<br />

configuration file.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Restart the <strong>NetWorker</strong> services, and run the nsrck<br />

program to resolve any corruption of the indexes.<br />

Use the mminfo and nsrinfo commands to verify<br />

the status of the index record. If required, report<br />

the error to Technical Support.<br />

Ensure that the specified restore destination is a<br />

valid pathname.<br />

Ensure that there are no permission or other<br />

problems with the destination directory and the<br />

staging directory .nworapc, and then retry the<br />

proxy restore. If the error occurs again, report it to<br />

Technical Support.<br />

Take the corrective action suggested by the error<br />

message. If required, report the error to Technical<br />

Support.<br />

NMO error messages 229


Troubleshooting and Error Messages<br />

230<br />

The SBTPC object could not determine the<br />

destination of the restore.<br />

The SBTPC object is not in the<br />

PB_TYPE_PREPARE state: object_name<br />

The SBTPC object is not in the<br />

SBTPCSTATUS_NOTREADY state:<br />

object_name<br />

The SBTPC object 'object_name' failed with<br />

the error message:<br />

reason<br />

The SBTPC object 'object_name' is entering<br />

the SBTPCSTART backup state but its BRC<br />

type is: type<br />

The SBTPC object 'object_name' is entering<br />

the SBTPCSTART restore state but its BRC<br />

type is: type<br />

The SBTPC object 'object_name' is entering<br />

the SBTPCSTART state but its status is:<br />

status<br />

The SBTPC object 'object_name' is leaving<br />

the BRC prepare state but its status is: status<br />

The SBTPC object 'object_name' is leaving<br />

the BRC save state but its status is: status<br />

The SBTPC object 'object_name' is leaving<br />

the BRC snapshot state but its status is: status<br />

The SBTPC object 'object_name' was aborted<br />

by the BRC service. Please check the<br />

PowerSnap logs <strong>for</strong> an explanation.<br />

The sbtpccommit() function was called during<br />

restore.<br />

During a proxy restore operation, NMO was<br />

unable to determine where to restore the file.<br />

During a proxy operation, NMO and the<br />

PowerSnap <strong>Module</strong> became unsynchronized as<br />

to the status of the object object_name.<br />

During a proxy operation, NMO and the<br />

PowerSnap <strong>Module</strong> became unsynchronized as<br />

to the status of the object object_name.<br />

The proxy backup or restore of a file failed during<br />

a PowerSnap <strong>Module</strong> operation, <strong>for</strong> the given<br />

reason.<br />

During a proxy operation, NMO and the<br />

PowerSnap <strong>Module</strong> became unsynchronized as<br />

to the status of the object object_name.<br />

During a proxy operation, NMO and the<br />

PowerSnap <strong>Module</strong> became unsynchronized as<br />

to the status of the object object_name.<br />

During a proxy operation, NMO and the<br />

PowerSnap <strong>Module</strong> became unsynchronized as<br />

to the status of the object object_name.<br />

During a proxy operation, NMO and the<br />

PowerSnap <strong>Module</strong> became unsynchronized as<br />

to the status of the object object_name.<br />

During a proxy operation, NMO and the<br />

PowerSnap <strong>Module</strong> became unsynchronized as<br />

to the status of the object object_name.<br />

During a proxy operation, NMO and the<br />

PowerSnap <strong>Module</strong> became unsynchronized as<br />

to the status of the object object_name.<br />

The PowerSnap <strong>Module</strong> terminated the proxy<br />

operation.<br />

This is an internal <strong>Oracle</strong> error that occurred<br />

during a proxy restore.<br />

The sfhead could not be XDR'd. This is an internal XDR error caused by a network<br />

write operation.<br />

The SS browse time is not in the future:<br />

current time: current_time<br />

browse: browse_time<br />

The SS retention time is not in the future:<br />

current time: current_time<br />

retention: rentention_time<br />

The staging directory 'directory' has invalid<br />

permissions (errno).<br />

Table 14 Error messages from the libnwora library (page 8 of 9)<br />

Error message Description Resolution<br />

The specified browse policy time was in the past.<br />

This might be due to a problem with the operating<br />

system time setting.<br />

The specified retention policy time was in the<br />

past. This might be due to a problem with the<br />

operating system time setting.<br />

During a proxy restore, NMO was unable to write<br />

to the staging directory, directory. The errno is the<br />

error number from the function call that failed.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Examine the PowerSnap <strong>Module</strong> logs <strong>for</strong> a<br />

possible reason <strong>for</strong> the termination.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Ensure that the browse policy time is set correctly.<br />

If required, ensure that the operating system time<br />

is set correctly.<br />

Ensure that the retention policy time is set<br />

correctly. If required, ensure that the operating<br />

system time is set correctly.<br />

Ensure that the staging directory has valid<br />

permissions <strong>for</strong> a proxy restore.


The UNIX attributes could not be XDR'd.<br />

xdrm: 0xvalue<br />

ua: 0xvalue<br />

There are no SBTPC objects that have not<br />

returned their status.<br />

Table 14 Error messages from the libnwora library (page 9 of 9)<br />

Error message Description Resolution<br />

This backup piece name is already used in the<br />

SBTPC session: backup_piece_name<br />

This is an internal XDR error caused by a network<br />

read or write operation.<br />

This is an internal error during a proxy operation<br />

caused by <strong>Oracle</strong> expecting more files to be<br />

processed whereas NMO has completed its file<br />

processing.<br />

This is an <strong>Oracle</strong> error caused by <strong>Oracle</strong><br />

specifying the same backup piece name twice<br />

during a proxy operation.<br />

Error messages from the nsrnmoadmin program<br />

Troubleshooting and Error Messages<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Report the error to Technical Support.<br />

Table 15 on page 231 lists error messages generated by the nsrnmoadmin program,<br />

in alphabetical order.<br />

The error messages appear in the following <strong>for</strong>mat:<br />

nsrnmoadmin: error_message<br />

where error_message is the text of the error message, as shown in the table.<br />

Table 15 Error messages from the nsrnmoadmin program (page 1 of 3)<br />

Error message Description Resolution<br />

Command line arguments are not understood. The nsrnmoadmin command included one or<br />

more invalid options.<br />

Could not create the NWORA resource file<br />

(errno)<br />

Could not create the NWORA resource lock<br />

file (errno)<br />

The nsrnmoadmin command could not create<br />

the NWORA resource file, possibly due invalid<br />

permissions.<br />

The nsrnmoadmin command could not obtain<br />

the required lock file in the /nsr/tmp or<br />

<strong>NetWorker</strong>_install_path\tmp directory. The lock<br />

file is required <strong>for</strong> accessing the NWORA<br />

resource file.<br />

Could not open resource file 'filename' (errno). The nsrnmoadmin command could not open the<br />

NWORA resource file, possibly due invalid<br />

permissions.<br />

No command line parameters are set. The nsrnmoadmin command options were<br />

missing.<br />

NSR_ORACLECAT_MODE can only be set to<br />

'enabled', 'disabled' or 'undetermined'.<br />

In the nsrnmoadmin command, the<br />

NSR_ORACLE_CAT_MODE parameter resource<br />

was set to a value other than enabled, disabled,<br />

or undetermined.<br />

Use the nsrnmoadmin command with the correct<br />

options. “Configuring the NWORA resource file<br />

with the nsrnmoadmin program” on page 188<br />

provides details.<br />

Ensure that valid permissions exist to allow the<br />

nsrnmoadmin command to create the NWORA<br />

resource file. “The NWORA resource file” on<br />

page 183 provides details.<br />

Report the error to Technical Support.<br />

Verify that the NWORA resource file exists and<br />

has valid permissions. If required, create or repair<br />

the file by using the nsrnmoadmin command, or<br />

modify the file permissions.<br />

Use the nsrnmoadmin command with the correct<br />

options.<br />

In the nsrnmoadmin command, set the<br />

NSR_ORACLE_CAT_MODE parameter resource<br />

to enabled or disabled <strong>for</strong> instant backups.<br />

“Configuring the NWORA resource file with the<br />

nsrnmoadmin program” on page 188 provides<br />

details.<br />

NMO error messages 231


Troubleshooting and Error Messages<br />

232<br />

NSR_REMOVE_ON_FAILURE can only be<br />

set to 'TRUE' or 'FALSE'.<br />

NWORA parameter resources must be<br />

specified in the 'ResourceName<br />

ResourceValue' <strong>for</strong>mat.<br />

NWORA SID resource must be specified<br />

when doing deletion.<br />

In the nsrnmoadmin command, the<br />

NSR_REMOVE_ON_FAILURE parameter<br />

resource was set to a value other than TRUE or<br />

FALSE.<br />

In the nsrnmoadmin command, an NWORA<br />

parameter resource name and value were not<br />

specified in the correct <strong>for</strong>mat.<br />

In the nsrnmoadmin command with the -r delete<br />

option, the SID value of an <strong>Oracle</strong> database was<br />

not specified.<br />

The '-r' flag cannot be set multiple times. The nsrnmoadmin command contained more<br />

than one -r option.<br />

The '-r' option requires an NWORA resource<br />

specification.<br />

The '-r' option requires either an 'add',<br />

'update', 'list' or 'delete' option.<br />

The first NWORA resource is not a header<br />

(errno).<br />

The NWORA resource file does not contain<br />

the NSR_NWPATH resource.<br />

The nsrnmoadmin command with the -r option<br />

did not include the required resource<br />

specification.<br />

In the nsrnmoadmin command, the -r option did<br />

not include one of the required keywords: add,<br />

update, list, or delete.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

In the nsrnmoadmin command, set the<br />

NSR_REMOVE_ON_FAILURE parameter<br />

resource to either TRUE or FALSE only.<br />

In the nsrnmoadmin command, specify the<br />

NWORA parameter resource name and value in<br />

the correct <strong>for</strong>mat.<br />

In the nsrnmoadmin command with the -r delete<br />

option, specify the correct SID value.<br />

Use the nsrnmoadmin command with only one -r<br />

option.<br />

In the nsrnmoadmin command with the -r option,<br />

specify the required resource name and value.<br />

In the nsrnmoadmin command, include one of the<br />

required keywords with the -r option. “Configuring<br />

the NWORA resource file with the nsrnmoadmin<br />

program” on page 188 provides details.<br />

The NWORA resource file is probably corrupted. Verify the contents of the NWORA resource file. If<br />

required, repair the resource file by using the<br />

nsrnmoadmin command.<br />

The NWORA resource file does not contain the<br />

mandatory NSR_NWPATH parameter resource.<br />

The file might be corrupted.<br />

Verify the contents of the NWORA resource file. If<br />

required, repair the resource file by using the<br />

nsrnmoadmin command.<br />

The NWORA resource file does not exist. The NWORA resource file does not yet exist. Create the NWORA resource file by using the<br />

nsrnmoadmin command.<br />

The NWORA resource named<br />

'resource_name' is not found.<br />

Table 15 Error messages from the nsrnmoadmin program (page 2 of 3)<br />

Error message Description Resolution<br />

The NWORA resource parameter list can only<br />

contain one entry.<br />

The NWORA resource parameter list contains<br />

the invalid element 'resource_name'.<br />

The NWORA resource parameter list <strong>for</strong> a SID<br />

requires the item1, item2 and item3<br />

in<strong>for</strong>mation.<br />

The NWORA resource 'resource_name' is not<br />

a SID resource.<br />

The NWORA resource specified is not<br />

supported: resource_name = resource_value<br />

The nsrnmoadmin command specified the name<br />

of a resource that does not exist in the NWORA<br />

resource file.<br />

The NWORA resource file includes multiple<br />

values <strong>for</strong> a resource, which is not supported. The<br />

file is probably corrupted. The file might have<br />

been edited manually, which is not supported.<br />

The NWORA resource file contains an invalid<br />

resource name. The file is probably corrupted.<br />

The file might have been edited manually, which<br />

is not supported.<br />

The nsrnmoadmin command <strong>for</strong> creating or<br />

updating an NWORA SID resource was missing<br />

the required items.<br />

The nsrnmoadmin command with the -r delete<br />

option did not include a valid name of an NWORA<br />

SID resource.<br />

In the nsrnmoadmin command, an invalid name<br />

or value were specified <strong>for</strong> an NWORA parameter<br />

resource.<br />

In the nsrnmoadmin command, specify a valid<br />

resource name from the NWORA resource file.<br />

Repair the NWORA resource file by using the<br />

nsrnmoadmin command.<br />

Repair the NWORA resource file by using the<br />

nsrnmoadmin command. “Configuring the<br />

NWORA resource file with the nsrnmoadmin<br />

program” on page 188 provides details.<br />

In the nsrnmoadmin command <strong>for</strong> creating or<br />

updating an NWORA SID resource, include the<br />

required items.<br />

In the nsrnmoadmin command with the -r delete<br />

option, specify a valid name of an NWORA SID<br />

resource.<br />

In the nsrnmoadmin command, specify a valid<br />

name and value <strong>for</strong> an NWORA parameter<br />

resource. “NWORA parameter resources” on<br />

page 184 provides details.


The NWORA SID resource <strong>for</strong> 'sid_value'<br />

already exists.<br />

Error messages from the nsrnmoinfo program<br />

The nsrnmoadmin command attempted to add<br />

an NWORA SID resource that already existed.<br />

The SID token 'connect' is an empty string. The nsrnmoadmin command did not include the<br />

required pathname of the RMAN connection file<br />

with the connect keyword.<br />

The SID token 'home' is an empty string. The nsrnmoadmin command did not include the<br />

required pathname of the <strong>Oracle</strong> home directory<br />

with the home keyword.<br />

The SID token 'ORACLE_SID' is invalid. In the nsrnmoadmin command with the sid<br />

keyword, the specified SID value of the <strong>Oracle</strong><br />

database was invalid.<br />

The SID token 'sid' is an empty string. The nsrnmoadmin command did not include the<br />

required SID value of the <strong>Oracle</strong> database with<br />

the sid keyword.<br />

The tokens 'sid', 'home' and 'connect' must be<br />

set when adding a SID.<br />

The nsrnmoadmin command to add an NWORA<br />

SID resource did not include the settings of the<br />

mandatory sid, home, and connect keywords.<br />

The value of the NWORA resource is missing. In the nsrnmoadmin command with the -r<br />

update option, the NWORA resource value was<br />

not specified with the resource name.<br />

Unrecognized argument 'option'. The nsrnmoadmin command included the<br />

unrecognized option option.<br />

You must be the super-user to update the<br />

NWORA resource file.<br />

Table 15 Error messages from the nsrnmoadmin program (page 3 of 3)<br />

Error message Description Resolution<br />

The nsrnmoadmin command was typed by the<br />

wrong user.<br />

Troubleshooting and Error Messages<br />

In the nsrnmoadmin command, specify the<br />

values <strong>for</strong> a new NWORA SID resource.<br />

In the nsrnmoadmin command, specify a valid<br />

pathname of the RMAN connection file with the<br />

connect keyword. “Configuring the NWORA<br />

resource file with the nsrnmoadmin program” on<br />

page 188 provides details.<br />

In the nsrnmoadmin command, specify a valid<br />

pathname of the <strong>Oracle</strong> home directory with the<br />

home keyword.<br />

In the nsrnmoadmin command, specify a valid<br />

SID value with the sid keyword.<br />

In the nsrnmoadmin command, specify a valid<br />

SID value with the sid keyword.<br />

In the nsrnmoadmin command to add an<br />

NWORA SID resource, include the settings of the<br />

sid, home, and connect keywords.<br />

In the nsrnmoadmin command with the -r update<br />

option, specify the NWORA resource value with<br />

the resource name.<br />

Use the nsrnmoadmin command with the correct<br />

options. “Configuring the NWORA resource file<br />

with the nsrnmoadmin program” on page 188<br />

provides details.<br />

Type the nsrnmoadmin command as the root<br />

user on UNIX, or as a member of the Microsoft<br />

Windows Administrators group.<br />

Table 16 on page 234 lists error messages generated by the nsrnmoinfo program, in<br />

alphabetical order.<br />

The error messages appear in the following <strong>for</strong>mat:<br />

The NW volume in<strong>for</strong>mation lookup failed:<br />

error_message<br />

where error_message is the text of the error message, as shown in the table.<br />

NMO error messages 233


Troubleshooting and Error Messages<br />

234<br />

Table 16 Error messages from the nsrnmoinfo program<br />

Error message Description Resolution<br />

A connection to NW server 'server' could not<br />

be established because 'reason'.<br />

Could not locate the LNM save file<br />

'backup_piece_name' on server 'server'.<br />

Could not locate the LNM save time<br />

'save_time' on server 'server'.<br />

NMO could not connect to the <strong>NetWorker</strong> client<br />

file index due to the given reason. The client<br />

might not be configured as a client on the server.<br />

NMO could not locate an index record <strong>for</strong> the<br />

backup piece. The index record is probably<br />

missing.<br />

NMO could not locate an index record <strong>for</strong> the save<br />

time in the client file index. The index record is<br />

probably missing.<br />

Error in mmdb lookup by time: reason A lookup in the media database failed <strong>for</strong> the<br />

given reason.<br />

Exceeded the number of retries. The<br />

<strong>NetWorker</strong> server may be down or<br />

unreachable.<br />

NMO could not contact the <strong>NetWorker</strong> index<br />

service nsrindexd. This was probably caused by<br />

the <strong>NetWorker</strong> services being shutdown.<br />

The file 'filename' could not be opened. The file specified with the -f option of the<br />

nsrnmoinfo command could not be accessed.<br />

The file name provided is NULL. In the nsrnmoinfo command, the -f option did not<br />

include the required filename.<br />

The index entry failed the cross check:<br />

cfx_name(backup_piece_name)<br />

save_time(save_time)<br />

The lookup of 'backup_piece_name' on server<br />

'server' failed - 'reason'<br />

The NW authentication <strong>for</strong> client 'client' was<br />

refused by server 'server' because 'reason'.<br />

The record obtained has the wrong save time<br />

'save_time1'. The save time queried was<br />

'save_time2'.<br />

During an index lookup, the entry was located in<br />

the client file index but not in the media database.<br />

NMO could not locate backup_piece_name in the<br />

indexes due to the reason. The indexes might be<br />

corrupted.<br />

NMO could not obtain the required authentication<br />

to connect to the <strong>NetWorker</strong> client file index due<br />

to the given reason. The client might not<br />

configured as a client on the server.<br />

NMO located an index record in the client file<br />

index, but it had an unexpected save time. The<br />

indexes might be corrupted.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Take the corrective action suggested by the error<br />

message.<br />

Use the mminfo and nsrinfo commands to verify<br />

the status of the index record.<br />

Use the mminfo and nsrinfo commands to verify<br />

the status of the index record.<br />

Use the mminfo command to verify the status of<br />

the media database record. Take the corrective<br />

action suggested by the error message.<br />

Restart the <strong>NetWorker</strong> services on the server, as<br />

required.<br />

Ensure that the specified file exists, and then type<br />

the nsrnmoinfo command again with the -f option.<br />

In the nsrnmoinfo command, include the required<br />

filename with the -f option.<br />

Restart the <strong>NetWorker</strong> services, and use the<br />

mminfo and nsrinfo commands to verify the<br />

backup in<strong>for</strong>mation in the indexes. Run the nsrck<br />

program to resolve any corruption of the indexes.<br />

Run the nsrck program to resolve any corruption<br />

of the indexes.<br />

Take the corrective action suggested by the error<br />

message.<br />

Restart the <strong>NetWorker</strong> services, and run the nsrck<br />

program to resolve any corruption of the indexes.


Error messages from the nsrnmoprobe program<br />

Troubleshooting and Error Messages<br />

Table 17 on page 235 lists error messages generated by the nsrnmoprobe program, in<br />

alphabetical order.<br />

Table 17 Error messages from the nsrnmoprobe program<br />

Error message Description Resolution<br />

Could not connect to the <strong>Oracle</strong> database<br />

<strong>Oracle</strong>_service at <strong>Oracle</strong>_home.<br />

The configuration in<strong>for</strong>mation is not valid:<br />

string<br />

The connect string was missing the user or the<br />

password.<br />

The nsrnmoprobe command does not support<br />

databases with more than one sthread.<br />

The nsrnmoprobe program could not connect to<br />

the specified <strong>Oracle</strong> database.<br />

The Command Options attribute in the <strong>NetWorker</strong><br />

Probe resource was not configured properly.<br />

The RMAN connection file (specified through<br />

NSR_ORACLE_CONNECT_FILE in the NWORA<br />

resource file) used <strong>for</strong> the NMO probe did not<br />

contain the username or password.<br />

The nsrnmoprobe program does not support a<br />

RAC database, where the database has multiple<br />

threads (instances).<br />

The nwora.res file has not been created. ORACLE_SERVICE was set in the Command<br />

Options attribute in the <strong>NetWorker</strong> Probe<br />

resource, but the NWORA resource file did not<br />

exist.<br />

The v$database_incarnation SQL statement<br />

could not be run because: reason.<br />

The nsrnmoprobe program could not determine<br />

the database incarnation in<strong>for</strong>mation due to the<br />

reason given in the error message.<br />

Ensure the following:<br />

The connection strings (database username<br />

and password), <strong>Oracle</strong> Net service name, and<br />

ORACLE_HOME value that nsrnmoprobe<br />

uses are correct.<br />

You can manually connect to that Net service<br />

name by using <strong>Oracle</strong> client tools, such as<br />

sqlplus.<br />

“Configure a probe-based backup” on page 97<br />

provides more in<strong>for</strong>mation.<br />

Correct the Command Options attribute setting in<br />

the <strong>NetWorker</strong> Probe resource, according to<br />

“Configure a probe-based backup” on page 97.<br />

Edit the connection file to correct the problem.<br />

Do not use the nsrnmoprobe program with a RAC<br />

database.<br />

Create the NWORA resource file according to the<br />

in<strong>for</strong>mation in “Configure a probe-based backup”<br />

on page 97.<br />

This error usually indicates that the <strong>Oracle</strong><br />

database version is not supported. The <strong>EMC</strong><br />

In<strong>for</strong>mation Protection Software Compatibility<br />

<strong>Guide</strong> on Powerlink provides details on the<br />

supported <strong>Oracle</strong> database versions.<br />

NMO error messages 235


Troubleshooting and Error Messages<br />

236<br />

Error messages from the nsrnmostart program<br />

Table 18 on page 236 lists error messages generated by the nsrnmostart program, in<br />

alphabetical order.<br />

Table 18 Error messages from the nsrnmostart program<br />

Error message Description Resolution<br />

Authentication denied<br />

or<br />

Authentication denied <strong>for</strong> user username<br />

client: WARNING! The NWORA resource file<br />

'save' process output error messages.<br />

client: Please check the save log file <strong>for</strong> more<br />

in<strong>for</strong>mation: log_file<br />

ORACLE_HOME is not defined. Cannot start<br />

RMAN.<br />

The lockbox that stored the database connection<br />

credentials was not accessible by the super-user<br />

on the client where the backup failed with this<br />

error message.<br />

The NWORA resource file could not be backed up<br />

after a successful RMAN backup.<br />

ORACLE_HOME was not set properly in the<br />

nsrnmo script.<br />

The backup config did not contain a string. The nsrnmostart program was run with the -C<br />

option, but the Backup Config attribute was not<br />

set properly in the Client resource.<br />

The NSR client resource <strong>for</strong> client_name does<br />

not contain any backup configuration.<br />

The temporary file 'rman_script_path' could<br />

not be created (errno).<br />

The nsrnmostart program was run with the -C<br />

option, but the Backup Config attribute was not<br />

set properly in the Client resource.<br />

The scheduled backup binary, nsrnmostart,<br />

could not create the file rman_script_path to write<br />

the RMAN script generated by the backup<br />

configuration wizard.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Use the <strong>NetWorker</strong> Management Console (NMC)<br />

to ensure that the Lockbox resource is created <strong>for</strong><br />

the given client and the Users attribute contains<br />

the super-user of the client.<br />

Analyze the log_file and if it includes an error<br />

message, take the corrective action suggested by<br />

the error message.<br />

Set ORACLE_HOME properly in the nsrnmo<br />

script.<br />

Remove this Client resource, and re-create the<br />

Client resource by using the backup configuration<br />

wizard.<br />

Remove this Client resource, and re-create the<br />

Client resource by using the backup configuration<br />

wizard.<br />

Ensure that the root user on UNIX or the Windows<br />

Administrator has "write" permissions on the<br />

directory path of the rman_script_path file.


This glossary contains the definitions of terms found in this manual. Most of the<br />

terms are specific to the <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> (NMO) software. For terms<br />

specific to the <strong>NetWorker</strong> software, refer to the latest <strong>NetWorker</strong> administration<br />

guide.<br />

A<br />

? <strong>Oracle</strong> placeholder <strong>for</strong> the main directory of the <strong>Oracle</strong> database instance identified as<br />

$ORACLE_HOME.<br />

administrator Person who normally installs, configures, and maintains software on network<br />

computers, and who adds users and defines user privileges.<br />

Administrators group Microsoft Windows user group whose members have the rights and privileges of<br />

users in other groups, plus the ability to create, modify, and manage the users and<br />

groups in the domain.<br />

API (application<br />

programming<br />

interface)<br />

ASM (application<br />

specific module)<br />

Agreed-upon set of computer library routines, protocols, and tools used to<br />

communicate and accomplish tasks within software applications.<br />

Program that, when used in a directive, specifies the way a set of files or directories is<br />

to be backed up and recovered.<br />

archived redo log Archived copy of a filled online <strong>Oracle</strong> redo log that preserves older redo log data <strong>for</strong><br />

recovery operations. See also “redo log.”<br />

attribute Feature of a <strong>NetWorker</strong> resource. It is a service or in<strong>for</strong>mation that the “resource”<br />

provides.<br />

auto media<br />

management<br />

autochanger See “library.”<br />

Feature that enables the storage device controlled by the <strong>NetWorker</strong> server to<br />

automatically label, mount, and overwrite a volume it considers unlabeled. Volumes<br />

that are eligible <strong>for</strong> reuse are also automatically recycled.<br />

B<br />

Glossary<br />

backup Operation that saves data to a volume. An <strong>Oracle</strong> backup of several datafiles may<br />

include several backup sets.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 237


Glossary<br />

238<br />

backup cycle See “scheduled backup cycle.”<br />

backup group See “group.”<br />

backup host See “proxy client host.”<br />

backup level See “level.”<br />

Backup Operators<br />

group<br />

Microsoft Windows user group whose members have the capability to log in to a<br />

domain from a workstation or a server, back it up, and restore the data. Backup<br />

Operators can also shut down servers or workstations.<br />

backup piece Binary file created during an NMO backup that corresponds to one save set and<br />

contains <strong>Oracle</strong> backup data in an RMAN-specific <strong>for</strong>mat from one or more database<br />

files. See “backup set.”<br />

backup set Group of one or more backup pieces, created through the RMAN backup command<br />

during an NMO backup.<br />

backup volume See “volume.”<br />

bootstrap Save set that is essential <strong>for</strong> <strong>NetWorker</strong> disaster recovery procedures. The bootstrap<br />

consists of three components that reside on the <strong>NetWorker</strong> server: the media<br />

database, the resource database, and a server index.<br />

browse policy <strong>NetWorker</strong> policy that specifies the time period during which backup entries <strong>for</strong><br />

regular <strong>Oracle</strong> backups and proxy live backups are stored in the online <strong>NetWorker</strong><br />

client file index and the associated backup files are readily accessible to users.<br />

catalog<br />

synchronization<br />

C<br />

Process that removes a proxy <strong>Oracle</strong> backup entry from the RMAN catalog when the<br />

corresponding backup piece is removed from the <strong>NetWorker</strong> indexes. See “NWORA<br />

resource file.”<br />

client Computer, workstation, or fileserver whose data can be backed up and restored.<br />

client file index Database maintained by the <strong>NetWorker</strong> server that tracks every data object, file, or<br />

“file system” backed up. The <strong>NetWorker</strong> server maintains a single index file <strong>for</strong> each<br />

client computer.<br />

cluster Two or more independent network servers that operate and appear to clients as if<br />

they are a single unit. The cluster configuration enables work to be shifted from one<br />

server to another, providing "high availability" that allows application services to<br />

continue despite most hardware or software failures. See also “high-availability<br />

system.”<br />

cold <strong>Oracle</strong> backup See “offline backup.”<br />

command line Line on a display screen, also known as a command prompt or shell prompt, where<br />

you type software commands.<br />

connection port Port that <strong>NetWorker</strong> processes use to per<strong>for</strong>m backup and restore sessions through a<br />

firewall.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


D<br />

daemon Process on UNIX systems that runs in the background and per<strong>for</strong>ms a specified<br />

operation at predefined times or in response to certain events.<br />

database Database instance of a third-party “DBMS” vendor. NMO backs up and restores<br />

<strong>Oracle</strong> database files.<br />

deduplication<br />

backup<br />

DBA Abbreviation <strong>for</strong> database administrator, the person that is typically responsible <strong>for</strong><br />

installing, configuring, and maintaining <strong>Oracle</strong> database systems.<br />

DBMS Abbreviation <strong>for</strong> database management system, which refers to the primary<br />

architecture of an <strong>Oracle</strong> database.<br />

Glossary<br />

Type of backup from the client to an Avamar server (<strong>NetWorker</strong> deduplication<br />

node), where the server identifies redundant data blocks on the client and backs up<br />

only the unique blocks (not entire files) that contain changes. Only a single instance of<br />

any unique data block is maintained on the server.<br />

deferred live backup Type of proxy <strong>Oracle</strong> backup where an existing point-in-time copy (snapshot),<br />

created during an instant backup, is backed up to secondary storage such as tape. The<br />

snapshot is retained on the primary storage.<br />

device ◆ Storage unit that reads from and writes to backup volumes (see “volume”) during<br />

backups and restores. The storage unit can be a tape device, optical drive,<br />

“autochanger,” or file connected to the “server” or “storage node.”<br />

◆ When dynamic drive sharing (DDS) is enabled, refers to the access path to the<br />

physical drive.<br />

directive Instruction that directs <strong>NetWorker</strong> software to take special actions on a given set of<br />

files <strong>for</strong> a specified client during a backup or recovery operation. Directives are<br />

ignored in manual (unscheduled) backups.<br />

drive Hardware device through which media can be read or written to. See also “device.”<br />

E<br />

enabler code Special code that activates the software. The enabler code that unlocks the base<br />

features <strong>for</strong> software is called a base enabler. Enabler codes <strong>for</strong> additional features or<br />

products (<strong>for</strong> example, library support) are called add-on enablers.<br />

event-based backup See “probe-based backup.”<br />

exit code Indicator that specifies whether a backup or restore session succeeded.<br />

◆ Exit code of zero (0) indicates the session completed successfully.<br />

◆ Nonzero exit code indicates the session did not complete successfully.<br />

expiration date Date when the status of a volume changes from read/write to read-only.<br />

expired save set Save set whose browse time has been reached. The save set can no longer be browsed<br />

because it has been removed from the client file index.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 239


Glossary<br />

240<br />

F<br />

failover Safeguard capability that automatically switches activity from a failed or abnormally<br />

terminated computer server, disk drive, or network to a redundant standby server,<br />

drive, or network, with little or no disruption of service. Failover is a feature of<br />

systems that require high reliability and continuous availability.<br />

file index See “client file index.”<br />

file system ◆ Software interface used to save, retrieve, and manage files on storage media by<br />

providing directory structures, data transfer methods, and file association.<br />

◆ Entire set of all files.<br />

fileserver Computer with disks that provides services to other computers on the network.<br />

firewall System designed to prevent unauthorized access to or from a private network. All<br />

messages entering or leaving the intranet pass through the firewall, which examines<br />

each message and blocks those that do not meet the specified security criteria. There<br />

are several types of firewall techniques. The <strong>NetWorker</strong> software supports client<br />

backups from computers that are protected by packet filtering.<br />

full backup See “level.”<br />

high-availability<br />

system<br />

G<br />

group Client or group of client computers that are configured to back up files at a<br />

designated time of day.<br />

H<br />

System of multiple computers configured as cluster nodes on a network that ensures<br />

the application services continue despite a hardware or software failure. Each cluster<br />

node has its own IP address with private resources or disks that are available only to<br />

that computer.<br />

host Computer on a network.<br />

hot <strong>Oracle</strong> backup See “online backup.”<br />

I18N<br />

(internationalization)<br />

immediate live<br />

backup<br />

incremental backup See “level.”<br />

I<br />

Capability of the NMO software to operate in a non-English environment or locale<br />

without itself generating non-ASCII data. After I18N is set up, NMO can process and<br />

display non-ASCII data that is passed to it by the operating system, <strong>NetWorker</strong><br />

software, and <strong>Oracle</strong> software. See also “L10N (localization).”<br />

Type of proxy <strong>Oracle</strong> backup where a point-in-time copy (snapshot) is created during<br />

an instant backup and immediately backed up to secondary storage, such as tape. The<br />

snapshot is automatically deleted from the primary storage.<br />

index policy Policy that specifies how long file and data index entries should remain valid. Clients<br />

specify which index policies they wish to use.<br />

instance Combination of processes that runs each time a database starts up.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


instant backup Type of proxy backup that creates a snapshot of <strong>Oracle</strong> data as a point-in-time copy<br />

on a primary storage unit. See “proxy backup.”<br />

instant restore Type of proxy restore that restores <strong>Oracle</strong> data from a mounted point-in-time copy<br />

that was created during an instant backup. See “proxy restore.”<br />

L<br />

L10N (localization) Capability of the NMO software to generate non-ASCII character and numeric data<br />

based on the locale of the user, and output the data to the user interface. This<br />

capability requires the installation of the appropriate NMO language packs in<br />

non-English locales. See also “I18N (internationalization).”<br />

Glossary<br />

level Backup configuration option that specifies how much data is saved during a<br />

scheduled or manual backup. An NMO backup level is specified by an RMAN<br />

command in the RMAN backup script only:<br />

◆ A full NMO backup backs up all of the data blocks in the database, regardless of<br />

when they last changed.<br />

◆ An incremental NMO backup backs up only data blocks that have changed since<br />

the last backup.<br />

library Hardware device containing one or more removable media drives, as well as slots <strong>for</strong><br />

pieces of media, media access ports, and a robotic mechanism <strong>for</strong> moving pieces of<br />

media between these components. Libraries automate media loading and mounting<br />

functions during backup and recovery. The term library is synonymous with<br />

autochanger, autoloader, carousel, datawheel, jukebox, and near-line storage.<br />

license enabler Enabler code that is required to run a feature or product.<br />

live backup One of the following two types of proxy <strong>Oracle</strong> backup:<br />

◆ “deferred live backup”<br />

◆ “immediate live backup”<br />

M<br />

manual backup Backup that a user per<strong>for</strong>ms from the client, also known as an unscheduled backup.<br />

The user specifies the files, file systems, and directories to be backed up. A manual<br />

backup does not generate a “bootstrap” save set.<br />

media Physical storage, such as magnetic tape, optical disk, or file system, to which backup<br />

data is written. See also “volume.”<br />

media database Database that contains indexed entries about the storage volume location and the<br />

lifecycle status of all data and volumes the <strong>NetWorker</strong> server manages. See also<br />

“volume.”<br />

media index See “media database.”<br />

media manager <strong>NetWorker</strong> database that tracks save sets stored on backup volumes.<br />

media pool Feature to sort backup data to selected storage volumes.<br />

MML (media<br />

management library)<br />

Library of media management routines provided by the NMO software and linked<br />

with the <strong>Oracle</strong> kernel software during the installation of NMO on the <strong>Oracle</strong> Server<br />

host.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 241


Glossary<br />

242<br />

MTTR (mean time to<br />

recover)<br />

mount To make a database available <strong>for</strong> use, or to place a removable tape or disk volume<br />

into a drive <strong>for</strong> reading or writing.<br />

Set time required to per<strong>for</strong>m an instance or media recovery <strong>for</strong> an <strong>Oracle</strong> database.<br />

For example, you might set 10 minutes as the goal <strong>for</strong> media recovery from a disk<br />

failure.<br />

multiplexing <strong>NetWorker</strong> feature that permits data from more than one save set to be<br />

simultaneously written to the same storage device.<br />

N<br />

<strong>NetWorker</strong> Network-based <strong>EMC</strong> software product that backs up and restores file systems.<br />

<strong>NetWorker</strong> client See “client.”<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong><br />

<strong>Oracle</strong><br />

<strong>NetWorker</strong> resource See “resource.”<br />

<strong>NetWorker</strong> server See “server.”<br />

<strong>NetWorker</strong> storage<br />

node<br />

<strong>NetWorker</strong> add-on module <strong>for</strong> the <strong>NetWorker</strong> server software that enables backups<br />

and restores of an <strong>Oracle</strong> DBMS. See also “NMO.”<br />

See “storage node.”<br />

NMO Abbreviation <strong>for</strong> “<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong>.”<br />

notification Message generated and sent to the <strong>NetWorker</strong> administrator about important<br />

<strong>NetWorker</strong> events.<br />

nsrhost Logical hostname of the computer that is the <strong>NetWorker</strong> server.<br />

NWORA resource file Resource file installed during the NMO installation, which must be extended to<br />

include specific additional resources to enable proxy <strong>Oracle</strong> backups and (optionally)<br />

catalog synchronization.<br />

O<br />

offline backup Offline <strong>Oracle</strong> backup per<strong>for</strong>med while the <strong>Oracle</strong> instance is shut down and<br />

unavailable to users.<br />

online backup Online <strong>Oracle</strong> backup per<strong>for</strong>med while the <strong>Oracle</strong> instance is running and available<br />

to users.<br />

online indexes Databases located on the <strong>NetWorker</strong> server that contain all the in<strong>for</strong>mation<br />

pertaining to the client backups (“client file index”) and backup volumes (“media<br />

database”).<br />

operator Person who monitors the server status, loads backup volumes into storage devices,<br />

and executes the day-to-day <strong>NetWorker</strong> tasks.<br />

<strong>Oracle</strong> Enterprise<br />

Manager<br />

<strong>Oracle</strong> Enterprise Manager Backup Management Tools, which include an optional<br />

graphical user interface to the RMAN utility.<br />

<strong>Oracle</strong>10g Server Computer running an <strong>Oracle</strong>10g release 10.x DBMS. See “DBMS.”<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


<strong>Oracle</strong>11g Server Computer running an <strong>Oracle</strong>11g release 11.x DBMS. See “DBMS.”<br />

override Different backup level that is used in place of the regularly scheduled backup level.<br />

P<br />

parallelism Method that backs up or restores data <strong>for</strong> multiple clients, or multiple save sets <strong>for</strong><br />

one client, at the same time.<br />

pathname Set of instructions to the operating system <strong>for</strong> accessing a file:<br />

◆ An absolute pathname indicates how to find a file starting from the root directory<br />

and working down the directory tree.<br />

◆ A relative pathname indicates how to find a file starting from the current location.<br />

physical host Node or host that <strong>for</strong>ms part of a cluster.<br />

point-in-time copy Fully usable copy of a defined collection of data, such as a consistent file system,<br />

database, or volume, which contains an image of the data as it appeared at a single<br />

point in time. A point-in-time (PiT) copy is also called a shadow copy or a snapshot.<br />

A snapshot of <strong>Oracle</strong> data is created on a supported type of primary storage during<br />

an instant backup.<br />

policy Set of constraints that specify how long the save sets <strong>for</strong> a client are available <strong>for</strong><br />

recovery:<br />

◆ For a regular <strong>Oracle</strong> backup and proxy live backup, the <strong>NetWorker</strong> Client<br />

resource specifies a browse policy and a retention policy. The nsr_policy(5) man<br />

page and <strong>NetWorker</strong> command reference guide provide more in<strong>for</strong>mation.<br />

◆ For a proxy instant backup, the <strong>NetWorker</strong> Group resource specifies a snapshot<br />

policy that is configured with a Snapshot Policy resource. The <strong>NetWorker</strong><br />

PowerSnap <strong>Module</strong> documentation provides more in<strong>for</strong>mation.<br />

policy uni<strong>for</strong>mity Consistency of the browse and retention policies in a group of co-dependent save sets<br />

from the same scheduled backup cycle or save set bundle, en<strong>for</strong>ced by NMO to<br />

ensure that incremental backups do not persist after other backups they depend on<br />

have expired.<br />

pool Feature to sort backup data to selected storage volumes.<br />

PowerSnap <strong>EMC</strong> technology that provides point-in-time snapshots of data to be backed up.<br />

Applications that are running on the host system continue to write data during the<br />

snapshot operation, and data from open files is included in the snapshots.<br />

PowerSnap <strong>Module</strong> <strong>EMC</strong> software module that exports services of a storage subsystem by interfacing<br />

with vendor-specific APIs. The module is independent of applications and backup<br />

and recovery interfaces. NMO operates with a PowerSnap <strong>Module</strong> to per<strong>for</strong>m proxy<br />

<strong>Oracle</strong> backups.<br />

preconfigured Initial default selections or configurations <strong>for</strong> software features.<br />

primary storage Server storage subsystem that contains the <strong>Oracle</strong> source data and any persistent<br />

snapshot backups of the data. The <strong>NetWorker</strong> PowerSnap <strong>Module</strong> documentation<br />

provides in<strong>for</strong>mation on the supported types of primary storage.<br />

probe Query operation to determine if a specified condition is met on a client.<br />

Glossary<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 243


Glossary<br />

244<br />

probe-based backup Type of scheduled backup, also known as an event-based backup, where the<br />

<strong>NetWorker</strong> server initiates the backup only when specified conditions are met, as<br />

determined by one or more probes.<br />

proxy client Surrogate client that per<strong>for</strong>ms the <strong>NetWorker</strong> save operation <strong>for</strong> the client that<br />

requests the backup. A proxy client is required to per<strong>for</strong>m a serverless backup.<br />

proxy client host Host used in proxy <strong>Oracle</strong> backups that is separate from the <strong>Oracle</strong> Server host, with<br />

access to the primary storage unit. During a proxy live backup, either the <strong>Oracle</strong><br />

Server host or proxy client host backs up an <strong>Oracle</strong> database point-in-time copy<br />

(snapshot) to secondary storage.<br />

proxy backup Backup of <strong>Oracle</strong> data that creates a point-in-time copy (snapshot) on primary<br />

storage through the PowerSnap <strong>Module</strong>. The snapshot is optionally backed up to<br />

secondary storage, with or without deletion of the snapshot on primary storage. Two<br />

types of proxy <strong>Oracle</strong> backup are the “instant backup” and “live backup.”<br />

proxy restore Restore of <strong>Oracle</strong> data from a proxy <strong>Oracle</strong> backup through the PowerSnap <strong>Module</strong>.<br />

Three types of proxy <strong>Oracle</strong> restore are the “instant restore,” “rollback restore,” and<br />

“restore from secondary storage.”<br />

RDBMS (relational<br />

database<br />

management system)<br />

purging Process of deleting all entries <strong>for</strong> files on a volume from the client file index, but<br />

allowing entries <strong>for</strong> the save sets to remain in the media database.<br />

R<br />

Type of “DBMS” that stores data in the <strong>for</strong>m of related tables.<br />

recover To apply archived redo logs and online redo logs to an <strong>Oracle</strong> database to make the<br />

database consistent with a given point in time.<br />

Recovery Catalog Collection of <strong>Oracle</strong> database tables maintained by RMAN, including in<strong>for</strong>mation<br />

about <strong>Oracle</strong> backup sets and pieces, image and proxy copies, archived redo logs,<br />

stored scripts, and the “target database” schema.<br />

recyclable save set Save set whose browse and retention policies have expired. Recyclable save sets are<br />

removed from the media database.<br />

recyclable volume Volume whose data has exceeded both its browse and retention policies and is now<br />

available to be relabeled and reused.<br />

redo log Online log of an <strong>Oracle</strong> database, consisting of at least two redo log files (separate<br />

from the datafiles) that record all the most current changes made in the database<br />

instance. See also “archived redo log.”<br />

remote device Storage device that is attached to a <strong>NetWorker</strong> storage node.<br />

resource Component of either the <strong>NetWorker</strong> server configuration or the NWORA resource<br />

file:<br />

◆ A <strong>NetWorker</strong> resource describes the <strong>NetWorker</strong> server or its clients. Devices,<br />

schedules, clients, groups, and policies are examples of <strong>NetWorker</strong> resources.<br />

Each resource has attributes that define its properties.<br />

◆ The NWORA resource file contains resources that enable proxy backups and<br />

(optionally) catalog synchronization.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


esource database Database of in<strong>for</strong>mation about each of the configured <strong>NetWorker</strong> resources.<br />

restore from<br />

secondary storage<br />

restore Process of retrieving individual datafiles from backup storage and copying the files<br />

to disk.<br />

Type of proxy restore that restores a proxy backup from a secondary storage<br />

medium, such as tape. See “proxy restore.”<br />

retention policy <strong>NetWorker</strong> policy setting that determines how long save set entries <strong>for</strong> a regular<br />

<strong>Oracle</strong> backup or proxy live backup are retained in the <strong>NetWorker</strong> media database<br />

and the corresponding backup data is recoverable.<br />

RMAN (Recovery<br />

Manager)<br />

Glossary<br />

<strong>Oracle</strong> utility that acts as an intelligent interface to <strong>Oracle</strong> databases and works with<br />

third-party media management products, such as NMO, to back up and restore<br />

<strong>Oracle</strong> database objects.<br />

RMAN catalog RMAN repository that stores in<strong>for</strong>mation about each <strong>Oracle</strong> backup piece in either a<br />

control file of the target database or an RMAN Recovery Catalog.<br />

RMAN script Script of RMAN commands used to per<strong>for</strong>m an NMO backup or restore or an <strong>Oracle</strong><br />

database duplication.<br />

rollback restore Type of proxy <strong>Oracle</strong> restore that restores a specific point-in-time copy (snapshot) of<br />

<strong>Oracle</strong> data to the source location by using the hardware’s particular capabilities. A<br />

rollback is a destructive save set restore. See “proxy restore.”<br />

rollover save set Save set that is backed up to tape from a snapshot. Whether this snapshot is retained<br />

or not depends on a snapshot policy. When a snapshot is rolled over to tape, entries<br />

are made in the client file index and media database, which enable the save set to be<br />

browsed <strong>for</strong> restore.<br />

RPC (remote<br />

procedure call)<br />

root ◆ On UNIX, the superuser account.<br />

◆ On Microsoft Windows and UNIX, the highest level of the system directory<br />

structure.<br />

Protocol that the <strong>NetWorker</strong> server uses to per<strong>for</strong>m client requests over a network.<br />

S<br />

save <strong>NetWorker</strong> command that backs up client files to backup volumes and makes data<br />

entries in the online index.<br />

save set Group of files or a file system from a single client computer, which is backed up on<br />

storage media.<br />

save set bundle Group of co-dependent save sets from the same scheduled backup cycle of an <strong>Oracle</strong><br />

database object, assembled by NMO into a bundle according to configuration<br />

settings.<br />

save set bundle join Creation, during an incremental scheduled NMO backup, of a combined save set<br />

bundle from co-dependent save sets in different save set bundles.<br />

save set bundling Process whereby NMO automatically creates a save set bundle <strong>for</strong> each scheduled<br />

backup cycle of an <strong>Oracle</strong> database object, by grouping all the dependent save sets<br />

from the same backup cycle into a save set bundle.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 245


Glossary<br />

246<br />

save set ID Internal identification number that <strong>NetWorker</strong> software assigns to a save set.<br />

save set status <strong>NetWorker</strong> attribute that indicates whether a save set is browsable, recoverable, or<br />

recyclable. The save set status also indicates whether the save set was successfully<br />

backed up.<br />

save stream Data and save set in<strong>for</strong>mation that is written to a storage volume during a backup. A<br />

save stream originates from a single save set.<br />

scanner <strong>NetWorker</strong> command used to read a backup volume when the online indexes are not<br />

available.<br />

scheduled backup Type of backup that is configured to start automatically at a specified time <strong>for</strong> a<br />

group of one or more <strong>NetWorker</strong> clients. A scheduled backup generates a<br />

“bootstrap” save set.<br />

scheduled backup<br />

cycle<br />

Full or level 0 backup of an <strong>Oracle</strong> database object and all the subsequent incremental<br />

backups that are dependent on the level 0 backup. If “save set bundling” is enabled, a<br />

separate save set bundle is created <strong>for</strong> each scheduled backup cycle.<br />

secondary storage Storage library attached to the <strong>NetWorker</strong> server or storage node, used to store<br />

traditional or snapshot backups.<br />

server Computer on a network that runs the <strong>NetWorker</strong> server software, contains the online<br />

indexes, and provides backup and restore services to the clients and storage nodes on<br />

the same network.<br />

server index File that lists all the server files backed up during a scheduled backup.<br />

service port Port used by a server or storage node to listen <strong>for</strong> backup and restore requests from<br />

clients through a firewall.<br />

shared disk Storage disk that is connected to multiple nodes in a cluster.<br />

shell prompt Cue <strong>for</strong> input in a shell window where you type a command.<br />

SID (system identifier) Unique name <strong>for</strong> an <strong>Oracle</strong> database instance. This value is typically set in an<br />

ORACLE_SID parameter.<br />

silo Repository <strong>for</strong> holding hundreds or thousands of volumes. Silo volumes are<br />

identified by barcodes, not by slot numbers.<br />

skip Backup level in which designated files are skipped and not backed up. See also<br />

“level.”<br />

snap set Group of files, volumes, or file systems from a single client that describes the<br />

collection of data <strong>for</strong> which a point-in-time copy is created on an external disk<br />

subsystem, such as a storage array.<br />

snapshot Point-in-time copy of <strong>Oracle</strong> data created on a supported type of primary storage<br />

during an instant backup.<br />

snapshot policy Policy configured through a <strong>NetWorker</strong> Snapshot Policy resource, to control the<br />

lifecycle of snapshots created during instant backups. The snapshot policy specifies<br />

the frequency of instant backups, and how long snapshots are retained be<strong>for</strong>e<br />

recycling.<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


ssid See “save set ID.”<br />

staging Moving data from one storage medium to a less costly medium, and later removing<br />

the data from its original location.<br />

stand-alone device Type of “storage device” that contains a single drive <strong>for</strong> backing up data. Stand-alone<br />

devices cannot store or automatically load backup volumes.<br />

storage device Hardware that reads and writes data during backup, restore, or other <strong>NetWorker</strong><br />

operations.<br />

storage node Storage device physically attached to a computer other than the <strong>NetWorker</strong> server,<br />

whose backup operations are administered from the controlling <strong>NetWorker</strong> server.<br />

system administrator Person normally responsible <strong>for</strong> installing, configuring, and maintaining <strong>NetWorker</strong><br />

software.<br />

T<br />

tablespace <strong>Oracle</strong> database structure that consists of one or more datafiles.<br />

target database Database that the <strong>NetWorker</strong> server backs up as a safeguard against data loss.<br />

temporary enabler Code that enables operation of the NMO software <strong>for</strong> an additional 45 days beyond<br />

the evaluation period.<br />

TNS (Transparent<br />

Network Substrate)<br />

<strong>Oracle</strong> networking technology that provides a single interface to all standard<br />

network protocols.<br />

traditional restore Type of proxy <strong>Oracle</strong> restore, per<strong>for</strong>med as a regular <strong>Oracle</strong> restore that restores a<br />

point-in-time copy from a secondary storage medium, such as tape. See “proxy<br />

restore.”<br />

traditional storage See “secondary storage.”<br />

unscheduled backup See “manual backup.”<br />

U<br />

user Person who uses <strong>NetWorker</strong> software from a computer to back up and restore files.<br />

V<br />

versions Date-stamped collection of available backups <strong>for</strong> any single file.<br />

volume Backup volume used to store backup data. Backup data cannot be stored on an<br />

archive volume or a clone volume.<br />

volume ID Internal identification that the <strong>NetWorker</strong> software assigns to a backup volume.<br />

volume name Name assigned to a backup volume when it is labeled.<br />

volume pool See “pool.”<br />

Glossary<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 247


Glossary<br />

248<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>


A<br />

ADDRESS_LIST parameter 144<br />

Administrator attribute<br />

in Server resource 63<br />

Administrator program, <strong>NetWorker</strong><br />

Stop button 111<br />

Administrator, <strong>NetWorker</strong><br />

Client resource 87, 170<br />

Device resource 66<br />

Group resource 86, 169<br />

Label Template resource 67<br />

Pool resource 66, 169<br />

Schedule resource 87<br />

Server resource 63<br />

Snapshot Policy resource 150, 154, 169<br />

User Group resource 64<br />

AES encryption 122, 201<br />

allocate channel command<br />

parms option 215<br />

API, SBT 52, 57, 58<br />

archived redo log<br />

backup 20, 131, 147<br />

restore 148<br />

sharing across RAC nodes 147<br />

attributes <strong>for</strong> resources<br />

Client resource 87<br />

Server resource 63<br />

autochanger 66, 105, 123<br />

automatic catalog synchronization <strong>for</strong> proxy backups 181,<br />

191<br />

automatic channel allocation 26, 75, 77<br />

B<br />

backup<br />

Client resource 87, 170<br />

command 165, 214<br />

command (pool option) 210<br />

command (trace option) 217<br />

copies 27<br />

devices, multiple 47<br />

error messages 221, 222<br />

Group resource 86, 169<br />

level (full or incremental in RMAN script) 66<br />

Schedule resource 87<br />

sessions 54<br />

backup and recovery system 49, 50, 152<br />

Backup Command attribute<br />

in Client resource 88, 170, 195, 196<br />

backup copies during manual backups 27<br />

backup current control file command 132<br />

Backup Snapshots attribute<br />

in Snapshot Policy resource 158<br />

backup spfile command 132<br />

backup types<br />

archived redo log 20, 131, 147<br />

control file 130, 132<br />

deduplication 21, 93<br />

deferred live 150, 158, 173<br />

immediate live 150, 156<br />

instant 150, 154, 173, 182<br />

manual 21, 48, 54, 104<br />

<strong>NetWorker</strong> bootstrap 48, 53, 106, 155<br />

NWORA resource file 173, 176<br />

password file 130<br />

probe-based 23, 97<br />

proxy 24, 150, 154, 171<br />

registry files 130<br />

scheduled 21, 48, 110, 154<br />

BACKUP_TAPE_IO_SLAVES parameter 216<br />

bootstrap, <strong>NetWorker</strong> 48, 53, 106, 155<br />

Browse Policy attribute<br />

in Client resource 88, 170<br />

browse policy uni<strong>for</strong>mity 37<br />

bundling, save set 39<br />

C<br />

canceling<br />

manual backup 107<br />

nonresponding backup 107<br />

proxy backup 174<br />

scheduled backup 78, 111<br />

catalog synchronization <strong>for</strong> proxy backups 181, 191<br />

change backuppiece...unavailable command 216<br />

change...crosscheck command 210, 216<br />

change...delete command 192<br />

channel option, send command 212<br />

Index<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 249


Index<br />

client file index 47, 175, 176<br />

Client resource 87, 170<br />

Client resource attributes<br />

Backup Command 88<br />

Browse Policy 88<br />

Group 88<br />

Name 88<br />

Remote Access 89<br />

Retention Policy 89<br />

Save Set 89<br />

Schedule 89<br />

Client Retries attribute<br />

in Group resource 194<br />

Client Retries attribute in Group resource 195<br />

cluster systems 29, 138, 194<br />

command<br />

allocate channel, parms option 215<br />

backup 165, 214<br />

backup (pool option) 210<br />

backup (trace option) 217<br />

backup current control file 132<br />

backup spfile 132<br />

change backuppiece...unavailable 216<br />

change...crosscheck 210, 216<br />

change...delete 192<br />

configure channel, parms option 167, 200<br />

crosscheck 210, 216<br />

delete expired backup 210<br />

nsrnmoinfo 123<br />

restore 214<br />

rman 82, 105, 126<br />

rman send 200, 213, 215<br />

rman.exe 105, 126<br />

savefs 53, 154, 156<br />

savegrp 53, 106, 154, 156<br />

send 166, 200, 211<br />

send (channel option) 212<br />

send (device_type option) 212<br />

send (NSR_ENV keyword) 211<br />

send (precedence rules) 215<br />

set 81, 200<br />

set duplex 215, 216<br />

setenv 81, 200<br />

su 84, 85<br />

Command attribute<br />

in Probe resource 98<br />

Command Options attribute<br />

in Probe resource 98<br />

configuration<br />

Client resource 87, 170<br />

Device resource 66<br />

Group resource 86, 169<br />

Label Template resource 67<br />

manual backup 104<br />

<strong>Oracle</strong> system 63<br />

Pool resource 66, 169<br />

proxy backup 163<br />

roadmap 62<br />

Schedule resource 87<br />

scheduled backup 110<br />

250<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

Server resource 63<br />

Snapshot Policy resource 150, 154, 169<br />

User Group resource 64<br />

configuration wizard 62<br />

configure channel command<br />

parms option 167, 200<br />

connection file, <strong>for</strong> catalog synchronization 184, 186, 188<br />

control file<br />

backup 130, 132<br />

control files, mirrored 130<br />

crosscheck command 210, 216<br />

D<br />

database<br />

manual backup 48, 54, 104<br />

scheduled backup 48, 110, 154<br />

Datazone pass phrase attribute<br />

in Server resource 63<br />

DBID 130, 131<br />

deduplication<br />

backup 21, 93<br />

restore 21<br />

deferred live backup 150, 158, 173<br />

delete expired backup command 210<br />

destructive restores<br />

overview 151<br />

Device resource 66<br />

device_type option, send command 212<br />

devices, multiple 47<br />

disaster recovery<br />

preparation 130<br />

types 133<br />

E<br />

email notification 91<br />

enabling<br />

policy uni<strong>for</strong>mity 93<br />

save set bundling 92<br />

encryption<br />

AES encryption 122, 201<br />

environment variable<br />

LC_ALL 68<br />

NLS_LANG 68<br />

error messages<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> 222<br />

RMAN 221<br />

F<br />

failover<br />

backup 139, 140, 145<br />

connect-time 139, 144<br />

proxy backup 194<br />

FAILOVER parameter 144<br />

<strong>for</strong>ce_rollback option, not supported 178<br />

G<br />

Group attribute<br />

in Client resource 88, 170


Group resource 86, 169<br />

GUI, <strong>NetWorker</strong><br />

Stop button 111<br />

I<br />

I18N (internationalization) 33, 35, 67, 68<br />

immediate live backup 150, 156<br />

initialization parameter file<br />

initoracle_sid.ora 145<br />

PFILE 130, 131, 132<br />

SPFILE 130, 132<br />

INSTANCE_NAME parameter 145<br />

instant backup 150, 154, 173, 182<br />

instant restore 151, 160, 177<br />

internationalization (I18N) 33, 35, 67, 68<br />

L<br />

L10N (localization) 35, 69<br />

Label Template resource 67<br />

LC_ALL environment variable 68<br />

LD_LIBRARY_PATH parameter 81, 82<br />

LIBPATH parameter 82<br />

live backup<br />

deferred 150, 158, 173<br />

immediate 150, 156<br />

LOCAL_LISTENER parameter 145<br />

localization (L10N) 35, 69<br />

LOG_THRESHOLD parameter 98<br />

M<br />

mandatory parameters 81, 98, 202, 203, 204, 206, 207<br />

manual backup 48, 54, 104<br />

canceling 107<br />

monitoring 108<br />

procedure <strong>for</strong> running 104<br />

roadmap 104<br />

manual catalog synchronization <strong>for</strong> proxy backups 191<br />

media database 47, 175, 176<br />

media management<br />

storage devices 66<br />

volume pools 66<br />

media management library (MML) 52, 153, 160, 161<br />

mirrored<br />

control files 130<br />

online redo logs 130<br />

MML 52, 153, 160, 161<br />

MML catalog 181<br />

monitoring<br />

manual backup 108<br />

scheduled backup 112<br />

multiple backup devices 47<br />

N<br />

Name attribute<br />

in Client resource 88<br />

in Probe resource 98<br />

in Server resource 63<br />

network files<br />

listener.ora 130, 131, 144<br />

sqlnet.ora 130, 131<br />

tnsnames.ora 130, 131, 144<br />

<strong>NetWorker</strong><br />

bootstrap backup 48, 53, 106, 155<br />

client file index 47, 175, 176<br />

configuration<br />

Client resource 170<br />

media database 47, 175, 176<br />

media database service, nsrmmdbd 55, 58, 155<br />

media service, nsrmmd 54, 57<br />

processes<br />

restore 163<br />

software features 47<br />

staging 39<br />

<strong>NetWorker</strong> Administrator program<br />

Stop button 111<br />

<strong>NetWorker</strong> configuration<br />

Client resource 87<br />

Device resource 66<br />

Group resource 86, 169<br />

Label Template resource 67<br />

Pool resource 66, 169<br />

roadmap 62<br />

Schedule resource 87<br />

Server resource 63<br />

Snapshot Policy resource 150, 154, 169<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong><br />

API, SBT 52, 57, 58<br />

error messages 222<br />

features 48<br />

MML 153, 160, 161<br />

troubleshooting 220, 221<br />

<strong>NetWorker</strong> PowerSnap <strong>Module</strong>s 24, 48, 65, 150, 163<br />

NLS_LANG environment variable 68<br />

NMO internationalization (I18N) 33, 35, 67, 68<br />

NMO localization (L10N) 35, 69<br />

NMO wizard 62<br />

nmo.messages.raw file 217, 222<br />

NOCATALOG mode 146<br />

nonresponding <strong>Oracle</strong> backup, canceling 107<br />

notification by email 91<br />

NSR_AES_ENCRYPTION parameter 76, 201<br />

NSR_BUNDLING parameter 92<br />

NSR_CHECKSUM parameter 201<br />

NSR_CLIENT parameter 126, 178, 201<br />

NSR_COMPRESSION parameter 201<br />

NSR_DATA_MOVER parameter 167<br />

NSR_DATA_VOLUME_POOL* parameters 67, 78, 202,<br />

216<br />

NSR_DEBUG_FILE parameter 83, 98, 203<br />

NSR_DEBUG_LEVEL parameter 203<br />

NSR_DEDUP_BACKUP parameter 203<br />

NSR_DEDUP_CACHE_ENABLED parameter 203<br />

NSR_DEDUP_CACHE_TAG parameter 204<br />

NSR_DEDUP_CHUNK_SIZE parameter 204<br />

NSR_DEDUP_NODE parameter 204<br />

NSR_DPRINTF parameter 204<br />

NSR_ENCRYPTION_PHRASES parameter 122, 205<br />

NSR_ENV keyword in send command 211<br />

Index<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 251


Index<br />

NSR_GROUP parameter 78, 205<br />

NSR_INCR_EXPIRATION parameter 93<br />

NSR_MAX_STREAMS parameter 168<br />

NSR_MMDB_RETRY_TIME parameter 205<br />

NSR_NO_BUSY_ERRORS parameter 205<br />

NSR_NO_MULTIPLEX parameter 205<br />

NSR_NWPATH parameter 184, 206<br />

NSR_ORACLE_CONNECT_FILE parameter 98, 186<br />

NSR_ORACLE_HOME parameter 186<br />

NSR_ORACLE_LIB_PATH parameter 187<br />

NSR_ORACLE_NLS_LANG parameter 69<br />

NSR_ORACLE_NLS_LANG parameter resource 185<br />

NSR_ORACLE_SID parameter 187<br />

NSR_ORACLE_TNS_ADMIN parameter 187<br />

NSR_ORACLECAT_DEBUG_FILE parameter resource<br />

184<br />

NSR_ORACLECAT_LOG_FILE parameter resource 184<br />

NSR_ORACLECAT_MODE parameter resource 185, 193<br />

NSR_PROXY_PFILE parameter 206<br />

NSR_PS_SAVE_PARALLELISM parameter 167<br />

NSR_RECOVER_POOL parameter 206<br />

NSR_REMOVE_ON_FAILURE parameter resource 185<br />

NSR_RETENTION parameter 89<br />

NSR_RETENTION_DISABLED parameter 206<br />

NSR_RMAN_ARGUMENTS parameter 82<br />

NSR_SAVESET_BROWSE parameter 88, 206<br />

NSR_SAVESET_RETENTION parameter 207<br />

NSR_SB_DEBUG_FILE parameter 83<br />

NSR_SERVER parameter 78, 126, 207<br />

NSR_SERVER_NIC parameter 207<br />

nsrexecd service 53, 54, 57, 154<br />

nsrindexd service 55, 57, 155<br />

nsrmmd service 54, 57<br />

nsrmmdbd service 55, 58, 155<br />

nsrnmo script 53, 81, 154, 157<br />

parameters 79, 80<br />

nsrnmoadmin program 185, 187, 188, 190<br />

nsrnmoinfo command 123<br />

nsrnmoprobe program 24, 98, 99<br />

nsrnmostart program 53, 154, 157<br />

nsroraclecat program 182, 191, 194<br />

nsrsnapck program 154, 157, 191, 192, 194<br />

NWORA parameter resources<br />

NSR_ORACLE_NLS_LANG 185<br />

NSR_ORACLECAT_DEBUG_FILE 184<br />

NSR_ORACLECAT_LOG_FILE 184<br />

NSR_ORACLECAT_MODE 185, 193<br />

NSR_REMOVE_ON_FAILURE 185<br />

NWORA resource file 183, 185, 186, 187<br />

backup 173, 176<br />

NWORA SID resources 186, 187<br />

nworapc directory 178<br />

O<br />

online <strong>NetWorker</strong> indexes 47<br />

online redo logs, mirrored 130<br />

<strong>Oracle</strong><br />

backup and recovery system 49, 50, 152<br />

DBID 130, 131<br />

manual backup script 75, 165, 214<br />

252<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

media management library (MML) 52<br />

mirrored<br />

control files 130<br />

online redo logs 130<br />

password file 78<br />

recover 20, 127<br />

Recovery Catalog 49, 50, 51, 152<br />

Recovery Catalog database<br />

connection to 78<br />

Recovery Manager (RMAN) 49, 57, 152, 159<br />

restore 20, 48, 121, 123, 148<br />

sbtio.log file 217, 222<br />

scheduled backup script 77<br />

Server sessions 54<br />

System Backup to Tape (SBT) API 52, 57, 58<br />

system configuration 63<br />

<strong>Oracle</strong> ASM 44<br />

See also <strong>Oracle</strong> Automated Storage<br />

<strong>Oracle</strong> Automated Storage 44<br />

<strong>Oracle</strong> Enterprise Manager<br />

See <strong>Oracle</strong> Enterprise Manager Backup Management<br />

Tools<br />

<strong>Oracle</strong> Enterprise Manager Backup Management Tools 52,<br />

57, 105, 126, 159<br />

<strong>Oracle</strong> Net 63, 86, 140, 141, 144<br />

ORACLE_HOME parameter 81, 83, 98<br />

ORACLE_SERVICE parameter 98<br />

ORACLE_SID parameter 83<br />

ORACLER_USER parameter 83<br />

P<br />

parallel save stream 47<br />

Parallelism attribute<br />

in Client resource 170<br />

in Server resource 63<br />

parameter<br />

ADDRESS_LIST 144<br />

FAILOVER 144<br />

INSTANCE_NAME 145<br />

LOCAL_LISTENER 145<br />

SERVICE_NAME 144, 145<br />

SID_LIST_LISTENER 144, 145<br />

parameter resources<br />

NSR_ORACLE_NLS_LANG 185<br />

NSR_ORACLECAT_DEBUG_FILE 184<br />

NSR_ORACLECAT_LOG_FILE 184<br />

NSR_ORACLECAT_MODE 185, 193<br />

NSR_REMOVE_ON_FAILURE 185<br />

parameters<br />

BACKUP_TAPE_IO_SLAVES 216<br />

in nsrnmo script 79, 80<br />

LD_LIBRARY_PATH 81, 82<br />

LIBPATH 82<br />

LOG_THRESHOLD 98<br />

mandatory 81, 98, 202, 203, 204, 206, 207<br />

NSR_AES_ENCRYPTION 76, 201<br />

NSR_BUNDLING 92<br />

NSR_CHECKSUM 201<br />

NSR_CLIENT 126, 178, 201<br />

NSR_COMPRESSION 201


NSR_DATA_MOVER 167<br />

NSR_DATA_VOLUME_POOL* 67, 78, 202, 216<br />

NSR_DEBUG_FILE 83, 98, 203<br />

NSR_DEBUG_LEVEL 203<br />

NSR_DEDUP_BACKUP 203<br />

NSR_DEDUP_CACHE_ENABLED 203<br />

NSR_DEDUP_CACHE_TAG 204<br />

NSR_DEDUP_CHUNK_SIZE 204<br />

NSR_DEDUP_NODE 204<br />

NSR_DPRINTF 204<br />

NSR_ENCRYPTION_PHRASES 122, 205<br />

NSR_GROUP 78, 205<br />

NSR_INCR_EXPIRATION 93<br />

NSR_MAX_STREAMS 168<br />

NSR_MMDB_RETRY_TIME 205<br />

NSR_NO_BUSY_ERRORS 205<br />

NSR_NO_MULTIPLEX 205<br />

NSR_NWPATH 184, 206<br />

NSR_ORACLE_CONNECT_FILE 98, 186<br />

NSR_ORACLE_HOME 186<br />

NSR_ORACLE_LIB_PATH 187<br />

NSR_ORACLE_NLS_LANG 69<br />

NSR_ORACLE_SID 187<br />

NSR_ORACLE_TNS_ADMIN 187<br />

NSR_PROXY_PFILE 206<br />

NSR_PS_SAVE_PARALLELISM 167<br />

NSR_RECOVER_POOL 206<br />

NSR_RETENTION 89<br />

NSR_RETENTION_DISABLED 206<br />

NSR_RMAN_ARGUMENTS 82<br />

NSR_SAVESET_BROWSE 88, 206<br />

NSR_SAVESET_RETENTION 207<br />

NSR_SB_DEBUG_FILE 83<br />

NSR_SERVER 78, 126, 207<br />

NSR_SERVER_NIC 207<br />

ORACLE_HOME 81, 83, 98<br />

ORACLE_SERVICE 98<br />

ORACLE_SID 83<br />

ORACLE_USER 83<br />

PATH 81<br />

POSTCMD 85<br />

PowerSnap 165, 166, 167<br />

PRECMD 84<br />

RESTORE_TYPE_ORDER 168, 177, 178, 179<br />

scheduled backup 110<br />

SHLIB_PATH 82<br />

TNS_ADMIN 86<br />

parms option<br />

allocate channel command 215<br />

configure channel command 167, 200<br />

password file 78<br />

backup 130<br />

PATH parameter 81<br />

persistent settings 25, 26, 77<br />

PFILE 130, 131, 132<br />

physical cluster client, proxy backups from 196<br />

point-in-time copy 24, 150, 151, 160, 169, 170, 175<br />

policy<br />

browse 88<br />

retention 89<br />

policy uni<strong>for</strong>mity 37<br />

pool option, backup command 210<br />

Pool resource 66, 169<br />

pool, volume<br />

defined 66<br />

label template <strong>for</strong> 66<br />

pool types 66<br />

POSTCMD parameter 85<br />

postcommand script 85, 131, 134<br />

postprocessing scripts 85<br />

PowerSnap <strong>Module</strong>s 24, 48, 65, 150, 163<br />

PowerSnap parameters 165, 166, 167<br />

precedence rules <strong>for</strong> send command 215<br />

PRECMD parameter 84<br />

preprocessing scripts 84<br />

primary storage 24, 150, 153, 163, 171<br />

Probe resource<br />

attributes<br />

Command 98<br />

Command Options 98<br />

Name 98<br />

probe-based<br />

backup 23, 97<br />

processes<br />

restore 163<br />

program<br />

nsrd 53, 54, 57, 154, 156<br />

nsrexecd 53, 154<br />

nsrindexd 55, 57, 155<br />

nsrmmd 54, 57<br />

nsrmmdbd 55, 58, 155<br />

nsrnmo 53, 154, 157<br />

nsrnmoadmin 185, 187, 188, 190<br />

nsrnmoprobe 24, 98, 99<br />

nsrnmostart 53, 154, 157<br />

nsroraclecat 182, 191, 194<br />

nsrsnapck 154, 157, 191, 192, 194<br />

savefs 53, 154, 156<br />

savegrp 53, 154, 156<br />

proxy<br />

backup 24, 150, 154, 171<br />

restore 151, 159, 177<br />

psrollback.res file 179<br />

R<br />

RAC nodes as storage nodes 142<br />

RAC systems 29, 138, 140<br />

recover 20, 127<br />

Recovery Catalog 49, 50, 51, 152<br />

Recovery Catalog database<br />

connection to 78<br />

Recovery Catalog, backup 130, 132<br />

Recovery Manager (RMAN) 49, 52, 57, 152, 159<br />

backup scripts 75<br />

commands 209<br />

error messages 221<br />

features 50<br />

manual backup scripts 76<br />

proxy backup scripts 165<br />

proxy restore scripts 177<br />

Index<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 253


Index<br />

Recovery Catalog 49, 50, 51, 152<br />

restore scripts 121<br />

scheduled backup scripts 77, 78<br />

redo logs, mirrored 130<br />

registry files<br />

backup 130<br />

relocating files during proxy restores 179, 180<br />

Remote Access attribute<br />

in Client resource 89, 170, 195, 196<br />

remote procedure call (RPC) protocol 47<br />

resource<br />

types of<br />

Client 87, 170<br />

Device 66<br />

Group 86, 169<br />

Label Template 67<br />

Pool 66, 169<br />

Schedule 87<br />

Server 63<br />

Snapshot Policy 150, 154, 169<br />

User Group 64<br />

restore<br />

archived redo log 148<br />

command 214<br />

deduplication 21<br />

determining required volumes 123<br />

from secondary storage 151<br />

instant 151, 160, 177<br />

<strong>Oracle</strong> data 20, 48, 121, 123<br />

processes 163<br />

proxy 151, 159, 177<br />

rollback 151, 160, 177, 179<br />

to a different host 126, 180<br />

RESTORE_TYPE_ORDER parameter 168, 177, 178, 179<br />

Retain Snapshots attribute<br />

in Snapshot Policy resource 182<br />

Retention Policy attribute<br />

in Client resource 89, 170<br />

retention policy uni<strong>for</strong>mity 37<br />

RMAN<br />

See Recovery Manager (RMAN)<br />

RMAN catalog 181<br />

rman command 82, 105, 126<br />

RMAN repository 181<br />

rman send command 200, 213, 215<br />

rman.exe command 105, 126<br />

roadmap<br />

manual backup 104<br />

scheduled backup 110<br />

rollback restore 151, 160, 177, 179<br />

RPC (remote procedure call) 47<br />

S<br />

Save Set attribute<br />

in Client resource 89, 170, 195<br />

save set bundling 39<br />

savefs command 53, 154, 156<br />

savegroup completion report <strong>for</strong> proxy backup 173<br />

savegrp command 53, 106, 154, 156<br />

SBT API 52, 57, 58<br />

254<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong><br />

sbtio.log file 217, 222<br />

Schedule attribute<br />

in Client resource 89, 170<br />

Schedule resource 87<br />

scheduled backup 48, 110, 154<br />

automatic backup of client indexes and server<br />

bootstrap 106<br />

canceling 78, 111<br />

configuring Group resource 86<br />

configuring Schedule resource 87<br />

monitoring 112<br />

parameters 79, 110<br />

postprocessing scripts 85<br />

preprocessing scripts 84<br />

roadmap 110<br />

script<br />

nsrnmo 53, 154, 157<br />

secondary storage 150, 151<br />

send command 166, 200, 211<br />

channel option 212<br />

device_type option 212<br />

NSR_ENV keyword 211<br />

precedence rules 215<br />

Server resource<br />

attributes<br />

Datazone pass phrase 63<br />

Name 63<br />

Parallelism 63<br />

Server resource attributes<br />

Administrator 63<br />

service<br />

nsrd 53, 54, 57, 154, 156<br />

nsrexecd 53, 154<br />

nsrindexd 55, 57, 155<br />

nsrmmd 54, 57<br />

nsrmmdbd 55, 58, 155<br />

SERVICE_NAME parameter 144, 145<br />

set command 81, 200<br />

set duplex command 215, 216<br />

setenv command 81, 200<br />

SHLIB_PATH parameter 82<br />

SID_LIST_LISTENER parameter 144, 145<br />

silo 66<br />

snapshot 24, 150, 151, 160, 169, 170, 175<br />

Snapshot attribute in Group resource 171, 172<br />

Snapshot Policy resource 150, 154, 169<br />

Snapshot Pool attribute in Group resource 169<br />

SPFILE 130, 132<br />

staging 39<br />

Stop button<br />

in <strong>NetWorker</strong> Administrator program 111<br />

stopping<br />

manual backup 107<br />

nonresponding backup 107<br />

scheduled backup 78, 111<br />

storage devices<br />

Device resource 66<br />

volume pool 66, 67<br />

Storage Nodes attribute<br />

in Client resource 170


su command 84, 85<br />

synchronization<br />

automatic catalog 181, 191<br />

manual catalog 191<br />

System Backup to Tape (SBT) API 52, 57, 58<br />

T<br />

tablespace<br />

manual backup 48, 54, 104<br />

scheduled backup 48, 110, 154<br />

target database<br />

connection to 78<br />

TNS_ADMIN parameter 86<br />

trace option, backup command 217<br />

troubleshooting<br />

manual backup 221<br />

<strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> 220, 221<br />

scheduled backup 79, 221<br />

types of backup<br />

archived redo log 20, 131, 147<br />

manual 48, 54, 104<br />

<strong>NetWorker</strong> bootstrap 48, 53, 106, 155<br />

scheduled 48, 110, 154<br />

U<br />

uni<strong>for</strong>mity, policy 37<br />

User Group resource 64<br />

V<br />

virtual cluster client, proxy backups from 195<br />

volume pool<br />

Default pool 78<br />

defined 66<br />

resource 66, 169<br />

specifying 78<br />

types 66<br />

volumes, determining <strong>for</strong> restore 123<br />

W<br />

wizard, configuration 62<br />

Index<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong> 255


Index<br />

256<br />

<strong>EMC</strong> <strong>NetWorker</strong> <strong>Module</strong> <strong>for</strong> <strong>Oracle</strong> <strong>Release</strong> <strong>5.0</strong> <strong>Administration</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!