oracle
oracle
8
Oracle RMAN Agent User Guide
Version 19.8
Dell Inc.
January 2022
Rev. 02
Notes, cautions, and warnings
NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid
the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
© 2020 - 2022 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.
Contents
Preface.........................................................................................................................................................................................5
Contents 3
Delete backup copies....................................................................................................................................................... 46
Retry a failed backup copy deletion........................................................................................................................ 47
Export data for deleted backup copies.................................................................................................................. 47
Remove backup copies from the PowerProtect Data Manager database.................................................... 48
Troubleshooting the PowerProtect RMAN operation.............................................................................................. 48
Manage the PowerProtect agent service................................................................................................................... 49
About the PowerProtect agent service................................................................................................................. 49
Start, stop, or obtain the status of the PowerProtect agent service............................................................50
Troubleshoot the PowerProtect agent service operations...............................................................................50
Register the PowerProtect agent service to a different server address on Linux...................................... 51
Recovering the PowerProtect agent service from a disaster.......................................................................... 52
Manage the cloud tier operations with PowerProtect Data Manager................................................................. 53
Add a cloud tier schedule to a protection policy................................................................................................. 53
Tier the PowerProtect Data Manager backups from Data Domain to the cloud.........................................54
Restore the cloud tier backups to Data Domain.................................................................................................. 54
4 Contents
Preface
As part of an effort to improve product lines, periodic revisions of software and hardware are released. Therefore, all versions of
the software or hardware currently in use might not support some functions that are described in this document. The product
release notes provide the most up-to-date information on product features.
If a product does not function correctly or does not function as described in this document, contact Customer Support.
NOTE: This document was accurate at publication time. To ensure that you are using the latest version of this document,
go to the Customer Support website.
Data Domain (DD) is now PowerProtect DD. References to Data Domain or Data Domain systems in this documentation, in
the user interface, and elsewhere in the product include PowerProtect DD systems and older Data Domain systems. In many
cases the user interface has not yet been updated to reflect this change.
This document might contain language that is not consistent with Dell's current guidelines. Dell plans to update the
document over subsequent future releases to revise the language accordingly.
This document might contain language from third-party content that is not under Dell's control and is not consistent with
the current guidelines for Dell's own content. When such third-party content is updated by the relevant third parties, this
document will be revised accordingly.
Purpose
This document describes how to configure and use the Dell EMC PowerProtect Data Manager with the Oracle RMAN agent to
back up and restore Oracle Server. The PowerProtect Data Manager Administration and User Guide provides additional details
about configuration and usage procedures.
Audience
This document is intended for the host system administrator who configures and uses the PowerProtect Data Manager with the
Oracle RMAN agent to back up and restore Oracle Server.
Revision history
The following table presents the revision history of this document.
Compatibility information
Software compatibility information for the PowerProtect Data Manager software is provided at the eLab Navigator.
Preface 5
Related documentation
The following publications are available at Dell EMC Online Support and provide additional information:
● PowerProtect Data Manager Administration and User Guide—Describes how to configure the software.
● PowerProtect Data Manager Deployment Guide—Describes how to deploy the software.
● PowerProtect Data Manager Release Notes—Contains information on new features, known limitations, environment, and
system requirements for the software.
● PowerProtect Data Manager Security Configuration Guide—Contains security information.
● PowerProtect Data Manager AWS Deployment Guide—Describes how to deploy the software to Amazon Web Services
(AWS).
● PowerProtect Data Manager Azure Deployment Guide—Describes how to deploy the software to Microsoft Azure.
● PowerProtect Data Manager GCP Deployment Guide—Describes how to deploy the software to Google Cloud Platform
(GCP).
● PowerProtect Data Manager Cloud Disaster Recovery Administration and User Guide—Describes how to deploy Cloud DR,
protect VMs in the AWS or Azure cloud, and run recovery operations.
● PowerProtect Data Manager for Cyber Recovery User Guide—Describes how to install, upgrade, patch, and uninstall the
Dell EMC PowerProtect Cyber Recovery software.
● PowerProtect Data Manager for File System Agent User Guide—Describes how to configure and use the software with the
File System agent for file system data protection.
● PowerProtect Data Manager for Microsoft Application Agent Exchange Server User Guide—Describes how to configure
and use the software in a Microsoft Exchange Server environment.
● PowerProtect Data Manager for Microsoft Application Agent SQL Server User Guide—Describes how to configure and use
the software in a Microsoft SQL Server environment.
● PowerProtect Data Manager for Oracle RMAN Agent User Guide—Describes how to configure and use the software in an
Oracle Server environment.
● PowerProtect Data Manager for SAP HANA Agent User Guide—Describes how to configure and use the software in an SAP
HANA Server environment.
● PowerProtect Data Manager for Storage Direct Agent User Guide—Describes how to configure and use the software with
the Storage Direct agent to protect data on VMAX storage arrays through snapshot backup technology.
● PowerProtect Data Manager documentation—Contains the PowerProtect Data Manager APIs and includes tutorials to guide
to you in their use.
Typographical conventions
The following type style conventions are used in this document:
6 Preface
Table 2. Style conventions (continued)
Formatting Description
... Ellipses indicate non-essential information that is omitted from the example.
You can use the following resources to find more information about this product, obtain support, and provide feedback.
Knowledgebase
The Knowledgebase contains applicable solutions that you can search for either by solution number (for example, KB000xxxxxx)
or by keyword.
To search the Knowledgebase:
1. Go to the Customer Support website.
2. On the Support tab, click Knowledge Base.
3. In the search box, type either the solution number or keywords. Optionally, you can limit the search to specific products by
typing a product name in the search box, and then selecting the product from the list that appears.
Live chat
To participate in a live interactive chat with a support agent:
1. Go to the Customer Support website.
2. On the Support tab, click Contact Support.
3. On the Contact Information page, click the relevant support, and then proceed.
Service requests
To obtain in-depth help from Licensing, submit a service request. To submit a service request:
1. Go to the Customer Support website.
2. On the Support tab, click Service Requests.
NOTE: To create a service request, you must have a valid support agreement. For details about either an account or
obtaining a valid support agreement, contact a sales representative. To find the details of a service request, in the
Service Request Number field, type the service request number, and then click the right arrow.
Preface 7
Online communities
For peer contacts, conversations, and content on product support and solutions, go to the Community Network. Interactively
engage with customers, partners, and certified professionals online.
8 Preface
1
Quick Start Guide
Topics:
• PowerProtect Data Manager overview
• About the Oracle RMAN agent
• Prerequisites
• Firewall and port considerations
• PowerProtect Data Manager new deployment overview
• PowerProtect Data Manager existing deployment overview
Prerequisites
Ensure that your environment meets the requirements for a new deployment or upgrade of PowerProtect Data Manager.
Requirements:
NOTE: The most up-to-date software compatibility information for the PowerProtect Data Manager software
and the application agents is provided in the eLab Navigator, available at https://elabnavigator.emc.com/eln/
modernHomeDataProtection.
● A list of hosts that write backups to DD systems is available.
● DD OS version 6.1 or later and the DD Management Console (DDMC) are required. All models of DD systems are supported.
NOTE: DDMC is required with a DD OS version earlier than 6.1.2. With DD OS version 6.1.2 or later, you can add and use
a DD system directly without DDMC.
REST Server Bi-directional communication between the HTTP client and the 8443 TCP
PowerProtect Data Manager appliance.
RESTAPI Server - VM Bi-directional communication between the PowerProtect 8443 TCP
Direct Data Manager agent and the PowerProtect Data Manager
appliance.
443
636 TCP
Discovery (devices) Outbound between the PowerProtect Data Manager appliance 3009 TCP—Storage Direct and
and the device. DD system
5989 TCP—SMI-S
443 TCP—XtremIO
7225 TCP—RecoverPoint
PowerProtect Data Bi-directional communication between the database hosts and 7000 TCP
Manager agent the PowerProtect Data Manager appliance.
Steps
1. Design how to group the backups, based on the storage requirements and retention policies.
The account team can help with backup storage design.
2. Install PowerProtect DD Management Center (DDMC).
PowerProtect Data Manager uses DDMC to connect to the DD systems. The DD Management Center Installation and
Administration Guide provides instructions.
NOTE: DDMC is required with a DD OS version earlier than 6.1.2. With DD OS version 6.1.2 or later, you can add and use
a DD system directly without DDMC.
Steps
1. Install PowerProtect DD Management Center (DDMC).
PowerProtect Data Manager uses DDMC to connect to the DD systems. The DD Management Center Installation and
Administration Guide provides instructions.
NOTE: DDMC is required with a DD OS version earlier than 6.1.2. With DD OS version 6.1.2 or later, you can add and use
a DD system directly without DDMC.
Prerequisites
Ensure that you meet the required prerequisites before you add an Oracle asset.
Verify that the environment meets the following requirements:
● Ensure that all clocks on both the Oracle host and PowerProtect Data Manager are time-synced to the local NTP server to
ensure discovery of the backups.
● Ensure that the Oracle host and the PowerProtect Data Manager network can see and resolve each other.
● Ensure that port 7000 is open on the Oracle host.
Steps
1. Add a storage system.
Add protection storage on page 33 provides information.
2. Install the Oracle RMAN agent on the Oracle server host.
Install the Oracle RMAN agent on page 14 provides information.
3. Add or approve the Oracle RMAN agent in PowerProtect Data Manager.
Manage the Oracle application agent on page 29 provides information.
4. Discover and add the credentials for the Oracle application host.
Discover an Oracle application host on page 36 provides information.
5. Create a protection policy to protect the Oracle server host.
Add a protection policy for Oracle database protection on page 37 provides information.
Steps
1. Add a storage system.
Add protection storage on page 33 provides information.
2. Install the Oracle RMAN agent on each Oracle RAC node.
Install the Oracle RMAN agent on page 14 provides information.
3. Add or approve the Oracle RMAN agent on each Oracle RAC node.
Manage the Oracle application agent on page 29 provides information.
4. Discover and add the credentials for each Oracle application host.
Discover an Oracle application host on page 36 provides information.
5. Create a protection policy group to protect the Oracle RAC nodes.
Add a protection policy for Oracle database protection on page 37 provides information.
The installation and configuration of the Oracle RMAN agent is supported only on English language operating systems.
PowerProtect Data Manager does not support an Oracle database installation in a High Availability (active/passive) OS
cluster configuration.
NOTE: In a RAC system, you must install the Oracle RMAN agent and PowerProtect Data Manager agent on each node.
Steps
1. In the PowerProtect Data Manager UI:
a. Select Agent Downloads from Dashboard > System Settings.
b. Select the Oracle RMAN agent download package, ddrman198_linux_x86_64.tar.
c. Download the package to the Oracle server host on Linux.
Uncompress the downloaded tar file using the oracle user by running the following command:
The Oracle RMAN agent installation files are uncompressed under the ddrman folder.
3. Ensure that no backups are running. Stop the RMAN processes before you install the Oracle RMAN agent.
4. As one of the system's Oracle users (recommended), run the install.sh script:
install.sh
6. If ORACLE_HOME is set in the environment, the install.sh script displays the following type of prompt. Type n, as
required for a new installation:
The Oracle RMAN agent library, libddobk.so, does not exist in /space/oracle/app/
oracle/product/12.1.0/dbhome_1/lib.
7. To verify the installed version of Oracle RMAN agent, run the following command:
/home/oracle/opt/dpsapps/rmanagent/bin/ddutil -i
<ORACLE_SID>:<ORACLE_HOME>:<N|Y>
As recommended by Oracle, ensure that all the archived redo logs in the Oracle RAC environment reside on shared storage
or a shared cluster file system that is accessible from all the RAC nodes. Select one node to be the backup node and set
the RAC_BACKUP_NODE_IP parameter accordingly, as described in Configuration file requirements for connection to local
databases on page 24.
NOTE: In a RAC system, you must install the Oracle RMAN agent and PowerProtect Data Manager agent on each node.
Steps
1. Log in as the root user on the Oracle RMAN host.
2. To install the PowerProtect agent service, run the rpm -ivh powerprotect-
agentsvc-19.8.0.0.0-1.x86_64.rpm command. For example:
NOTE: To validate the agent service .rpm file before you run the command, follow the instructions in Knowledgebase
article number 546613 at https://www.dell.com/support/kbdoc/en-us/546613.
3. To complete the required addons configuration and registration with PowerProtect Data Manager, run the
configureAddOn.sh script from the RMAN agent addon directory /home/oracle/opt/dpsapps/rmanagent/
addon. The following examples show the results when the retention time is set and the retention time is not set.
When the retention time is set to days:
./configureAddOn.sh
Enter the Oracle RMAN agent home pathname. Press ENTER for the default home pathname
/home/oracle/opt/dpsapps/rmanagent:
Creating the /opt/dpsapps/agentsvc/AddOns directory.
Creating the /opt/dpsapps/agentsvc/AddOns/D2B24128_9482_44D2_8723_6D211DB49BFB
directory.
Copying the D2B24128_9482_44D2_8723_6D211DB49BFB.zip file.
Copying the addon.cfg file.
Enter the PowerProtect Data Manager IP address or hostname: 10.63.102.140
TMPDIR set to value /opt/dpsapps/agentsvc/tmp
agent service (pid 20006) started successfully
Do you want to set the default retention time for automatic retention management of
existing backups by PowerProtect Data Manager? (y or n) y
Provide the default retention time as the number of days: 2
Setting RETENTION_TIME=2. When PowerProtect Data Manager protects the asset, the
existing backup copies are deleted after 2 days.
Allow SYSDBA access for RMAN agent? (y or n) y
Setting SYSADMIN_ACCESS=TRUE.
Addons configuration is completed.
./configureAddOn.sh
Enter the Oracle RMAN agent home pathname. Press ENTER for the default home pathname
/home/oracle/opt/dpsapps/rmanagent:
Creating the /opt/dpsapps/agentsvc/AddOns directory.
Creating the /opt/dpsapps/agentsvc/AddOns/D2B24128_9482_44D2_8723_6D211DB49BFB
directory.
Copying the D2B24128_9482_44D2_8723_6D211DB49BFB.zip file.
Copying the addon.cfg file.
Enter the PowerProtect Data Manager IP address or hostname: 10.63.102.140
TMPDIR set to value /opt/dpsapps/agentsvc/tmp
agent service (pid 20680) started successfully
4. To register or re-register the Oracle RMAN agent with the new PowerProtect Data Manager server, run the register.sh
script from the agent service directory /opt/dpsapps/agentsvc. For example:
/opt/dpsapps/agentsvc/register.sh
Enter the PowerProtect Data Manager IP address or hostname: 10.63.102.138
Warning: Changing IP of PowerProtect Server from 10.118.159.140 to 10.63.102.138
Started agent service with PID - 20795
NOTE: It is not necessary to uninstall the Oracle RMAN agent for an upgrade. An existing Oracle RMAN agent is
overwritten during an upgrade.
Perform the following steps to uninstall the Oracle RMAN agent.
# echo $RMAN_AGENT_HOME
/home/oracle/opt/dpsapps/rmanagent
# export RMAN_AGENT_HOME=/home/oracle/opt/dpsapps/rmanagent
3. To unconfigure the Oracle addon for PowerProtect Data Manager, log in as the root user on the Oracle RMAN host
and run the unConfigureAddOn.sh script from the RMAN agent addon directory /home/oracle/opt/dpsapps/
rmanagent/addon.
This step deletes the Oracle addon files in the agent service addon directory. For example:
/home/oracle/opt/dpsapps/rmanagent/addon/unConfigureAddOn.sh
Enter the Oracle RMAN agent home pathname. Press ENTER for the default home pathname
/home/oracle/opt/dpsapps/rmanagent:
# ./uninstall.sh
5. If the script does not run automatically, type the appropriate values at the prompts:
a. When prompted, specify whether you want to enter the directory pathname of the Oracle RMAN agent installation:
If you type y, then the script prompts for the installation location. Type the complete pathname of the installation
location, without a slash (/) at the end.
b. When prompted, specify whether you want the lockbox and configuration file to be removed:
c. If the script detects an additional installation of Oracle RMAN agent, the script prompts whether to uninstall that version.
You can specify to keep or uninstall the software.
The script removes the Oracle RMAN agent software and prints the following message:
Steps
1. Log in as the root user on the Oracle RMAN host.
/home/oracle/opt/dpsapps/rmanagent/addon/unConfigureAddOn.sh
Enter the Oracle RMAN agent home pathname. Press ENTER for the default home pathname
/home/oracle/opt/dpsapps/rmanagent:
3. Query the Oracle client for an installed agent service by running the following command:
powerprotect-agentsvc-19.8.0.0.0-1.x86_64
4. If the agent service exists on the Oracle client, uninstall the agent service by running the following command:
# rpm -e powerprotect-agentsvc-19.8.0.0.0-1.x86_64
Steps
1. Log in as an Oracle user.
2. To obtain details about the Data Domain hosts and storage units that eCDM or PowerProtect has registered with the Oracle
RMAN agent, run the ddutil -s command on the Oracle RMAN agent client host. For example:
ddutil -s
User: PLC-PROTECTION-1557475568457
Type: PRIMARY
3. Upgrade the Oracle RMAN agent by using either of the following methods:
● Interactive upgrade method:
To upgrade the Oracle RMAN agent by using the interactive method that prompts for input, follow the instructions in
Install the Oracle RMAN agent on page 14.
For example, when you run the install.sh script to perform the interactive upgrade, the following type of prompts
and output appear:
install.sh
Do you want to install under the default installation directory /home/oracle/opt/
dpsapps/rmanagent? (y or n) y
An Oracle RMAN agent already exists. Do you want to continue the installation? (y
or n) y
Installing the Oracle RMAN agent.
Copying the lockbox libraries to /home/oracle/opt/dpsapps/rmanagent/lib/.
export RMAN_AGENT_HOME=<$RMAN_AGENT_HOME>
export RMAN_AGENT_INSTALL_OPTIONS=OVERWRITE
export DD_CREDENTIALS_UPDATE=TRUE
c. Run the following upgrade command, including the two -a command-line options that specify the Data Domain server
and storage unit credentials to be updated. If the credentials of more than one server or storage unit must be
updated, specify a comma-separated list of the server names and storage unit names:
install.sh -a DD_SERVER_NAME={<server_name1>[,<server_name2>,...]} -a
DD_STORAGE_UNIT={<storage_unit1>[,<storage_unit2>,...]}
/usr/local/ecdm/ecdm-agent/bin/ecdm-agent.bin stop
2. To uninstall the eCDM agent, run the rpm -e ecdm-agent-3.0.0-15_1.x86_64 command. For example:
rpm -e ecdm-agent-3.0.0-15_1.x86_64
Uninstalling ecdm-agent...
ecdmagent.service - eCDM Agent Service
4. To complete the required addons configuration and registration with PowerProtect Data Manager, run the
configureAddOn.sh script from the RMAN agent addon directory /home/oracle/opt/dpsapps/rmanagent/
addon. For example:
/home/oracle/opt/dpsapps/rmanagent/addon/configureAddOn.sh
Enter the Oracle RMAN agent home pathname. Press ENTER for the default home pathname
/home/oracle/opt/dpsapps/rmanagent:
Creating the /opt/dpsapps/agentsvc/AddOns directory.
Creating the /opt/dpsapps/agentsvc/AddOns/D2B24128_9482_44D2_8723_6D211DB49BFB
directory.
Copying the D2B24128_9482_44D2_8723_6D211DB49BFB.zip file.
Copying the addon.cfg file.
Enter the PowerProtect Data Manager IP address or hostname: 10.63.102.140
Agent service (pid 32047) started successfully.
Do you want to set the default retention time? (y or n) y
Provide the default retention time as the number of days: 1
Setting RETENTION_TIME=1.
Allow SYSDBA access for RMAN agent? (y or n) y
Setting SYSADMIN_ACCESS=TRUE.
Addons configuration is completed.
5. To register or re-register the Oracle RMAN agent with the new PowerProtect Data Manager server, run the register.sh
script from the agent service directory /opt/dpsapps/agentsvc. For example:
/opt/dpsapps/agentsvc/register.sh
Enter the PowerProtect Data Manager IP address or hostname: 10.63.102.138
Warning: Changing IP of PowerProtect Server from 10.118.159.140 to 10.63.102.138
Started agent service with PID - 20795
6. To complete the upgrade, manually approve the Oracle RMAN agent from the PowerProtect Data Manager server. Manage
the Oracle application agent on page 29 provides information.
3. To complete the required addons configuration and registration with PowerProtect Data Manager, run the
configureAddOn.sh script from the RMAN agent addon directory /home/oracle/opt/dpsapps/rmanagent/
addon. For example:
/home/oracle/opt/dpsapps/rmanagent/addon/configureAddOn.sh
Enter the Oracle RMAN agent home pathname. Press ENTER for the default home pathname
/home/oracle/opt/dpsapps/rmanagent:
Creating the /opt/dpsapps/agentsvc/AddOns directory.
Creating the /opt/dpsapps/agentsvc/AddOns/D2B24128_9482_44D2_8723_6D211DB49BFB
directory.
Copying the D2B24128_9482_44D2_8723_6D211DB49BFB.zip file.
Copying the addon.cfg file.
Enter the PowerProtect Data Manager IP address or hostname: 10.63.102.140
Agent service (pid 32047) started successfully.
Do you want to set the default retention time? (y or n) y
Provide the default retention time as the number of days: 1
Setting RETENTION_TIME=1.
Allow SYSDBA access for RMAN agent? (y or n) y
Setting SYSADMIN_ACCESS=TRUE.
Addons configuration is completed.
4. To register or re-register the Oracle RMAN agent with the new PowerProtect Data Manager server, run the register.sh
script from the agent service directory /opt/dpsapps/agentsvc. For example:
/opt/dpsapps/agentsvc/register.sh
Enter the PowerProtect Data Manager IP address or hostname: 10.63.102.138
Warning: Changing IP of PowerProtect Server from 10.118.159.140 to 10.63.102.138
Started agent service with PID - 20795
5. To complete the upgrade, manually approve the Oracle RMAN agent from the PowerProtect Data Manager server. Manage
the Oracle application agent on page 29 provides information.
When the ddbmcon program performs discovery, backup, or deletion operations, it connects to the Oracle database. The
following authentication methods are supported:
1. Database authentication—The ddbmcon program first tries to connect to the Oracle database instance by using database
authentication. The program tries to use the database administrator username and password to connect to the database
instance.
2. Oracle wallet authentication—If database authentication fails or is not enabled, the ddbmcon program tries to connect by
using Oracle wallet authentication. The program tries to use the parameter settings from the configuration file to connect to
the database instance.
3. Operating system authentication—If Oracle wallet authentication also fails or is not enabled, the ddbmcon program tries
to connect by using operating system authentication. The program tries to change the real process user ID to the Oracle
installation user ID, to connect to the database instance.
The ddbmcon program tries all these authentication methods for each Oracle database instance. The program reports a
connection error if it cannot connect to the database instance by using any of these methods. If one of these methods
succeeds, the ddbmcon program ignores the other authentication methods and proceeds to retrieve the information as used by
the PowerProtect Data Manager.
Ensure that you enable one of these three authentication methods for the ddbmcon program. For maximum ease of use,
it is recommended that you enable the operating system authentication method. Both the database and Oracle wallet
authentication methods require additional configuration steps on the Oracle host and parameter settings in the configuration file
rman_agent.cfg.
# #############################################################################
#
# rman_agent.cfg
#
# All rights reserved.
#
# Oracle RMAN agent 19.8
#
# This template is designed to help users to configure the authentication of
# RMAN agent. Check the product administration guide for a complete list of
# all the supported parameters and rules for editing the configuration file.
#
# Make a copy of this file before making any modifications.
# To enable a parameter, uncomment or add the parameter in the file and
# specify its value.
#
# #############################################################################
#
# #############################################################################
# Oracle parameters.
# There can be repetitive sections of Oracle parameters. The Oracle database
# the parameters belong to is described in the section name: SID_name. The
# name here must be replaced by the SID of the database.
# #############################################################################
[SID_name]
# RAC_BACKUP_NODE_IP =
# ORACLE_SERVICE =
# ORACLE_USER =
# ORACLE_OS_USER =
# TNS_ADMIN =
# RMAN_CATALOG_SERVICE =
# RMAN_CATALOG_USER =
To set a particular parameter in the configuration file, such as ORACLE_SERVICE, remove the # symbol at the start of the
parameter line and add the parameter value after the equal sign (=).
You can complete the following settings in the configuration file:
● SID_name is mandatory for each authentication method when you set any parameters in the file for a particular system ID
(SID). [SID_name] (for example, [SID_orcl]) must appear on a separate line before all the parameter settings for the SID:
○ For any supported Oracle version in a stand-alone setup, SID_name must match the SID in the /etc/oratab file.
○ For any supported Oracle version in a RAC system, SID_name must match the SID that runs on the local host.
NOTE: Each Oracle SID on the same system requires its own entries in the configuration file. You must use the same
configuration file for all the Oracle SIDs.
● RAC_BACKUP_NODE_IP is highly recommended in an Oracle RAC environment only. In the Oracle RAC environment, select
a single node to be the backup node and set this parameter to the hostname or IP address of the backup node.
NOTE: This parameter setting might take 1 hour to come into effect. When you upgrade from a pre-19.5 version
of Oracle RMAN agent, you must manually add the RAC_BACKUP_NODE_IP setting in the configuration file. This
parameter is not applicable for self-service and stand-alone backups.
● ORACLE_SERVICE is mandatory for database authentication and Oracle wallet authentication. Specifies the TNS or Net
service name of the Oracle database.
● ORACLE_USER is mandatory for database authentication only. Specifies the database username as saved in the lockbox.
Authentication requirements
The following subtopics provide details about the three authentication methods that the ddbmcon program supports.
NOTE: If the lockbox does not exist when you run the ddutil command, the command creates the lockbox in the
$RMAN_AGENT_HOME/config directory.
The options -C and -a USER_TYPE=DATABASE_ADMIN are mandatory. If you do not specify the other -a options, -a
DATABASE_SIDS=<database_SIDs> and -a USERNAME=<administator_username>, the command prompts for the database
SIDs and administrator username. The command always prompts for the administrator password.
If multiple databases exist on the system and all use the same administrator username and password, you can add the
credentials for all the databases to the lockbox with the same ddutil command. You must specify the database SIDs as
a comma-separated list. For example:
ddutil -C -a USER_TYPE=DATABASE_ADMIN
ddutil -C -a USER_TYPE=DATABASE_ADMIN -a
DATABASE_SIDS=orcl1,orcl2,orcl3,orcl4,orcl5,db1,db2 -a USERNAME=SYS
[SID_orcl]
ORACLE_SERVICE = DBFS
ORACLE_USER = ORACLE1
TNS_ADMIN = /home/oracle/wallet
To confirm that database authentication is enabled, you can log in as the root user and run the ddutil commands as described
in Verify the connectivity from ddbmcon on page 27.
[SID_orcl]
ORACLE_SERVICE = DBFS
TNS_ADMIN = /home/oracle/<alternate_TNS_location>
To confirm that Oracle wallet authentication is enabled, you can log in as the root user and run the ddutil commands as
described in Verify the connectivity from ddbmcon on page 27.
When the ddbmcon program uses the authentication method on a system with multiple Oracle homes that were installed by
different users, the program returns information for only one Oracle home. The program returns a connection error for the other
Oracle homes.
During the backup discovery, the ddbmcon program tries to use the operating system authentication method only after the
database authentication and Oracle wallet authentication methods have both failed to connect to the Oracle database.
To enable the operating system authentication method, you must set the following parameters for each required SID in the
rman_agent.cfg configuration file:
● If the username to be used for the connection is different than ORACLE_OSDBA_USER, set ORACLE_OS_USER.
● If an RMAN catalog is used, set RMAN_CATALOG_SERVICE and RMAN_CATALOG_USER.
For example, the rman_agent.cfg configuration file includes the following settings to enable the operating system
authentication for the database SID orcl:
To confirm that operating system authentication is enabled, you can log in as the root user and run the ddutil commands as
described in Verify the connectivity from ddbmcon on page 27.
System verification
To perform the system verification, run the ddutil -v system command as the root user.
The ddutil -v system command verifies the connectivity to the Oracle instances.
For example, the following ddutil -v system command lists one Oracle instance and the authentication type as operating
system user:
ddutil -v system
Asset verification
To perform the asset verification, run the ddutil -v asset command as the root user. The command verifies the ability to
read the Oracle database objects, and provides similar output to the system verification command.
For example, the following ddutil -v asset command lists one Oracle instance, the database type, and the storage
capacity:
ddutil -v asset
RMAN verification
To perform the RMAN verification, run the ddutil -v rman command as the root user. This verification is required only if
you use an RMAN catalog. Database authentication or Oracle wallet authentication can be used to connect to an RMAN catalog.
(Operating system authentication cannot be used with the RMAN catalog.)
NOTE: To enable an active deletion through RMAN, the Data Domain credential must be stored in the lockbox.
The ddutil -v rman command displays the following three sections of output for the RMAN verification:
1. Target database connection information:
● Authentication type, which is listed as operating system user, Oracle database user, or Oracle wallet user.
● For operating system authentication, only the operating system user is listed.
● For database authentication, the operating system user, Oracle service, and database user are listed.
● For Oracle wallet authentication, the Oracle service and TNS_ADMIN value are listed.
2. Catalog database connection information:
● Authentication method, which is listed as Oracle database user or Oracle wallet user.
● For database authentication, the database service and database user are listed.
● For Oracle wallet authentication, the Oracle service and TNS_ADMIN value are listed.
3. Output of the RMAN script, which shows the connection information and any error messages.
For example, the following ddutil -v rman command displays the three sections of output. The output shows that the
database authentication method is used for both the target database and catalog database:
ddutil -v rman
RMAN output:
ddutil -s
User: demo-storage-blrv034d018-65f26
Type: PROTECTION
User: demo-storage-blrv034d018-65f26
Type: PROTECTION
Steps
1. Select Infrastructure > Application Agents.
The Application Agents window appears.
NOTE: If the PowerProtect agent service was able to register during the installation, the Oracle host is already listed
and does not need to be added.
2. Click Add.
The Add Application/FS Agent window appears.
3. Select one of the following options:
● Add FQDN or CSV Filename.
○ If you select Add FQDN, perform the following steps:
a. Type the fully qualified domain name (FQDN) for the application agent.
b. Specify the date until which the application agent is preapproved.
c. Click Save.
○ If you select CSV Filename, perform the following steps:
a. Click the Choose File icon.
NOTE: The contents of the .csv file must be in the following format, for example:
"ppdm.dell.com"
"ppdm2.emc.com"
"ppdm.dellemc.com"
Next steps
Discover an Oracle application host on page 36 describes how to set the host credentials before you schedule a backup.
Retention lock is not supported for discovered existing backups in PowerProtect Data Manager.
Self-service operations use the Data Domain backup host and storage unit
managed by PowerProtect Data Manager
With Oracle RMAN agent 19.1 or later, you can provide the Data Domain backup host and storage unit in the RMAN scripts.
After you use PowerProtect Data Manager to add an asset to the protection policy, you might want to keep using the existing
RMAN scripts instead of or along with scheduling backups through PowerProtect Data Manager.
When you create a protection policy, the PowerProtect Data Manager software can either create or reuse a storage unit on the
specified DD system backup host, subject to limitations. All subsequent backups of assets in that protection policy go to this
storage unit. This implementation overrides the backup host and storage unit information from the script with the backup host
and storage unit information from PowerProtect Data Manager.
NOTE:
If any asset on the host is being managed by PowerProtect Data Manager, only the delete operations performed through
PowerProtect Data Manager are supported. Self-service delete operations through rman delete or ddutil delete
are not supported.
If you plan to manage all assets on a host by using the stand-alone RMAN agent and not the PowerProtect
Data Manager, ensure that the hidden files .app.settings and .ddbmcon.gatherinfo are removed from the
$RMAN_AGENT_HOME/settings directory.
On a host where at least one asset is being managed by PowerProtect Data Manager, do not remove the hidden
files .app.settings and .ddbmcon.gatherinfo. In this case, the file removal will result in unexpected behavior.
Steps
1. Upgrade the Oracle RMAN agent on the Oracle server host.
Upgrade the Oracle RMAN agent on page 20 provides information.
2. Register and approve the Oracle RMAN agent in PowerProtect Data Manager.
Manage the Oracle application agent on page 29 provides information.
After a few minutes of approving the Oracle agent, all the old backup copies start to be discovered. Depending
on the number of backups, the discovery and subsequent visibility of the backups in PowerProtect Data Manager
can take some time. The retention time of the discovered existing backup copies is the value that is set during
the configuration with the configureAddOn.sh script. You can verify the applied retention time value from the
RETENTION_TIME=<number_of_days> setting in the $RMAN_AGENT_HOME/config/rman_options.cfg file.
When the RETENTION_TIME parameter is not set and the reply to the script prompt about setting the default retention
time is n, the default retention time for the backups is 30 days.
NOTE: This value is applied to all the assets that PowerProtect Data Manager discovers from the client. The RMAN
traditional retention time that uses the KEEP options is not honored.
3. Discover and add the credentials for the Oracle RMAN agent host.
Discover an Oracle application host on page 36 provides information.
4. Create a protection policy to protect the Oracle RMAN agent host.
Add a protection policy for Oracle database protection on page 37 provides information.
The first backup after onboarding must be a full backup:
● The first centralized backup is automatically promoted to a full backup.
● For the first self-service backup after onboarding, the Oracle DBA must run a full backup script.
NOTE: You cannot perform a backup to a secondary Data Domain device. You can only restore from a secondary Data
Domain device.
5. Perform a self-service Application Direct backup of Oracle databases. Onboarded assets can be part of either a centralized
or self-service protection policy.
Performing self-service backups of Oracle databases on page 56 provides information.
https://docs.oracle.com/cd/E29633_01/CDMIG/GUID-06C3ACB1-B48C-49E9-830A-B1F3B84B3DA7.htm
In the PowerProtect Data Manager UI, perform the following steps to set the parallelism for multi-stream backups:
1. Select Infrastructure > Assets > Oracle.
2. Select the Oracle asset.
3. Select More Actions > Set Parallelism.
4. Set the parallelism for each backup level as a value between 1 and 255 in the Full, Incremental Cumulative, Incremental
Differential, and Log fields.
5. Click Save.
As an alternative, you can set the PARALLELISM parameter in the $RMAN_AGENT_HOME/config/rman_agent.cfg file on
the Oracle RMAN agent host. For example, when you set the PARALLELISM parameter to 6, the Oracle backups run with 6
channels:
PARALLELISM = 6
NOTE: A parallelism setting in the rman_agent.cfg file takes precedence over a parallelism setting in the PowerProtect
Data Manager UI.
Steps
1. To identify the storage unit and Data Domain server IP address, run the ./ddutil -s command in the
$RMAN_AGENT_HOME/bin directory on the Oracle RMAN agent host.
2. To enable the app-optimization, run the following commands on the Virtual Cluster Manager (VCM) node:
Steps
1. Select Infrastructure > Storage.
The Storage window appears.
2. In the Protection Storage tab, click Add.
3. In the Add Storage dialog box, select a storage system (DD System, DDMC).
4. To add a DD HA system, select the checkbox.
c. In the Port field, specify the port for SSL communication. Default is 3009.
6. Under Host Credentials click Add, if you have already configured DD credentials that are common across DD systems,
select an existing password. Alternatively, you can add new credentials, and then click Save .
7. If a trusted certificate does not exist on the storage system, a dialog box appears requesting certificate approval. Click
Verify to review the certificate, and then click Accept.
8. Click Save to exit the Add Storage dialog and initiate the discovery of the storage system.
A dialog box appears to indicate that the request to add storage has been initiated.
9. In the Storage window, click Discover to refresh the window with any newly discovered storage systems.
When a discovery completes successfully, the Status column updates to OK.
10. To modify a storage system location, complete the following steps:
A storage system location is a label that is applied to a storage system. If you want to store your copies in a specific location,
the label helps you select the correct storage system during policy creation.
a. In the Storage window, select the storage system from the table.
b. Click Set Location.
The Set Location window appears.
c. Click Add in the Location list.
The Add Location window appears.
d. In the Name field, type a location name for the asset, and click Save.
Results
PowerProtect Data Manager displays External DD systems only in the Storage window Name column. PowerProtect Data
Manager displays DDMC storage types in the Managed By column.
Prerequisites
This task requires the name of the PowerProtect DD MTree where the storage unit resides.
Steps
1. SSH to the PowerProtect Data Manager appliance as the admin user.
2. Navigate to the /usr/local/brs/puppet/scripts directory.
Steps
1. From the PowerProtect Data Manager UI, select Infrastructure > Asset Sources, and then click + to reveal the New
Asset Source tab.
2. In the pane for the asset source that you want to add, click Enable Source.
The Asset Sources window updates to display a tab for the new asset source.
Results
You can now add or approve the asset source for use in PowerProtect Data Manager. For a vCenter Server, Kubernetes cluster,
SMIS Server, or PowerProtect Cloud Snapshot Manager tenant, select the appropriate tab in this window and click Add. For an
application agent, select Infrastructure > Application Agents and click Add or Approve as required.
NOTE: Although you can add a Cloud Snapshot Manager tenant to PowerProtect Data Manager in order to view its health,
alerts, and the status of its protection, recovery, and system jobs, you cannot manage the protection of its assets from
PowerProtect Data Manager. To manage the protection of its assets, use Cloud Snapshot Manager. For more information,
see the PowerProtect Cloud Snapshot Manager Online Help.
Steps
1. From the PowerProtect Data Manager UI, select Infrastructure > Asset Sources, and then select the tab of the asset
source that you want to disable.
If no host registration is detected, a red Disable button appears.
2. Click Disable.
Results
PowerProtect Data Manager removes the tab for this asset source.
Steps
1. Select Infrastructure > Asset Sources.
The Asset Sources window appears.
2. Select the App/File System Host tab.
3. If you are adding an Oracle database, select the host entry and click Edit Credentials.
The Edit Credentials dialog appears.
4. If you are adding credentials for an Oracle database, specify CredentialType as OS User and provide the Oracle username
and password.
Authentication requirements on page 25 provides details about the authentication requirements for an Oracle database.
NOTE: Credentials that you set at the asset level and asset source level supersede the credentials that you set at the
protection policy level. Credentials at the asset level have the highest precedence.
5. Click Save.
An entry for the application host with the specified information appears as an entry in a table on the Asset Sources
window.
Discovery time is based on networking bandwidth. The resources that are discovered and those that are doing the discovery
take a performance hit each time that you go through a discovery process. It might appear that PowerProtect Data Manager
is not updating the Asset Sources data.
NOTE: Click Discover at any time if any additions or other changes to your asset sources have taken place outside of
the PowerProtect Data Manager environment.
Results
If the database is properly configured, the application hosts can now be added to a PowerProtect Data Manager protection
policy.
You can only add the asset-level credentials when the Oracle host agent version is 19.7 or later.
You can add Oracle assets with different Oracle OS users or groups from the same asset source into a single protection
policy.
You can add multiple Oracle assets from multiple asset sources into a single protection policy.
The Oracle assets can be associated with multiple credential types, where the supported database credential types are
Oracle, Database User, and Wallet and the supported RMAN catalog credential types are Database User and Wallet.
Use the following procedure to add or remove the credentials for the Oracle database assets.
Steps
1. In the PowerProtect Data Manager UI, select Infrastructure > Assets, and then click the Oracle tab.
2. Select one or more assets by clicking the checkbox next to each required asset name.
3. Select More Actions > Set Credential.
4. In the Set Credential dialog box, add or remove the credentials for the selected Oracle assets:
● To add the credentials for the assets, specify the required OS, Database User, or Wallet settings for Database
Credentials. When the asset is associated with an RMAN catalog, you can also specify the RMAN catalog credentials
through the Database User or Wallet settings for RMAN Catalog.
NOTE: You can specify both the database credentials and RMAN catalog credentials in the Set Credential dialog
box.
● To remove the credentials for the assets, select Remove Credentials.
5. Click Save in the Set Credential dialog box.
Results
When you save the newly added credentials in the dialog box, PowerProtect Data Manager triggers an auto-configuration job for
the credential update in the respective clients.
After you add the credentials by using this procedure, the asset-level credentials are used for the selected assets during Oracle
centralized backups, overriding the policy-level credentials.
Prerequisites
● When you create protection policies for RAC databases, ensure that all nodes in the RAC environment are powered on and
registered at the time of the protection policy creation. Otherwise the protection might fail.
● For Oracle Instance Group assets, ensure that the maximum length of the hostname plus storage unit is 59. There are no
special character limitations. For example, oracle_database_department_123_accounts.
● Before you perform a backup on a weekly or monthly schedule from the protection policy, ensure that the PowerProtect
Data Manager time zone is set to the local time zone. If the PowerProtect Data Manager time zone is not set to the local
time zone, the weekly or monthly backup still runs but is triggered based on the PowerProtect Data Manager time zone.
If applicable, complete all of the virtual network configuration tasks before you assign any virtual networks to the protection
policy. The PowerProtect Data Manager Administration and User Guide provides more information.
Steps
1. In the left navigation pane, select Protection > Protection Policies.
The Protection Policies window appears.
NOTE: The name that you specify becomes part of the Data Domain MTree entry.
● Description—Type a short description for the protection policy, for example, Oracle Prod Daily Backups.
● Type—Select Oracle.
4. On the Purpose page, select from the following options to indicate the purpose of the new protection policy group, and
then click Next:
● Centralized Protection—Select this option to use PowerProtect Data Manager to centrally manage all stages of the
protection policy.
Centralized protection means that PowerProtect Data Manager schedules the backups and manages the life cycle of the
copies.
Click Set Credentials to specify new credentials or select existing credentials from the list. Authentication requirements
on page 25 provides details about the authentication requirements for an Oracle database.
NOTE: Policy-level credentials are mandatory. Credentials that you set at the asset level and host level take
precedence over the credentials that you set at the protection policy level. Asset-level credentials have the highest
precedence.
● Self-Service Protection—Select this option to use Oracle to create local backup protection. PowerProtect Data
Manager creates a protection policy and manages extra stages.
Self-service protection means that DBAs schedule the backups but PowerProtect Data Manager discovers and manages
the life cycle of the copies.
● Exclusion—Select this option when the protection policy contains Oracle assets that you want to exclude from data
protection operations.
5. On the Assets page, select the unprotected assets that you want to add to the backup of this protection policy group. The
window enables you to filter by asset name to locate the required assets.
You can also change the assets view to display all assets discovered by PowerProtect Data Manager or a hierarchical view
with the assets in a tree structure underneath the application host. For example, a hierarchical view might be helpful when
you have added multiple Oracle databases, so that you can more easily identify which assets belong to which database.
6. Click Next.
If you selected Exclusion on the Purpose page, the Summary page appears. Proceed to Step 15.
If you selected Centralized Protection or Self-Service Protection on the Purpose page, the Objectives page appears
for creating the protection policy backup configuration.
7. On the Objectives page, select a policy-level Service Level Agreement (SLA) from the Set Policy Level SLA list, or select
Add to open the Add Policy Service Level Agreement wizard and create a new policy-level SLA.
Add a Service Level Agreement on page 42 provides instructions.
8. Complete the required steps for the specified type of protection policy group:
● For Centralized Protection:
a. Click Add under Primary Backup.
The Add Primary Backup dialog appears.
b. On the Target pane of the Add Primary Backup dialog, specify the following fields:
○ Storage Name—Select a backup destination from the list of existing DD systems, or select Add to add a system
and complete the details in the Storage Target dialog.
○ Storage Unit—Select whether this protection policy should use a New storage unit on the selected DD system,
or select an existing storage unit from the list. Hover over a storage unit to view the full name and statistics for
available capacity and total capacity, for example, testvmplc-ppdm-daily-123ab (300 GB/1 TB).
When you select New, a new storage unit in the format policy name hostname unique identifier is created in the
storage system upon policy completion, for example, testvmplc-ppdm-daily-123cd.
NOTE: The Space field indicates the total amount of space, and the percentage of available space, on the
storage system.
NOTE: Any backups started before the End Time occurs continue until completion.
ii. Click Add Backup if you want to add an incremental cumulative, incremental differential, or log backup, and then
specify the following fields to schedule the backup of this protection policy:
NOTE: When you select this option, the backup chain is reset.
NOTE: Any backups started before the End Time occurs continue until completion.
d. Click Save to save your changes and return to the Objectives page.
The Objectives page updates to display the name and location of the target storage system under Primary Backup.
NOTE:
After completing the backup schedule, you can change any schedule details by clicking Edit under Primary
Backup.
When a new asset is added to a protection policy during a scheduled backup window, the backup starts right
away. However, if an asset is added to a protection policy outside of the scheduled backup window, the backup
does not start until the next time that backups are configured to run.
If a new asset is added to a protection policy that has a weekly or monthly backup schedule and the current time
is within the scheduled Start and End times, the backup runs right away, regardless of the date. If the current
time is not within the scheduled Start and End times, the backup does not start until the next time that backups
are configured to run.
For example, if there are 6 DDs available (DD001-DD006), and the primary backup is on DD0001:
c. Complete the schedule details in the Add Replication dialog, and then click Save to save your changes and return to the
Objectives page.
NOTE: The schedule frequency can be every day, week, month, or x hours for replication of the primary backup,
and every day, week, month, year, or x hours for replication of the extended retention backup. For daily, weekly, and
monthly schedules, the numeric value cannot be modified. For hourly, however, you can edit the numeric value. For
example, if you set Create a Full backup every 4 hours, you can set a value of 1 to 12 hours.
11. Optionally, add a cloud stage for a primary, replication, or extended retention backup schedule for the purpose of moving
backups from DD storage to cloud tier:
a. Click Cloud Tier next to Primary Backup or Extend Retention or, if adding a cloud stage for a replication schedule
that you have added, click Cloud Tier under Replicate. An entry for Cloud Tier is created to the right of the primary or
extended retention backup schedule, or below the replication schedule.
b. Under the entry for Cloud Tier, click Add.
The Add Cloud Tier Backup dialog appears, with summary schedule information for the parent node to indicate whether
you are adding this cloud tier stage for the primary backup schedule, the extended retention backup schedule, or the
replication schedule.
c. Complete the schedule details in the Add Cloud Tier Backup dialog, and then click Save to save your changes and
return to the Objectives page.
Add a cloud tier schedule to a protection policy on page 53 provides detailed instructions for adding a cloud stage for a
primary, replication, or extended retention backup schedule.
NOTE: In order to move a backup or replica to cloud tier, schedules must have a retention time of 14 days or more. Also,
discovery of a DD system configured with a cloud unit is required.
NOTE: When you create an SLA for Cloud Tier, you can include only full backups in the SLA.
Steps
1. From the PowerProtect Data Manager UI, select Protection > SLA Compliance.
The SLA Compliance window displays with the following information:
● SLA Name
● Stage Type
● Policies At Risk
● Objectives Out of Compliance
● Impacted Assets
2. Select the type of asset for which you want to add the SLA, and click Add.
The Add Service Level Agreement Type window appears.
3. Select the type of SLA that you want to add, and then click Next.
● Policy. If you choose this type, go to step 4.
● Backup. If you choose this type, go to step 5.
● Extended Retention. If you choose this type, go to step 6.
● Replication. If you choose this type, go to step 7.
● Cloud Tier. If you choose this type, go to step 8.
You can select only one type of Service Level Agreement.
4. If you selected Policy, specify the following fields regarding the purpose of the new Policy SLA:
a. The SLA Name.
b. If applicable, select Minimum Copies, and specify the number of Backup and Replication copies.
c. If applicable, select Maximum Copies, and specify the number of Backup and Replication copies.
d. If applicable, select Available Location and select the applicable locations. To add a location, click Add Location.
Options include the following:
● In—Include locations of all copies in the SLO locations. Selecting this option does not require every SLO location to
have a copy.
● Must In—Include locations of all copies in the SLO locations. Selecting this option requires every SLO location to
have at least one copy.
● Exclude—Locations of all copies must be non-SLO locations.
e. Click Finish, and then go to step 9.
5. If you selected Backup, specify the following fields regarding the purpose of the new Backup SLA:
a. The SLA Name.
b. If applicable, select Recovery Point Objective (RPO), and then set the duration. The purpose of an RPO is business
continuity planning, and indicates the maximum targeted period in which data (transactions) might be lost from an IT
service due to a major incident.
NOTE: You can select only Recovery Point Objective to configure as an independent objective in the SLA, or
select both Recovery Point Objective and Compliance Window. If you select both, the RPO setting must be one
of the following:
● Greater than 24 hours or more than the Compliance window duration, in which case RPO validation occurs
independent of the Compliance Window.
● Less than or equal to the Compliance Window duration, in which case RPO validation occurs within the
Compliance Window.
c. If applicable, select Compliance Window for copy type, and then select a schedule level from the list (for example,
All, Full, Cumulative) and set the duration. Duration indicates the amount of time necessary to create the backup
14. In the Jobs window, click next to an entry to view details on the SLA Compliance result.
Preferred alternatives
When you define an extended retention stage for a protection policy, you define a set of matching criteria that select preferred
backups to retain. If the matching criteria do not identify a matching backup, PowerProtect Data Manager automatically retains
the preferred alternative backup according to one of the following methods:
● Look-back—Retain the last available full backup that was taken before the matching criteria.
● Look-forward—Retain the next available full backup that was taken after the matching criteria.
For example, consider a situation where you configured a protection policy to retain the daily backup for the last day of the
month to extended retention. However, a network issue caused that backup to fail. In this case, look-back matching retains the
backup that was taken the previous day, while look-forward matching retains the backup that was taken the following day.
By default, PowerProtect Data Manager uses look-back matching to select the preferred alternative backup. A grace period
defines how far PowerProtect Data Manager can look in the configured direction for an alternative backup. If PowerProtect
Data Manager cannot find an alternative backup within the grace period, extended retention fails.
You can use the REST API to change the matching method or the grace period for look-forward matching. The API
documentation at https://developer.dellemc.com provides instructions. If there are no available backups for the defined
matching period, you can change the matching method to a different backup.
For look-forward matching, the next available backup can be an ad-hoc backup or the next scheduled backup.
Centralized protection
For an hourly primary backup schedule that starts on Sunday at 8:00 p.m. and ends on Monday at 6:00 p.m. with a weekly
extended retention schedule that is set to repeat every Sunday, PowerProtect Data Manager selects the first available backup
starting after 8:00 p.m. on Sunday for long-term retention.
The following diagram illustrates the behavior of backups with extended retention for a configured protection policy. In this
example, full daily backups starting at 10:00 p.m. and ending at 6:00 a.m. are kept for 1 week. Full weekly backups are set to
repeat every Sunday and are kept for 1 month.
Self-service protection
For self-service backups, PowerProtect Data Manager uses a default backup window of 24 hours. For a backup schedule that
starts on Sunday at 12:00 p.m and ends on Monday at 12:00 p.m. with a weekly extended retention schedule that is set to
repeat every Sunday, PowerProtect Data Manager selects the first available backup that is taken between 12:00 p.m. on Sunday
and 12:00 p.m. on Monday for long-term retention.
Steps
1. Select Infrastructure > Assets.
2. From the Assets window, select the tab for the asset type for which you want to edit the retention period. If a policy has
been assigned, the table lists the assets that have been discovered, along with the associated protection policy.
3. Select a protected asset from the table, and then click View Copies. The Copy Locations pane identifies where the
backups are stored.
4. In the left pane, click the storage icon to the right of the icon for the asset, for example, DD. The table in the right pane lists
the backup copies.
5. Select one or more backup copies from the table, and click Edit Retention.
Steps
1. From the PowerProtect Data Manager UI, select Infrastructure > Assets.
2. From the Assets window, select the tab for the asset type for which you want to delete copies. If a policy has been
assigned, the table lists the assets that have been discovered, along with the associated protection policy.
3. Select a protected asset from the table, and then click View Copies. The Copy Locations pane identifies where the
backups are stored.
4. In the left pane, click the storage icon to the right of the icon for the asset, for example, DD. The table in the right pane lists
the backup copies.
5. Select one or more copies from the table that you want to delete from the DD system, and then click Delete.
A preview window opens and displays the selected backup copies and all the backup copies that depend on the selected
backup copies.
An informational dialog box opens to confirm the copies are being deleted. To monitor the progress of the operation, click Go
to Jobs. To view the list of backup copies and their status, click OK.
When the job completes, the task summary provides details of each deleted backup copy, including the time that each copy
was created, the backup level, and the retention time. The time of copy creation and the retention time is shown in UTC.
An audit log is also generated and provides details of each deleted backup copy, including the time that each copy was
created, the backup level, and the retention time. The time of copy creation and the retention time is shown in UTC. Go to
Alerts > Audit Logs to view the audit log.
8. Verify that the copies are deleted successfully from the DD system. If the deletion is successful, the deleted copies no longer
appear in the table.
Steps
1. From the PowerProtect Data Manager UI, select Infrastructure > Assets.
2. From the Assets window, select the tab for the asset type for which you want to delete copies. If a policy has been
assigned, the table lists the assets that have been discovered, along with the associated protection policy.
3. Select a protected asset from the table, and then click View Copies. The Copy Locations pane identifies where the
backups are stored.
4. In the left pane, click the storage icon to the right of the icon for the asset, for example, DD. The table in the right pane lists
the backup copies.
5. Select one or more backup copies with the Deletion Failed status from the table, and then click Delete.
You can also filter and sort the list of backup copies by status in the Copy Status column.
The system displays a warning to confirm you want to delete the selected backup copies.
6. Click OK.
An informational dialog box opens to confirm that the copies are being deleted. To monitor the progress of the operation,
click Go to Jobs. To view the list of backup copies and their status, click OK.
7. Verify that the copies are successfully deleted from the DD system. If the deletion is successful, the deleted copies no longer
appear in the table.
Steps
1. From the PowerProtect Data Manager UI, select Infrastructure > Assets.
2. From the Assets window, select the tab for the asset type for which you want to export results of deleted backup copies. If
a policy has been assigned, the table lists the assets that have been discovered, along with the associated protection policy.
3. Select one or more protected assets from the table and then select More Actions > Export Deleted Copies.
If you do not select an asset, PowerProtect Data Manager exports the data for deleted backup copies for all assets for the
specific asset type.
4. Specify the following fields for the export:
a. Time Range
The default is Last 24 Hours.
NOTE: You cannot export data for backup copies that are in an Available state.
5. Click Download.
If applicable, the navigation window appears for you to select the location to save the CSV file.
6. Save the CSV file in the desired location and click Save.
Steps
1. From the PowerProtect Data Manager UI, select Infrastructure > Assets.
2. From the Assets window, select the tab for the asset type for which you want to delete copies. If a policy has been
assigned, the table lists the assets that have been discovered, along with the associated protection policy.
3. Select a protected asset from the table, and then click View Copies. The Copy Locations pane identifies where the
backups are stored.
4. In the left pane, click the storage icon to the right of the icon for the asset, for example, DD. The table in the right pane lists
the backup copies.
5. Select one or more backup copies with the Deletion Failed or Deletion Failed (Agent Catalog) status from the table, and
then click Remove from PowerProtect.
For backup copies with the Deletion Failed (Agent Catalog) status, click Remove from PowerProtect to remove the
information from PowerProtect Data Manager for any backup copies that were successfully deleted from the DD system but
for which the agent catalog was not deleted from the agent host.
The system displays a warning to confirm you want to delete the selected backup copies.
6. Click OK.
An informational dialog box opens to confirm that the copies are being deleted. To monitor the progress of the operation,
click Go to Jobs. To view the list of backup copies and their status, click OK.
7. Verify that the copies are deleted from the PowerProtect Data Manager database. If the deletion is successful, the deleted
copies no longer appear in the table. The backup copies remain in the DD system.
Reason for failure: orcl failed due to error message: The backup operation failed for
the instance 'orcl' with dbid '1585115093' due to the following error: RMAN-03009:
failure of Control File and SPFILE Autobackup command on CH0 channel at 12/09/2020
13:16:52
To resolve this type of error for a self-service backup, complete the procedure in Performing self-service backups of Oracle
databases on page 56.
# register.sh --start
Alternatively, you can use the following command to start the agent service:
# register.sh --stop
Alternatively, you can use the following command to stop the agent service:
# register.sh --status
# register.sh --status
● Alternatively, you can use the following command to obtain the status of the agent service when it is running or not running:
Steps
1. Stop the agent service by using the appropriate procedure from the preceding topic.
2. Open the config.yml file in an editor.
3. Modify the log-level settings in the following parameters, as required:
NOTE: These parameters are listed in order of decreasing number of messages in the debug information output. The
default log-level is INFO.
● DEBUG
● INFO
● WARNING
● ERROR
● CRITICAL
4. To retain the temporary files, set the keepTempFiles parameter to True in the config.yml file.
NOTE: The agent service and application agent communicate through the temporary files, which are typically deleted
after use but can be useful for troubleshooting purposes. Do not leave the keepTempFiles parameter set to True
permanently, or the temporary files can use excessive space on the file system.
5. Start the agent service by using the appropriate procedure from the preceding topic.
# register.sh
● The following command includes the new IP address on the command line:
# register.sh --ppdmServer=10.0.0.1
NOTE: Ensure that the agent service is powered off. Do not start the agent service until disaster recovery is complete.
Steps
1. Move the files in the <agent_service_installation_location>/dbs/v1 directory to a location for safe keeping.
NOTE: Do not move or delete any <agent_service_installation_location>/dbs/v1 subdirectories.
Prerequisites
Ensure that a Data Domain system is set up for cloud tiering.
Steps
1. Log in to PowerProtect Data Manager with administrator credentials.
2. From the PowerProtect Data Manager UI, select Protection > Protection Policies, and then click Add.
The Add Policy wizard appears.
3. On the Type page, enter a name and description, select Oracle as the type of system to back up, and click Next.
4. On the Purpose page, select from the available options to indicate the purpose of the new protection policy, and then click
Next.
5. On the Assets page, select the assets to be protected with this policy, and then click Next.
6. On the Objectives page, click Add under Primary Backup if the primary backup schedule is not already created, and fill out
the fields in the Target and Schedules panes on the Add Primary Backup dialog.
NOTE: There is no minimum recurrence required for the cloud stage. However, the cloud tier schedule requires a
minimum retention period of 14 days in the Retain for field.
7. Click Cloud Tier next to Primary Backup or Extend Retention or, if adding a cloud stage for a replication schedule that
you have added, click Cloud Tier under Replicate.
An entry for Cloud Tier is created to the right of the primary or extended retention backup schedule, or below the
replication schedule.
8. Under the entry for Cloud Tier, click Add.
The Add Cloud Tier Backup dialog appears, with summary schedule information for the parent node. This information
indicates whether you are adding this cloud tier stage for the primary backup schedule, the extended retention schedule, or
the replication schedule.
9. In the Add Cloud Tier Backup dialog box, set the following parameters and then click Save:
● Select the appropriate storage unit from the Cloud Target list.
Steps
1. Log in to PowerProtect Data Manager with administrator credentials.
2. Select Infrastructure > Assets > Oracle Databases.
3. On the Type Assets page, select the asset, and then click View Copies.
4. Select the Data Domain system where the PowerProtect Data Manager backups for Oracle reside, and then select Full
protection copy which is older than 2 weeks.
5. Click Tier to tier the backups.
A new job is created, which you can view under the Jobs tab after the job completes. When you monitor the cloud tier
progress of backup copies for the asset job, the status remains in the running state until the data movement occurs from the
Data Domain system.
6. Log in to the Data Domain system, and obtain the storage unit details by running the command data-movement policy
show. For example:
7. Run the data-movement start mtrees command for the particular MTree. For example:
After the successful data movement to the cloud, the cloud tier monitoring job completes. After some time, on the Assets >
View Copies page, the Location field of the protection backups changes to Cloud.
The Data Domain Operating System Administration Guide provides more details about cloud tier data movement.
Prerequisites
NOTE: When a backup is recalled from the cloud tier to the active tier, the copy is removed from the cloud tier.
Steps
1. Select Recovery > Assets, click Data Domain, and then select one of the available copies in the table with the location as
Cloud.
2. Click Recall, and then specify how long to keep the copy on the active tier.
A job is created to recall the backup copy from the cloud tier for the selected asset. The copy moves from the cloud tier, and
the status changes from Cloud to Local_Recalled. Then you can perform the restore from the local host.
3. To change the retention period for the recalled copy, select the recalled copy and then click Edit Recall Retention.
4. To re-tier the copy to the active tier, select the recalled copy.
For clients that are configured with a self-service protection policy, you must perform each type of data backup (full,
incremental, cumulative) in a separate RMAN session. You can perform the archived log, spfile, and controlfile backups
either with the data backups or in separate RMAN sessions.
When you perform the different types of data backups in the same RMAN session, the backups are reported incorrectly.
To perform a self-service or manual backup of an Oracle database, you must create and run an RMAN backup script. The
following example shows how to generate the backup scripts.
To identify the storage unit and Data Domain hostname, run the ddutil -s command on the Oracle client. For example, run
the following command in the $RMAN_AGENT_HOME/bin directory:
./ddutil -s
Only if the autobackup is enabled for the protected database and you have created a self-service protection policy for Oracle,
complete the required top-level directory changes:
1. Log in to the Oracle host as an Oracle user.
2. To obtain the top-level directory information, run the following command:
/home/oracle/opt/dpsapps/rmanagent/ddutil -s
User: oracle-self-blrv034d018-R-df3c7
Type: PROTECTION
3. To complete the changes to the control file configuration for the Oracle database, run the following RMAN command, which
includes the top-level pathname from the ddutil -s command output:
4. Similarly, in the existing backup scripts that you use for backups, change the format specification accordingly. For example:
If changing the backup scripts or the control file format is not a feasible option, then create the .disable.tlp
file under the $RMAN_AGENT_HOME/settings directory. Alternatively, add the IGNORE_TLP_SU_DIR=TRUE
environment variable setting in the ALLOCATE CHANNEL command of the existing backup scripts. In both of these
cases, the backup pieces will not be written under the top-level directory created by the protection policy.
In an Oracle RAC environment, create the .disable.tlp file on each node of the system under the
$RMAN_AGENT_HOME/settings directory.
Specify the storage unit and Data Domain hostname in the RMAN backup script.
The following example shows an RMAN script that performs a full backup of the database and its archive logs:
run {
allocate channel c1 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
The libddobk.so library location and the RMAN_AGENT_HOME, STORAGE_UNIT, and BACKUP_HOST settings must be
specified in the allocate channel command. All other parts of the script are standard RMAN commands.
To increase the parallelism of the backup, you can allocate more channels:
run {
allocate channel c1 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
allocate channel c2 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
allocate channel c3 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
allocate channel c4 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
./ddutil -s
Specify the storage unit and Data Domain hostname in the RMAN restore script.
The following example shows an RMAN script that performs a complete restore of the database to the current time, after the
database has been prepared:
run {
allocate channel c1 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
restore database;
recover database;
The libddobk.so library location and the RMAN_AGENT_HOME, STORAGE_UNIT, and BACKUP_HOST settings must be
specified in the allocate channel command. All other parts of the script are standard RMAN commands.
To increase the parallelism of the restore, you can allocate more channels:
run {
allocate channel c1 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
allocate channel c2 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
allocate channel c3 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
allocate channel c4 type SBT_TAPE parms 'SBT_LIBRARY=rman_agent_home/lib/
libddobk.so, ENV=(RMAN_AGENT_HOME=rman_agent_home, STORAGE_UNIT=XYZ, BACKUP_HOST=bu-
ddbealin-17.lss.emc.com)';
restore database;
recover database;
To automate these steps, you can run the following script after making any required changes to the Oracle DBID and
autobackup file name. The following steps provide more details.
Steps
1. To obtain details about the Data Domain host and storage unit that PowerProtect Data Manager has registered with the
Oracle RMAN agent, run the ddutil -s command as the root user or oracle user on the source client host.
a. SSH to the source client host as the oracle user.
b. Run the ddutil -s command from the $RMAN_AGENT_HOME/bin directory. For example:
./ddutil -s
User: PLCwlt-blrv136g140-6d974
Type: PROTECTION
User: oracle-replic-blrv136h018-3d069
Type: PROTECTION
Record the DD system hostname or IP address, storage unit name, and DD Boost username.
./get_dd_mtree_credential.py rman134-os-blrv027d140-f548a
ddutil -C
a. On the target client, to list the available backups in the storage unit, run the following command:
ddutil -f -z <DD_system>:/<storage_unit_name>
where <DD_system> and <storage_unit_name> are values that you recorded from the source client.
The following type of information appears on the console:
b. If you cannot obtain the DBID because the server is corrupted or because of a disaster, use the PowerProtect Data
Manager REST API.
Alternatively, check the contents of the DD Boost storage unit CIFS or NFS share.
c. If you still cannot obtain the DBID for the database, the Oracle DBA can obtain the DBID from the control file.
6. Create the required folders on the target client.
a. For a cross-restore, ensure that the folder structure on the target client is the same as on the source client.
b. Create the audit file destination at /home/oracle/app/oracle/admin/orcl/adump.
c. Create the recovery file destination at /home/oracle/app/oracle/fast_recovery_area.
d. Create the control file destination at /home/oracle/app/oracle/oradata
Ensure that each folder has the same permissions as the Oracle home path $RMAN_AGENT_HOME/bin.
7. Start the Recovery Manager on the target client.
a. Go to the /home/oracle/<version>/bin/ directory, where <version> is the installed Oracle version.
b. If you have not already done so, run the following command to set the Oracle environment variables:
. oraenv
rman target /
8. To start the Oracle instance with default parameters in the nomount mode, run the following command in Recovery
Manager:
startup nomount;
Later steps retrieve the correct parameter file from the backup.
9. Set the DBID, and restore the spfile to the $ORACLE_HOME/dbs directory. For example:
RMAN> run {
2>
3> ALLOCATE CHANNEL C1 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
4>
5> ALLOCATE CHANNEL C2 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
6>
7> ALLOCATE CHANNEL C3 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
8>
9> ALLOCATE CHANNEL C4 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
10>
11> restore spfile from autobackup;
12>
13> }
allocated channel: C2
channel C2: SID=28 device type=SBT_TAPE
channel C2: Data Domain Boost API
allocated channel: C3
channel C3: SID=24 device type=SBT_TAPE
channel C3: Data Domain Boost API
ls -lrt
total 24
rw-r--r--. 1 oracle oracle 3079 May 14 2015 init.ora
rw-rw----. 1 oracle oracle 1544 Feb 3 2020 hc_orc119.dat
rw-rw----. 1 oracle oracle 1544 Aug 10 18:41 hc_orc119c.dat
rw-rw----. 1 oracle oracle 1544 Aug 10 18:53 hc_orc12.dat
rw-rw----. 1 oracle oracle 1544 Aug 10 19:25 hc_orcl.dat
rw-rw----. 1 oracle oracle 3584 Aug 10 20:35 spfileorcl.ora
shutdown immediate;
12. To restart the Oracle instance with the restored spfile in the nomount mode, run the following command:
startup nomount
RMAN> run {
2>
3> ALLOCATE CHANNEL C1 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
4>
5> ALLOCATE CHANNEL C2 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
6>
7> ALLOCATE CHANNEL C3 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
8>
9> ALLOCATE CHANNEL C4 TYPE SBT TRACE S PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
10>
11> restore controlfile from autobackup;
12>
13> }
allocated channel: C1
channel C1: SID=36 device type=SBT_TAPE
channel C1: Data Domain Boost API
allocated channel: C2
channel C2: SID=37 device type=SBT_TAPE
channel C2: Data Domain Boost API
allocated channel: C3
channel C3: SID=38 device type=SBT_TAPE
channel C3: Data Domain Boost API
allocated channel: C4
channel C4: SID=39 device type=SBT_TAPE
channel C4: Data Domain Boost API
NOTE: When autobackup is disabled, the control files and spfiles are backed up automatically as part of the database
backup. The prefix Automated_controlfile is added in the control file names and Automated_spfile is added
in the spfile names for easy identification. This feature helps with disaster recovery use cases.
Statement processed
15. To restore the database, run the restore database command in Recovery Manager. For example:
RMAN> run {
2>
3> ALLOCATE CHANNEL C1 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
4>
5> ALLOCATE CHANNEL C2 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
6>
7> ALLOCATE CHANNEL C3 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
8>
9> ALLOCATE CHANNEL C4 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
10>
11> restore database;
12>
13> }
allocated channel: C2
channel C2: SID=40 device type=SBT_TAPE
channel C2: Data Domain Boost API
allocated channel: C3
channel C3: SID=28 device type=SBT_TAPE
channel C3: Data Domain Boost API
allocated channel: C4
channel C4: SID=29 device type=SBT_TAPE
channel C4: Data Domain Boost API
16. To prepare for database recovery, run the RMAN command list backup to obtain either the SCN or the log sequence
number to which the database must be restored.
For example, the following output from the list backup command shows the log sequence number 494. To complete the
database recovery, you need to restore the database to the log sequence number 494:
17. To recover the database, run the recover database command in Recovery Manager.
NOTE: If you do not specify the log sequence number in the recover database command, the command output
ends with an error message, such as follows:
In the following example, the recover database command specifies the sequence number to which the database is
restored:
RMAN> run {
2>
3> ALLOCATE CHANNEL C1 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
4>
5> ALLOCATE CHANNEL C2 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
6>
7> ALLOCATE CHANNEL C3 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
8>
9> ALLOCATE CHANNEL C4 TYPE SBT TRACE 5 PARMS 'SBT_LIBRARY=/
home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, SBT_PARMS=(RMAN_AGENT_HOME=/home/
oracle/opt/dpsapps/rmanagent/, STORAGE_UNIT=/rman134-os-blrv027d140-f548a,
BACKUP_HOST=10.63.96.240, ORACLE_HOME=/home/oracle/19.3)' ;
10>
11> recover database until sequence 495;
12>
13> }
allocated channel: C1
channel C1: SID=25 device type=SBT_TAPE
channel C1: Data Domain Boost API
allocated channel: C2
channel C2: SID=40 device type=SBT_TAPE
channel C2: Data Domain Boost API
allocated channel: C3
channel C3: SID=28 device type=SBT_TAPE
channel C3: Data Domain Boost API
allocated channel: C4
channel C4: SID=29 device type=SBT_TAPE
channel C4: Data Domain Boost API
Starting recover at 19-AUG-20
exit
20. To start the Recovery Manager and connect to the restored database, run the following command:
rman target /
Recovery Manager: Release 19.0.0.0.0 - Production on Mon Aug 10 19:15:06 2020
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
RMAN>
Next steps
After you perform a cross-restore to an alternate host:
● Change the DBID of the restored database as described in Change the DBID of an Oracle instance on page 67.
Ensure that the DBID is unique for each data center. Multiple Oracle databases with the same DBID produce duplicate
entries in PowerProtect Data Manager.
● Optionally, to remove the access to the production backups, remove the client registration from the lockbox as described in
Remove a client registration from the lockbox on page 69.
Prerequisites
Before you change the DBID of the Oracle instance, ensure that you have a recoverable whole database backup.
Steps
1. Ensure that the target database is mounted but not open. Ensure that the database was shut down consistently before
mounting. For example:
rman target /
2. To run the DBNEWID utility to change the Oracle DBID, run the nid command and include the TARGET option to specify a
valid user with SYSDBA privileges.
The DBNEWID utility performs the following operations:
a. The utility prompts for the database user password.
b. The utility performs validations in the headers of the data files and control files.
c. If the validations are successful, the utility prompts for confirmation before changing the DBID.
NOTE: If you have specified a log file, the utility does not prompt for confirmation.
d. The utility changes the DBID for each data file, including offline normal and read-only data files, and then shuts down the
database and exits.
The following examples show the outputs of the nid command:
nid
nid TARGET=SYS
Password:
Connected to database ORCL (DBID=1573350876)
Connected to server version 12.2.0
Control Files in database:
/home/oracle/app/oracle/oradata/orcl/control101.ctl
/home/oracle/app/oracle/fast_recovery_area/orcl/control102.ctl
3. Mount the database, and open the database in RESETLOGS mode. For example:
rman target /
RMAN> exit
At this point, you can resume normal operations with the database, which has the new DBID. For example:
rman target /
RMAN>
4. Perform a full database backup. Because the online redo logs have been reset, the previous backups and archived logs are no
longer usable in the new incarnation of the database.