Docu53954 - Avamar 7.1 For Oracle User Guide
Docu53954 - Avamar 7.1 For Oracle User Guide
1 for Oracle
User Guide
302-000-844
REV 03
Copyright © 2001-2014 EMC Corporation. All rights reserved. Published in USA.
EMC believes the information in this publication is accurate as of its publication date. The information is subject to change
without notice.
The information in this publication is provided as is. EMC Corporation makes no representations or warranties of any kind with
respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a
particular purpose. Use, copying, and distribution of any EMC software described in this publication requires an applicable
software license.
EMC², EMC, and the EMC logo are registered trademarks or trademarks of EMC Corporation in the United States and other
countries. All other trademarks used herein are the property of their respective owners.
For the most up-to-date regulatory document for your product line, go to EMC Online Support (https://support.emc.com).
EMC Corporation
Hopkinton, Massachusetts 01748-9103
1-508-435-1000 In North America 1-866-464-7381
www.EMC.com
Figures 7
Tables 9
Preface 11
Chapter 1 Introduction 15
Architecture.................................................................................................. 16
Stand-alone configuration................................................................16
High-availability configuration......................................................... 17
Data Domain system support........................................................... 18
Log files........................................................................................... 18
Backup and restore operations......................................................................18
Backups and restores in Avamar Administrator................................ 18
Backup..........................................................................................................20
Backup types................................................................................... 20
Archive log backups......................................................................... 22
Automatic Storage Management and raw file structure support........ 22
Oracle offline backup....................................................................... 22
RMAN tuning options....................................................................... 22
RMAN backup optimization.............................................................. 23
RMAN multisection backups.............................................................24
Restore and recovery.....................................................................................24
Corrupt block recovery..................................................................... 24
Flashback Database recovery........................................................... 24
Roll forward recovery........................................................................24
Concurrent backups and restores.................................................................. 25
Multiple databases....................................................................................... 25
Multi-streaming.............................................................................................25
Oracle Exadata.............................................................................................. 26
Oracle recovery catalog................................................................................. 26
Preprocessing and postprocessing backup and restore scripts...................... 26
Chapter 2 Installation 29
Preparing to install the Avamar Plug-in for Oracle.......................................... 30
System requirements....................................................................... 30
Oracle requirements.........................................................................30
VCS configurations...........................................................................31
Downloading the software................................................................31
Installing the Avamar file system client............................................ 31
Installing, upgrading, and uninstalling the software on HP-UX....................... 32
Installing the Avamar Plug-in for Oracle on HP-UX.............................32
Upgrading the Avamar Plug-in for Oracle on HP-UX........................... 33
Uninstalling the Avamar Plug-in for Oracle on HP-UX........................ 33
Installing, upgrading, and uninstalling the software on IBM AIX.....................33
Installing the Avamar Plug-in for Oracle on IBM AIX.......................... 33
Upgrading the Avamar Plug-in for Oracle on IBM AIX.........................34
Chapter 4 Backup 63
Creating the Oracle user account...................................................................64
Enabling Block Change Tracking....................................................................64
Preparing the database for backup ............................................................... 64
Performing on-demand backup..................................................................... 66
Scheduling backups......................................................................................69
Creating a dataset............................................................................ 70
Creating a group...............................................................................73
Enabling scheduled backups........................................................... 74
Monitoring backups...................................................................................... 74
Canceling backups........................................................................................ 75
Oracle RAC backup failures........................................................................... 75
Restarting the backup after the active node’s instance goes down... 75
Restarting the backup after a node goes down................................. 75
Appendix A RAC Issues When Not Using Shared Var Directory 115
Configuring the plug-in without a shared var directory................................. 116
Installing the Avamar software....................................................... 116
Running the rac_config script......................................................... 116
Registering and activating the Avamar client.................................. 117
Restoring a backup to the inactive node...................................................... 117
Deactivating the active node.......................................................... 117
Registering and activating the inactive node.................................. 118
Removing the Avamar Plug-in for Oracle configuration.................................118
Removing the plug-in from the active node.....................................118
Removing the plug-in from the inactive node..................................119
Glossary 149
1 Revision history............................................................................................................. 11
2 Hardware requirements ................................................................................................ 30
3 Environment variables for libobk................................................................................... 96
4 Backup plug-in options................................................................................................122
5 Restore plug-in options................................................................................................125
6 Recovery mode options............................................................................................... 127
7 Preprocessing and postprocessing attributes.............................................................. 129
8 Attribute flags..............................................................................................................129
9 Avamar client installation verification.......................................................................... 148
As part of an effort to improve its product lines, EMC periodically releases revisions of its
software and hardware. Therefore, some functions 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 your EMC technical support professional if a product does not function properly
or does not function as described in this document.
Note
This document was accurate at publication time. Go to EMC Online Support (https://
support.EMC.com) to ensure that you are using the latest version of this document.
Purpose
This guide describes how to install, configure, administer, and use the EMC Avamar Plug-
in for Oracle.
Audience
This document is intended for:
l System administrators who are responsible for installing software and maintaining
servers and clients on a network
l 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.
Table 1 Revision history
02 August 15, 2014 Added RMAN substitution variables %d and %U on page 97.
Related documentation
The following EMC publications provide additional information:
l EMC Avamar Administration Guide
l EMC Avamar Backup Clients User Guide
l EMC Avamar for Windows Server User Guide
l EMC Avamar Operational Best Practices
l EMC Avamar Compatibility and Interoperability Matrix
l EMC Avamar Release Notes
l EMC Avamar and EMC Data Domain System Integration Guide
Special notice conventions used in this document
EMC uses the following conventions for special notices:
NOTICE
Note
Typographical conventions
EMC uses the following type style conventions in this document:
Bold Use 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)
Documentation
The Avamar product documentation provides a comprehensive set of feature
overview, operational task, and technical reference information. Review the
following documents in addition to product administration and user guides:
l Release notes provide an overview of new features and known limitations for a
release.
l Technical notes provide technical details about specific product features,
including step-by-step tasks, where necessary.
l White papers provide an in-depth technical perspective of a product or products
as applied to critical business issues or requirements.
Knowledgebase
The EMC Knowledgebase contains applicable solutions that you can search for either
by solution number (for example, esgxxxxxx) or by keyword.
To search the EMC Knowledgebase:
1. Click the Search link at the top of the page.
2. Type either the solution number or keywords in the search box.
3. (Optional) Limit the search to specific products by typing a product name in the
Scope by product box and then selecting the product from the list that appears.
4. Select Knowledgebase from the Scope by resource list.
5. (Optional) Specify advanced options by clicking Advanced options and
specifying values in the available fields.
6. Click the search button.
Online communities
Visit EMC Community Network at http://community.EMC.com for peer contacts,
conversations, and content on product support and solutions. Interactively engage
online with customers, partners and certified professionals for all EMC products.
Live chat
To engage EMC 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 EMC 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 your
EMC sales representative for details about obtaining a valid support agreement or
with questions about your 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.
Facilitating support
EMC recommends that you enable ConnectEMC and Email Home on all Avamar
systems:
l ConnectEMC automatically generates service requests for high priority events.
l Email Home emails configuration, capacity, and general system information to
EMC Customer Support.
Your comments
Your suggestions will help us continue to improve the accuracy, organization, and overall
quality of the user publications. Send your opinions of this document to
[email protected].
Please include the following information:
l Product name and version
l Document name, part number, and revision (for example, 01)
l Page numbers
l Other details that will help us address the documentation issue
l Architecture.......................................................................................................... 16
l Backup and restore operations..............................................................................18
l Backup..................................................................................................................20
l Restore and recovery............................................................................................. 24
l Concurrent backups and restores.......................................................................... 25
l Multiple databases............................................................................................... 25
l Multi-streaming.....................................................................................................25
l Oracle Exadata...................................................................................................... 26
l Oracle recovery catalog......................................................................................... 26
l Preprocessing and postprocessing backup and restore scripts.............................. 26
Introduction 15
Introduction
Architecture
® ®
The EMC 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 an
®
EMC 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.
Figure 1 Avamar Plug-in for Oracle in a stand-alone configuration
The EMC Avamar Compatibility and Interoperability Matrix provides more information about
supported platforms.
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.
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.
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:
l rac_config—Configures the Avamar Plug-in for Oracle to back up and restore RAC
databases.
l rac_deconfig—Deletes the RAC configuration from the Avamar Plug-in for Oracle.
l 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.
You 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
High-availability configuration 17
Introduction
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.
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 Avamar client agent runs RMAN with this script. The script directs Oracle to open a
connection with an Avamar Media Management library, which invokes an avtar session
to connect to the Avamar server.
The following figure shows the process flow between the Avamar client and Avamar
server.
Figure 2 Avamar client and Avamar server process flow diagram
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:
Backup
The Avamar Plug-in for Oracle enables you to back up Oracle database files and archive
logs by using Avamar Administrator 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:
l Backups of Oracle database files and archive logs.
l Cold (offline) backups of the Oracle file system.
l Four backup levels:
n Full—Backs up all datafiles and archive logs. Level full, the default backup level, is
not part of the incremental backup strategy.
n Level 0 (incremental)—Backs up all datafiles and archive logs. You must run a
Level 0 backup before you run a Level 1 backup.
n 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.
Backup types 21
Introduction
In Figure 5 on page 23, 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 the way 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, therefore, 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.
dialog box. When you clear this option, the restore operation does not open the database
with resetlogs. You can then apply archive logs to recover the database to the most
current point-in-time that is available.
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 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 EMC Avamar Compatibility and Interoperability Matrix provides more information about
supported environments for the Avamar Plug-in for Oracle.
You must 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 63 and
Restore and Recovery on page 77 provide more information.
preprocessing and postprocessing attributes and attribute values in the Enter Attribute
and Enter Attribute Value fields.
Installation 29
Installation
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 EMC Avamar Compatibility and
Interoperability Matrix on EMC Online Support at https://support.EMC.com. The
requirements in the matrix 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.
Hardware requirements
The following table lists hardware requirements for the Avamar Plug-in for Oracle.
Resource Requirement
RAM 64 MB
Hard drive space 130 MB permanent hard drive space for software installation. The Avamar
client software also requires an additional 12 MB of permanent hard drive
space for each 64 MB of physical RAM. The local cache files use this space.
Network interface 10BaseT minimum. 100BaseT or higher recommended, configured with the
latest drivers for the platform.
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.
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.
Note
For a Solaris cluster (VCS) configuration, download the Avamar Cluster Client for Solaris.
The Avamar Cluster Client for Solaris includes the Avamar Plug-in for Oracle.
Procedure
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:
http://Avamar_server
VCS configurations 31
Installation
l For Windows systems, follow the instructions in the EMC Avamar for Windows Server
User Guide.
where:
l platform is the HP-UX platform type.
l 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:
l platform is the HP-UX platform type.
l version is the Avamar version number.
l 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]
Plug-in for Oracle in the default var directory or use the installp command to install
the Avamar Plug-in for Oracle in a new location.
Ensure that you install the Avamar Plug-in for Oracle in the same directory as the Avamar
Client for AIX. The installation returns an error if you install the Avamar Plug-in for Oracle
in the default directory after you install the Avamar Client for AIX in an alternate directory.
Procedure
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:
l install_path is the directory for the installation files.
l version is the Avamar software version.
where:
l platform is the AIX system type.
l 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:
l install_path is the alternate installation directory.
l platform is the AIX system type.
l version is the Avamar software version.
6. Download the Avamar Client for AIX. The EMC 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:
l platform is the AIX system type.
l 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:
l install_path is the alternate installation directory.
l platform is the AIX system type.
l version is the Avamar software version.
where:
l platform is the Linux system type.
l 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:
l install_path is the new directory.
l platform is the Linux system type.
l 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:
l install_path is the new directory.
l var_path is the new var directory.
l platform is the Linux system type.
l version is the Avamar software version.
where:
l platform is the Linux platform type.
l 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:
l install_path is the installation directory that you specified when you installed the
earlier version of the Avamar Plug-in for Oracle software.
l platform is the Linux platform type.
l 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:
l var_path is the var directory that you specified when you installed the earlier
version of the Avamar Plug-in for Oracle software.
l platform is the Linux platform type.
l version is the Avamar software version.
The rpm -Uvh command automatically uninstalls the earlier version of the Avamar
Plug-in for Oracle, and then installs the new version.
Note
To install the Avamar Plug-in for Oracle on a Solaris cluster (VCS), skip this procedure and
continue with Installing the Avamar Plug-in for Oracle on a Solaris cluster on page 40.
Procedure
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:
l platform is the Solaris platform type.
l 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.1.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.1.100-nnn.pkg>
Avamar Client Plugin for Oracle RMAN(sparc) 7.1.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.
Note
To install the Avamar Plug-in for Oracle on a stand-alone Solaris system, skip this
procedure and complete Installing the Avamar Plug-in for Oracle on a stand-alone
Solaris on page 39.
Procedure
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:
l platform is the Solaris platform type.
l version is the Avamar version number.
The following packages are available:
1 AVMRclusclnt Avamar Cluster Client
(sparc) 7.1.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 <AVMRclusclnt> from
</home/source/fresh/installers/solpkgs/PKGS/
AvamarClusterClient-solaris10-sparc-7.0.100-nnn.pkg>
Avamar Cluster Client(sparc) 7.1.100-nnn
This software is copyright EMC Corporation, 2001-2014
Please read and agree to the End User License Agreement
which will be placed in the base directory of the install
as a file named AvamarClient-License.txt.
## Executing checkinstall script.
Using as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setvtgid 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
<AVMRclusclnt>
[y,n,?] y
5. Type y and press Enter.
The installation runs to completion.
6. Run avclustinstall by typing the following commands:
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:
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
where:
l 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 33, use the name you specified in Upgrading the Avamar Plug-in for
Oracle on HP-UX on page 33.
l hostname is the system where the VCS service group is in PARTIAL state.
Procedure
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
Note
The Avamar Plug-in for Oracle is automatically installed in the same folder as the Avamar
Client for Windows.
Procedure
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 31.
3. Start the Avamar Plug-in for Oracle installation:
l If UAC is disabled, double-click the installation package to open it.
l 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:
n platform is the Windows platform type.
n version is the Avamar software version.
The welcome page appears.
4. Click Next.
The Ready to install EMC Avamar Backup Plug-in for Oracle page appears.
5. Click Install.
The Installing EMC Avamar Backup Plug-in for Oracle page appears. A status bar
shows the installation’s progress. After the installation completes, the Completed the
EMC Avamar Backup Plug-in for Oracle Setup Wizard page appears.
6. Click Finish.
7. In a cluster, repeat this installation procedure on each node.
3. Click Next.
The Plug-Ins page appears.
4. Select EMC 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 EMC 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.
Note
Including Oracle database files with the file system backup consumes storage space in
the Avamar system and increases network traffic during the nightly backup window.
Create a dataset that excludes the entire root directory branch for each Oracle instance,
and then assign the dataset to the Avamar client. For example, if the full pathname of a
database instance is /space/local/oracle/ora901, exclude this directory in the
Avamar dataset.
Procedure
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
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. 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 privileges.
c. Type the password for the account in the Password field.
d. 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 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 49.
Note
EMC recommends that you configure a shared var directory to ensure automatic failover
for the Avamar agent if the active node goes down. If you do not configure a shared var
directory, you must manually activate another node when the active node goes down.
RAC Issues When Not Using Shared Var Directory on page 115 provides more
information.
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.
--disable_nonlocal_listenport
--disablegui
6. Restart the avagent process for RAC by typing the following command:
crsctl start resource EMCagent
Note
3. Stop EMCagent and remove it from the Oracle Clusterware resources by typing the
following command:
./rac_stop
Note
EMC recommends that you configure a shared var directory to ensure automatic failover
for the Avamar agent if the active node goes down. If you do not configure a shared var
directory, you must manually activate another node when the active node goes down.
RAC Issues When Not Using Shared Var Directory on page 115 provides more
information.
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.
Procedure
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.
3. Select the correct name from the Choose Oracle RAC Scan Name/Virtual list:
l For Oracle 11g R1, select the virtual hostname.
l For Oracle 11g R2, select the scan name.
4. Type the full pathname and folder name for the var folder in the Var folder field.
To browse the file system for the var folder, click Browse and select the var folder
from the File Open dialog box.
5. Select the Shared checkbox if the var folder is a shared folder or disk.
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.
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:
l For Oracle 11g R1, type the following command:
crs_start EMCagent
l For Oracle 11g R2, type the following command:
crsctl start resource EMCagent
Backup 63
Backup
Note
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 69 provides more
information.
ARCHIVELOG mode, you must use the alter database archivelog command to
set it.
Procedure
1. Connect to the database by typing the following command:
sqlplus "/ as sysdba"
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;
l To keep this backup for as long as this client remains active in the Avamar server,
select No end date.
9. From the Avamar encryption method list, select the encryption method to use for
client/server data transfer during this backup.
The encryption technology and bit strength for a client/server connection depend on
several factors, including the client operating system and Avamar server version. The
EMC Avamar Product Security Guide provides additional information.
10.Click More Options.
The Backup Command Line Options dialog box appears.
11.Set the plug-in options:
a. Select Show Advanced Options to view 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. Type the username to use to authenticate the Oracle database in the Username
field. This is the user with SYSDBA privileges.
d. Type the password for the account in the Password field.
e. 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 122 provides more information about the Number of
RMAN Channels option.
f. Select one or more backup options:
l Select Back up database to back up the entire Oracle database.
l Select Back up archive logs to back up only the archive logs.
Archive backups are always full backups no matter which backup level you
choose.
l Select Delete archive logs after backup to automatically delete archive logs
after a successful database backup.
Note
g. (Linux and UNIX only) 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, the default setting.
Note
The Management Library Bitwidth option does not apply to Windows platforms.
h. 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.
i. Type the number of files that RMAN can open concurrently per channel in the
Filesperset field. The default value is 1.
j. (Advanced option) Do not select the Enable debugging message option. This
option is for troubleshooting backup problems. When you select the Enable
debugging messages option, the Avamar Plug-in for Oracle creates large log files.
k. (Advanced option) Leave the NLS_DATE_FORMAT field blank.
l. (Advanced option) Select the appropriate option from the Enhanced Data
Deduplication list:
l To use the global enhanced data deduplication setting already set on the
server, select Default. This is the default setting.
l To back up the datafiles without using enhanced data deduplication, select
Disabled.
l To use enhanced data deduplication for the backup, select Enabled.
m. Select a backup level from the Incremental Backup group box:
l Full backup backs up all the data in the database data files when you select the
Back up database option.
l Level 0 backup backs up all datafiles.
You must perform a level 0 backup before you perform a level 1 (differential or
cumulative) backup.
l Level 1 differential backup backs up only changed blocks of the database.
l 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 64 provides more information.
n. (Optional) If you use a recovery catalog, select Use recovery catalog and complete
the following fields:
l Type the recovery catalog server name in the Recovery Catalog Server Name
field.
l Type the recovery catalog username in the Recovery Catalog User Name field.
l Type the recovery catalog password in the Recovery Catalog Password field.
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.
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.
Procedure
1. Create a dataset for the backups.
2. Create a group for the backups.
During the group creation process, you:
a. Assign the new dataset to the new group.
b. Assign a schedule to the new group.
c. Assign a retention policy to the new group.
d. Add one or more clients to the new group.
The EMC Avamar Administration Guide provides more information about groups, group
policy, datasets, schedules, and retention policies.
3. Enable scheduling for the group.
Scheduling backups 69
Backup
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.
Procedure
1. In Avamar Administrator, select Tools > Manage Datasets.
The Manage All Datasets window appears.
2. Click New.
The New Dataset dialog box appears.
3. 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: ` ~ ! @ # $ % ^ & * ( ) = + [ ] { } | \ / ; : ' "
<>,?
4. On the Source Data tab, select Enter Explicitly.
5. Select the Oracle RMAN plug-in for the platform from the Select Plug-In Type list.
6. Click ... (the Browse for files and/or folders button).
The Select Files and/or Folders dialog box appears.
7. Set the options in the Select Files and/or Folder dialog box:
a. Select the domain to view the clients.
A list of clients appears below the domain.
b. Select the client that runs the Oracle server.
A list of plug-ins appear in the pane to the right of the client’s list.
c. Click the Oracle RMAN plug-in.
A list of databases appear in the table to the right of the plug-ins.
d. Select one or more databases to include in the dataset.
The following figure shows the Select Files and/or Folders dialog box after
selecting the demodb database.
e. Click OK.
The Select Files and/or Folders dialog box closes and the New Dataset dialog box
lists the files, folders, or databases that you selected.
8. Remove all items from the source data list other than the Oracle databases:
a. Select an entry from the list.
b. Click -.
c. Repeat steps a and b to remove all other entries.
After removing non-database items, the Source Data tab should look similar to the
following figure.
9. Leave the Inclusion and Exclusion tabs as they are. The Avamar Plug-in for Oracle
does not support include or exclude lists.
10.Click the Options tab and set the plug-in options:
a. Select the Oracle RMAN plug-in from the Select Plug-In Type list.
The Oracle RMAN plug-in options appear.
b. Select Show Advanced Options to view advanced options.
c. 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.
d. Type the username to use to authenticate the Oracle database in the Username
field. This is the user with SYSDBA privileges.
e. Type the password for the username account in the Password field.
f. 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 122 provides more information about the Number of
RMAN Channels option.
g. Select one or more backup options:
l Select Back up database to back up the entire Oracle database.
l Select Back up archive logs to back up only the archive logs.
Archive backups are always full backups no matter what the backup level you
choose.
Creating a dataset 71
Backup
l Select Delete archive logs after backup to automatically delete archive logs
following a successful database backup.
Note
h. (Linux and UNIX only) 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, the default setting.
Note
The Media Management Library Bitwidth option does not apply to Windows
platforms.
i. (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 fail.
j. Type the number of files that RMAN can open concurrently per channel in the
Filesperset field. The default value is 1.
k. Select a backup level from the Incremental Backup group box:
l Full backup backs up all the data in the database data files when you select the
Back up database option.
l Level 0 backup backs up all datafiles.
You must perform a level 0 backup before you perform a level 1 (differential or
cumulative) backup.
l Level 1 differential backup backs up only changed blocks of the database.
l 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 64 provides more information.
l. (Optional) If you use a recovery catalog, select Use recovery catalog and complete
the following fields:
l In the Recovery Catalog Server Name field, type the recovery catalog server
name.
l In the Recovery Catalog User Name field, type the recovery catalog username.
l 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.
m. 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 121 provides more information about the Avamar Plug-in
for Oracle plug-in options, including information about advanced options.
n. 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.
11.Click OK to close the New Dataset dialog box.
The new dataset is added to the list of datasets in the Manage All Datasets window.
12.Click OK to close the Manage All Datasets window.
Creating a group
When you create a group, you define the dataset, schedule, and retention policy, which
together comprise the group policy for scheduled backups of all members of the group. A
group must contain at least one Avamar client. When the group contains two or more
clients, the clients must belong to the same Avamar domain. You can override group
policy settings at the client level.
You cannot edit schedules or retention policies when you use the New Group wizard to
create a group. Review existing schedules and retention policies. If required, create new
ones before you create the group. EMC Avamar Administration Guide provides information
about schedules or retention policies.
Procedure
1. In Avamar Administrator, click the Policy launcher button.
The Policy window appears.
2. Click the Policy Management tab.
3. Click the Groups tab.
4. Select the domain for the group.
The Policy window displays a table that contains groups for the domain.
5. Select Actions > Group > New > Backup Group.
The New Group wizard appears.
6. Type a name for the new group in the Name box.
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: ` ~ ! @ # $ % ^ & * ( ) = + [ ] { } | \ / ; : ' "
<>,?
7. Clear the Disabled checkbox to use this group for scheduled client backups.
Selecting the checkbox disables backups for the group.
8. From the Avamar encryption method list, select the encryption method to use for
client/server data transfer during this backup.
The encryption technology and bit strength for a client/server connection depend on
several factors, including the client operating system and Avamar server version. The
EMC Avamar Product Security Guide provides additional information.
Creating a group 73
Backup
9. Select the dataset you created from the Select an Existing Dataset list, then and click
Next.
The next New Group page appears with schedule information.
10.Select a schedule from the Select an Existing Schedule list, and then click Next.
The next New Group page appears with retention policy information.
11.Select a retention policy from the Select an Existing Retention Policy list, and then
click Next.
The final New Group page appears. A list of domains appears in the Choose Domain
pane.
12.Select the domain for the client.
A list of Avamar clients appears in the pane below the Choose Domain pane.
13.Select the checkbox next to the clients to include in the group.
The clients appear in the Members pane.
14.(Optional)To remove a client from the group, select the client from the Members list,
and then click the red X.
15.Click Finish.
Monitoring backups
You can monitor backups to ensure that the backups complete successfully and to
troubleshoot issues. The Activity Monitor in Avamar Administrator enables you to view
status information for both on-demand and scheduled backups.
Procedure
1. In Avamar Administrator, click the Activity launcher button.
The Activity window appears.
2. Click the Activity Monitor tab.
A list of all activities appears.
3. To filter the results to display only backup activity, select Actions > Filter.
The Filter Activity dialog box appears.
4. Select All Backups from the Type list.
5. Click OK.
Canceling backups
You can cancel a backup at any time before it completes. The cancellation can take five
minutes or more. The backup might complete before the cancellation finishes.
Procedure
1. In Avamar Administrator, click the Activity launcher button.
The Activity window appears.
2. Click the Activity Monitor tab.
A list of all activities appears.
3. Select the backup from the list.
4. Select Actions > Cancel Activity.
A confirmation message appears.
5. Click Yes.
Restarting the backup after the active node’s instance goes down
Procedure
1. Establish the active node by taking the appropriate action:
l Restarting the instance on the active node.
l Shutting down the current active node to enable one of the other nodes as the
active node.
2. Start a new backup.
Note
Canceling backups 75
Backup
a. Activate the Avamar agent on one of the available nodes. RAC Issues When Not
Using Shared Var Directory on page 115 provides more information.
b. Restart the backup.
Note
For configurations in which you store the database on a raw file structure, Oracle
recommends that you use a normal file system as the flash recovery area.
$ORACLE-SID must point to the correct system identifier to restore the Oracle
database.
4. Complete the following steps to restore an Oracle Real Application Clusters (RAC)
database:
a. Shut down all database instances on all nodes by typing the following commands:
sqlplus “/ as sysdba”
shutdown immediate;
exit
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
Note
The Oracle files can be in the default location or in a nondefault location. The default
location of Oracle files varies depending on the version of Oracle. The previous
commands use the default values for the directories.
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
Note
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):
l $ORACLE_HOME/oradata/DB_NAME
l $ORACLE_HOME/flash_recovery_area/DB_NAME
7. Restore the database to the $ORACLE_HOME/oradata/DB_NAME directory.
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 78.
After preparing the database, you can restore database files to the original client or to a
different client.
Note
Note
You must select a control file for the restore to complete successfully.
The following figure shows the Backup, Restore and Manage window after selecting a
database and a control file.
The exact encryption technology and bit strength for a client/server connection
depend on several factors, including the client platform and Avamar server version.
The EMC Avamar Product Security Guide provides more information.
12.Select Restore everything to its original location.
13.Click More Options.
The Restore Command Line Options dialog box appears.
14.Set the plug-in options:
a. Select Show Advanced Options to view 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 database to
restore.
c. Type the username to use to authenticate the Oracle database in the User Name
field. This is the user with SYSDBA privileges.
d. Type the password for the account In the Password field.
e. (Linux and UNIX only) 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 (default).
The Management Library Bitwidth option does not apply to Windows platforms.
f. Select the number of channels to allocate during the restore from the Number of
RMAN Channels list. The maximum number is 10.
g. (Optional) Select Exit a multiple target restore when any one restore fails to
prevent a multiple target restore from continuing after one of the restore
operations fails.
h. (Advanced option) Do not select the Enable debugging message option. This
option is for troubleshooting restore problems. When you select the Enable
debugging messages option, the Avamar Plug-in for Oracle creates large log files.
i. (Advanced option) Type a timestamp format for the target database in the
NLS_DATE_FORMAT field.
j. From the Encryption method from Data Domain system list, select the encryption
method to use for data transfer between the Data Domain system and the client
during the restore.
k. Select a Recovery Type:
l To recover the database to the present time or to a point-in-time in the past,
select Point-in-Time (PIT).
Do not select multiple databases for a point-in-time recovery. You must select
only one database for the restore.
l To recover data blocks from the flash recovery area, select Flashback Database
(FRA).
You must configure flash recovery area before you can use the Flashback
Recovery (FRA) recovery type. Configuring Flashback Database recovery on
page 78 provides more information.
l (Advanced option) To restore corrupt blocks only, and not the entire database,
select Corrupt blocks.
To use the Corrupt blocks recovery option, you must set the
DB_BLOCK_CHECKSUM initialization parameter to TYPICAL for the Oracle
database. The database must be in a mounted or open state.
l. (Advanced option) Select Validate database if you selected Corrupt blocks from
the Recovery Type group box.
The Validate database option is optional when you perform a corrupt block
recovery. The restore operation is slower when you use the Validate database
option.
m. Select an option from the Recovery mode list for the recovery type that you
selected in step 13.k.
Recovery modes and values on page 127 provides more information about the
Recovery mode options.
n. Specify the SCN, log sequence number, or timestamp in the Recovery value field.
This value depends on the option you select from the Recovery mode list.
o. To open the database after the recovery finishes, select Open the database with
resetlogs after recovery.
This option is selected by default.
Clear the Open the database with resetlogs after recovery option to disable this
option. When you clear this option, the restore operation does not open the
database with resetlogs. You can then apply archive logs to recover the database
to the most current point-in-time that is available.
15.(Optional) Specify other advanced options in the Restore Command Line Options
dialog box as appropriate:
a. To run a user-defined script at the beginning of the restore, type the script name in
the Run user-defined script at beginning of restore field.
The script must be in the avamar\etc\scripts directory on the client.
b. Select Exit restore if script fails to stop the script from processing when the script
returns a non-zero status code.
This option is selected by default.
c. To run a user-defined script at the end of the restore, type the script name in the
Run user-defined script at end of restore field.
The script must be in the avamar\etc\scripts directory on the client.
d. Select Exit process with script failure exitcode to exit the script when it fails with
an exitcode from the script rather than an exitcode from the Avamar Plug-in for
Oracle.
This option is selected by default.
Preprocessing and postprocessing scripts and attributes on page 128 provides
more information about using scripts and specifying attributes.
16.Specify the [avoracle]lang_format attribute and value if the database backup
contains datafiles that use the UTF-8 character set:
a. Click More.
The Enter Attribute and Enter Attribute Value fields appear.
b. Type [avoracle]lang_format in the Enter Attribute field.
Note
Precede all attributes you type in the Enter Attribute field with [avoracle].
where:
l language specifies the language. For example, Japanese.
l territory specifies the country. For example, Japan.
l charset specifies the character set. For example, JA16SJIS.
The following example is the correct syntax for Japanese:
Japanese_Japan.JA16SJIS.
Note
Note
If the restore process fails, manual recovery steps can be necessary. Restore fails to
complete successfully on page 139 provides details.
19.(Solaris only) Restart the listener and other dependent processes if you restored a
database to a Solaris VCS cluster.
l Database SID
Procedure
1. Prepare the target client by following the instructions in Preparing the database for
restore on page 78.
2. In Avamar Administrator, click the Backup & Restore launcher button.
The Backup, Restore and Manage window appears.
3. Click the Restore tab.
The top-left pane contains a list of domains.
4. Click 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 appears in the pane below the domains list.
5. From the list of clients, select the client that runs the Oracle server.
6. Click the By Date tab.
7. Select the backup date from the calendar. Valid backups occurred on dates with a
yellow highlight.
A list of backups that were performed on that date appears in the Backups table next
to the calendar.
8. Select a control file backup.
The backup contents appear in the Contents of Backup pane.
9. Expand the folders in the Contents of Backup pane to display database SIDs.
Note
d. Click Browse.
The Browse for File, Folder, or Directory dialog box appears.
e. Select the target destination for the restore, and then click OK.
The target appears in the Save Target(s) in Directory field.
To use the Corrupt blocks recovery option, you must set the
DB_BLOCK_CHECKSUM initialization parameter to TYPICAL for the Oracle
database. The database must be in a mounted or open state.
l. (Advanced option) Select Validate database if you selected Corrupt blocks from
the Recovery Type group box.
The Validate database option is optional when you perform a corrupt block
recovery. The restore operation is slower when you use the Validate database
option.
m. Select an option from the Recovery mode list for the recovery type that you
selected in step 13.k on page 87.
Recovery modes and values on page 127 provides more information about the
Recovery mode options.
n. Specify the SCN, log sequence number, or timestamp in the Recovery value field.
This value depends on the option you select from the Recovery mode list.
o. To open the database after the recovery finishes, select Open the database with
resetlogs after recovery.
This option is selected by default.
Clear the Open the database with resetlogs after recovery option to disable this
option. When you clear this option, the restore operation does not open the
database with resetlogs. You can then apply archive logs to recover the database
to the most current point-in-time that is available.
14.(Optional) Specify other advanced options in the Restore Command Line Options
dialog box as appropriate:
a. To run a user-defined script at the beginning of the restore, type the script name in
the Run user-defined script at beginning of restore field.
The script must be in the avamar\etc\scripts directory on the client.
b. Select Exit restore if script fails to stop the script from processing when the script
returns a non-zero status code.
This option is selected by default.
c. To run a user-defined script at the end of the restore, type the script name in the
Run user-defined script at end of restore field.
The script must be in the avamar\etc\scripts directory on the client.
d. Select Exit process with script failure exitcode to exit the script when it fails with
an exitcode from the script rather than an exitcode from the Avamar Plug-in for
Oracle.
This option is selected by default.
Preprocessing and postprocessing scripts and attributes on page 128 provides
more information about using scripts and specifying attributes.
15.Specify the [avoracle]lang_format attribute and value if the database backup
contains datafiles that use the UTF-8 character set:
a. Click More.
The Enter Attribute and Enter Attribute Value fields appear.
b. Type [avoracle]lang_format in the Enter Attribute field.
Note
Precede all attributes you type in the Enter Attribute field with [avoracle].
where:
l language specifies the language. For example, Japanese.
l territory specifies the country. For example, Japan.
l charset specifies the character set. For example, JA16SJIS.
The following example is the correct syntax for Japanese:
Japanese_Japan.JA16SJIS.
Note
Note
If the restore process fails, manual recovery steps can be necessary. Restore fails to
complete successfully on page 139 provides details.
18.(Solaris only) Restart the listener and other dependent processes if you restored a
database to a Solaris VCS cluster.
Monitoring restores
You can monitor restores to ensure that the restores complete successfully and to
troubleshoot issues. The Activity Monitor in Avamar Administrator enables you to view
status information for restores.
Procedure
1. In Avamar Administrator, click the Activity launcher button.
The Activity window appears.
2. Click the Activity Monitor tab.
A list of all activities appears.
Monitoring restores 89
Restore and Recovery
3. To filter the results to display only restore activity, select Actions > Filter.
The Filter Activity dialog box appears.
4. Select Restore from the Type list.
5. Click OK.
Canceling restores
You can cancel a restore any time before the restore completes. The cancellation can take
five minutes or more. The restore might complete before the cancellation finishes.
Procedure
1. In Avamar Administrator, click the Activity launcher button.
The Activity window appears.
2. Click the Activity Monitor tab.
A list of all activities appears.
3. Select the restore from the list.
4. Select Actions > Cancel Activity.
A confirmation message appears.
5. Click Yes.
Note
To resolve registration problems, retire the client and reregister it with the Avamar
server.
The EMC 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:
l DBID is the database ID.
l /HOME/ORACLE is the path for the spfile file.
l SEQ is the highest sequence number for the control file autobackup search.
l 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 84.
Note
Do not include the avtar -c and -x options in the avtar flag file. The -c and -x options
might conflict with other avtar options specified for backup or restore operations that
Avamar Administrator runs.
Procedure
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/avtar.log
--vardir=install-dir/var
--id=user
--ap=password
--path=/clients/my-db-client
--expires={num-days |timestamp}
where:
l pidnum is the correct PID number for the operating system:
n For Linux, use PID 1002.
n For Solaris, use 2002.
n For Windows, use 3002.
n For HP-UX, use 4002.
n For AIX, use 5002.
l 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.
--ddr
--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
4. Save the file to /oracle or another convenient place in the search path.
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.
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:
l For IBM AIX, type the following command:
loader exits with a failure when it is unable to locate the libraries that
libobk_avamar.so or libobk_avamar64.so requires. RMAN channel allocation,
therefore, fails.
You use an environment variable to specify the location of the libraries. You must set the
correct environment variable before an Avamar backup or restore operation runs an
RMAN script. The location and the environment variable vary with each operating system.
The following table lists the operating systems and the environment variables.
Table 3 Environment variables for libobk
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:
l On Linux, the path is /usr/local/avamar.
l On Solaris, the path is /opt/AVMRclnt.
l On Windows, the path is C:\Progra~1\avs\bin.
Procedure
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:
l For the sh, ksh, or bash shell, type the following command:
set LD_LIBRARY_PATH=/opt/AVMRclnt/lib export LD_LIBRARY_PATH
l For the csh or bash shell, type the following command:
setenv LD_LIBRARY_PATH /opt/AVMRclnt/lib
where sizespec specifies the size of each backup section. For example: 250M.
The following example command creates a multisection backup of the database where
each backup piece is 250M:
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.
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.
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.
l 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 three flags, the --nohist flag takes precedence.
The --before and --after flags are ignored.
Note
Avamar uses the RMAN interface to perform hot and cold backups. RMAN requires the
Oracle database to be running to perform a hot backup.
Backing up a database
Procedure
1. Open a command shell.
Note
run {
configure controlfile autobackup on;
allocate channel c1 type sbt\
PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so"\
format '%d_%U';
set controlfile autobackup format for device type sbt\
to "CONTROLFILE.%F";
send '"--flagfile=/oracle/my-avtar-flags.txt"\
"--bindir=install-dir/bin"';
backup database plus archivelog;
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, and so forth.
Backing up a tablespace
The following procedure uses an RMAN script to back up a tablespace to an Avamar
server or a Data Domain system.
An avtar flag file for the RMAN script specified in this procedure contains the following
entries:
--debug
--pidname=Oracle
--pidnum=3002
--logfile=C:\test\rman\bacupdb.log
--vardir=C:\test\rman\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.
Procedure
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:\anant\rman\avtar-flags.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
Procedure
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\
PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so"\
format '%d_%U';
set controlfile autobackup format for device type sbt\
to "CONTROLFILE.%F";
send '"--flagfile=/oracle/my-avtar-flags.txt"\
"--bindir=install-dir/bin"';
backup datafile "MyFile.dbf";
release channel c1;
}
where:
l 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.
l MyFile.dbf is the Oracle datafile to back up.
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.
You can modify the default RMAN format of the control file by passing directives to RMAN
scripts.
Avamar Administrator generates scripts that contain the RMAN directive, %F:
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:
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.
Procedure
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:
l DATE
l DBID
l 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"\
"--bindir=install-dir/bin"';
restore controlfile from autobackup MAXSEQ=SEQ\
until time = "TO_DATE('DATE','YYYYMMDD')";
startup mount;
release channel c1;
list backup;
}
where:
l DBID is the database ID.
l 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.
l 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:
l To recover an archive log backup, locate and note the next SCN for the archive log.
l To recover from a database backup, locate and note the SCN for the database.
8. Log out of the RMAN session by typing the following command:
exit
9. Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
10.Connect to the Oracle database to restore.
11.Restore the Oracle database 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"\
"--bindir=install-dir/bin"';
set until scn scn;
restore database;
recover database;
release channel c1;
}
alter database open resetlogs;
where:
l scn is the next SCN value (noted in step 7) for the archive log recovery or the SCN
value for the database.
l 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.
Note
If the restore process fails, you might need to perform manual recovery steps.
ORA-19870: error while restoring backup piece on page 138 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.
Procedure
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 tablespace 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"\
"--bindir=install-dir/bin"';
restore tablespace "USERS";
recover tablespace "USERS";
release channel c1;
}
where:
l 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.
l USERS is the tablespace to restore.
The list backup command lists information similar to the following output:
From the list backup command's output, note the values for the DB ID, MAXSEQ,
SCN, and timestamp parameters. For example, the sample output includes the
following parameters values:
l DB ID is 107988049.
l Control file MAXSEQ number is 0e (14 in decimal).
l SCN is 1935412.
l Timestamp is 20121007T232335.
You use these parameters in the tablespace restore script.
Restoring datafiles
Procedure
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"\
"--bindir=install-dir/bin" "--labelnum=num"';
restore datafile "MyFile.dbf";
recover datafile "MyFile.dbf";
release channel c1;
}
where:
l 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.
l num is the backup number from which you want to restore.
l MyFile.dbf is the Oracle datafile you want to restore.
Procedure
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:
where:
l user and passwd are the credentials for the recovery catalog (CATALOG).
l 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.
l Both the source and target platforms must be similar types with the same
configuration.
l The version of RMAN on the target platform must be compatible with the version of
RMAN that was used to create the backup.
Procedure
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 94,
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 102
provides instructions.
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.
When you back up a database from Avamar Administrator, the Avamar Plug-in for Oracle
adds a prefix to the name of the backup file. To crosscheck this type of a backup, ensure
that you add the prefix to the avtar flag file. The prefix you specify by the avtar flag file
must match the prefix of the Avamar Administrator backup.
Procedure
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:
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.
Before you begin
The following procedure requires an avtar flag file. Creating an avtar flag file on page 94
provides more information.
To add the delete privilege to the Avamar user account, use the avmgr command:
avmgr chgv --u=name --pv=delete
Note
The delete command deletes expired backups from the Avamar server if the backups
are marked as obsolete. Use the delete command only to manage RMAN backups. The
use of the delete command to manage backups originally created by Avamar
Administrator can cause unpredictable system behavior.
Procedure
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.
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.
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 the user
account has permissions to create files in the install-dir/var directory or the
cache files exists and has the correct permissions.
NOTICE
The Avamar software does not check or validate the information that you type in the Enter
Attribute and Enter Attribute Value fields. In addition, the values in the Enter Attribute
and Enter Attribute Value fields override settings that you specify with the GUI controls
for the options.
Detailed instructions on how to access and set plug-in options during a backup or restore
are available in Backup on page 63 and Restore and Recovery on page 77.
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.
Option Description
Oracle Instance Name Leave this field blank. The Avamar Plug-in for Oracle determines the Oracle instance name when
you browse and select a target to back up.
Username Specifies the username that is used to authenticate the Oracle database. Username and
password comprise a connection string to Oracle. The connection string must specify a user that
has backup privileges for the database.
If left blank, RMAN tries to log in with the same username and password that the Avamar client
agent uses and attempts to assume SYSDBA privileges.
Typically, this field should contain the special account name (backupuser). Creating the Oracle
user account on page 64 provides more information.
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.
Option Description
Note
The number of Data Domain streams is set when you add a Data Domain system to the Avamar
configuration.
Note
Allocating multiple channels for backups and restores can improve performance. Performance
improvements for backups and restores, however, depend on the Oracle server configuration.
In some instances, allocating too many channels can lock out processes, which can result in a
time-out error. This problem does not occur when using RMAN scripts.
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 Specifies Media Management Library (MML) bitwidth. Select an option:
Bitwidth
l Automatic (default)
l 32-bit
l 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 Prevents a multiple target backup from continuing after one of the backups fails.
when any one backup fails
Enable debugging messages Writes maximum information to log files. Use with caution.
(advanced option)
NLS_DATE_FORMAT (advanced Specifies a valid timestamp format for the target machine. For example: mm/dd/yyyy.
option)
Enhanced Data Deduplication Enables or disables data compression. During backups, enhanced data deduplication can
(advanced option) reduce the amount of client data that is sent to the server, but might require additional client
CPU resources. Select an option:
l Select Default to use the global data compression setting already set on the server. This is
the default setting.
Option Description
Full backup Backs up all datafiles, redo logs, and archive logs. 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 datafiles, redo logs, and archive logs.
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.
Run user-defined script at Specifies the name of a script that runs at the beginning of the backup. The preprocessing script
beginning of backup (advanced must be in the /avamar/etc/scripts directory on the client.
option)
Exit backup if script fails Stops processing the script when the script returns a non-zero status code.
(advanced option)
Run user-defined script at end of Specifies the name of a script that runs at the end the backup. The postprocessing script must
backup (advanced option) be in the /avamar/etc/scripts directory on the client.
Exit process with script failure Exits the script with an exitcode from the script rather than with the standard avoracle
exitcode (advanced option) exitcode.
Filesperset Specifies the number of files that RMAN can include in each backup set. The default is 1.
Store backup on Data Domain Backs up the data to the Data Domain system rather than to the Avamar server. Select the
system checkbox, and then choose a Data Domain system from the list.
Encryption method to Data Specifies the encryption method for data transfer between the client and the Data Domain
Domain system system during the backup.
Tune the MAXOPENFILES value appropriately for the databases and hardware
configuration. Specify the MAXOPENFILES value in the Backup Command Line Options
dialog box.
Procedure
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.
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.
Option Description
Oracle Instance Name Leave this field blank. The Avamar Plug-in for Oracle determines the Oracle instance name when
you browse and select a target to restore.
Username Specifies the username that is used to authenticate the Oracle database. Username and
password comprise a connection string to Oracle. The connection string must specify a user that
has backup privileges for the database.
If left blank, RMAN tries to log in with the same username and password that the Avamar client
agent is running under, and attempts to assume SYSDBA privileges.
Typically, this field should contain the special account name (backupuser), Creating the Oracle
user account on page 64 provides more information.
Media Management Library Specifies Media Management Library (MML) bitwidth. Choices are:
Bitwidth
l Automatic (default)
l 32-bit
l 64-bit
Option Description
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.
Note
Allocating multiple channels for backups and restores can improve performance. Performance
improvements for backups and restores, however, depend on the Oracle server configuration.
In some instances, allocating too many channels might lock out processes, which can result in a
time-out error. This problem does not occur when using RMAN scripts.
Exit a multiple target restore Prevents a multiple target restore from continuing after one of the backups fails.
when any one restore fails
Enable debugging messages Writes maximum information to log files. Use with caution.
(advanced option)
NLS_DATE_FORMAT (advanced Specifies a valid timestamp format for the target machine. For example: mm/dd/yyyy.
option)
Encryption method from Data Specifies the encryption method for data transfer between the Data Domain system and the
Domain system client during the restore.
Point-in-Time (PIT) Enables a point-in-time recovery. Do not specify a point-in-time option if you selected multiple
databases for the restore. Before using a point-in-time recovery option, ensure that relevant
backups are available on the Avamar server. The recovery operation fails if a backup has expired
or has been deleted from the Avamar server.
Corrupt blocks (advanced Recovers corrupt blocks only, and not the entire database. To use the Corrupt blocks only
option) option, you must set the DB_BLOCK_CHECKSUM initialization parameter to TYPICAL for the
Oracle database. The database must be in a mounted or open state.
Validate database (advanced Validates the database only if the option is selected during a corrupt blocks recovery
option)
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 127
provides more information.
Option Description
Recovery value Specifies the SCN, log sequence number, or timestamp, depending on which recovery mode is
selected.
Open the database with Select this option to open the database after the recovery. Clear this option to enable a roll-
resetlogs after recovery forward operation to recover the database with archive log transactions.
Run user-defined script at Specifies the name of a script that runs at the beginning of the restore. The preprocessing script
beginning of restore (advanced must be in the /avamar/etc/scripts directory on the client.
option)
Exit restore if script fails Stops processing the script when the script returns a non-zero status code.
(advanced option)
Run user-defined script at end Specifies the name of a script that runs at the end of the restore. The postprocessing script must
of restore (advanced option) be in the /avamar/etc/scripts directory on the client.
Exit process with script failure Exits the script with an exitcode from the script rather than with the standard avoracle
exitcode (advanced option) exitcode.
Log Sequence Recovers the database to the specified log sequence number. Specify the log X X
sequence number in the Recovery value field.
Time Stamp Recovers the database to the specified timestamp. The timestamp format must X X
conform to the localization settings on the target machine and locale
configuration setting for the Oracle server.
Restore Point Recovers the database to the SCN associated with the specified restore point. X X
The restore point can be an ordinary restore point or a guaranteed restore point.
Before Log Specifies a redo log sequence number and thread as an upper limit. RMAN X
Sequence (FRA applies changes up to (but not including) the last change in the log with the
only) specified sequence and thread number.
Before Resetlogs Recovers the database to its state including all changes up to the SCN of the X
(FRA only) most recent OPEN RESETLOGS.
Before Time Stamp Recovers the database to its state including all changes up to but not including X
(FRA only) changes at the specified time.
The following table describes the attributes that you specify in the Enter Attribute and
Enter Attributes Value fields.
Attribute Description
run_at_start=script_name Specifies a script to run before a backup or restore operation. The user interface
includes the Run user-defined script at beginning of backup and Run user-
defined script at beginning of restore fields for this attribute.
run_at_start_clause=flags Specifies flags to use with the run_at_start script.
run_at_end=script_name Specifies a script to run after a backup or restore operation. The user interface
includes the Run user-defined script at end of backup and Run user-defined
script at end of restore fields for this attribute.
run_at_end_clause=flags Specifies flags to use with the run_at_end script.
run_before_database=script_name Specifies a script to run before a database backup or restore operation. When you
specify multiple targets, the script runs for each database operation.
run_after_database=script_name Specifies a script to run after a database backup or restore operation. When you
specify multiple targets, the script runs for each database operation.
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.
use_cscript (Windows Set to true to run the script with use_cscript=true False
only) Microsoft cscript.exe.
Example of
stringlist_args=false:
[avoracle]run_at_start=scr
ipt.bat First Second Third
Example of
stringlist_args=true:
[avoracle]run_at_start=scr
ipt.bat First Second Third
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
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.
11.Clear the Exit backup if script fails option to enable the backup to proceed if the script
fails.
4. Type the script name, first, second, and third in the Enter Attribute Value field:
dbpostscript.bat first second third
5. Click +.
7. Type the desc flag and value in the Enter Attribute Value field:
desc=”Avamar post script after database”
8. Click +.
9. Type the run_after_database_clause attribute in the Enter Attribute field:
[avoracle]run_after_database_clause
10.Type the timeout_seconds flag and value in the Enter Attribute Value field:
timeout_seconds=200
11.Click +.
12.Type the run_after_database_clause attribute in the Enter Attribute field:
[avoracle]run_after_database_clause
13.Type the create_stdout_pipe flag and value in the Enter Attribute Value field:
create_stdout_pipe=false
14.Click +.
The attributes and flags appear in the box below the + and - buttons.
Note
You do not need to specify the exit_on_error flag, because it is set to false by
default.
Troubleshooting 135
Troubleshooting
Backups that you run from Avamar Administrator or RMAN scripts that you run from the
command line fail after setting backup copies to 3:
l For backups from Avamar Administrator, an error message similar to the following
error appears in the sbtio.log:
Note
To further protect the Oracle data beyond performing regular backups, consider using
Avamar replication. The EMC Avamar Administration Guide provides more information
about the Avamar replication feature.
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.
The startup process displays status information about the Oracle instance.
ORACLE instance started.
Total System Global Area1 023410176 bytes
Fixed Size 1223224 bytes
Variable Size 234882504 bytes
Database Buffers 784334848 bytes
Redo Buffers 2969600 bytes
Database mounted
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:
l The operating system is in a locale other than English.
l The database contains datafiles that use the UTF-8 character set.
where:
l 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).
l scn is an SCN value noted in step 2 on page 139.
6. Use Oracle documentation to perform other necessary recovery steps.
The following problems might cause the RMAN backup script to fail with the ORA-19511
error:
l 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.
l Either RMAN or libobk cannot locate avtar.
The allocate channel command in the RMAN backup or restore script must
include Avamar-home/bin as the PATH variable or include bindir="/usr/
local/avamar/bin".
l An Oracle instance is running as a nonstandard user or group.
To determine if Oracle is installed as a nonstandard user or group, check the file
permissions for the Oracle home directory. For example, use the following
commands:
cd /home/oracle/oracle/product/10.2.0/db_1/oradata
ls -l
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, EMC recommends that you set the number of channels to no more
than two times the number of processors. If the problem persists after making this
change, further 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.
Note
64-bit operating systems do not support the 32-bit versions of Oracle 10g and later
versions. You can find additional information about Oracle on the Oracle website.
To check the bitwidth of Oracle, change to the $ORACLE_HOME/bin directory and type
the following command:
file ~/oracle/product/version/db-name/bin/rman
where:
l version is the version of Oracle.
l 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:
l version is the version of Oracle.
l 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/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.
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 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.
Set the PATH variable to the ORACLE_HOME/bin directory to ensure RMAN uses the
correct executable file. Before running RMAN scripts, run /usr/local/bin/oraenv.
Note
The following procedure runs the UNIX kill command to stop avoracle processes,
which were started by the Avamar Administrator interface. The avoracle processes are
automatically started by Avamar Administrator for browse, backup, and restore
operations. Stop these avoracle processes only when you determine that something is
wrong with a browse, backup, or restore operation.
1. Log in to the Oracle server.
2. Show all Avamar processes by typing the following command:
ps -ef|grep avoracle
The command shell displays a list of active processes. Some of them are avoracle
processes for the Avamar Plug-in for Oracle.
3. Locate the avoracle processes in the list and note the process ID numbers (PIDs).
4. Terminate the process by typing the following command:
kill pid
When this browse problem exists, the output from the avoracle program contains the
following message:
avoracle Info <7908>: browse returning with 0 items
All of the following circumstances can prevent you from browsing the Oracle databases:
l The Avamar client and Oracle databases use two separate NIC cards, each with
different IP addresses and hostnames.
l The oratab file contains invalid entries.
Platform Method
Microsoft Windows Use the Windows Explorer to verify that the C:\Program files\avs
folder exists and contains libobk_avamar.dll.
swinstall -list
IBM AIX Use the smitty command to list all software or to search for the Avamar
client software package.
pkginfo|grep -i AVMRclnt
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.
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.
backup A point-in-time copy of client data that can be restored as individual files, selected data, or
as an entire backup.
browse The process of viewing data that is available for backup on a client computer or restore
from the Avamar server.
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.
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.
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.
Cluster Configuration Tool Avamar configuration wizard to configure the cluster client.
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.
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.
Data Domain system Disk-based deduplication appliances and gateways that provide data protection and
disaster recovery (DR) in the enterprise environment.
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.
file system Software interface used to save, retrieve, and manage files on storage media by providing
directory structures, data transfer methods, and file association.
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 The dataset, schedule, and retention policy for all clients in an Avamar group.
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.
Media Management A software library used by RMAN to back up data to tertiary storage. The MML for the
Library (MML) Avamar Plug-in for Oracle is libobk_avamar.
Media Manager (MM) A third-party networked backup system. MM works with Recovery Manager so that
database backups can be written directly to tertiary storage.
metadata Data about the backup, including information about the original database files, the backup
types, the date and time of the backup, and other information necessary for restore.
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.
plug-in Avamar client software that recognizes a particular kind of data resident on that client.
policy A set of rules for client backups that can be named and applied to multiple groups. Groups
have dataset, schedule, and retention policies.
Recovery Manager A software application that provides a command line interface for hot and cold backups,
(RMAN) as well as cold recovery of a supported Oracle database.
redirected restore The process of restoring a backup to a different location than the original location where
the backup occurred.
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.
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.
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.
System Backup to Tape An Oracle architecture that supports directly writing backups to tape (and reading them) by
using the Media Management Library.
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.
User Account Control A Windows feature available in Windows 7, Windows Server 2008, Windows Server 2008
(UAC) 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.