Avamar For Oracle 19.3 User Guide
Avamar For Oracle 19.3 User Guide
User Guide
19.3
Dell Inc.
June 2021
Rev. 03
Notes, cautions, and warnings
NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid
the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
© 2001 - 2021 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.
Contents
Figures..........................................................................................................................................8
Tables........................................................................................................................................... 9
Preface........................................................................................................................................10
Chapter 1: Introduction................................................................................................................ 13
Architecture.........................................................................................................................................................................13
Stand-alone configuration..........................................................................................................................................13
High-availability configuration................................................................................................................................... 14
Data Domain system support.................................................................................................................................... 15
Log files.......................................................................................................................................................................... 16
Backup and restore operations.......................................................................................................................................16
Backups and restores in Avamar Administrator or the AUI............................................................................... 16
Backup.................................................................................................................................................................................. 17
Backup types................................................................................................................................................................. 17
Archive log backups.....................................................................................................................................................18
Automatic Storage Management and raw file structure support.....................................................................19
Oracle offline backup.................................................................................................................................................. 19
RMAN tuning options.................................................................................................................................................. 19
RMAN backup optimization...................................................................................................................................... 20
RMAN multisection backups.....................................................................................................................................20
Restore and recovery.......................................................................................................................................................20
Corrupt block recovery.............................................................................................................................................. 20
Flashback Database recovery...................................................................................................................................20
Roll forward recovery.................................................................................................................................................20
Restore and recovery from the Cloud.....................................................................................................................21
Year 2038....................................................................................................................................................................... 21
Concurrent backups and restores..................................................................................................................................21
Multiple databases............................................................................................................................................................ 22
Multi-streaming..................................................................................................................................................................22
Oracle Exadata...................................................................................................................................................................22
Oracle recovery catalog...................................................................................................................................................22
Preprocessing and postprocessing backup and restore scripts............................................................................ 22
Chapter 2: Installation.................................................................................................................24
Preparing to install the Avamar Plug-in for Oracle................................................................................................... 24
System requirements..................................................................................................................................................24
Oracle requirements................................................................................................................................................... 25
VCS configurations..................................................................................................................................................... 25
Downloading the software........................................................................................................................................ 25
Installing the Avamar file system client..................................................................................................................26
Installing, upgrading, and uninstalling the software on HP-UX..............................................................................26
Installing the Avamar Plug-in for Oracle on HP-UX............................................................................................26
Upgrading the Avamar Plug-in for Oracle on HP-UX......................................................................................... 27
Contents 3
Uninstalling the Avamar Plug-in for Oracle on HP-UX....................................................................................... 27
Installing, upgrading, and uninstalling the software on IBM AIX............................................................................ 27
Installing the Avamar Plug-in for Oracle on IBM AIX.......................................................................................... 27
Upgrading the Avamar Plug-in for Oracle on IBM AIX....................................................................................... 28
Uninstalling the Avamar Plug-in for Oracle on IBM AIX.....................................................................................29
Installing, upgrading, and uninstalling the software on Linux................................................................................. 29
Installing the Avamar Plug-in for Oracle on Linux............................................................................................... 29
Upgrading the Avamar Plug-in for Oracle on Linux............................................................................................ 30
Uninstalling the Avamar Plug-in for Oracle on Linux........................................................................................... 31
Installing, upgrading, and uninstalling the software on Solaris............................................................................... 31
Installing the Avamar Plug-in for Oracle on a stand-alone Solaris................................................................... 31
Installing the Avamar Plug-in for Oracle on a Solaris cluster............................................................................32
Upgrading the Avamar Plug-in for Oracle on Solaris..........................................................................................35
Uninstalling the Avamar plug-in on a stand-alone Solaris................................................................................. 35
Uninstalling the Avamar Cluster Client for Solaris.............................................................................................. 36
Installing, upgrading, and uninstalling the software on Windows.......................................................................... 36
Installing the Avamar Plug-in for Oracle on Windows .......................................................................................36
Configuring the Avamar cluster client on Windows............................................................................................ 37
Upgrading the Avamar Plug-in for Oracle on Windows..................................................................................... 38
Uninstalling the Avamar Plug-in for Oracle on Windows................................................................................... 38
Excluding Oracle directories from file system backups........................................................................................... 39
Chapter 5: Backup.......................................................................................................................56
Creating the Oracle user account................................................................................................................................. 56
Enabling Block Change Tracking................................................................................................................................... 56
Preparing the database for backup ............................................................................................................................. 57
Performing an on-demand backup................................................................................................................................58
Scheduling backups.......................................................................................................................................................... 60
4 Contents
Creating a dataset.......................................................................................................................................................60
Creating a backup policy............................................................................................................................................62
Enabling a scheduled backup for a backup policy............................................................................................... 62
Monitoring backups.......................................................................................................................................................... 62
Cancel backups..................................................................................................................................................................63
Oracle RAC backup failures............................................................................................................................................ 63
Restarting the backup after the active node’s instance goes down.............................................................. 63
Restarting the backup after a node goes down...................................................................................................63
Enforcement of backups to Data Domain................................................................................................................... 64
Contents 5
Configuring retention policies...................................................................................................................................87
Crosschecking backups............................................................................................................................................. 88
Deleting backups......................................................................................................................................................... 89
Mixing RMAN and Avamar Administrator backups............................................................................................. 90
Synchronizing the RMAN catalog........................................................................................................................... 90
Allocating multiple channels............................................................................................................................................90
Managing RMAN backups and restores through Avamar Administrator..............................................................91
6 Contents
Cluster Configuration Tool fails to start................................................................................................................114
Determining the version of Oracle..........................................................................................................................114
Disk space for the /var/avamar directory............................................................................................................114
Oracle RAC database failover..................................................................................................................................114
Requirements for libobk_avamar.so and libobk_avamar.dll............................................................................. 115
RMAN executable file and Oracle versions.......................................................................................................... 115
Stopping Avamar Administrator processes.......................................................................................................... 116
Unable to browse Oracle databases with Avamar Administrator................................................................... 116
Verifying the client and plug-in versions...............................................................................................................116
Glossary..................................................................................................................................... 118
Contents 7
Figures
8 Figures
Tables
1 Revision history.........................................................................................................................................................10
2 Typographical conventions..................................................................................................................................... 11
3 Hardware requirements..........................................................................................................................................24
4 Environment variables for libobk.......................................................................................................................... 76
5 Backup plug-in options........................................................................................................................................... 92
6 Restore plug-in options.......................................................................................................................................... 96
7 Recovery mode options..........................................................................................................................................98
8 Preprocessing and postprocessing attributes.................................................................................................100
9 Attribute flags......................................................................................................................................................... 100
10 Avamar client installation verification................................................................................................................ 116
Tables 9
Preface
As part of an effort to improve its product lines, Dell EMC periodically releases revisions of its software and hardware.
Therefore, some functions that are described in this document might not be supported by all versions of the software or
hardware currently in use. The product release notes provide the most up-to-date information on product features.
Contact a technical support professional when a product does not function correctly or does not function as described in this
document.
NOTE: This document was accurate at publication time. To find the latest version of this document, go to Online Support
(https://www.dell.com/support).
Purpose
This guide describes how to install, configure, administer, and use the Avamar Plug-in for Oracle.
Audience
This document is intended for:
● System administrators who are responsible for installing software and maintaining servers and clients on a network
● Oracle Database Administrators (DBAs) who are responsible for backing up and maintaining Oracle databases
Revision history
The following table presents the revision history of this document.
Related documentation
The following publications provide additional information:
● Avamar Administration Guide
● Avamar Backup Clients User Guide
● Avamar for Windows Server User Guide
● Avamar Operational Best Practices Guide
● E-LAB Navigator at https://elabnavigator.emc.com/eln/elnhome
● Avamar Release Notes
● Avamar and Data Domain System Integration Guide
10 Preface
Typographical conventions
Table 2. Typographical conventions
Bold Used for names of interface elements, such as names of windows, dialog boxes, buttons,
fields, tab names, key names, and menu paths (what the user specifically selects or clicks)
Italic Used for full titles of publications that are referenced in text
Monospace Used for:
● System code
● System output, such as an error message or script
● Pathnames, filenames, prompts, and syntax
● Commands and options
Monospace italic Used for variables
Monospace bold Used for user input
[] Square brackets enclose optional values
| Vertical bar indicates alternate selections - the bar means "or"
{} Braces enclose content that the user must specify, such as x or y or z
... Ellipses indicate nonessential information that is omitted from the example
Documentation
The Avamar product documentation provides a comprehensive set of feature overview, operational task, and technical
reference information. To supplement the information in product administration and user guides, review the following
documents:
● Release notes provide an overview of new features and known limitations for a release.
● Technical notes provide technical details about specific product features, including step-by-step tasks, where necessary.
● White papers provide an in-depth technical perspective of a product or products as applied to critical business issues or
requirements.
Knowledgebase
The Knowledgebase contains applicable solutions that you can search for either by solution number (for example, KB000xxxxxx)
or by keyword.
To search the Knowledgebase:
1. Go to https://www.dell.com/support.
2. Under the Support tab, click Knowledge Base.
3. Type either the solution number or keywords in the search box. Optionally, you can limit the search to specific products by
typing a product name in the search box and then selecting the product from the list that appears.
Preface 11
Online communities
Go to Community Network at https://www.dell.com/community for peer contacts, conversations, and content on product
support and solutions. Interactively engage online with customers, partners, and certified professionals for all products.
Live chat
To engage Customer Support by using live interactive chat, click Join Live Chat on the Service Center panel of the Avamar
support page.
Service Requests
For in-depth help from Customer Support, submit a service request by clicking Create Service Requests on the Service
Center panel of the Avamar support page.
NOTE: To open a service request, you must have a valid support agreement. Contact a sales representative for details
about obtaining a valid support agreement or with questions about an account.
To review an open service request, click the Service Center link on the Service Center panel, and then click View and
manage service requests.
Enhancing support
It is recommended to enable ConnectEMC and Email Home on all Avamar systems:
● ConnectEMC automatically generates service requests for high priority events.
● Email Home sends configuration, capacity, and general system information to Customer Support.
12 Preface
1
Introduction
Topics:
• Architecture
• Backup and restore operations
• Backup
• Restore and recovery
• Concurrent backups and restores
• Multiple databases
• Multi-streaming
• Oracle Exadata
• Oracle recovery catalog
• Preprocessing and postprocessing backup and restore scripts
Architecture
The Avamar ® Plug-in for Oracle works with Oracle and Oracle Recovery Manager (RMAN) to back up Oracle databases,
tablespaces, or datafiles to an Avamar server or a Data Domain ® system. The Avamar Plug-in for Oracle serves as a backup
module and the Avamar server or Data Domain system as a storage device. You can perform backups and restores from Avamar
Administrator or from the RMAN command line interface.
From the RMAN command line interface, RMAN uses the Avamar Plug-in for Oracle as a data mover to perform backup and
recovery. From Avamar Administrator, the Avamar Plug-in for Oracle creates an RMAN script to perform the backup or restore
operation and spawns an RMAN process to run the script. RMAN then uses the Avamar Plug-in for Oracle as a data mover to
perform a backup or a restore operation.
Stand-alone configuration
You can deploy the Avamar Plug-in for Oracle in stand-alone configurations for all supported platforms.
The following figure shows a stand-alone configuration that uses the Avamar Plug-in for Oracle to back up or restore Oracle
data to or from an Avamar server or a Data Domain system.
Introduction 13
Figure 1. Avamar Plug-in for Oracle in a stand-alone configuration
High-availability configuration
You can also deploy the Avamar Plug-in for Oracle in high-availability (HA) configurations such as Microsoft Cluster Server
(MSCS), Solaris Cluster Server (VCS), and Oracle Real Application Clusters (RAC).
MSCS configurations
The Avamar Plug-in for Oracle supports two-node MSCS configuration. You can use the Avamar Plug-in for Oracle to back up
Oracle database files from Windows Server 2008 and MSCS for both 32-bit and 64-bit platforms.
VCS configurations
The Avamar Plug-in for Oracle supports both two-node active/active and two-node active/passive VCS configurations. You can
use the Avamar Plug-in for Oracle to back up Oracle database files from Solaris platforms that run VCS.
In an active/active cluster configuration, each node runs an instance of the Avamar Plug-in for Oracle as an application in
separate service groups. This functionality provides application redundancy. When a failure occurs on one active node, the other
active node hosts both service groups.
In an active/passive cluster configuration, the service group is online on the active node until a failover occurs. Then the service
group comes online on the passive node.
You can run backups and restores from both nodes.
14 Introduction
RAC configurations
RAC is an option for an Oracle database that enables multiple nodes to have shared access to a single database. The Avamar
Plug-in for Oracle supports backups of RAC configuration on HP-UX, IBM AIX, Linux, Solaris, or Windows platforms, and
requires that Oracle RAC installation is in the English language.
The Avamar Plug-in for Oracle installation packages for the HP-UX, IBM AIX, Linux, and Solaris platforms include three
configuration scripts for Oracle RAC:
● rac_config—Configures the Avamar Plug-in for Oracle to back up and restore RAC databases.
● rac_deconfig—Deletes the RAC configuration from the Avamar Plug-in for Oracle.
● rac_stop—Removes the Avamar agent (EMCagent) from the Oracle Clusterware resource list.
The Avamar Plug-in for Oracle installation package for Microsoft Windows includes AvamarRACConfiguration.exe.
Use Avamar Administrator to back up and restore Oracle RAC databases just as you would for non-RAC databases. In an Oracle
RAC configuration, each cluster node runs a local instance of the Oracle database and maintains a local copy of online logs. The
instance name differs from the database unique name.
To back up an Oracle RAC database, the Avamar Plug-in for Oracle connects to the instance of the database that is running on
the current active node. To restore an Oracle RAC database, you must first shut down all database instances, and then start the
instance on the registered node in a “no mount” state.
When one cluster node fails or is taken offline, the other cluster nodes continue operating. The Oracle RAC database remains
available to users without interruption. The Avamar Plug-in for Oracle backs up and restores Oracle RAC databases by
connecting to the instance that runs on the cluster node. This node is the one registered with the Avamar server.
Because each node runs an instance of the Oracle database in a RAC configuration, when a failover occurs, users access the
database on the failover node. The failover process is transparent to the users.
Introduction 15
Log files
The Avamar Plug-in for Oracle creates log files during backup and restore operations. The log files are for debugging purposes.
Backup and restore operations from Avamar Administrator create the avoracle.log file in the install-directory/var/
clientlogs directory.
The following figure shows the process flow between the Avamar client and Avamar server.
The Oracle backup process generates an RMAN script similar to the following script:
configure controlfile autobackup on;
run {
allocate channel c1 type sbt;
send 'connect information for avtar to connect to the Avamar server';
backup database;
}
During the backup or restore operation, RMAN creates a log file that you can view from Avamar Administrator, or the AUI:
16 Introduction
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters are successfully stored
allocated channel: c1
channel c1: sid=142 devtype=SBT_TAPE
channel c1: AVTAR/Avamar backup
sent command to channel: c1
Backup
The Avamar Plug-in for Oracle enables you to back up Oracle database files and archive logs by using Avamar Administrator, the
AUI, or RMAN backup scripts. When you use an RMAN script, you can back up an Oracle database, a tablespace, or a single
datafile.
Backup types
The Avamar Plug-in for Oracle supports the following types of backups:
● Backups of Oracle database files and archive logs.
● Cold (offline) backups of the Oracle file system.
● Four backup levels:
○ Full—Backs up all data files. You can optionally choose to backup the archive logs during a Level 0 (incremental) backup
or at a later time.
Level full, the default backup level, is not part of the incremental backup strategy.
○ Level 0 (incremental)—Backs up all data files.
You must run a Level 0 backup before you run a Level 1 backup.
○ Differential (incremental)—Backs up all database blocks that have changed since the most recent incremental
(differential or cumulative) or level 0 backup. The following figure shows daily level 1 differential backups during a
two-week period.
Introduction 17
Figure 3. Level 1 differential backups
○ Cumulative (incremental)—Backs up all database blocks that have changed since the most recent level 0 backup.
Restoring a backup from a cumulative backup is faster than restoring a backup from a differential backup. Cumulative
backups, however, require more disk space and take longer to complete than differential backups.
Perform cumulative level backups when recovery time is more important than disk space. The following figure shows daily
level 1 cumulative backups during a two-week period.
18 Introduction
Automatic Storage Management and raw file structure support
The Avamar Plug-in for Oracle supports backups of databases that use Automated Storage Management (ASM) for storage
management and raw file structure.
In RMAN multiplexing on page 19, RMAN simultaneously reads three files and writes them to the backup set intermingled.
The RMAN multiplexing feature intermingles the backup files, and does not provide the data stream in a similar format for
subsequent reads.
Because of how the RMAN multiplexing feature intermingles files, backups by the Avamar Plug-in for Oracle to the Avamar
server can contain the duplicate data even if no changes were made to the database since the last backup. The RMAN
multiplexing feature can negatively affect the data deduplication ratio of the Avamar Plug-in for Oracle.
The Avamar Plug-in for Oracle improves data deduplication performance by enabling you to use the Filesperset option in
Avamar Administrator.
The Filesperset option specifies the number of files to include in each backup set. The default value of the Filesperset option
is 1. When you specify a value for the Filesperset option, RMAN uses the value as a limit for the number of files RMAN includes
in a backup set.
Introduction 19
RMAN backup optimization
The Avamar Plug-in for Oracle supports the RMAN backup optimization feature through the RMAN CLI only. By enabling the
backup optimization feature, the RMAN backup command skips the backup of a file if an identical file is already backed up to the
allocated device type.
Enable backup optimization with the configure backup optimization on RMAN command.
Enabling backup optimization reduces backup time. The Oracle documentation provides more information about backup
optimization.
Enabling RMAN backup optimization on page 78 provides more information about performing backups that use the backup
optimization feature.
20 Introduction
To roll forward a database after a restore operation completes, you must clear the Open the database with resetlogs after
recovery option in the Restore Command Line Options dialog box. When you clear this option, the restore operation does
not open the database with resetlogs. You can apply archive logs to recover the database to the most current point-in-time that
is available.
Year 2038
Avamar 19.2 and later server subsystems support backup retention until February 2106. However, in earlier releases, the Avamar
server subsystems do not start after January 2038 due to the signed 32-bit integer time format of UNIX and Linux operating
systems, and therefore cannot restore backup data after this date.
Newer Avamar releases offer support for longer retention periods:
● Backup retention after 2038 is successful when all Avamar subsystems use unsigned 32-bit integers.
● In Avamar 19.2 and later releases, the Avamar server, client, and plug-ins subsystems all use an unsigned 32-bit integer and
will continue to start and retain data until 2106.
● In Avamar 19.1, only the Avamar server subsystem used an unsigned 32-bit integer, and will continue to start until 2106.
However, the Avamar client and plug-ins subsystems used a signed 32-bit integer and will only retain data until 2038.
● In Avamar 19.1 and earlier releases, the Avamar server, client, and plug-ins subsystems all used a signed 32-bit integer, and
will only continue to start and retain data until 2038.
Therefore, with an Avamar 19.2 and later server subsystem and Avamar 19.2 or later client and plug-ins subsystems, all backup
retention succeeds after 2038.
Avamar 19.2 and later clients also support restoring backups where the retention time is after 2038, and where the local (server
and client) time is after 2038. Earlier client releases do not support this.
For backups of Windows or Linux clients, do not assign a retention period for a date after February 7, 2106.
Introduction 21
Multiple databases
The Avamar Plug-in for Oracle supports the selection of multiple databases for both backup and restore operations.
When multiple databases are backed up on the same workorder, they are logically grouped so that Avamar Administrator can
present a hierarchical view of the databases during subsequent restore operations. This grouping is accomplished by prefixing a
path that comprises the ORACLE-INSTANCE and ORACLE-SID to each database within the backup. For example, an Oracle 11g
database with ORACLE-SID set to orcl is prefixed with /11g/orcl/.
Multi-streaming
Multi-streaming is a feature that enables a backup or a restore to use multiple RMAN channels to the Avamar server or the Data
Domain system. A backup or restore that uses multiple RMAN channels runs multiple instances of avtar in parallel.
RMAN might not use all the RMAN channels that you specify. For example, if you specify 4 RMAN channels for a backup,
RMAN might use only 2 channels. The backup ignores the other 2 channels. The default number of RMAN channels is 1 and the
maximum is 10.
Allocating multiple RMAN channels for backups and restores can improve performance. Performance improvements for backups
and restores, however, depend on the Oracle server configuration.
You can specify multiple RMAN channels for backups and restores by using the Number of RMAN Channels option in Avamar
Administrator or by specifying allocate channel commands in an RMAN script.
Oracle Exadata
Oracle Exadata is a product that combines hardware and software to run Oracle. The Avamar Plug-in for Oracle supports Oracle
Exadata for Oracle Database Machine and Exadata Storage Server (attached to an external database server) configurations.
The Avamar Plug-in for Oracle supports the same environment for Oracle Exadata (including the Oracle database versions,
operating system versions, and Avamar versions) as the environment that the Avamar Plug-in for Oracle supports for Oracle
RAC. The E-LAB Navigator provides more information about supported environments for the Avamar Plug-in for Oracle.
Install and configure the Avamar Plug-in for Oracle on the Exadata database server the same way you install and configure the
Avamar Plug-in for Oracle in Oracle RAC configurations. Use Avamar Administrator to back up and restore the Exadata database
server just as you would for non-Exadata database servers. Backup on page 56 and Restore and Recovery on page 65 provide
more information.
22 Introduction
You can use preprocessing and postprocessing scripts for various tasks, such as the following tasks:
● Copying logs from the var directory to different directory before a backup.
● Preparing the databases for a backup or restore.
● Running SQL queries to get database information.
● Setting environment parameters.
All preprocessing and postprocessing scripts must be in the /avamar/etc/scripts directory on the client. The
preprocessing and postprocessing feature is an advanced option in Avamar Administrator. Preprocessing and postprocessing
scripts and attributes on page 100 provides more information.
In addition to using preprocessing and postprocessing scripts, the Avamar Plug-in for Oracle supports the use of preprocessing
and postprocessing attributes. Specify preprocessing and postprocessing attributes and attribute values in the Enter Attribute
and Enter Attribute Value fields.
Introduction 23
2
Installation
Topics:
• Preparing to install the Avamar Plug-in for Oracle
• Installing, upgrading, and uninstalling the software on HP-UX
• Installing, upgrading, and uninstalling the software on IBM AIX
• Installing, upgrading, and uninstalling the software on Linux
• Installing, upgrading, and uninstalling the software on Solaris
• Installing, upgrading, and uninstalling the software on Windows
• Excluding Oracle directories from file system backups
System requirements
The environment must meet client compatibility requirements before you install the Avamar Plug-in for Oracle.
Client compatibility requirements are available in the E-LAB Navigator. The requirements in the E-LAB Navigator include
supported operating systems and application versions. The Avamar file system client and the Avamar Plug-in for Oracle that you
install on the host must be the same version.
If Oracle RAC is being used, the Avamar Plug-in for Oracle requires that Oracle RAC be installed in the English language.
Hardware requirements
The following table lists hardware requirements for the Avamar Plug-in for Oracle.
Software requirements
To install the Avamar Plug-in for Oracle in a Windows cluster requires the Microsoft .NET Framework 4 software.
You can download and install the .NET Framework 4 from the Microsoft Download Center.
24 Installation
Oracle requirements
Ensure that you meet Oracle requirements before you install the Avamar Plug-in for Oracle.
1. Ensure that you have operating system root privileges on the Oracle server.
2. Ensure that Oracle and RMAN are installed and functioning properly.
3. Ensure that the Avamar server is operational and present on the same network as the Oracle server by opening a command
shell on the Oracle server and typing the following command:
ping Avamar-server
where Avamar-server is the network hostname (as defined in DNS) or IP address of the Avamar server.
4. Note the network hostname (which is a DNS entry) for the Avamar server and the utility node.
The installation and configuration of the Avamar system adds these entries to DNS.
VCS configurations
The Avamar Plug-in for Oracle supports both two-node active/active and two-node active/passive VCS configurations. You can
use the Avamar Plug-in for Oracle to back up Oracle database files from Solaris platforms that run VCS.
In an active/active cluster configuration, each node runs an instance of the Avamar Plug-in for Oracle as an application in
separate service groups. This functionality provides application redundancy. When a failure occurs on one active node, the other
active node hosts both service groups.
In an active/passive cluster configuration, the service group is online on the active node until a failover occurs. Then the service
group comes online on the passive node.
You can run backups and restores from both nodes.
Steps
1. Log in to the Oracle server with the necessary privileges to perform an installation.
2. Open a web browser and type the following URL:
https://Avamar_server/dtlt/home.html
where Avamar_server is the DNS name or IP address of the Avamar server.
The Avamar Web Restore page appears.
3. Click Downloads.
The Downloads list appears.
4. Click + next to the platform heading for the Oracle server.
5. Click + next to the operating system heading for the Oracle server.
6. Click the link for the Avamar Plug-in for Oracle installation package.
7. Save the Avamar Plug-in for Oracle installation package to a temporary directory.
Installation 25
Installing the Avamar file system client
You install the appropriate Avamar file system client before you install the Avamar Plug-in for Oracle.
Steps
● For HP-UX, IBM AIX, Linux, and Solaris systems, follow the instructions in the Avamar Backup Clients User Guide.
● For Windows systems, follow the instructions in the Avamar for Windows Server User Guide.
Steps
1. Log in to the Oracle server as root.
2. Change the directory to the temporary directory by typing the following command:
cd /tmp
where tmp is the temporary directory.
3. To install the Avamar Plug-in for Oracle in the default directory, type the following command:
swinstall -s AvamarRMAN-platform-version.depot \*
where:
● platform is the HP-UX platform type.
● version is the Avamar version number.
4. To install the Avamar Plug-in for Oracle in an alternate directory:
a. Type the following command:
swinstall -x ask=true -s /tmp/AvamarRMAN-platform-version.depot hpuxrman,l=/
install_path
where:
● platform is the HP-UX platform type.
● version is the Avamar version number.
● install_path is the installation directory.
b. Type the name of the directory to use for the installation.
The following appears in the command shell:
Confirm ‘/install_path/’ is the desired location. [n]
c. Type y to confirm the location.
26 Installation
Upgrading the Avamar Plug-in for Oracle on HP-UX
The version of the Avamar Client for HP-UX and Avamar Plug-in for Oracle must be the same version.
Steps
1. Uninstall the Avamar Plug-in for Oracle. Uninstalling the Avamar Plug-in for Oracle on HP-UX on page 27 provides
instructions.
2. Uninstall the Avamar Client for HP-UX. The Avamar Backup Clients User Guide provides instructions.
3. Download and install the new version of the Avamar Client for HP-UX. The Avamar Backup Clients User Guide provides
instructions.
4. Download the Avamar Plug-in for Oracle installation package. Downloading the software on page 25 provides instructions.
5. Install the new version of the Avamar Plug-in for Oracle. Installing the Avamar Plug-in for Oracle on HP-UX on page 26
provides instructions.
Steps
1. Log in to the Oracle server as root.
2. Uninstall the Avamar Plug-in for Oracle by typing the following command:
swremove hpuxrman
Steps
1. Log in to the Oracle server as root.
Installation 27
2. Change the directory to the temporary directory by typing the following command:
cd /tmp
where tmp is the temporary directory.
3. To install the Avamar Plug-in for Oracle in the default directory, type the following command:
geninstall -d AvamarRMAN-aix6-ppc-version.bff all
where version is the version of the Avamar software.
4. To install the Avamar Plug-in for Oracle in an alternate directory, type the following command:
installp -R /install_path -d AvamarRMAN-aix6-ppc-version.bff all
where:
● install_path is the directory for the installation files.
● version is the Avamar software version.
Steps
1. Download the Avamar Plug-in for Oracle installation packages. Downloading the software on page 25 provides instructions.
2. Log in to the Oracle server as root.
3. Change the directory to the temporary directory by typing the following command:
cd /tmp
where tmp is the temporary install directory.
4. To upgrade the Avamar Plug-in for Oracle in the default installation directory, type the following command:
geninstall -d AvamarRMAN-platform-version.bff all
where:
● platform is the AIX system type.
● version is the Avamar software version.
5. To upgrade the Avamar Plug-in for Oracle in an alternate installation directory, type the following command:
installp -R /install_path -d AvamarRMAN-platform-version.bff all
where:
● install_path is the alternate installation directory.
● platform is the AIX system type.
● version is the Avamar software version.
6. Download the Avamar Client for AIX. The Avamar Backup Clients User Guide provides instructions.
7. To upgrade the Avamar Client for AIX in the default installation directory, type the following command:
geninstall -d AvamarClient-platform-version.bff all
where:
● platform is the AIX system type.
● version is the Avamar software version.
8. To upgrade the Avamar Client for AIX in an alternate installation directory, type the following command:
installp -R /install_path -d AvamarClient-platform-version.bff all
where:
● install_path is the alternate installation directory.
● platform is the AIX system type.
● version is the Avamar software version.
28 Installation
Uninstalling the Avamar Plug-in for Oracle on IBM AIX
You can uninstall the Avamar Plug-in for Oracle from an IBM AIX system by using the geninstall -u command.
Steps
1. Log in to the Oracle server as root.
2. To list Avamar packages installed in the default directory, type the following command:
lslpp -l | grep Avamar
The following appears in the command shell:
AvamarClient-aix6-ppc VERSION COMMITTED Avamar client VERSION
AvamarRMAN-aix6-ppc VERSION COMMITTED Avamar client VERSION
3. To list Avamar packages installed in an alternate installation directory, type the following command:
lslpp -la -R /install_path | grep Avamar
where install_path is the alternate installation directory.
4. To uninstall AIX package from a non default location, type the following command:
installp -u AvamarRMAN-aix6-ppc
Or
installp -R alternate_path -u AvamarRMAN-aix6-ppc where alternate_path is the pathname of the
alternate directory.
5. To uninstall the Avamar Plug-in for Oracle software, type the following command:
geninstall -u AvamarRMAN-aix6-ppc-version.bff
where version is the Avamar version number.
Steps
1. Log in to the Oracle server as root.
2. Change the directory to the temporary directory by typing the following command:
cd /tmp
Installation 29
where tmp is the temporary directory.
3. To install the Avamar Plug-in for Oracle in the default directory, type the following command:
rpm -ivh AvamarRMAN-linux-platform-version.rpm
where:
● platform is the Linux system type.
● version is the Avamar software version.
4. To change base directory for the installation, type the following command:
rpm --relocate /usr/local/avamar=/install_path -i AvamarRMAN-linux-platform-version.rpm
where:
● install_path is the new directory.
● platform is the Linux system type.
● version is the Avamar software version.
5. To change the base directory and var directory locations during the installation, type the following command:
rpm -ivh --relocate /usr/local/avamar=install_path --relocate /var/avamar=var_path
AvamarRMAN-linux-platform-version.rpm
where:
● install_path is the new directory.
● var_path is the new var directory.
● platform is the Linux system type.
● version is the Avamar software version.
Steps
1. Upgrade the Avamar Client for Linux by using the instructions in the Avamar Backup Clients User Guide.
2. Change the directory to the temporary directory by typing the following command:
cd /tmp
where tmp is the temporary install directory.
3. To upgrade the software in the default directory, type the following command:
rpm -Uvh AvamarRMAN-linux-platform-version.rpm
where:
● platform is the Linux platform type.
● version is the Avamar software version.
4. To upgrade the software in a nondefault installation directory, type the following command:
rpm -Uvh --relocate /usr/local/avamar=install_path AvamarRMAN-linux-platform-version.rpm
where:
● install_path is the installation directory that you specified when you installed the earlier version of the Avamar Plug-in for
Oracle software.
● platform is the Linux platform type.
● version is the Avamar software version.
5. To upgrade the software and use a nondefault var directory, type the following command:
rpm -Uvh --relocate /var/avamar=var_path AvamarRMAN-linux-platform-version.rpm
where:
● var_path is the var directory that you specified when you installed the earlier version of the Avamar Plug-in for Oracle
software.
● platform is the Linux platform type.
● version is the Avamar software version.
30 Installation
The rpm -Uvh command automatically uninstalls the earlier version of the Avamar Plug-in for Oracle, and then installs the
new version.
Steps
1. Log in to the Oracle server as root.
2. To view all Avamar packages installed on the system, type the following command:
rpm -qa | grep Av
A list of Avamar software appears in the command shell:
download-AvamarRMAN-version
download-AvamarClient-version
Installation 31
Steps
1. Log in to the Oracle server as root.
2. Change the directory to the temporary directory by typing the following command:
cd /tmp
where tmp is the temporary install directory.
3. Install the Avamar Plug-in for Oracle by typing the following commands:
pkgadd -d AvamarRMAN-solaris10-platform-version.pkg
where:
● platform is the Solaris platform type.
● version is the Avamar version number.
The following output appears in the command shell:
The following packages are available:
1 AVMRrman Avamar Client Plugin for Oracle RMAN
(sparc) 7.2.100-nnn
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
4. Type 1 and press Enter.
The following output appears in the command shell:
Processing package instance <AVMRrman> from
</AvamarRMAN-solaris10-sparc-7.2.100-nnn.pkg>
Avamar Client Plugin for Oracle RMAN(sparc) 7.2.100-nnn
## Executing checkinstall script.
Using as the package base directory.
## Processing package information.
## Processing system information.
4 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with
super-user permission during the process of installing this
package.
Do you want to continue with the installation of <AVMRrman> [y,n,?]
5. Type y and press Enter.
The installation runs to completion.
Steps
1. Log in to the active VCS node as root.
2. Change the directory to the temporary directory by typing the following command:
cd /tmp
where tmp is the temporary install directory.
3. Install the software by typing the following commands:
pkgadd -d AvamarClusterClient-solaris10-platform-version.pkg
where:
32 Installation
● platform is the Solaris platform type.
● version is the Avamar version number.
cd /opt/AVMRclusclnt/bin/
./avclusinstall
NOTE: The state of oraclegrp can be either ONLINE or PARTIAL. Usually the state is ONLINE.
8. Type the resource name of the Avamar application and press Enter.
The following output appears in the command shell:
Available mount Resources:
1. oramnt (Mount point: /fsclus01)
Selected mount resource: oramnt
Do you want to install Avamar Client Plugin for Oracle RMAN? (y/n)[y]:
9. Type y and press Enter.
The following output appears in the command shell:
Installation 33
Enter the hostname or dns alias associated with virtual-ip
(15.16.140.13):
10. Type the hostname or DNS alias and press Enter.
The following output appears in the command shell:
Active node detected
=== Client Registration and Activation
This script will register and activate the client with the Administrator server.
Using /opt/AVMRclusclnt/cluster/oraclegrp/var as the var dir
for the group oraclegrp avagent
Enter the Administrator server address (DNS text name or
numeric IP address, DNS name preferred):
NOTE: The hostname or DNS alias must match the hostname specified by the HOST parameter in the tnsnames.ora
and listener.ora files.
11. Type the hostname (defined in DNS) or IP address for the Administrator server and press Enter.
The following output appears in the command shell:
Enter the Avamar server domain [clients]:
12. Type the domain name and press Enter.
The following output appears in the command shell:
avagent.d Info: Client Agent not running.
avagent Info <5241>: Logging to /opt/AVMRclusclnt/cluster/oraclegrp/var/avagent.log
avagent Info <5174>: - Reading /opt/AVMRclusclnt/cluster/oraclegrp/var/avagent.cmd
avagent.d Info: Client activated successfully.
avagent Info <5241>: Logging to /opt/AVMRclusclnt/cluster/oraclegrp/var/avagent.log
avagent Info <5174>: - Reading /opt/AVMRclusclnt/cluster/oraclegrp/var/avagent.cmd
avagent Info <5417>: daemonized as process id 7154
avagent.d Info: Client Agent started.
avagent.d Info: Stopping Avamar Client Agent (avagent)...
avagent.d Info: Client Agent stopped.
Registration Complete.
Avamar Client has been installed for service group 'oraclegrp' successfully.
Do you want to install Avamar in another service group? (y/n) [n]:
13. Type n and press Enter.
14. Log in to the passive node as root and type the following commands:
cd /opt/AVMRclusclnt/bin
./avclusinstall
34 Installation
hares -online avagent_servicegroup -sys hostname
where:
● avagent_servicegroup is the default name of the Avamar VCS cluster agent. If you did not select the default name in
Upgrading the Avamar Plug-in for Oracle on HP-UX on page 27, use the name you specified in Upgrading the Avamar
Plug-in for Oracle on HP-UX on page 27.
● hostname is the system where the VCS service group is in PARTIAL state.
Steps
1. Uninstall the Avamar Plug-in for Oracle. Uninstalling the Avamar plug-in on a stand-alone Solaris on page 35 provides
instructions.
2. Uninstall the Avamar Client for Solaris. The Avamar Backup Clients User Guide provides instructions.
3. Download the Avamar Plug-in for Oracle installation package. Downloading the software on page 25 provides instructions.
4. Download and install the new version of the Avamar Client for Solaris. The Avamar Backup Clients User Guide provides
instructions.
5. Install the new version of the Avamar Plug-in for Oracle:
● Installing the Avamar Plug-in for Oracle on a stand-alone Solaris on page 31 provides instructions for installations on a
stand-lone system.
● Installing the Avamar Plug-in for Oracle on a Solaris cluster on page 32 on a Solaris cluster.
Steps
1. Log in to the Oracle server host as root.
2. To view all Avamar packages installed on the system, type the following command:
pkginfo | grep AVMR
Information similar to the following appears in the command shell:
The following packages are currently installed:
1 AVMRclnt Avamar Client
(sparc) 7.2.100-nnn
2 AVMRrman Avamar Client Plugin for Oracle RMAN
(sparc) 7.2.100-nnn
3. To uninstall the software, type the following command:
pkgrm package_name
where package_name is the Avamar plug-in package displayed in step 2.
The following output appears in the command shell:
The following package is currently installed:
package_name
Do you want to remove this package?
Installation 35
4. Type y and press Enter.
The following output appears in the command shell:
Removal of package_name was successful.
Prerequisites
● The Avamar Plug-in for Oracle is automatically installed in the same folder as the Avamar Client for Windows.
● If the Oracle software is installed with the New Windows User, ensure that the Avamar Plug-in for Oracle software is
installed outside of the default path. For example, C:\Program Files\avs.
● If UAC is enabled on the client computer, you must start the setup wizard by using administrator privileges. Otherwise,
the software does not install correctly. This procedure provides one method to bypass UAC. The Microsoft documentation
provides other methods and additional information.
Steps
1. Log in to the Oracle server as an administrator.
2. Go to the temporary directory that contains the installation files that you downloaded in Downloading the software on page
25.
3. Start the Avamar Plug-in for Oracle installation:
● If UAC is disabled, double-click the installation package to open it.
● If UAC is enabled, open a command prompt as an administrator, change directory to the location of the installation
package, and then type the following command:
msiexec /i AvamarRMAN-windows-platform-version.msi
where:
○ platform is the Windows platform type.
○ version is the Avamar software version.
The welcome page appears.
4. Click Next.
The Ready to install Avamar Backup Plug-in for Oracle page appears.
5. Click Install.
The Installing Avamar Backup Plug-in for Oracle page appears. A status bar shows the installation’s progress. After the
installation completes, the Completed the Avamar Backup Plug-in for Oracle Setup Wizard page appears.
6. Click Finish.
7. In a cluster, repeat this installation procedure on each node.
36 Installation
Configuring the Avamar cluster client on Windows
The Avamar cluster client enables you to back up and restore Oracle data on shared storage in a cluster, regardless of which
node is managing the data at the time of the backup or restore. Use the Cluster Configuration Tool to configure the Avamar
cluster client on the active node in an active/passive configuration or on both active nodes in an active/active configuration.
Prerequisites
Before you run the Cluster Configuration Tool, ensure that the Avamar Client for Windows and the Avamar Plug-in for Oracle
are installed on each node in the cluster and each node is registered to the Avamar server.
Steps
1. Log in to the active node in the cluster as a domain administrator. The account must be a member of the local Administrators
group on each cluster node.
2. Start the Cluster Configuration Tool:
● On Windows Server 2012, open the Start screen and select Cluster Configuration Tool.
● On Windows Server 2008, open the Start menu and select Program Files > Avamar > Cluster Configuration Tool.
The welcome page appears.
3. Click Next.
The Plug-Ins page appears.
4. Select Avamar Backup Plug-in for Oracle from the Avamar Backup Plug-ins list, and then click Next.
The Cluster Nodes page appears with a list of nodes and their status.
5. Ensure that the status of all nodes is Up, and then click Next.
The Operations page appears.
6. Select the Configure new Oracle Virtual Client for cluster option, and then click Next.
NOTE: Select the Use existing configuration to configure new nodes for Oracle Virtual Clients on cluster
option to add a node to an existing configuration. The Avamar for Windows Server User Guide provides more
information.
The Prerequisites page appears. A check mark next to a prerequisite indicates that the prerequisite is met.
7. Ensure that the environment meets all prerequisites on the Prerequisites page.
If a prerequisite is not met, exit the wizard, resolve the issue, and restart the wizard.
8. Select the Internet Protocol version that the environment uses, and then click Next.
The Attach to Service page appears.
9. Select the cluster service for the plug-in, and then click Next.
The Server Settings page appears.
10. Specify the settings for the Avamar server:
a. Type either the DNS name of the Avamar server in the Name box or the IP address in the IPv4/IPv6 address box.
b. Type the name of the Avamar domain for the cluster client in the Client domain for cluster box.
To specify a domain at the root level, type /domain, where domain is the domain name. To specify a subdomain,
type /domain/subdomain, where domain is the domain name and subdomain is the subdomain name.
c. Type the data port for Avamar client/server communication in the Port number box.
NOTE: Port 28001 is the default port that the Avamar client uses to communicate with the Avamar server.
d. Type the name of the shared network directory or volume in the Cluster client’s var directory box or click Browse to
select a shared network directory or volume.
The shared network directory or volume stores the cluster client configuration and the log files. All nodes in the cluster
must have write access to this directory or volume.
NOTE: Select a volume that the cluster owns instead of a remote pathname on the network.
e. Click Next.
The Summary page appears.
11. Review the configuration settings, and then click Configure.
The Progress page provides the status of the configuration. When the configuration process completes, the Results page
appears.
12. Click Close.
Installation 37
Upgrading the Avamar Plug-in for Oracle on Windows
The steps to upgrade the Avamar Plug-in for Oracle on Windows depend on whether the installation is on a stand-alone server
or in a cluster.
Steps
1. Ensure that you meet all system requirements for the new version. Preparing to install the Avamar Plug-in for Oracle on page
24 provides more information.
2. Upgrade the Avamar Client for Windows by running the Windows client installation wizard for the new version on the client
computer. The Avamar for Windows Server User Guide provides instructions.
3. Upgrade the Avamar Plug-in for Oracle by running the plug-in installation wizard for the new version on the client computer.
Installing the Avamar Plug-in for Oracle on Windows on page 36 provides instructions.
Steps
1. Uninstall the current version of the Avamar Client for Windows and Avamar Plug-in for Oracle:
a. Use the earlier version of the Cluster Configuration Tool to uninstall the Avamar cluster client. Uninstalling the cluster
client on page 39 provides instructions.
b. Uninstall the earlier version of the Avamar Plug-in for Oracle on each node in the cluster.
c. Uninstall the earlier version of the Avamar Client for Windows on each node in the cluster.
The plug-in guide for the earlier versions provides instructions.
2. Install the new version of the Avamar Client for Windows and Avamar Plug-in for Oracle:
a. Install the Avamar Client for Windows in the same directory on each node in the cluster. The Avamar for Windows Server
User Guide provides instructions.
NOTE: If the Oracle software is installed with the New Windows User, ensure that the Avamar Plug-in for Oracle
software is installed outside of the default path. For example, C:\Program Files\avs.
b. Install the Avamar Plug-in for Oracle in the same directory on each node in the cluster. Installing the Avamar Plug-in for
Oracle on Windows on page 36 provides instructions.
c. Register each node in the cluster with the Avamar server. The Avamar for Windows Server User Guide provides
instructions.
d. Use the Cluster Configuration Tool to install the Avamar cluster client on an active node. Configuring the Avamar cluster
client on Windows on page 37 provides instructions.
38 Installation
The Avamar Administration Guide provides more information.
The steps to uninstall the Avamar Plug-in for Oracle on Windows depend on whether the installation is on a stand-alone server
or in a cluster.
Steps
1. Uninstall the Avamar Plug-in for Oracle by using Programs and Features.
2. Uninstall the Avamar Client for Windows by using Programs and Features.
Steps
1. Log in to the active node in the cluster as a domain administrator. The account must be a member of the local Administrators
group on each cluster node.
2. Start the Cluster Configuration Tool:
● On Windows Server 2012, open the Start screen and select Cluster Configuration Tool.
● On Windows Server 2008, open the Start menu and select Program Files > Avamar > Cluster Configuration Tool.
The welcome page appears.
3. Click Next.
The Plug-Ins page appears.
4. Select Avamar Backup Plug-in for Oracle and click Next.
The Cluster Nodes page appears with a list of nodes and each node’s status.
5. Ensure that the status of all nodes is Up, and then click Next.
The Operations page appears.
6. Select Remove the Oracle Virtual Client from all nodes in cluster and click Next.
The Prerequisites page appears. A check mark next to a prerequisite indicates that the prerequisite has been met.
7. Ensure that the environment meets all prerequisites on the page, and then click Next.
The Summary page appears.
8. Review the configuration settings and click Uninstall.
The Progress page provides the status of the uninstall operation. When the uninstall completes, the Results page appears.
9. Click Close.
10. Uninstall the Avamar Plug-in for Oracle from each node by using Programs and Features.
11. Uninstall the Avamar Client for Windows from each node by using Programs and Features.
Installation 39
Steps
1. Open the oratab file in a text editor and note the home directory for all Oracle database instances.
2. In Avamar Administrator, select Tools > Manage Dataset.
The Manage All Datasets window appears.
3. Click New.
The New Dataset dialog box appears.
4. In the Name box, type a name for the dataset.
The name can include alphanumeric characters (A-Z, a-z, 0-9) and the following special characters: period (.), hyphen (-),
and underscore (_). Do not use Unicode characters or the following special characters: ` ~ ! @ # $ % ^ & * ( ) = + [ ] { } |
\/;:'"<>,?
5. Click the Source Data tab.
The Source Data tab is where you define a list of source data plug-ins that contribute data to this dataset.
a. Select Enter Explicitly and select the plug-in from the Select Plug-In Type list.
b. To remove a plug-in from the dataset, select the plug-in from the list in the bottom portion of the New Dataset dialog
box, and then click -. Repeat this step as necessary.
NOTE: The Avamar Plug-in for Oracle does not support include or exclude lists in datasets.
6. Click the Options tab and select the plug-in from the Select Plug-In Type list.
The windows expands to display plug-in options.
7. Complete the following fields:
a. Leave the Oracle instance name field blank. The Oracle instance name is filled in when the Oracle server is assigned to
a group.
b. (Optional) For Oracle 12c and later, if the Oracle user has SYSBACKUP privileges (instead of SYSDBA), select
SYSBACKUP privilege.
c. Type the username to use to authenticate the Oracle database in the Username field. If you leave the Username field
blank, RMAN tries to log in with the same username and password that the Avamar client agent uses, and attempts to
assume SYSDBA (or SYSBACKUP) privileges.
d. Type the password for the account in the Password field.
e. Click OK.
The New Dataset dialog box closes. The new dataset appears in the left pane of the Manage All Datasets window.
8. Click OK.
The Manage All Datasets window closes.
9. In Avamar Administrator, click the Policy launcher link button.
The Policy window appears.
10. Click the Policy Management tab.
11. Click the Clients tab.
The left pane contains a list of domains.
12. Click the domain that contains the Oracle server.
A list of Avamar clients appears in a table to the right of the domains list.
13. Click the client that runs the Oracle server.
14. Select Actions > Client > Edit Client.
The Edit Client dialog box appears.
15. In the Edit Client dialog box, complete the following setting:
a. Click the Dataset tab.
b. From the Select An Existing Dataset list, select the dataset you created in step 4 on page 40.
c. Select Override group dataset.
d. Click OK.
40 Installation
3
Oracle RAC Configuration
Topics:
• Managing Oracle RAC on Linux or UNIX
• Managing Oracle RAC on Windows Server 2008
Steps
1. Log in to one of the Oracle RAC nodes as root.
2. Change the directory to /usr/local/avamar/bin by typing the following command:
cd /usr/local/avamar/bin
3. Start the script by typing the following command:
./rac_config
The following output appears in the command shell:
Enter the path of Oracle Clusterware Home : /u01/app/11.2.0/grid
Using ORACLE_HOME : /u01/app/11.2.0/grid
Setting PATH set for Oracle commands
Oracle cluster version 11 R2
Do you want to configure on a cluster shared filesystem? [y/n] [y]: y
Enter the full path of var directory location[]:
Enter y if var is a shared directory. Enter n if var is a non-shared directory: [y] y
4. Type the directory path, and then press Enter.
The following output appears in the command shell:
Enter the virtual hostname [vlrac1]:
where vlrac1 is the scan name for Oracle grid 11g R2.
5. Press Enter to accept the default virtual hostname.
The following output appears in the command shell:
Using vlrac1 as hostname
6. Repeat steps 2 through 5 on the other nodes.
Steps
1. Log in to the Oracle RAC system as root.
2. Add the Oracle Clusterware Home directory to the PATH environment variable.
3. Stop the avagent process for RAC by typing the following command:
crsctl stop resource EMCagent
4. Navigate to the var directory for RAC.
This directory contains the avagent.cmd file.
5. Open the avagent.cmd file in an editor.
6. Change the value for the --acport option to a number between 28003 and 28008.
7. Save and close the avagent.cmd file.
8. If the var directory is not shared, repeat steps 4 on page 42 through 7 on page 42 on all nodes.
9. Restart the avagent process for RAC by typing the following command:
crsctl start resource EMCagent
Steps
1. Log in to the Oracle RAC system as root.
2. Stop the avagent process for RAC by typing the following command:
crsctl stop resource EMCagent
3. Navigate to the var directory for RAC.
This directory contains the avagent.cmd file.
4. Open the avagent.cmd file in an editor.
5. Replace the --acport line with the following two lines:
--disable_nonlocal_listenport
--disablegui
6. If the var directory is not shared, repeat steps 4 on page 42 and 5 on page 42 for all nodes.
7. Restart the avagent process for RAC by typing the following command:
crsctl start resource EMCagent
Steps
1. Log in to one of the Oracle RAC nodes as root.
NOTE: Run avregister on one RAC node only.
Results
Once you register the Avamar client with the Avamar server, start.sh runs and starts EMCagent as an Oracle Clusterware
resource on the current node. Backups and restores connect to the RAC database instance on the active node. If the active
node goes down, EMCagent automatically restarts on one of the other RAC nodes. The new node then automatically notifies
Avamar server of the address change for the active node.
Steps
1. Log in to the inactive cluster node as root.
2. Change the directory to the shared installation_path/ora_rac/etc directory.
3. Restart EMCagent by typing the following command:
./start.sh
Steps
1. Log in to the registered node as root.
2. Change the directory to /usr/local/avamar/bin by typing the following command:
cd /usr/local/avamar/bin
3. Stop EMCagent and remove it from the Oracle Clusterware resources by typing the following command:
./rac_stop
The following output appears in the command shell:
/usr/local/avamar/bin/rac_stop
Enter the path of Oracle Clusterware Home:
4. Run the rac_deconfig script by typing the following command:
./rac_deconfig
The following output appears in the command shell:
avagent.d Info: Client Agent not running.
[PASSED]
Results
The rac_deconfig script deletes the Avamar_install_dir/ora_rac directory.
Running AvamarRACConfiguration.exe
AvamarRACConfiguration.exe is installed as part of the Avamar Plug-in for Oracle installation and is located in C:
\Program Files\avs\bin. To configure Oracle RAC on Windows Server 2008, run AvamarRACConfiguration.exe on
one Oracle cluster node.
Steps
1. Log in to one of the Oracle cluster nodes as an administrator.
2. Double-click C:\Program Files\avs\bin\AvamarRACConfiguration.exe.
The Setup Avamar RAC Configuration for Windows dialog box appears.
NOTE: The Change Avamar Server Registration option is disabled if the Avamar server is not configured.
6. Type the DNS hostname or IP address for the Avamar server in the Administrator server hostname or IP field.
7. Type the port for the Avamar server in the Administrative server listen port field. The default value is 28001.
8. Type the domain name in the Backup domain for this client field. The default value is clients.
9. Select one or more nodes from the Available Nodes box.
To select multiple entries, press and hold the Ctrl key while you select entries with the mouse.
10. Click Configure.
Next steps
To ensure that backups using the RMAN CLI backups are viewable in the Avamar Administrator Activity window, copy the
avoracle.cmd file from ../ora_rac/var/ to ../ora_rac/var/clientlogs/. The following options must be present
in avoracle.cmd:
● --rac_cluster
● --hostname = cluster scan name
Steps
1. Log in to one of the Oracle cluster nodes as an administrator.
2. Start EMCagent from the Command Prompt by typing one of the following commands:
Steps
1. Log in to the Oracle cluster node as an administrator.
2. Ensure that the Avamar Oracle RAC Backup Agent appears in the Windows Services list.
3. Verify that the EMCagent resource was added to Oracle Clusterware by typing one of the following commands:
● For Oracle 11g R1, type the following command:
crs_stat EMCagent
Steps
1. Log in to the Oracle cluster node where EMCagent is running as an administrator.
2. Stop EMCagent from the Command Prompt by typing one of the following commands:
● For Oracle 11g R1, type the following command:
crs_stop EMCagent
Steps
1. Stop EMCagent from the Command Prompt by typing one of the following commands:
● For Oracle 11g R1, type the following command:
crs_stop EMCagent
Steps
1. Stop EMCagent from the Command Prompt by typing one of the following commands:
● For Oracle 11g R1, type the following command:
crs_stop EMCagent
2. Run AvamarRACConfiguration.exe.
The Cluster Configured Nodes group box display all configured nodes.
3. Select the Change Avamar Server Registration checkbox.
The Setup Avamar Oracle RAC Configuration for Windows dialog box appears.
Selecting the Change Avamar Server Registration option clears the nodes in the Available Nodes group box.
4. Type the DNS hostname or IP address for the Avamar server in the Administrator server hostname or IP field.
5. Type the port for the Avamar server in the Administrative server listen port field. The default value is 28001.
6. Type the domain name in the Backup domain for this client field. The default value is clients.
7. Click Register.
8. After the registration completes, start the EMCagent on any of the Clusterware nodes by typing one of the following
commands:
● For Oracle 11g R1, type the following command:
crs_start EMCagent
Steps
1. Log in to the Oracle cluster node as an administrator.
Steps
1. Log in as root to any of the Oracle cluster nodes where the single-instance database has been configured.
2. Change to the /usr/local/avamar/bin:
cd /usr/local/avamar/bin
where:
● database_name is the name of the single-instance database.
● resource is the resource which controls the failover of the single-instance database (for example, ora.dbsi1.db).
● shared_directory is a shared directory (for example, /cluster_share/).
● node_names is a space-separated list of the names of the nodes on which the single-instance database is configured.
Example command line:
5. If ssh autologin is not set up for the root user, you will be prompted to enter the root password for each remote node:
root@node_name's password:
Steps
1. Log in as root to one of the cluster nodes where the single-instance database is configured.
NOTE: Run avregister on one node only.
Results
Once you register the Avamar client with the Avamar server, start.sh runs and starts EMCagent as an Oracle cluster
resource.
NOTE: If the database instance is running on another node, EMCagent_database_name will automatically fail over to the
node on which the instance is running.
Management Console-initiated backups and restores are sent to the node where the EMCagent_database_name is running. If
the database instance fails over to another node, the EMCagent_database_name resource is failed over to that node as well.
The new node then automatically notifies the Avamar server of the address change for the active node.
Steps
1. Log in as root to one of the cluster nodes where the single-instance database is configured.
2. Change the directory to /usr/local/avamar/bin by typing the following command:
cd /usr/local/avamar/bin
3. Run the si_deconfig script by typing the following command:
./si_deconfig -d database_name
where database_name is the name of the single-instance database.
4. If ssh autologin is not set up for the root user, you will be prompted to enter the root password for each remote node:
root@node_name's password:
Results
The si_deconfig script removes the related EMCagent cluster resource (EMCagent_database_name) for the database
from the Oracle Clusterware resources and deletes the avamar_install_dir/ora_database_name directory.
Prerequisites
Each node to be configured must register and activate to the same Avamar server before this configuration, otherwise you may
get certification issues when performing browse, backup, and restore operations. There must be one resource which controls
the failover of the single-instance database. The Avamar service relies on this resource to a following failover of the Avamar
client
Steps
1. Log in to any of the Oracle cluster nodes where the single-instance database has been configured.
2. Right-click the file C:\Program Files\avs\bin\ AvamarSDConfiguration.exe and select Run as
Administrator.
The Setup Avamar for Oracle Single-Instance Database dialog box opens.
b. For Administrator Server Hostname or IP, type the hostname or IP address of the Avamar server.
c. For Administrator Server Listen Port, type the port number of the Avamar server listen port.
d. For Backup Domain for this Client, type the client's backup domain on the Avamar server.
e. For Connection Port (acport), type the port number of the connection port.
f. Select the nodes to be configured in the Available Nodes list.
g. Click Configure.
NOTE: All fields must be completed before beginning the configuration.
A message indicates that the configuration was successful. Click OK clear the message. You can start another single-
instance database configuration by clicking Next Config.
After the configuration is complete, EMCagent_database_name is available and ready for failover.
4. Start the EMCagent_database_name by typing the following at the command line:
EMCagent_database_name then runs on the node on which the single-instance database instance is running.
Steps
1. Log in to any of the Oracle cluster nodes where the single-instance database has been configured.
2. Stop the EMCagent cluster resource by typing the following at the command line:
Prerequisites
Each node to be configured must register and activate to the same Avamar server before this configuration, otherwise you may
get certification issues when performing browse, backup, and restore operations.
Steps
1. Log in to any of the Oracle cluster nodes where the single-instance database has been configured.
2. Right-click the file C:\Program Files\avs\bin\ AvamarSDConfiguration.exe and select Run as
Administrator.
The Setup Avamar for Oracle Single-Instance Database dialog box opens.
Steps
1. Log in to any of the Oracle cluster nodes where the single-instance database has been configured.
2. Right-click the file C:\Program Files\avs\bin\ AvamarSDConfiguration.exe and select Run as
Administrator.
The Setup Avamar for Oracle Single-Instance Database dialog box opens.
Results
The EMCagent cluster resource (EMCagent_database_name) for the database is removed from the Oracle Clusterware
resources and the corresponding service Avamar Oracle database_name Backup Agent is deleted from all the configured nodes.
Steps
● Specify the username and password in the Backup Command Line Options, Restore Command Line Options, and New
Dataset dialog boxes.
Oracle documentation provides instruction for creating an Oracle user account.
Steps
1. Determine whether Block Change Tracking is enabled by typing the following command from an SQL prompt:
select status from v$block_change_tracking;
The STATUS column shows whether Block Change Tracking is enabled. The FILENAME column contains the file name
of the block change tracking file. Oracle documentation provides more information about v$block_change_tracking.
2. Enable Block Change Tracking by typing the following command from an SQL prompt:
alter database enable block change tracking using file 'filename';
where filename is the absolute pathname of the file to be used for Block Change Tracking. Oracle uses this file to
track datafile changes. Oracle documentation provides more information about Block Change Tracking.
NOTE: To schedule level 0, level 1 differential, and level 1 cumulative backups, create three backup schedules: one for
level 0 backups, one for level 1 differential backups, and one for level 1 cumulative backups. Scheduling backups on page
60 provides more information.
56 Backup
Preparing the database for backup
Before you back up an Oracle database, you must prepare the database. You must determine whether the database is in
ARCHIVELOG mode. If the database is not in ARCHIVELOG mode, you must use the alter database archivelog
command to set it.
Steps
1. Connect to the database by typing the following command:
sqlplus "/ as sysdba"
The command prompt changes to the SQL prompt.
2. Determine if the Oracle database is in ARCHIVELOG mode by typing the following command:
select log_mode from v$database;
If archiving is not set for the database, screen output similar to the following output appears:
LOG_MODE
----------
NOARCHIVELOG
3. Shut down the database by typing the following command:
shutdown immediate;
The following information appears in the command shell:
Database closed.
Database dismounted.
ORACLE instance shut down.
4. Start the database by typing the following command:
startup mount;
The following information appears in the command shell:
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 144964076 bytes
Database Buffers 25165824 bytes
Redo Buffers 1048576 bytes
Database mounted.
5. Change the database archiving mode by typing the following command:
alter database archivelog;
The following information appears in the command shell:
Database altered.
6. Open the database for normal operations by typing the following command:
alter database open;
The following information appears in the command shell:
Database altered.
7. Disconnect from the database by typing the following command:
exit
8. Back up the database by following the instructions in Performing an on-demand backup on page 58.
Backup 57
Performing an on-demand backup
An on-demand backup is a user-initiated backup of Oracle data on a client. You can perform an on-demand backup for the first
backup of the client immediately after you install the Avamar client software. Perform an on-demand backup before system
maintenance, software installations, or software upgrades.
Steps
1. In the AUI navigation pane on the left, click , and then click Asset Management.
The Asset Management window is displayed.
2. In the domain tree, select the domain that contains the Oracle server.
A list of Avamar clients is displayed in the pane below the domains list.
3. In the list of clients, select the client that runs the Oracle server.
You can only view clients in the domain for the login account. To view all clients, log in to the root domain.
4. Click BACKUP.
The Backup wizard is displayed. In the Plugin pane, a list of plug-ins that are installed on the Oracle server is displayed.
5. In the Plugins pane, perform the following steps:
a. Select the Oracle RMAN plug-in for the platform.
b. Browse to and select one or more databases for the backup.
c. Click NEXT.
The Basic Configuration pane is displayed.
6. In the Basic Configuration pane, complete the following fields:
a. Select the backup retention policy settings:
● To automatically delete this backup from the Avamar server after a specific amount of time, select Retention
period. Specify the number of days, weeks, months, or years for the retention period.
● To automatically delete this backup from the Avamar server on a specific calendar date, select End date and browse
to that date on the calendar.
● To keep this backup for as long as this client remains active in the Avamar server, select No end date.
b. In the Avamar encryption method list, select the encryption method to use for data transfer between the client and
the Avamar server during the backup.
The encryption technology and bit strength for a client/server connection depends on several factors, including the
client operating system and Avamar server version. The Avamar Product Security Guide provides additional information.
c. In the Optionally select a proxy to perform backup list, select the proxy.
The default setting is Automatic, which enables the Avamar server to choose the best proxy for this operation.
d. Click NEXT.
The More Options window is displayed.
7. In the More Options pane, set the plug-in options:
a. To view advanced options, select Show Advanced Options.
b. Leave the Oracle Instance Name field blank. The Avamar Plug-in for Oracle determines the Oracle instance name when
you browse and select a target to back up.
c. (Optional) For Oracle 12c and later, if the Oracle user has SYSBACKUP privileges (instead of SYSDBA), select
SYSBACKUP privilege.
i. Type the username to use to authenticate the Oracle database. This is the user with SYSDBA (or SYSBACKUP)
privileges.
ii. Type the password for the account.
iii. Select the number of channels to allocate during the backup from the Number of RMAN Channels list. The
maximum number is 10.
Backup options on page 92 provides more information about the Number of RMAN Channels option.
8. Select one or more backup options:
a. To back up the entire Oracle database, select Back up database.
b. To back up only the archive logs, select Back up archive logs. Archive backups are always full backups no matter which
backup level you choose.
c. To automatically delete archive logs after a successful database backup, select Delete archive logs after backup
58 Backup
NOTE: The selection of multiple options is cumulative. To back up the entire database and the archive logs, select
Back up database and Back up archive logs.
d. (Linux and UNIX only) If the application bitness and operating system bitness are not the same, select the appropriate
setting from the Media Management Library Bitwidth list.
If the application bitness and operating system bitness are the same, leave the Media Management Library Bitwidth
set to Automatic, the default setting.
NOTE: The Management Library Bitwidth option does not apply to Windows platforms.
e. To prevent a multiple target backup from continuing after one of the backups fails, select Exit a multiple target
backup when any one backup fails.
f. Type the number of files that RMAN can open concurrently per channel in the Filesperset field. The default value is 1.
g. (Advanced option) To write maximum information to log files, select Enable debugging message. Selecting this option
creates very large log files.
h. (Advanced option) Leave the NLS_DATE_FORMAT field blank.
i. (Advanced option) Select the appropriate option from the Enhanced Data Deduplication list:
● To use the global enhanced data deduplication setting already set on the server, select Default. This is the default
setting.
● To back up the data files without using enhanced data deduplication, select Disabled.
● To use enhanced data deduplication for the backup, select Enabled.
9. Select a backup level:
● Full backup backs up all the data in the database data files when you select the Back up database option.
● Level 0 backup backs up all data files.
Perform a level 0 backup before you perform a level 1 (differential or cumulative) backup.
● Level 1 differential backup backs up only changed blocks of the database.
● Level 1 cumulative backup backs up all database blocks that have changed since the most recent level 0 backup.
NOTE: The Avamar Plug-in for Oracle supports incremental (level 0 and level 1) backups for Oracle 11g and later.
To improve level 1 (differential or cumulative) backup performance, enable the Block Change Tracking feature.
Enabling Block Change Tracking on page 56 provides more information.
10. (Optional) If you use a recovery catalog, select the Use recovery catalog check box, and then complete the following
steps:
a. In the Recovery Catalog Server Name field, type the recovery catalog service entry.
b. In the Recovery Catalog User Name field, type the recovery catalog username.
c. In the Recovery Catalog Password field, type the recovery catalog password.
NOTE: The Use recovery catalog option uses the values in the Recovery Catalog Server Name, Recovery Catalog
User Name, and Recovery Catalog Password fields to form a recovery catalog server connection string for RMAN.
11. (Advanced option) Complete options in the Preprocessing Script group box:
a. In the Run user-defined script at beginning of backup field, type the name of a preprocessing script.
The preprocessing script must be in the /avamar/etc/scripts directory on the client.
b. To stop processing the script when the script returns a nonzero status code, select Exit backup if script fails.
Preprocessing and postprocessing scripts and attributes on page 100 provides more information about using scripts.
12. (Advanced option) Complete the Postprocessing Script options:
a. In the Run user-defined script at end of backup field, type the name of a postprocessing script.
The postprocessing script must be in the /avamar/etc/scripts directory on the client.
b. To exit the script with an exit code from the script rather than with the standard avoracle exit code, select the Exit
process with if script failure exitcode check box.
Preprocessing and postprocessing scripts and attributes on page 100 provides more information about using scripts.
c. To store the backup on a Data Domain system instead of the Avamar server, select Store backup on Data Domain
system, and then select the Data Domain system from the list.
d. From the Encryption method to Data Domain system list, select the encryption method to use for data transfer
between the client and the Data Domain system during the backup.
13. Click FINISH.
Backup 59
The following status message is displayed:
Backup initiated.
Scheduling backups
Scheduled backups run automatically to ensure that backups of the Oracle data occur on an ongoing basis. You can schedule
backups to run daily, weekly, or monthly. The scheduled backup can include multiple clients or a single server.
Steps
1. Assign members to the new backup policy.
2. Assign a dataset to the new backup policy.
To create a dataset, use the Policy wizard or select Setting > Dataset > Add.
3. Assign a schedule to the new backup policy.
To create a schedule, use the Policy wizard or select Setting > Schedule > Add.
4. Assign a retention policy to the new backup policy.
To create a retention policy, use the Policy wizard or select Setting > Retention > Add.
5. Enable scheduling for the backup policy.
Creating a dataset
A dataset specifies the data to include in a scheduled backup and the options to use for the backup. Create at least one dataset
for scheduled backups on a client or group of clients. Create multiple datasets to segregate client data.
Steps
1. In the AUI navigation pane on the left, click , and then click Setting.
The Setting pane is displayed.
2. Click the Dataset tab.
3. Click ADD.
The Create Dataset window is displayed.
4. In the Dataset Name field, type a name for the dataset.
The name can include alphanumeric characters (A-Z, a-z, 0–9) and the following special characters: period (.), hyphen (-),
and underscore (_), and space. Do not use Unicode characters or the following special characters: ` ~ ! @ # $ % ^ & * ( ) =
+[]{}|\/;:'"<>,?
5. From the Plugins list, select the Oracle RMAN plug-in for the platform.
The Oracle RMAN plug-in options are displayed.
6. Click the Options tab, and then set the plug-in options:
a. To view advanced options, select Show Advanced Options.
b. Leave the Oracle Instance Name field blank.
The Avamar Plug-in for Oracle determines the Oracle instance name when you browse and select a target to back up.
c. (Optional) For Oracle 12c and later, if the Oracle user has SYSBACKUP privileges (instead of SYSDBA), select
SYSBACKUP privilege.
i. In the Username field, type the username to use to authenticate the Oracle database.
This feature is the user with SYSDBA (or SYSBACKUP) privileges.
ii. In the Password field, type the password for the username account.
60 Backup
iii. In the Number of RMAN Channels list, select the number of channels to allocate during the backup. The maximum
number is 10.
Backup options on page 92 provides more information about the Number of RMAN Channels option.
e. (Linux and UNIX only) If the application bitness and operating system bitness are not the same, select the appropriate
setting from the Media Management Library Bitwidth list. If the application bitness and operating system bitness are
the same, leave the Media Management Library Bitwidth set to the Automatic, the default setting.
NOTE: The Media Management Library Bitwidth option does not apply to Windows platforms.
f. (Optional) Select Exit a multiple target backup when any one backup fails to prevent a multiple target backup from
continuing after one of the backups fails.
g. In the Filesperset field, type the number of files that RMAN can open concurrently per channel. The default value is 1.
h. Select a backup level from the Incremental Backup group box:
● Full backup backs up all the data in the database data files when you select the Back up database option.
● Level 0 backup backs up all data files.
Perform a level 0 backup before you perform a level 1 (differential or cumulative) backup.
● Level 1 differential backup backs up only changed blocks of the database.
● Level 1 cumulative backup backs up all database blocks that have changed since the most recent level 0 backup.
NOTE: The Avamar Plug-in for Oracle supports incremental (level 0 and level 1) backups for Oracle 11g and later.
To improve level 1 (differential or cumulative) backup performance, enable the Block Change Tracking feature.
Enabling Block Change Tracking on page 56 provides more information.
i. (Optional) If you use a recovery catalog, select Use recovery catalog, and complete the following fields:
● In the Recovery Catalog Server Name field, type the recovery catalog service entry.
● In the Recovery Catalog User Name field, type the recovery catalog username.
● In the Recovery Catalog Password field, type the recovery catalog password.
NOTE: If you select the Use recovery catalog option, the Recovery Catalog Server Name, Recovery Catalog
User Name, and Recovery Catalog Password settings are used to specify a recovery catalog server connection
string for RMAN.
j. To store the backup on a Data Domain system instead of the Avamar server, select Store backup on Data Domain
system, and then select the Data Domain system from the list.
NOTE: Plug-in Options on page 92 provides more information about the Avamar Plug-in for Oracle plug-in options,
including information about advanced options.
k. In the Encryption method to Data Domain system list, select the encryption method to use for data transfer between
the client and the Data Domain system during the backup.
7. Click the Source Data tab and set the following plug-in options:
a. In the File or Folder Path, type the file path.
File or folder path is /db_name for Oracle. For example - /orcl, if the dbname=orcl
b. Click ADD.
8. Click SUBMIT.
Backup 61
Creating a backup policy
A backup policy is a collection of Avamar clients that use the same dataset, schedule, and retention settings to implement
scheduled backups.
Steps
1. In the AUI navigation pane on the left, click , and then click Backup Policy.
The Policy page is displayed.
2. In the domain tree, select a domain or subdomain for the backup policy.
To select a subdomain for the backup policy, toggle the Include Sub-domain switch to on.
3. Select a backup policy from the list.
4. To enable a backup policy, click MORE ACTIONS > Enable Policy.
5. To disable a backup policy, click MORE ACTIONS > Disable Policy.
Monitoring backups
You can monitor and view status information for backup and restore operations by using the Activity Monitor.
To filter activities by client, start time, plug-in, or type, click in their respective column.
62 Backup
The Activity Monitor displays the date and time that an activity began, and the total number of bytes examined during an
activity.
Cancel backups
You can cancel a backup any time before it completes. The cancellation might take 5 minutes or longer. The backup might
complete before the cancellation finishes.
Steps
1. In the AUI navigation pane on the left, click , and then click Activity.
The Activity Monitor appears with a list of activities.
2. Select the backup from the list.
3. Click CANCEL.
A confirmation dialog box is displayed.
4. Click YES.
Restarting the backup after the active node’s instance goes down
Steps
1. Establish the active node by taking the appropriate action:
● Restarting the instance on the active node.
● Shutting down the current active node to enable one of the other nodes as the active node.
2. Start a new backup.
Steps
● If the var directory is located on a shared file system, another node automatically takes over as the active node. You can
then restart the backup.
NOTE: In this scenario, EMCagent is configured as an Oracle Clusterware resource.
● If EMCagent is not configured as an Oracle Clusterware resource and the var directory is not shared across all nodes:
1. Activate the Avamar agent on one of the available nodes.
2. Restart the backup.
Backup 63
Enforcement of backups to Data Domain
If the Avamar server is configured to enforce backups to a Data Domain system, the server rejects backups that are not
destined for the Data Domain. This enforcement covers backups that you configure through the Avamar Administrator and the
AUI, as well as from command-line interfaces and other tools.
These backups must have additional flags that indicate the storage target. The Avamar and Data Domain System Integration
Guide provides more information about backup enforcement and the related client version requirements. Backup enforcement is
disabled by default.
64 Backup
6
Restore and Recovery
Topics:
• Preparing the database for recovery
• Preparing the database for restore
• Restore types
• Restoring a database to the original client
• Restoring a database to a different client
• Monitor restores
• Cancel restores
• Performing a disaster recovery
Steps
1. Set the database to ARCHIVELOG mode.
2. Enable the flash recovery area.
The Oracle documentation provides instructions.
3. (For RAC configurations only) Configure the flash recovery area in a clustered file system or in ASM.
4. Start the database in mount state by using the STARTUP command with the MOUNT option.
After the restore completes successfully, Avamar issues the command to open the database.
Steps
1. (VCS clusters only) To restore the Oracle database to a Solaris VCS cluster, stop the listener and other dependent
processes. Otherwise, skip this step and go to step 3.
2. (Raw devices only) Before you restore datafiles on a raw device, back up the files in the flash recovery area. Otherwise, skip
this step and go to step 3.
b. Start an instance without mounting the database on the registered node by typing the following commands:
startup nomount;
exit
mkdir $ORACLE_HOME/oradata/DB_NAME.saved
mv $ORACLE_HOME/oradata/DB_NAME/* \
$ORACLE_HOME/oradata/DB_NAME.saved
mkdir $ORACLE_HOME/flash_recovery_area/DB_NAME.saved
mv $ORACLE_HOME/flash_recovery_area/DB_NAME/* \
$ORACLE_HOME/flash_recovery_area/DB_NAME.saved
mkdir $ORACLE_HOME/flash_recovery_area/db_name.saved
mv $ORACLE_HOME/flash_recovery_area/db_name/* \
$ORACLE_HOME/flash_recovery_area/db_name.saved
The following directories are the default directories of the datafiles (*.dbf), control files (*.ctl), redo log files (*.log),
archive log files (*.arc), and autobackup files (*.bkp):
● $ORACLE_HOME/oradata/DB_NAME
● $ORACLE_HOME/flash_recovery_area/DB_NAME
7. Restore the database to the $ORACLE_HOME/oradata/DB_NAME directory.
NOTE: If the Oracle directories have been deleted or do not exist, create the directory structure before restoring the
database.
Restore types
Avamar Administrator supports the restore of a database backup from one system to another system or directory on the same
system. The restore uses the same Oracle system identifier (SID) and database identification number (DBID) of the original
database for the restored database.
NOTE: To perform a restore to a different client, prepare the target system by completing the instructions in Preparing the
database for restore on page 65.
After preparing the database, you can restore database files to the original client or to a different client.
Steps
1. In the AUI navigation pane on the left, click , and then click Asset Management.
The Asset Management window is displayed.
2. In the domain tree, select the domain that contains the Oracle server.
You cannot view clients outside the domain for the login account. To view all clients, log in to the root domain.
A list of Avamar clients is displayed in the pane below the domains list.
3. From the list of clients, select the client that runs the Oracle server.
4. To locate backups by date:
a. In the right pane, click VIEW MORE.
b. Click SEARCH.
c. In the Date field, select a day or range of days.
d. Click RETRIEVE.
The list of backups for the selected dates is displayed.
5. Select the desired backup, and then click Restore.
The Restore wizard opens on the Destination Client pane.
NOTE: If you click Restore before selecting a backup, the wizard opens on the Backup List pane, where you can then
make the backup selection.
Prerequisites
Before you restore the Oracle database, ensure that the following items on the target client match the source client:
● ORACLE_HOME
● oradata
● flash_recovery_area pathnames
● Database SID
Prepare the target client by following the instructions in Preparing the database for restore on page 65.
Steps
1. In the AUI navigation pane on the left, click , and then click Asset Management.
The Asset Management window is displayed.
2. In the domain tree, select the domain that contains the Oracle server.
Monitor restores
You can monitor and view status information for backup and restore operations in the Activity Monitor.
To filter activities by client, start time, plug-in, or type, click in their respective column.
The Activity Monitor displays the date and time that an activity began, and the total number of bytes examined during an
activity.
Cancel restores
You can cancel a restore any time before it completes. The cancellation might take 5 minutes or longer. The restore might
complete before the cancellation finishes.
Steps
1. In the AUI navigation pane on the left, click , and then click Activity.
The Activity Monitor appears with a list of activities.
2. Select the restore from the list.
3. Click CANCEL.
A confirmation dialog box is displayed.
4. Click YES.
Steps
1. Replace hardware if required.
The hostname and IP address must be same as that of the original server.
2. Install the same version of the Avamar file system client and Avamar Plug-in for Oracle. Installation on page 24 provides
instructions.
3. Register and activate the client with the same Avamar server.
NOTE: To resolve registration problems, retire the client and reregister it with the Avamar server.
The Avamar Administration Guide provides instructions for registering, retiring, and activating clients.
4. Install the same version of the Oracle software that was previously installed.
5. Set up the Oracle database:
a. Ensure that you set the ORACLE_HOME to the same location as it was set to previously.
b. Create the Oracle database with the same SID name that was used previously.
Ensure that the ORACLE_SID, oradata, and flash_recovery_area pathnames are exactly the same as in the
previous configuration.
6. Start the database in the nomount mode by typing the following command:
startup nomount
7. Restore the server parameter file (spfile) by using the following RMAN script:
where:
● DBID is the database ID.
● /HOME/ORACLE is the path for the spfile file.
● SEQ is the highest sequence number for the control file autobackup search.
● DATE, YYYYMMDD is the backup date.
8. Restore the Oracle database by completing the steps in Restoring a database to a different client on page 69.
Prerequisites
All RMAN backup and restore scripts in this chapter require an avtar flag file. When you use RMAN to back up or restore
Oracle data, you must pass specific avtar options by using the send command. You include these avtar options in the
avtar flag file, which is a text file.
With Avamar version 7.3 and greater, information about command line backups and restores for Oracle appears in the Avamar
Administrator activity window in the same way as when these operations are started within the Administrator. This step requires
some modifications in the avtar flag file, and creation of a taskflag file.
Steps
1. Create a plain text file with a text editor.
The remaining steps use my-avtar-flags.txt file as an example flag file.
2. Add the following entries to the text file:
--pidname=Oracle
--pidnum=pidnum
--logfile=install-dir/var/clientlogs/avtar.log
--vardir=install-dir/var/clientlogs
--id=user
--ap=password
--path=/clients/my-db-client
where:
● pidnum is the correct PID number for the operating system:
○ For Linux, use PID 1002.
○ For Solaris, use 2002.
○ For Windows, use 3002.
○ For HP-UX, use 4002.
○ For AIX, use 5002.
● install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows, and so forth.
● user is an Avamar administrative user account.
● password is the Avamar administrative password.
● my-db-client is the Oracle database hostname.
● {num-days |timestamp} specifies backup expiration as the number of days from today (num-days) or an absolute
timestamp.
● Avamar_server_name is the Avamar server hostname.
3. To use an RMAN script to back up Oracle to Data Domain systems, add the following Data Domain-specific entries:
--ddr=true
--ddr-index=ddr-index
where ddr-index is the index number (1, 2, 3, and so forth) that you assign to the Data Domain system when you add it to
the Avamar server configuration.
NOTE:
If the backup is not to a Data Domain System, then add the following entry:
--ddr=false
4. Save the file to /oracle or another convenient place in the search path.
Steps
1. Create a plain text file with a text editor called taskflag.txt.
2. Add the following entries to the text file:
For example, If we would like to allocate 3 channels for backup, the script would be
--no of channels= 3
--operation= backup
where:
● num is the number of multiple channels that are run in parallel.
● operation is either backup or restore.
3. Save the file to /oracle or another convenient place in the search path.
NOTE: With a taskflag file, for most avtar processes the logfile name is generated using the workorder ID from
Management Console, and the --logfile parameter in the avtar flag file is ignored.
Steps
1. Set the SBT_LIBRARY parameter to point to the directory that contains the libobk_avamar.so file for 32-bit
installations or the libobk_avamar64.so file for 64-bit installations:
SBT_LIBRARY=install-dir/lib/libobk_avamar.so
where install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows.
For 64-bit Oracle installations, use libobk_avamar64.so in place of libobk_avamar.so. On Windows, the equivalent
libraries are libobk_avamar64.dll and libobk_avamar.dll.
2. Use the appropriate allocate channel command to define backup channels:
● For IBM AIX, type the following command:
allocate channel c1 type sbt
PARMS="SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar.so";
● For 64-bit HP-UX, type the following command
allocate channel c1 type sbt
PARMS="SBT_LIBRARY=/opt/AVMRclnt/lib/libobk_avamar64.so";
HP-UX SHLIB_PATH
The library path is typically install-dir/lib, where install-dir is the base installation directory for the system. For example:
● On Linux, the path is /usr/local/avamar.
● On Solaris, the path is /opt/AVMRclnt.
● On Windows, the path is C:\Progra~1\avs\bin.
Steps
1. Use the set and export commands (for the sh, ksh, or bash shell) or the setenv command (for the csh or bash shell) to
set the library path variable.
2. Set the appropriate environment variable on the system. For example, to set the LD_LIBRARY_PATH variable on Solaris,
use one of the following methods depending on the operating system shell:
● For the sh, ksh, or bash shell, type the following command:
set LD_LIBRARY_PATH=/opt/AVMRclnt/lib export LD_LIBRARY_PATH
Steps
● To set the SECTION SIZE parameter, add the following command to the RMAN backup script:
backup section size sizespec database;
where sizespec specifies the size of each backup section. For example: 250M.
Example
The following example command creates a multisection backup of the database where each backup piece is 250M:
backup section size 250M database;
Steps
● To set the maxopenfiles parameter in an RMAN backup script, use the allocate channel or configure channel
command. The following example uses the allocate channel command:
allocate channel c0 maxopenfiles = 1 device type sbt;
RMAN compares the value of the maxopenfiles parameter with the number of files in each backup set and uses the level
of multiplexing as a minimum of two.
Set the maxopenfiles parameter to 1 to disable multiplexing, which increases data deduplication performance. Disabling
RMAN multiplexing results in more time to back up Oracle data because RMAN reads a single file instead of multiple files
simultaneously.
Steps
● To set the filesperset parameter in an RMAN backup script, use the backup command. The following example uses the
backup database command:
backup filesperset = n database ...;
where n is the number of files RMAN includes in a backup set. The default value is 8.
Results
RMAN compares the value of the filesperset parameter with number of files to be backed up divided by the number of
allocated channels, and then uses the lower of the two values. For example, if the total number of files to be backed up is 8, the
number of channels is 1, and filesperset is 4, RMAN creates two backup sets each with four files.
Steps
● Set the CONFIGURE RETENTION POLICY option:
CONFIGURE RETENTION POLICY TO REDUNDANCY r
where r is the redundancy setting.
Results
RMAN skips backups of offline or read-only datafiles only when there are r +1 backups of the files to SBT.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database to back up.
4. Type the following command:
configure backup optimization on;
Steps
● Allocate only one type of channel. Do not mix disk and SBT channels in the same RMAN backup command.
● Run the crosscheck command periodically to synchronize the RMAN backup catalog with Avamar backups.
Running the crosscheck command also ensures that RMAN does not skip a backup that has already expired in Avamar.
Steps
● Do not set the --before or --after flags for backups. The libobk_avamar.x automatically sets these flags to the
backup start time, which enables the backup index lookup to search only for backups that are created after the backup
began.
● Set the --before, --after, or --nobackuptag flags for restores with the send command in an RMAN script. The
following RMAN script shows how to set these flags:
connect target user/password@SID;
run {
allocate channel c1 type sbt
PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so";
send '"--after=2014-11-07 00:30:00" "--before=2014-11-11 01:00:00"
"--bindir=install-dir/avamar/bin" "--flagfile=my-avtar-flags.txt" "--taskfile=/oracle/
taskfile.txt" "--nobackuptag"';
restore datafile 4;
release channel c1;
Use the following time format for the --before and --after flags:
YYYY-MM-DD HH:MM:SS
NOTE: The smaller the time range between the --before and --after flags, the faster the searches.
● In addition to the --before and --after flags, use the --nohist flag to disable all index lookups for all operations. Set
the --nohist flag with the send command in an RMAN script:
Results
When a backup or restore specifies all four flags, the --nohist flag takes precedence. The --before and --after flags are
ignored.
Prerequisites
All RMAN backup scripts in the following topics require an avtar flag file. Creating an avtar flag file on page 74 provides more
information.
Backing up a database
Steps
1. Open a command shell.
NOTE: To back up the database by using a database control file instead of a recovery catalog, start RMAN by using the
nocatalog option.
where install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows.
--debug
--pidname=Oracle
--pidnum=3002
--logfile=install-dir/var/clientlogs/backupdb.log
--vardir=install-dir/var
--id=testuser@/clients/oraw2k864-mc2.bgl-avamar.emc
--password=testuser
--path=/clients/oraw2k864-mc2.bgl-avamar.emc
--server=avamar-1.emc.com
NOTE: To view the contents of a tablespace backup, use the list backup command. The list backup command lists
all the datafiles and the control file that are part of the tablespace backup.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database to back up.
4. Back up the Oracle tablespace by typing commands similar to the following RMAN commands:
run {
configure controlfile autobackup on;
set controlfile autobackup format for device type sbt to
'CONTROLFILE.ANT.%F';
allocate channel c0 type sbt
PARMS="SBT_LIBRARY=c:\PROGRA~1\avs\bin\orasbt64.dll"\
format '%d_%U';
send '"--prefix=11g/ANT/"
"--flagfile=c:\rman\avtar-flags.txt"
"--taskfile=c:\rman\taskfile.txt"
"--bindir=c:\PROGRA~1\avs\bin"';
backup tablespace ant_ts;
release channel c0;
}
In the sample script, the database name is ANT and the tablespace name is ant_ts. The script backs up the tablespace and
the database control file by using the autobackup option.
Backing up a datafile
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database to back up.
4. Back up the Oracle datafile by typing RMAN commands similar to the following commands:
run {
configure controlfile autobackup on;
allocate channel c1 type sbt\
where:
● install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on Linux,/opt/
AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows, and so forth.
● MyFile.dbf is the Oracle datafile to back up.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database to back up.
4. Back up the Oracle database by typing RMAN commands similar to the following commands:
run {
set controlfile autobackup format for device type sbt to
'CONTROLFILE.db.%F'; allocate channel c0 type sbt
PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so" format
'%d_%U'; send channel='c0' ' "prefix=12/db" "--cacheprefix=db-c0"
"--bindir= install-dir/bin" "--flagfile=/path/my-avtarflags.txt"
"--taskfile=/path/taskfile.txt" '; backup pluggable database
pdbname plus archivelog delete input;
}
Where:
● install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows, and so on.
● pdbname is the Oracle pluggable database to be backed up
NOTE: Altering the system switch logfile should be done from the root container after every backup in order to do a PIT
restore.
Prerequisites
All RMAN backup scripts in the following topics require an avtar flag file. Creating an avtar flag file on page 74 provides more
information.
Restoring a database
To restore a database backup, you must specify a value from the control file name. Backups you perform from RMAN use the
format, c.DBID-DATE-SEQ, for the control file name. Backups you perform with Avamar Administrator add a prefix to the
control file name.
The %F directive combines the DBID, date, and sequence to form the following control file name:
CONTROLFILE.c.DBID-DATE-SEQ
The sample scripts in this guide assume this format for the control file name.
The control file name contains a prefix when you use a backup that you created with Avamar Administrator for the restore. You
must then add the prefix to the send command. The prefix must be the first directive. The following send command specifies
“11g/orcl” as the prefix for an Oracle 11g database with a SID of orcl:
send '"--prefix=11g/orcl/" "--flagfile=/oracle/my-avtar-flags.txt"\
"--taskfile=/oracle/taskfile.txt" "--bindir=install-dir/bin"';
The path that you specify by the --prefix option must contain a trailing slash (/). The direction of the slash does not change
on Windows platforms.
The following procedure uses an RMAN script to restore an Oracle control file and database.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database to restore.
4. List all available backups by typing the list backup command:
list backup;
5. From the backup to be restored, retrieve the following information from the control file:
a. Examine the database backup control file name.
b. Note the values for the following variables:
● DATE
● DBID
● SEQ
Use the values of the DATE, DBID, and SEQ variables in the RMAN restore script.
6. Restore the Oracle control file by typing the following RMAN commands:
set dbid=DBID;
set controlfile autobackup format for device type sbt to\
'CONTROLFILE.%F';
run {
allocate channel c1 type sbt\
PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so"\
format '%d_%U';
send '"--flagfile=/oracle/my-avtar-flags.txt"\
"--taskfile=/oracle/taskfile.txt"\
where:
● DBID is the database ID.
● install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows.
● YYYYMMDD is a date.
The restore process copies the control file and puts the database in a mount state. A list of available database backups and
corresponding system change numbers (SCN) appears in the command shell
7. Locate and note the SCN that corresponds to the backup to use for the recover process:
● To recover an archive log backup, locate and note the next SCN for the archive log.
● To recover from a database backup, locate and note the SCN for the database.
NOTE: In general, database control files are small and it is highly recommended a single channel is used for restoring the
control file for achieving better performance.
where:
● scn is the next SCN value (noted in step 7) for the archive log recovery or the SCN value for the database.
● install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows.
NOTE: If the restore process fails, you might need to perform manual recovery steps. ORA-19870: error while restoring
backup piece on page 108 provides more information.
Restoring a tablespace
You can use an RMAN script to restore a tablespace from an Avamar server or a Data Domain system.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database to restore.
where:
● install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows, and so forth.
● USERS is the tablespace to restore.
Restoring datafiles
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database to restore.
4. Restore the Oracle datafile by typing the following RMAN commands:
run {
allocate channel c1 type sbt\
PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so"\
format '%d_%U';
send '"--flagfile=/oracle/my-avtar-flags.txt"\
"--taskfile=/oracle/taskfile.txt"\
"--bindir=install-dir/bin" "--labelnum=num"';
restore datafile "MyFile.dbf";
recover datafile "MyFile.dbf";
release channel c1;
}
where:
● install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows.
● num is the backup number from which you want to restore.
● MyFile.dbf is the Oracle datafile you want to restore.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database to back up.
4. Back up the Oracle database by typing RMAN commands similar to the following commands:
Where:
● install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows, and so on.
● pdbname is the Oracle pluggable database to be backed up
Prerequisites
All RMAN restore scripts in the following topics require an avtar flag file. Creating an avtar flag file on page 74 provides more
information.
Prerequisites
To use a catalog for restore, add the connect catalog string after the connect target string. For example, you can specify the
following commands:
connect target user/password@mydb;
connect catalog catuser/catpassword@catalog;
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Restore the Oracle database by typing the following RMAN commands:
Connect catalog user/passwd@CATALOG;
run {
allocate channel c1 type sbt\
PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so"\
format '%d_%U';
send '"--flagfile=/oracle/my-avtar-flags.txt"\
"--taskfile=/oracle/taskfile.txt"\
"--bindir=install-dir/bin"';
restore database;
recover database;
release channel c1;
}
where:
● user and passwd are the credentials for the recovery catalog (CATALOG).
Prerequisites
The system environment must meet the following requirements to restore Oracle to a different client system:
● Both the source and target platforms must be similar types with the same configuration.
● The version of RMAN on the target platform must be compatible with the version of RMAN that was used to create the
backup.
Steps
1. Open a command shell.
2. On the target system, create an avtar flag file.
This file is the same as the one described in Creating an avtar flag file on page 74, except for the --id, --ap, and --path
entries, which refer to the original client system (where the backup was originally performed), not the target system.
3. Save the changes.
4. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
5. Create an empty database on the target system with the same SID as the original database.
6. Shut down the database and delete all control files, datafiles, logs, and FRA contents corresponding to the database.
7. Restart the database with the nomount option.
8. Restore the database by using the flag file. Restoring a database on page 83 provides instructions.
Steps
1. In Avamar Administrator, select Tools > Manage Retention Policies.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database.
4. Create a retention policy by using the appropriate command. The following commands are examples:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
Ensure that the RMAN retention period and the Avamar retention policy are as close as possible to the same length of time.
Crosschecking backups
The crosscheck command verifies that backups on the Avamar server exist. RMAN marks the backup as available or expired
upon successful completion of this command. When the crosscheck command is unable to connect to the Avamar server, the
operation fails.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to and RMAN prompt.
3. Connect to the Oracle database.
4. Verify a backup by typing the following RMAN commands:
allocate channel for maintenance type sbt
PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so";
where install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows, and so forth.
Deleting backups
To delete backups, the Avamar user account must have the delete privilege. This user account is the account that
corresponds to the --id value in the avtar flag file. When you run the delete command from an account that does not have
the delete privilege, the avtar program issues a warning, not an error.
Prerequisites
The following procedure requires an avtar flag file. Creating an avtar flag file on page 74 provides more information.
Steps
1. Open a command shell.
2. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
3. Connect to the Oracle database.
4. Delete an expired backup by typing the following RMAN commands:
run {
allocate channel c1 type sbt
PARMS="SBT_LIBRARY=/install-dir/lib/libobk_avamar.so";
send '"--flagfile=/oracle/my-avtar-flags.txt"\
"--bindir=/usr/local/avamar/bin"';
delete expired backupset;
}
where install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on
Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows, and so forth.
Steps
● Use the report obsolete command followed by the delete obsolete command.
RMAN determines which backups have fallen outside of the retention policy, and then deletes them from its catalog and the
Avamar server.
● Use the crosscheck command followed by the delete expired command.
RMAN determines which backups are available on the Avamar server, and then updates its catalog accordingly.
Steps
1. Disable the file cache by adding the following entry to the avtar flag file:
--enable-filecache=false
2. Create an RMAN script that includes allocate channel commands similar to the following commands:
The script specifies a cacheprefix directive for each channel. If the send command is split into multiple instances,
specify the cacheprefix directive only once for each channel.
5. Before running an RMAN script that allocates multiple channels, ensure that the user account has permissions to create files
in the install-dir/var directory or the cache files exists and has the correct permissions.
Steps
1. Create a text file called a taskfile with the following entries:
--no_of_channels=<number of channels to be used in current operation>
--operation={backup | restore}
2. Modify the send statements in the RMAN script by adding a taskfile parameter.
For example:
send channel='c1' '"--prefix=11g/MAYONE/" "--cacheprefix=MAYONE1" "--
bindir=/usr/local/avamar/bin" "--taskfile=/software/taskflag.txt" "--flagfile=/software/
my_avtar_flags.txt"';
allocate channel c2 type sbt PARMS="SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so"
format '%d_%U';
3. Run the RMAN script according to the appropriate instructions in this chapter.
4. Locate the new entry for the current RMAN operation in the Activity window in Avamar Administrator.
Backup options
Backup plug-in options enable you to control backup functionality that is specific to the Avamar Plug-in for Oracle. You can
specify plug-in options for on-demand and scheduled backups.
The following table lists options that are available for the Avamar Plug-in for Oracle when you perform an on-demand backup or
when you configure dataset for scheduled backups.
92 Plug-in Options
Table 5. Backup plug-in options (continued)
Option Description
Back up database Backs up the Oracle database. You can use this option by
itself or with the Backup archive logs option.
Back up archive logs Backs up Oracle archive logs. You can use this option by itself
or with the Back up database option.
NOTE: The backup process does not use Incremental
Backup options if you select only the Back up archive
logs option.
Delete archive logs after backup Automatically deletes Oracle archive logs after a successful
database backup.
Media Management Library Bitwidth Specifies Media Management Library (MML) bitwidth. Select
an option:
● Automatic (default)
● 32-bit
● 64-bit
If the application bitness and OS bitness are not the same,
select the appropriate setting from the Media Management
Library Bitwidth list. If the application bitness and OS
bitness are the same, leave the Media Management Library
Bitwidth set to Automatic.
NOTE: The Media Management Library Bitwidth
option is available for Linux and UNIX Oracle RMAN plug-
ins. This option does not apply to Windows platforms.
Exit a multiple target backup when any one backup fails Prevents a multiple target backup from continuing after one
of the backups fails.
Enable debugging messages (advanced option) Writes maximum information to log files. Use with caution.
NLS_DATE_FORMAT (advanced option) Specifies a valid timestamp format for the target machine. For
example: mm/dd/yyyy.
Enhanced Data Deduplication (advanced option) Enables or disables data compression. During backups,
enhanced data deduplication can reduce the amount of client
data that is sent to the server, but might require additional
client CPU resources. Select an option:
● To back up the data files without using compression,
select Default.
Plug-in Options 93
Table 5. Backup plug-in options (continued)
Option Description
● To use the global data compression setting that is already
set on the server, select Default. This is the default
setting.
● To use enhanced data deduplication for the backup, select
Enabled.
Full backup Backs up all data files. You can optionally choose to backup
the archive logs during a Level 0 (incremental) backup or at
a later time. Full backups do not use the Block Change
Tracking option. This option is the default.
Level 0 backup Performs a level 0 backup. Level 0 backups back up all data
files. You must perform a level 0 backup before you perform a
level 1 backup.
Level 1 differential backup Backs up all database blocks that have changed since the
most recent level 1 or level 0 backup. You must perform a
level 0 backup before you perform a level 1 backup. Selecting
the Level 1 backup option before you create a level 0 backup
results in a level 0 backup.
Level 1 cumulative backup Backs up all database blocks that have changed since the
most recent level 0 backup.
Use recovery catalog Select this option to use the values in the Recovery Catalog
Server Name, Recovery Catalog Username, and Recovery
Catalog Password fields to form a recovery catalog server
connection string for RMAN. Using a recovery catalog server
enables you to use specialized features of RMAN. A thorough
discussion of these features is beyond the scope of this guide.
The Oracle documentation provides more information.
Recovery Catalog Server Name Specifies the recovery catalog server name.
Recovery Catalog Username Specifies the recovery catalog username.
Recovery Catalog Password Specifies the recovery catalog password.
Run user-defined script at beginning of backup (advanced Specifies the name of a script that runs at the beginning
option) of the backup. The preprocessing script must be in the /
avamar/etc/scripts directory on the client.
Exit backup if script fails (advanced option) Stops processing the script when the script returns a non-
zero status code.
Run user-defined script at end of backup (advanced option) Specifies the name of a script that runs at the end
the backup. The postprocessing script must be in the /
avamar/etc/scripts directory on the client.
Exit process with script failure exitcode (advanced option) Exits the script with an exitcode from the script rather than
with the standard avoracle exitcode.
Filesperset Specifies the number of files that RMAN can include in each
backup set. The default is 1.
Store backup on Data Domain system Backs up the data to the Data Domain system rather than to
the Avamar server. Select the checkbox, and then choose a
Data Domain system from the list.
Encryption method to Data Domain system Specifies the encryption method for data transfer between
the client and the Data Domain system during the backup.
Show Advanced Options Displays advanced options.
94 Plug-in Options
Specifying the channel_maxopenfiles option as normal text
The MAXOPENFILES parameter defines the number of files that RMAN can read and write simultaneously in each backup
piece per channel. You can specify RMAN parameters for backups in Avamar Administrator by using avoracle flags in the
avoracle.cmd file.
Steps
1. From the Backup Command Line Options dialog box, click More.
The dialog box expands to display the Enter Attribute and Enter Attribute Value fields.
2. Type the [avoracle]channel_maxopenfiles option in the Enter Attribute field.
3. Type the number of files in the Enter Attribute Value field.
4. Click +.
The option and value appear in the box below the + and - buttons.
--sbtio_trace_level=value
The acceptable values for --sbtio_trace_level are 0 or any integer greater than 0. A 0 indicates minimal logging and
reports only error conditions. Any value greater than 0 logs all messages.
By default, the trace level is set to 2, which logs all messages. You can minimize logging by setting --sbtio_trace_level to
0.
Steps
1. From the Backup Command Line Options dialog box or the Restore Command Line Options dialog box, click More.
The dialog box expands to display the Enter Attribute and Enter Attribute Value fields.
2. Type the [avoracle]sbtio_trace_level option in the Enter Attribute field.
3. Type the trace level in the Enter Attribute Value field.
The acceptable values for the trace level are 0 or any integer greater than 0. A 0 indicates minimal logging and reports only
error conditions. Any value greater than 0 logs all messages.
By default, the trace level is set to 2, which logs all messages. You can minimize logging by setting --
sbtio_trace_level to 0.
4. Click +.
The option and the value appear in the box that is below the + and - buttons.
Plug-in Options 95
The libobk_timeout option
The libobk_timeout parameter defines the timeout interval for communication between avoracle and MML. You can
specify RMAN parameters for backups and restore by using avoracle flags in the avoracle.cmd file or in the Avamar
Administrator via the Backup Command Line Options dialog box or the Restore Command Line Options dialog box.
To modify the timeout, specify the --libobk_timeout flag in the avoracle.cmd file by using the format:
--libobk_timeout=value
The libobk_timeout parameter accepts values in minutes. The acceptable values for --libobk_timeout are between 1
and 35791. An input of 1 indicates timeout of 1 minute. If the flag is not set or is set outside the range, a default input of 1
minute is set.
Steps
1. From the Backup Command Line Options dialog box or the Restore Command Line Options dialog box, click More.
The dialog box expands to display the Enter Attribute and Enter Attribute Value fields.
2. Type the [avoracle]libobk_timeout option in the Enter Attribute field.
3. Type the value in minutes in the Enter Attribute Value field.
The acceptable values are 1 or any integer greater than 1. A 1 indicates a timeout of 1 minute. A value of 0 or negative
integer will automatically set the timeout to 1 minute.
By default, the timeout is set to 1.
4. Click +.
The option and value appear in the box below the + and - buttons.
Restore options
Restore plug-in options enable you to control restore functionality that is specific to the Avamar Plug-in for Oracle. You set
restore options from the Restore Command Line Options dialog box.
The following table lists options for restore operations with the Avamar Plug-in for Oracle.
96 Plug-in Options
Table 6. Restore plug-in options (continued)
Option Description
Media Management Library Bitwidth Specifies Media Management Library (MML) bitwidth.
Choices are:
● Automatic (default)
● 32-bit
● 64-bit
If the application bitness and OS bitness are not the same,
select the appropriate setting from the Media Management
Library Bitwidth list. If the application bitness and OS
bitness are the same, leave the Media Management Library
Bitwidth set to the Automatic.
NOTE: The Media Management Library Bitwidth
option is available for Linux and UNIX Oracle RMAN plug-
ins. This option does not apply to Windows platforms.
Number of RMAN Channels Specifies the number of channels to allocate during a backup
or restore. The maximum number is 10. The default is 1. This
option impacts the number of streams that Data Domain
systems use. The formula that determines the number of
streams is: NUMBER OF RMAN CHANNELS x NUMBER OF
DATA DOMAIN STREAMS.
NOTE: The number of Data Domain streams is set
when you add a Data Domain system to the Avamar
configuration.
Plug-in Options 97
Table 6. Restore plug-in options (continued)
Option Description
Recovery mode Lists recovery modes for the Point-in-Time (PIT) and
Flashback Database (FRA) recovery types. Select an option
from the Recovery mode list. Recovery modes and values on
page 98 provides more information.
Recovery value Specifies the SCN, log sequence number, or timestamp,
depending on which recovery mode is selected.
Open the database with resetlogs after recovery Select this option to open the database after the recovery.
Clear this option to enable a roll-forward operation to recover
the database with archive log transactions.
Run user-defined script at beginning of restore (advanced Specifies the name of a script that runs at the beginning
option) of the restore. The preprocessing script must be in the /
avamar/etc/scripts directory on the client.
Exit restore if script fails (advanced option) Stops processing the script when the script returns a non-
zero status code.
Run user-defined script at end of restore (advanced option) Specifies the name of a script that runs at the end of
the restore. The postprocessing script must be in the /
avamar/etc/scripts directory on the client.
Exit process with script failure exitcode (advanced option) Exits the script with an exitcode from the script rather than
with the standard avoracle exitcode.
98 Plug-in Options
Table 7. Recovery mode options (continued)
Recovery mode options Recovery value Point-in-Time (PIT) Flashback Database (FRA)
The timestamp format must
conform to the localization
settings on the target
host and locale configuration
setting for the Oracle server.
Restore Point Recovers the database to X X
the SCN associated with
the specified restore point.
The restore point can be an
ordinary restore point or a
guaranteed restore point.
Before SCN (FRA only) Recovers the database to its X
state just before the specified
SCN. Any changes at an SCN
lower than the specified SCN
are applied. If there is a
change that is associated with
the specified SCN, it is not
applied.
Before Log Sequence (FRA Specifies a redo log sequence X
only) number and thread as an
upper limit. RMAN applies
changes up to (but not
including) the last change in
the log with the specified
sequence and thread number.
Before Resetlogs (FRA only) Recovers the database to its X
state including all changes
up to the SCN of the most
recent OPEN RESETLOGS.
Before Time Stamp (FRA Recovers the database to its X
only) state including all changes up
to but not including changes
at the specified time.
Plug-in Options 99
Preprocessing and postprocessing scripts and
attributes
Preprocessing and postprocessing scripts are user-written shell scripts that you can run from Avamar Administrator when
you perform backup and restore operations. Specify preprocessing or postprocessing scripts and attributes in the Backup
Command Line Options dialog box or the Restore Command Line Options dialog box.
To specify preprocessing or postprocessing scripts, select Show Advanced Options in either of the two dialog boxes.
1. From the Backup Command Line Options or Restore Command Line Options dialog box, select Show Advanced
Options.
2. Click More.
The Enter Attribute and Enter Attribute Value fields appear.
The following table describes the attributes that you specify in the Enter Attribute and Enter Attributes Value fields.
The following table describes flags that you specify for run_at_start_clause, run_at_end_clause,
run_before_database_clause, and run_after_database_clause attributes.
Example of
stringlist_args=false:
[avoracle]run_at_start=scri
pt.bat First Second Third
Example of
stringlist_args=true:
[avoracle]run_at_start=scri
pt.bat First Second Third
Steps
1. From the Backup Command Line Options dialog box, select Show Advanced Options.
2. Type the name of the script in the Run user-defined script at beginning of backup field. This example uses
Avamar.bat for the script:
Avamar.bat
3. Type the following text after the name of the script:
First Second
First and Second correspond to the attributes and flags you pass to the script.
The field now contains the following text:
Avamar.bat First Second
NOTE: To pass a third attribute and flag, you append Third to the text string.
4. Click More.
The Enter Attribute and Enter Attribute Value fields appear.
5. Type the run_at_start_clause attribute in the Enter Attribute field:
[avoracle]run_at_start_clause
You precede all attributes with [avoracle].
6. Type the desc flag and value in the Enter Attribute Value field:
desc=”Avamar Pre Script”
Enclose the text string in quotation marks.
7. Click +.
8. Type the run_at_start_clause attribute in the Enter Attribute field:
[avoracle]run_at_start_clause
9. Type the timeout_seconds flag and value in the Enter Attribute Value field:
timeout_seconds=60
10. Click +.
The run_at_start_clause attributes and flags appear in the box below the + and - buttons.
Steps
1. From the Backup Command Line Options dialog box, select Show Advanced Options.
2. Click More.
The Enter Attribute and Enter Attribute Value fields appear.
3. Type the run_after_database attribute in the Enter Attribute field:
[avoracle]run_after_database
4. Type the script name, first, second, and third in the Enter Attribute Value field:
dbpostscript.bat first second third
5. Click +.
6. Type the run_after_database_clause attribute in the Enter Attribute field:
NOTE: You do not need to specify the exit_on_error flag, because it is set to false by default.
To work around this problem, increase the snapupbrowsetimeoutsecs option in Avamar Administrator:
1. From the Restore Command Line Options dialog box, click the More button.
The dialog box expands to display the Enter Attribute and Enter Attribute Value fields.
2. Type the [avoracle]snapupbrowsetimeoutsecs option in the Enter Attribute field.
3. Type the number of seconds in the Enter Attribute Value field.
4. Click +.
The option and value appear in the box below the + and - buttons.
5. Restart the restore.
Troubleshooting 105
The PL/SQL procedure will be successfully completed
2. SQL> exec dbms_stats.LOCK_TABLE_STATS('SYS','X$KCCRSR');
The PL/SQL procedure will be successfully completed
3. SQL> set autotrace on
4. SQL> select * from x$kccrsr;
5. exit sqlplus and relogin sqlplus
6. select status from v$rman_status;
Backups that you run from Avamar Administrator or RMAN scripts that you run from the command line fail after setting backup
copies to 3:
● For backups from Avamar Administrator, an error message similar to the following error appears in the sbtio.log:
Log files for RMAN operations cannot be viewed from the Avamar
Administrator if a custom var directory is used.
When you use a custom var directory for RMAN backups, all CLI operations complete normally and the log files can be viewed
from the custom directory. However, the log files cannot be viewed from the Avamar Administrator.
106 Troubleshooting
clearing the cache
avtar Info <5065>: Creating new paging cache file /usr/local/avamar/var/f_cache2.dat
avtar Error <5803>: Error writing 32-byte header to cache file /usr/local/avamar/var/
f_cache2.dat.
These errors occur if the specified var directory does not have sufficient permissions for the Oracle user. The Oracle user
requires read, write, and execute permissions for the var directory.
Specify the /var/avamar/clientlogs directory for backups that you perform from the RMAN CLI.
Backups with Avamar Administrator automatically access the cache files from the /var/clientlogs directory.
However, the Activity window in Avamar Administrator incorrectly displays the restore status as completed.
In this case, you can examine the activity logs to determine the cause of the restore failure.
Troubleshooting 107
Level-1 backup of a large database fails with a snapview timeout
A level-1 backup of a large (300 GB) database that you perform from Avamar Administrator fails with a snapview timeout. This
issue is specific to Windows.
The log file contains the following error messages:
2014-04-03 16:04:26 avoracle Error <7011>: Unable to
successfully process snapview workorder because of timeout on
wait for snapview workorder MOD-1364973477725#0 (pid:3002-Oracle).
Please increase subprocess timeout using
--[avoracle]subprocesstimeoutsecs option and try again.
2014-04-03 16:04:26 avoracle Info <7271>: Final summary
generated subwork 1, cancelled/aborted 0, snapview 24,
exitcode 0
RMAN-00571: =======================================
RMAN-00569: ===== ERROR MESSAGE STACK FOLLOWS =====
RMAN-00571: =======================================
RMAN-03002: failure of restore command at 05/09/2014 10:01:35
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Oracle requires you to set the NLS_LANG environment variable to the correct language, territory, and character set when the
following configuration settings are true:
● The operating system is in a locale other than English.
● The database contains datafiles that use the UTF-8 character set.
108 Troubleshooting
ORA-27211: Failed to load Media Management Library
While backing up or restoring from either Avamar Administrator or the command line, RMAN fails to load the Media
Management Library. In both cases, RMAN writes output similar to the following in the log file:
RMAN-00571: ==================================================
RMAN-00569: ========== ERROR MESSAGE STACK FOLLOWS ===========
RMAN-00571: ==================================================
RMAN-03009: failure of allocate command on c1 channel at 2014-9-4 20:27:34
ORA-19554: error allocating device, device type: SBT_TAPE, device name: ORA-27211: Failed
to load Media Management Library
Additional information: 25
Recovery Manager complete.
where:
● install-dir is the base installation directory for the platform (for example, /usr/local/avamar on Linux, /opt/
AVMRclnt on Solaris, and C:\Program Files\avs\bin on Windows).
● scn is an SCN value noted in step 2 on page 109.
6. Use Oracle documentation to perform other necessary recovery steps.
run {
allocate channel oem_sbt_bkup1 type 'SBT_TAPE' format '%U' parms
'"SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so"';
backup incremental level 1 cumulative database;
backup archivelog all not backed up;
}
allocate channel for maintenance device type 'SBT_TAPE' parms
'"SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so"';
delete noprompt obsolete recovery window of 31 days device type
'SBT_TAPE';
Troubleshooting 109
To solve this issue, use the Edit RMAN Script button from the Oracle Enterprise Manager to add the appropriate RMAN send
command. Backup and Restore with Oracle RMAN on page 74 provides more information about creating RMAN scripts.
The following problems might cause the RMAN backup script to fail with the ORA-19511 error:
● The /var/avamar directory does not have correct permissions to start a backup.
Use the /var/avamar/clientlogs directory instead of the /var/avamar directory.
110 Troubleshooting
RMAN script fails with WriteFile failed error
When you specify C:\Program Files\avs\bin for the --bindir variable in an RMAN script, the script fails with the
following errors:
RMAN-03009: failure of backup command on c1 channel at 10/20/2014 13:56:49
ORA-19502: write error on file "sample_1_1", blockno 1 (blocksize=512)
ORA-27030: skgfwrt: sbtwrite2 returned error
ORA-19511: Error received from media manager layer, error text:
stream->WriteFile failed
To resolve this issue, ensure that all variables in the RMAN script that specify the Windows installation directory use
Progra~1, the short name for the Program Files folder. The parser cannot process spaces in folder names.
For example, the correct syntax for the --bindir variable is --bindir=C:\Progra~1\avs\bin.
These errors can occur when you allocate too many channels for a backup or restore from Avamar Administrator.
To resolve this issue, it is recommended to set the number of channels to no more than two times the number of processors. If
the problem still persists, reduce the number of channels.
The Number of RMAN Channels option is available from the Backup Command Line Options, Restore Command Line
Options, and New Dataset dialog boxes.
This problem does not apply to backups or restores started by an RMAN script.
Troubleshooting 111
The no_of_channels parameter no longer supported
When upgrading to the Avamar Plug-in for Oracle release 7.3 or greater from earlier versions, the no_of_channels parameter
is no longer supported.
After upgrading to release 7.3, Oracle datasets must be manually modified to use new max-streams parameter to take effect.
Hidden backups
At the end of each database backup, the Avamar Plug-in for Oracle performs a final step to group backup pieces into a
consolidated backup.
If a backup fails in the final consolidation step, the backup becomes a hidden backup, which cannot be searched for and restored
from Avamar Administrator. At the moment of this backup failure, the Avamar Plug-in for Oracle displays the following error
message:
Failed to create the snapview. However, the database data has been successfully backed up
and is marked as a hidden backup. Restore is available through CLI only. See the plug-in
documentation for information about restoring hidden backups.
It is recommended that you perform an immediate full database backup after the backup failure.
Although the backup label does not display in the Avamar Administrator window, the Avamar Plug-in for Oracle performs a
proper backup of the database data. To view information on hidden backups, you must use the following command:
avtar --backups --server=Avamar_server_name --id=Avamar_server_username --
password=Avamar_server_password --account=Avamar_domain
The following example shows the output from the command. Records that are associated with the Hidden Oracle RMAN backup
are the hidden backup pieces.
NOTE: You cannot restore the backup pieces from Avamar Administrator.
112 Troubleshooting
Configuration problems and solutions
You can resolve common configuration problems with the following troubleshooting information.
file ~/oracle/product/version/db-name/bin/rman
where:
● version is the version of Oracle.
● db-name is the name of the Oracle database.
The following output appears in the command shell:
/home/oracle/oracle/product/10.2.0/db_1/bin/rman: ELF 64-bit
LSB executable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.4.0, dynamically linked (uses shared libs),
not stripped
To check the bitwidth of RMAN, change to the $ORACLE_HOME/bin directory and type the following command:
file ~/oracle/product/version/db-name/bin/sqlplus
where:
● version is the version of Oracle.
● db-name is the name of the Oracle database.
The following output appears in the command shell:
Troubleshooting 113
/home/oracle/oracle/product/10.2.0/db_1/bin/sqlplus: ELF 64-bit
LSB executable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.4.0, dynamically linked (uses shared libs),
not stripped
The text string ELF 64-bit LSB executable in the command output confirms that both Oracle and RMAN are 64-bit.
The Cluster Configuration Tool requires Microsoft .NET Framework 4. You can download and install the .NET Framework 4 from
the Microsoft Download Center.
The RMAN scripts, RMAN log files, and the avoracle log files require a minimum of 100 MB of disk space.
114 Troubleshooting
cd /usr/local/avamar/ora_rac/etc
The text strings ELF 64-bit LSB shared object and ELF 32-bit LSB shared object in the following command
output confirm that both 64-bit and 32-bit libraries are present:
libobk_avamar64.so: ELF 64-bit LSB shared object, AMD x86-64,
version 1 (SYSV), not stripped
libobk_avamar.so: ELF 32-bit LSB shared object, Intel 80386,
version 1 (SYSV), not stripped
which rman
/usr/X11R6/bin/rman
rpm -qf /usr/X11R6/bin/rman
xorg-x11-devel-6.8.2-1.EL.33
xorg-x11-devel-6.8.2-1.EL.33
more oratab
catalogdb:/home/oracle/oracle/product/10.2.0/db_1:N
largedb:/home/oracle/OraHome:N
orcl:/home/oracle/oracle/product/10.2.0/db_1:N
The sample output from the oratab file includes a database that is named largedb. This database has both Oracle 9i and Oracle
10g homes. Because largedb is an Oracle 9i instance, the correct RMAN executable is in /home/oracle/OraHome/bin/
rman.
Troubleshooting 115
Set the PATH variable to the ORACLE_HOME/bin directory to ensure that RMAN uses the correct executable file. Before
running RMAN scripts, run /usr/local/bin/oraenv.
When the browse problem exists, the output from the avoracle program contains the following message:
The following circumstances can prevent you from browsing the Oracle databases:
● The Avamar client and Oracle databases use two separate NIC cards, each with different IP addresses and hostnames.
● The oratab file contains invalid entries.
Oracle Linux, Red Hat Linux, or SUSE Linux Use the rpm command:
116 Troubleshooting
Table 10. Avamar client installation verification (continued)
Platform Method
HP-UX Use the swinstall command:
swinstall -list
IBM AIX Use the smitty command to list all software or to search for
the Avamar client software package.
Solaris Use the pkginfo command:
pkginfo|grep -i AVMRclnt
Troubleshooting 117
Glossary
A
activation
The process of passing the client ID (CID) back to the client, where it is stored in an encrypted file on the client file system.
See also client activation
administrator
Person who normally installs, configures, and maintains software on network computers, and who adds users and defines user
privileges.
archive logs
Log files that contain a copy of one of the filled members of an online redo log group. The archiving process requires that the
database be set to ARCHIVELOG mode. Oracle terminology refers to archive logs as archive redo logs.
Avamar Administrator
A graphical management console software application that is used to remotely administer an Avamar system from a supported
Windows or Linux client computer.
Avamar client
A computer or workstation that runs Avamar software and accesses the Avamar server over a network connection. Avamar
client software comprises a client agent and one or more plug-ins.
Avamar server
The server component of the Avamar client/server system. Avamar server is a fault-tolerant, high-availability system that
efficiently stores the backups from all protected clients. It also provides essential processes and services required for data
restores, client access, and remote system administration. Avamar server runs as a distributed application across multiple
networked storage nodes.
avtar
The Avamar process that performs backups and restores.
B
backup
A point-in-time copy of client data that can be restored as individual files, selected data, or as an entire backup.
backup policy
In the AUI, a backup policy specifies a dataset, schedule, and retention settings that are applied to a client or a group of clients.
A backup policy must contain at least one Avamar client. If the backup policy contains two or more clients, the clients must
belong to the same Avamar domain. You can override backup policy settings at the client level.
browse
The process of viewing data that is available for backup on a client computer or restore from the Avamar server.
C
client activation
The process of passing the client ID (CID) back to the client, where it is stored in an encrypted file on the client file system.
See also activation
client agent
A platform-specific software process that runs on the client and communicates with the Management Console Server (MCS)
and with any plug-ins installed on that client.
client registration
The process of establishing an identity with the Avamar server. When Avamar recognizes the client, it assigns a unique client ID
(CID), which it passes back to the client during client activation.
118 Glossary
See also registration
cluster
Two or more independent network servers, usually with exact copies of the same software and data, that operate and appear to
clients as if they are a single unit. A cluster configuration enables work to be shifted from one server to another, providing high
availability, which allows application services to continue despite most hardware or software failures.
cold backup
A backup of database objects that you perform while the corresponding database or instance is shut down and unavailable to
users. Also known as an offline backup.
D
database
A collection of data arranged for ease and speed of update, search, and retrieval by computer software.
database files
Oracle database files include datafiles, control files, and online redo logs.
dataset
A policy that defines a set of files, directories, and file systems for each supported platform that are included or excluded in
backups across a group of clients. A dataset is a persistent and reusable Avamar policy that can be named and attached to
multiple groups.
DD Boost
The API that Avamar clients use to access a Data Domain system. The DD Boost API is installed automatically on the client
computer when you install the Avamar client. It is also installed automatically on the Avamar server when you install Avamar.
disaster recovery
Recovery from any disruptive situation, such as hardware failure or software corruption, in which ordinary data recovery
procedures are not sufficient to restore a system and its data to normal day-to-day operations. A disaster recovery can be a
bare metal recovery.
DNS
Domain Name Server. A dynamic and distributed directory service for assigning domain names to specific IP addresses.
domain
A feature in Avamar Administrator that is used to organize large numbers of clients into named areas of control and
management.
F
file system
Software interface used to save, retrieve, and manage files on storage media by providing directory structures, data transfer
methods, and file association.
G
group
A level of organization in Avamar Administrator for one or more Avamar clients. All clients in an Avamar group use the same
group policies, which include the dataset, schedule, and retention policy.
group policy
In Avamar Administration, a group policy is defined as a dataset, schedule, and retention policy for all clients in an Avamar group.
Glossary 119
L
LAN
Local Area Network.
M
MCS
Management console server. The server subsystem that provides centralized administration (scheduling, monitoring, and
management) for the Avamar server. The MCS also runs the server-side processes used by Avamar Administrator.
O
Oracle instance
A memory structure and a group of Oracle Server processes running on a node.
oratab file
A text file that contains the system identifier and home directory of the Oracle database. A typical oratab entry is similar to
the following: ora91:/space/local/oracle/ora901. The default location for the oratab file is /var/opt/oracle on
Solaris and /etc on other systems.
P
plug-in
Avamar client software that recognizes a particular kind of data resident on that client.
point-in-time restore
Restore of a backup to a specific point in time.
policy
A set of rules for client backups that can be named and applied to multiple groups. Groups have dataset, schedule, and retention
policies.
R
Recovery Manager (RMAN)
A software application that provides a command line interface for hot and cold backups, as well as cold recovery of a supported
Oracle database.
120 Glossary
registration
The process of establishing an identity with the Avamar server. When Avamar recognizes the client, it assigns a unique client ID
(CID), which it passes back to the client during client activation.
See also client registration
restore
An operation that retrieves one or more file systems, directories, files, or data objects from a backup and writes the data to a
designated location.
retention
The time setting to automatically delete backups on an Avamar server. Retention can be set to permanent for backups that
should not be deleted from an Avamar server. Retention is a persistent and reusable Avamar policy that can be named and
attached to multiple groups.
S
schedule
The ability to control the frequency and the start and end time each day for backups of clients in a group. A schedule is a
persistent and reusable Avamar policy that can be named and attached to multiple groups.
T
tablespace
A logical storage unit in a database, which groups related logical structures together.
transaction logs
A record of database transactions or list of changed files in a database, stored in a log file to execute quick restore and rollback
transactions.
U
User Account Control (UAC)
A Windows feature available in Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista. UAC helps prevent
unauthorized changes to your computer. When functions that could potentially affect a computer's operation are made, UAC
prompts the user for permission or for an administrator's password before continuing with the task.
Glossary 121