Enterprise Hybrid Cloud

36
SOLUTION GUIDE ENTERPRISE HYBRID CLOUD 4.1.1 Availability and Data Protection for Oracle Database March 2017 Abstract This solution guide describes the Availability and Data Protection for Oracle Database solution on Enterprise Hybrid Cloud. The solution includes automated and on-demand backup and recovery as well as remote replication and disaster recovery. H15815R This document is not intended for audiences in China, Hong Kong, and Taiwan.

Transcript of Enterprise Hybrid Cloud

Page 1: Enterprise Hybrid Cloud

SOLUTION GUIDE

ENTERPRISE HYBRID CLOUD 4.1.1 Availability and Data Protection for Oracle Database March 2017

Abstract

This solution guide describes the Availability and Data Protection for Oracle Database solution on Enterprise Hybrid Cloud. The solution includes automated and on-demand backup and recovery as well as remote replication and disaster recovery.

H15815R

This document is not intended for audiences in China, Hong Kong, and Taiwan.

Page 2: Enterprise Hybrid Cloud

Copyright

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

The information in this publication is provided as is. Dell Inc. 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 software described in this publication requires an applicable software license.

Copyright © 2017 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 the property of their respective owners. Published in the USA 03/17 Solution Guide H15815R.

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

2

Page 3: Enterprise Hybrid Cloud

Contents

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Contents

Chapter 1 Executive Summary 4 Business case ....................................................................................................... 5 Solution overview .................................................................................................. 5 Enterprise Hybrid Cloud ........................................................................................ 6 Document purpose ................................................................................................ 7 Audience ............................................................................................................... 7 Essential reading .................................................................................................. 8 We value your feedback ........................................................................................ 8

Chapter 2 Solution Architecture 9 Overview ............................................................................................................. 10 Key components ................................................................................................. 11 Software resources ............................................................................................. 11

Chapter 3 Oracle Backup as a Service 13 Overview ............................................................................................................. 14 Oracle DBaaS Backup and Recovery ................................................................. 14 Avamar ............................................................................................................... 18 Avamar REST API .............................................................................................. 18 Avamar Client for Linux ....................................................................................... 22 Avamar Plug-in for Oracle ................................................................................... 22 Data Domain ....................................................................................................... 22 Backup and Recovery Manager .......................................................................... 22

Chapter 4 Oracle Disaster Recovery 23 Overview ............................................................................................................. 24 Disaster recovery using RecoverPoint for VMs ................................................... 24 Disaster recovery using VMware Site Recovery Manager ................................... 30

Chapter 5 Conclusion 33 Summary ............................................................................................................ 34 Findings .............................................................................................................. 34

Chapter 6 References 35 EMC documentation ............................................................................................ 36 VMware documentation ...................................................................................... 36 Oracle documentation ......................................................................................... 36

3

Page 4: Enterprise Hybrid Cloud

Chapter 1: Executive Summary

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Chapter 1 Executive Summary

This chapter presents the following topics:

Business case ..................................................................................................... 5

Solution overview ............................................................................................... 5

Enterprise Hybrid Cloud ..................................................................................... 6

Document purpose ............................................................................................. 7

Audience .............................................................................................................. 7

Essential reading ................................................................................................ 8

We value your feedback ..................................................................................... 8

4

Page 5: Enterprise Hybrid Cloud

Chapter 1: Executive Summary

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Business case As organizations adopt virtualization and move business data and processes to a cloud-based infrastructure, protecting the data and systems from loss due to human error or disaster remains critical. Enterprise Hybrid Cloud from Dell EMC™ provides virtual machine-level backup and recovery as well as replication of virtual machines (VMs) to disaster recovery (DR) sites as part of the core platform.

While VM-level backups provide essential protection of the machine itself, application owners need more granular protection of their application data so that users and administrators can protect and restore an application’s state to specific recovery points as necessary.

This Availability and Data Protection for Oracle Database solution on Enterprise Hybrid Cloud lets customers self-provision and protect Oracle single-instance and Real Application Clusters (RAC) databases, giving IT teams a fast and easy way to establish and control data protection (DP) parameters.

This solution adds both automated and on-demand backup for Oracle databases deployed on Enterprise Hybrid Cloud. It integrates with the Oracle Database-as-a-Service (DBaaS) solution so that newly deployed Oracle database systems—either single-instance or RAC—are automatically added to a backup schedule and can be backed up and restored on demand through a simple cloud portal interface.

In addition, the Oracle Database systems can be replicated to a remote site configured in Enterprise Hybrid Cloud so that data is protected from a local site outage.

Solution overview This solution enables customers to perform the following tasks:

• Day 1 operations:

Enable automatic, scheduled backups of the database when an Oracle DBaaS deployment is requested. The Oracle database will be backed up to a local Dell EMC Avamar™ server based on a schedule configured by an administrator.

Enable continuous remote replication of the provisioned Oracle DBaaS virtual machine to a remote site as configured in Enterprise Hybrid Cloud.

• Day 2 operations:

Add or remove automatic backups to a deployed Oracle DBaaS virtual machine

Create an on-demand backup of the Oracle database

Perform an on-demand restore of a previous backup to the original or alternate Oracle DBaaS virtual machine

Enable DR of an existing Oracle DBaaS VM using Dell EMC RecoverPoint™ for Virtual Machines (VMs)

5

Page 6: Enterprise Hybrid Cloud

Chapter 1: Executive Summary

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Enterprise Hybrid Cloud Enterprise Hybrid Cloud is an enterprise-class, multitenant, multisite, scalable platform enabling IT organizations to deploy an on-premises hybrid cloud that delivers infrastructure as a service (IaaS) to their business quickly. It also provides a framework and foundation for add-on modules such as application services, database as a service (DBaaS), platform as a service (PaaS), and cloud brokering.

This solution uses VMware vRealize Automation and VMware vRealize Orchestrator. It provides configurable workflows to enable the automated deployment and management of Oracle DBaaS.

Enterprise Hybrid Cloud is designed to deliver multitenancy and secure separation of resources. Cloud computing requires the ability to isolate resources and deliver secure access. Enterprise Hybrid Cloud is structured so that, if required, each tenant can be:

• Logically separated using vRealize Automation business groups. In this solution, the Oracle business group is assigned dedicated compute, storage, and network resources for software license compliance.

• Physically separated in a dedicated workload pod. In this solution, Oracle is restricted to dedicated VMware vSphere clusters with High Availability (vSphere HA) and Distributed Resource Scheduler (DRS). The workload pod can have its own servers, network, and storage resources, separate from all other tenants.

These dedicated, physically separated, clustered workload pods are mapped to the compute resource available to the vRealize Automation business group through a VMware vCenter Server endpoint (either dedicated or shared). This improves service availability, and helps ensure software license compliance by restricting where the virtual machines and software are running or installed.

vRealize Orchestrator integrates with vRealize Automation and enables process automation when interfacing with third-party systems. Further, vRealize Orchestrator workflows can be deployed as custom services or actions in vRealize Automation to enable complex Day 1 and Day 2 operations for Oracle DBaaS.

Avamar is a client/server network backup and recovery solution that consists of one or more Avamar servers and the network servers or desktop clients that back up data to those servers. The Avamar system can be integrated with Dell EMC Data Domain™ to provide advanced backup storage capabilities.

RecoverPoint for VMs provides a business continuity/disaster recovery (BC/DR) capability that is integrated with vCenter Server. It enables local and remote replication on a per-virtual-machine basis, allowing recovery to any point-in-time (PiT) with orchestration features during failover.

The RecoverPoint for VMs plug-in for vRealize Orchestrator integrates the functionality into the orchestration engine.

Avamar

RecoverPoint for VMs

6

Page 7: Enterprise Hybrid Cloud

Chapter 1: Executive Summary

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

VMware Site Recovery Manager is a DR management solution that provides automated orchestration and nondisruptive testing of centralized recovery plans to simplify DR for virtualized applications. Site Recovery Manager integrates with RecoverPoint replication and Dell EMC ViPR™ automated storage services by means of Storage Replication Adapters (SRAs). Site Recovery Manager reduces the time and effort that is required to set up and maintain recovery plans. Its simple, centralized recovery plans require significantly less time and coordination to complete regular updates than complicated, manual runbooks.

Oracle Database 12c delivers industry-leading performance, scalability, security, and reliability on a choice of clustered or single servers running Microsoft Windows, Linux, or UNIX. It introduces a new architecture, Oracle Multitenant, where one or more pluggable databases (PDBs) are created inside a container database (CDB).

The multitenant architecture supports the following configurations:

• A single-tenant configuration, one PDB plugged into a CDB, is available for no extra cost in all editions.

• A multitenant option for up to 252 PDBs per CDB is an extra-cost option of Oracle 12c Enterprise Edition.

Oracle Grid Infrastructure combines Oracle ASM and Oracle Clusterware into a single set of binaries, separate from the database software. This provides all the cluster and storage services required to run an Oracle RAC or single-instance database.

Document purpose This guide describes a solution that allows you to protect systems created through Oracle DBaaS on Enterprise Hybrid Cloud. It introduces the main features and functionality of the solution and describes the architecture and key components required to back up, restore, and replicate Oracle DBaaS on Enterprise Hybrid Cloud.

Audience This guide is intended for Dell EMC customers and qualified Dell EMC partners. The guide assumes that users who intend to deploy this solution have the necessary training and background to install and configure an end-user computing solution based on Enterprise Hybrid Cloud and Oracle Database 12c. Users should also be familiar with the infrastructure and database security policies of the customer installation.

VMware Site Recovery Manager

Oracle Database

Oracle Grid Infrastructure

7

Page 8: Enterprise Hybrid Cloud

Chapter 1: Executive Summary

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Essential reading The following guides provide further information about various aspects of Enterprise Hybrid Cloud:

• Enterprise Hybrid Cloud 4.1.1 Oracle Database as a Service Solution Guide

• Enterprise Hybrid Cloud 4.1.1 Administration Guide

• Enterprise Hybrid Cloud 4.1.1 Concepts and Architecture Guide

• Enterprise Hybrid Cloud 4.1.1 Reference Architecture Guide

• Enterprise Hybrid Cloud 4.1.1 Security Management Guide

• Enterprise Hybrid Cloud 4.1.1 Infrastructure and Operations Management Guide

We value your feedback Dell EMC and the authors of this document welcome your feedback on the solution and the solution documentation. Contact [email protected] with your comments.

Authors: Allan Robertson, Ed Spaenij, Tom Hudgins, Liam Buckley, Donna Renfro, Judith Cuppage

8

Page 9: Enterprise Hybrid Cloud

Chapter 2: Solution Architecture

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Chapter 2 Solution Architecture

This chapter presents the following topics:

Overview ............................................................................................................ 10

Key components ............................................................................................... 11

Software resources ........................................................................................... 11

9

Page 10: Enterprise Hybrid Cloud

Chapter 2: Solution Architecture

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Overview The Availability and Data Protection for Oracle Database solution layers additional functionality on top of the Oracle DBaaS solution architecture described in the Enterprise Hybrid Cloud 4.1.1 Oracle Database as a Service Solution Guide.

It leverages the backup, recovery, and protection features of Enterprise Hybrid Cloud through configured Avamar backup servers and RecoverPoint for VMs appliances replicating to a remote site.

Figure 1 shows the reference architecture for this solution. Components in the diagram are explained in detail in the Enterprise Hybrid Cloud 4.1.1 Concepts and Architecture Guide.

Figure 1. Reference architecture diagram

The Avamar and RecoverPoint for VMs components are configured as part of the core Enterprise Hybrid Cloud installation and are prerequisites for this solution.

10

Page 11: Enterprise Hybrid Cloud

Chapter 2: Solution Architecture

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Key components The following components of Enterprise Hybrid Cloud are essential in this solution:

• VMware ESXi and VMware vCenter Server

• VMware vRealize Suite:

VMware vRealize Automation

VMware vRealize Operations Manager

VMware vRealize Orchestrator

• Avamar

Enterprise Hybrid Cloud provides DR as a Service (DRaaS) using the following options:

• RecoverPoint for Virtual Machines

• VMware Site Recovery Manager

Note: For a full overview of the Enterprise Hybrid Cloud components, refer to the Enterprise Hybrid Cloud 4.1.1: Reference Architecture Guide.

Software resources Table 1 lists the application software components and supporting services used in this Oracle solution for Enterprise Hybrid Cloud. For a complete list of Enterprise Hybrid Cloud software requirements, refer to the Dell EMC Simple Support Matrix (ESSM).

Table 1. Software resources

Software Version Description

Operating system software

Oracle Linux Server 6.6 UEK3

Oracle Linux is a Linux distribution based on Red Hat Enterprise Linux (RHEL), repackaged and distributed by Oracle.

Application software

Oracle Database 12c Release 1 12.1.0.2.0 Oracle Database software including Oracle Enterprise Manager Database Express 12c

Oracle Grid Infrastructure 12c Release 1

12.1.0.2.0 Oracle Clusterware is shipped with Oracle Grid Infrastructure, which is a suite of software packages that includes Oracle ASM for databases. Oracle Clusterware is a generic, general-purpose clustering solution for all applications.

11

Page 12: Enterprise Hybrid Cloud

Chapter 2: Solution Architecture

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Software Version Description

Backup Software

Dell EMC Avamar Client for Linux 7.3.0-233 64-bit client for RHEL 6.x

Dell EMC Avamar Plug-in for Oracle

7.3.0-233 64-bit Oracle Recovery Manager (RMAN) plug-in for RHEL 6.x

Dell EMC Avamar REST API 7.3.0-233 Avamar REST server that can abstract and pool multiple Avamar systems. Note: This is available via RPQ.

Dell EMC Backup and Recovery Manager (BRM)

1.2 The BRM Virtual Machine serves as the Avamar REST API host. The BRM application itself is not used. Note: BRM version 1.3 is not compatible with this solution and is not supported.

Note: This solution uses Oracle Linux Server 6.6, which is supported by both VMware and Oracle.

12

Page 13: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Chapter 3 Oracle Backup as a Service

This chapter presents the following topics:

Overview ............................................................................................................ 14

Oracle DBaaS Backup and Recovery .............................................................. 14

Avamar ............................................................................................................... 18

Avamar REST API ............................................................................................. 18

Avamar Client for Linux .................................................................................... 22

Avamar Plug-in for Oracle ................................................................................ 22

Data Domain ...................................................................................................... 22

Backup and Recovery Manager ....................................................................... 22

13

Page 14: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Overview Consistent backup and recovery is a key requirement for Oracle DBaaS on Enterprise Hybrid Cloud. Oracle Recovery Manager (RMAN) is the standard mechanism for backup and recovery of Oracle Database. The Avamar Plug-in for Oracle works with RMAN to deliver fast, space-efficient backup for each Avamar tenant. Avamar can be optionally integrated with Data Domain data protection.

This solution includes backup and recovery workflows that configure an automatic, scheduled backup of the Oracle Database to a local Avamar backup server or cluster. In addition, workflows are included to enable:

• Adding and removing a scheduled full RMAN backup with a standard retention period for Oracle DBaaS

• Requesting an on-demand full RMAN backup of Oracle DBaaS to Avamar

• Requesting a PiT restore of the Oracle Database, on either the same VM or the other VM, based on backup time

Oracle DBaaS Backup and Recovery After the Enterprise Hybrid Cloud administrator has configured the solution, end users who request deployment of an Oracle system can choose to have their database added to an Avamar backup schedule. The Enterprise Hybrid Cloud Avamar system then performs a backup of the Oracle database according to that schedule. Typically, an administrator sets up a nightly backup schedule, but different periodic backup schedules can also be configured.

Figure 2 shows the request form for the Automatic Backup option.

Figure 2. Deploy Oracle System request form

If you initially choose not to configure automatic backups when requesting the deployment of Oracle DBaaS, you can add automatic backups at any time after deployment. You can select a Resource Action in vRealize Automation to add existing Oracle database servers to the backup schedule. If backup is no longer needed, you can also remove the database server from the backup schedule.

Automatic backup

14

Page 15: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

As an end user, you can perform an on-demand backup of the Oracle database at any time using a Resource Action in vRealize Automation.

1. Select the name of the machine that holds the Oracle Database, and select Actions > Backup Database, as shown in Figure 3.

Figure 3. On-demand-backup resource action

2. Complete the request form by selecting a retention period defined in Avamar from the Select Retention list box, as shown in Figure 4.

After you submit the backup request, the database files including data files, control files, and online log files are backed up along with the spfile and password file.

Figure 4. Requesting an on-demand Oracle Database backup from the Enterprise

Hybrid Cloud portal

The cloud administrator configures whether the option to back up the virtual machine is presented.

On-demand backup

15

Page 16: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

A PiT restore of the Oracle Database, based on the backup time, is available as a resource action. To request a restore, follow these steps:

1. From the vRealize Automation Items tab, click the name of the machine that holds the Oracle Database to be restored.

2. Select Actions > Restore Database, as shown in Figure 5.

Figure 5. Requesting an Oracle Database restore from the Enterprise Hybrid

Cloud portal

3. In the request form, type the password of the Oracle user who owns the database, and select a backup date in the Select Backup list box, as shown in Figure 6.

Oracle DBaaS recovery

16

Page 17: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Figure 6. Enterprise Hybrid Cloud portal request to restore an Oracle Database

backup

4. Select one of two options for the restore destination:

In the Restore to Remote Host? list box, select No (the default value) to restore the database to the machine from which it was backed up.

In the Restore to Remote Host? list box, select Yes to restore the database to another host. Then, in the Restore to Host list box, select the remote host, as shown in Figure 7.

Figure 7. Selecting a remote host on which to restore the database

After you submit the restore request, the restore workflow:

a. Shuts down the Oracle database if it is running.

b. Restores the spfile and password file.

c. Starts the instance to nomount stage.

d. Restores the control files and then sets the instance to mount stage.

e. Restores, recovers, and opens the database.

17

Page 18: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Avamar An Avamar system is a client/server network backup and restore solution that consists of one or more Avamar servers and the network servers or desktop clients that back up data to those servers. The Avamar system provides centralized management through the Avamar Administrator graphical management console, as shown in Figure 8.

Figure 8. Avamar Administrator dashboard

Deployment options include Avamar Data Store and Avamar Business Edition backup appliances. All deployments support integration with Data Domain deduplication storage systems to enable performance and scale for all backup workloads.

Avamar REST API The Avamar REST API enables you to develop applications and tools that interact with Avamar systems. It uses client-server communication based on the representational state transfer (REST) API architecture model. The Avamar REST API can manage multiple Avamar systems simply and efficiently by abstracting Avamar systems and their domains into logical entities. An understanding of the following core concepts is important before working with the Avamar REST API.

Overview

18

Page 19: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Data protection resource

The Avamar REST API uses the term “data protection resource” to refer to an Avamar system. When you configure the Avamar REST API server, you provide information about the Avamar systems that the Avamar REST API server will manage as DP resources. In defining a DP resource you specify user credentials for an account with administrative access to that Avamar system.

Resource pool A resource pool is a logical entity that represents a group of one or more DP resources. A DP resource is only available to use with the Avamar REST API after you assign it to a resource pool. When you configure the Avamar REST API server, you specify which DP resources are in each of your resource pools based on your business requirements, as shown in Figure 9.

Figure 9. Resource pools

The Avamar REST API server automatically allocates new clients to DP resources in the resource pool based on one of two client allocation strategies: balanced or free-space. This solution uses the balanced allocation strategy, in which the Avamar REST API server adds new clients to the Avamar system that has the least amount of client data. This is the default strategy.

Tenant A tenant represents a consumer of the DP resources. A tenant folder is the top-level container for the tenant. The tenant folder has metadata for the tenant, such as the tenant's account name, and also contains the resource shares and folders that are assigned to the tenant. For this solution, the Avamar tenant maps directly to the vRealize Automation tenant.

Resource share A resource share is a logical entity that associates a tenant with the DP resources in a resource pool. The resource share can be associated with any or all data protection resources in the resource pool. Through resource shares you can assign several tenants

Core concepts

19

Page 20: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

to share a large resource pool, or dedicate a resource pool to a single tenant. You can also assign multiple resource shares to tenants to meet their business requirements. Figure 10 shows an example of the flexibility for tenants that resource shares provide.

Figure 10. Resource share flexibility

Folder A folder is assigned to a resource share and provides a mapping between the tenant, the resource share, and a domain on each Avamar system in the resource share. A folder can only have one resource share assigned. When you create a new folder with the Avamar REST API, the REST API server creates an Avamar domain of the same name on each of the Avamar systems in the associated resource share, as shown in Figure 11. You can create child folders under the top domain to meet your business requirements. For this Availability and Data Protection solution, a single folder is used to hold a tenant’s Oracle clients.

Figure 11. Resource share folders

20

Page 21: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

This solution supports a single Avamar configuration, as shown in Figure 12.

Figure 12. Avamar REST API configuration

Note: The name assigned to the resource share folder, in this case Oracle3-RSF01, is also the domain name in Avamar Administrator, as shown in Figure 13.

Figure 13. Avamar Administrator domains

21

Page 22: Enterprise Hybrid Cloud

Chapter 3: Oracle Backup as a Service

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Avamar Client for Linux The Avamar Client for Linux software is composed of an OS-specific client agent and file system plug-ins used to browse, back up, and restore files or directories on a client-specific file system. This software is a prerequisite for installing the Avamar Plug-in for Oracle. You can download the install packages directly from the Downloads tab at http://<AVAMARSERVER>, where <AVAMARSERVER> is the Avamar server network hostname (as defined in DNS) or IP address. Refer to the EMC Avamar Backup Clients User Guide for complete installation instructions.

Avamar Plug-in for Oracle The Avamar Plug-in for Oracle works with Oracle and RMAN to back up Oracle databases, tablespaces, or data files to an Avamar server or a Data Domain system. The Avamar Plug-in for Oracle serves as a backup module, and the Avamar server or Data Domain system serves as a storage device. You can perform backups and restores from Avamar Administrator, from the RMAN CLI, or with the Avamar REST API that is used in this solution. The Avamar Plug-in for Oracle supports backups to, and restores from, Data Domain systems. When Data Domain is used as the storage device, metadata resides on Avamar, while the Avamar client uses the integrated Dell EMC DD Boost™ API for direct writes to the Data Domain system.

Data Domain Dell EMC Data Domain deduplication systems are disk-based inline deduplication appliances and gateways that provide data protection and data recovery in the enterprise environment. All systems run the Data Domain operating system, DD OS.

DD OS provides a CLI for performing all system operations and provides a GUI for the Data Domain System Manager tool, DD System Manager, for configuration, management, and monitoring.

Backup and Recovery Manager The Dell EMC Backup and Recovery Manager application helps backup administrators manage data protection tasks within their environments. BRM is not used directly as a part of the Oracle DBaaS protection solution, but certain components of the BRM software stack enable advanced features in the Avamar REST API, which is used by the Oracle DBaaS protection solution.

The BRM Virtual Machine serves as the Avamar REST API host, which in turn communicates with one or more Avamar backup servers configured as Data Protection Resources inside a Resource Pool.

22

Page 23: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Chapter 4 Oracle Disaster Recovery

This chapter presents the following topics:

Overview ............................................................................................................ 24

Disaster recovery using RecoverPoint for VMs .............................................. 24

Disaster recovery using VMware Site Recovery Manager ............................. 30

23

Page 24: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Overview Customers require a BC/DR capability that integrates with their underlying virtualization technology. Enterprise Hybrid Cloud offers two solutions for BC/DR, which administrators can configure to provide protection for deployed VMs:

• RecoverPoint for VMs enables local AND remote replication on a per-virtual-machine basis, allowing recovery to a PiT with orchestration features during failover.

• VMware Site Recovery Manager with RecoverPoint is a disaster recovery management solution that provides automated orchestration and nondisruptive testing of centralized recovery plans to simplify DR for virtualized applications.

This Availability and Data Protection for Oracle Database solution integrates with both BC/DR solutions so that Oracle databases are protected from site failures and applications can be back online with minimal delay after a failover.

The RecoverPoint for VMs plug-in for vRealize Orchestrator integrates the functionality into the orchestration engine. The Oracle backup-as-a-service (BaaS) solution includes workflows that use that integration to enable automated protection of the Oracle Database Server.

Note that any DR solution is subject to a recovery point objective (RPO) that is set by an administrator. An RPO limits the amount of potential data loss for an application in a failover situation and is dependent on business needs.

Disaster recovery using RecoverPoint for VMs Figure 14 shows the architecture of RecoverPoint for VMs as configured in Enterprise Hybrid Cloud. In this configuration, two vCenter Server endpoints and two hardware islands are used across two different sites and managed by Enterprise Hybrid Cloud.

For more information on the Enterprise Hybrid Cloud protection and restart capability for workloads deployed in the cloud, refer to the Enterprise Hybrid Cloud 4.1.1 Concepts and Architecture Guide.

Solution Design

24

Page 25: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Figure 14. Enterprise Hybrid Cloud RecoverPoint for VMs disaster recovery service

You can request Oracle DBaaS from the Enterprise Hybrid Cloud Service catalog and have the provisioned VM protected right from the start (day 1 scenario). It is also possible to take an existing, unprotected Oracle DBaaS VM and start protecting it (day 2 scenario).

This solution supports protection of Oracle DBaaS deployments that are single instance. It does not currently support protection of Oracle RAC systems with RecoverPoint for VMs.

For flexibility, an administrator must set two configuration options. The first indicates whether RecoverPoint for VMs is available for the environment. With the second option, the administrator can indicate whether protection using RecoverPoint for VMs is to be optional (a user choice) or automatic (always-on).

If it is configured to be optional, the user will be asked if protection is required upon selecting Oracle DBaaS from the catalog, as shown in Figure 15.

Day 1 – Protect

25

Page 26: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Figure 15. Requesting protection of the Oracle DBaaS VM, day 1

For an existing Oracle DBaaS VM, the user can request protection using the day 2 action, as shown in Figure 16.

Figure 16. Requesting protection of an existing Oracle DBaaS VM, day 2

Day 2 – Protect

26

Page 27: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Click Submit. The screen shown in Figure 17 appears.

Figure 17. Enterprise Hybrid Cloud portal request to protect an existing Oracle DBaaS VM

Upon completion of the request, the protection is reflected in the RecoverPoint for VMs plug-in for vCenter Server web client. Figure 18 shows a protected VM, ora-rp066.

Figure 18. Result of protection shown in vCenter

27

Page 28: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

The selected consistency group shows the following information:

• Consistency Group name: [email protected]

• Contains virtual machine: ora-rp066

• Site1 is the production copy

• Site2 is the remote replica copy

RecoverPoint for VMs also offers the following day-2 operations, which are available from the context menu in the Machines overview, as shown in Figure 16:

• RP4VM Change Boot Sequence: Change the boot sequence for a protected VM

• RP4VM Change CG: Change the consistency groups of a protected VM

• RP4VM Unprotect VM: Unprotect a VM. This operation removes the VM copy fromthe remote site and removes the VM from the consistency group.

Failover and Failback After an Oracle VM is protected, it can be part of a DR failover event.

Failover in RecoverPoint for VMs occurs at consistency group level. To fail over a consistency group, log in to the vSphere web client as administrator on the surviving site and click Fail Over in the RecoverPoint for VMs plugin, as shown in Figure 19.

Figure 19. Consistency group details

After the failover wizard is executed, the affected VM’s roles change. This is reflected in the Consistency Groups screen, as shown in Figure 20.

Oracle DBaaS DR using RecoverPoint for VMs

28

Page 29: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Figure 20. Consistency group information after failover event

The failed over consistency group shows the following information:

• Consistency Group name: [email protected]

• Contains virtual machine: ora-rp066

• Site1 is the remote replica copy

• Site2 is the production copy

Failback is basically the same as failing over; it changes the role of the affected VMs. It uses the same steps in the RecoverPoint for VM plugin in vCenter Server as those described above.

After you use the failover wizard again, and fail back the consistency group, the failback results are reflected in the Consistency Groups screen, as shown in Figure 21.

29

Page 30: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Figure 21. Results of failing back the consistency group

The database on each Oracle DBaaS VM is configured for automatic restart after a restart of the host, so no further action is required before you allow connections to the database after a DR event.

Disaster recovery using VMware Site Recovery Manager VMware Site Recovery Manager is a DR management solution that provides automated orchestration and nondisruptive testing of centralized recovery plans to simplify DR for virtualized applications. Site Recovery Manager integrates with RecoverPoint replication and ViPR automated storage services by means of SRAs.

The vRealize Orchestrator plug-in for Site Recovery Manager integrates the DR functionality into the orchestration engine.

Figure 22 shows the architecture of SRM-based DR as configured in Enterprise Hybrid Cloud. In this configuration, two vCenter Server endpoints and two hardware islands are used across two different sites and managed by Enterprise Hybrid Cloud. Additional vCenter Server endpoints can be added that replicate the configuration shown in Figure

Overview

Solution Design

30

Page 31: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

22 to provide additional scale, or to provide the same type of protection service between a different combination of sites.

Figure 22. Enterprise Hybrid Cloud Site Recovery Manager disaster recovery service

This solution incorporates storage replication using RecoverPoint, storage provisioning using ViPR, and integration with VMware Site Recovery Manager.

When a VM is deployed to a DR-protected workload pod and storage, it is automatically added to the corresponding VMware Site Recovery Manager protection group. You can initiate a planned migration or DR for the application VMs by executing a recovery plan that includes the protection group. Figure 23 shows the successful completion of the recovery plan for the workload pod, including the failover and restart of the Oracle DBaaS VM fehc-ora-006. The colored, numbered boxes 1-5 indicate the priority in which groups of machines will be restarted after a failover.

31

Page 32: Enterprise Hybrid Cloud

Chapter 4: Oracle Disaster Recovery

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Figure 23. Site Recovery Manager recovery failover status

For more information on Enterprise Hybrid Cloud protection and restart capability for workloads deployed in the cloud, refer to the Enterprise Hybrid Cloud 4.1.1 Concepts and Architecture Guide.

32

Page 33: Enterprise Hybrid Cloud

Chapter 5: Conclusion

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Chapter 5 Conclusion

This chapter presents the following topics:

Summary ........................................................................................................... 34

Findings ............................................................................................................. 34

33

Page 34: Enterprise Hybrid Cloud

Chapter 5: Conclusion

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Summary While Enterprise Hybrid Cloud image-level backups provide essential protection of the machine itself, Application owners need more granular protection of their application data so that users and administrators can protect and restore application state to specific recovery points as required by business needs.

This Availability and Data Protection for Oracle Database solution on Enterprise Hybrid Cloud enables self-provisioning and protection of Oracle single-instance and RAC databases, giving IT teams a fast and easy way to establish and control data protection parameters.

This solution provides the following mechanisms for such protection:

• Automated and on-demand backup and recovery for Oracle databases deployed on Enterprise Hybrid Cloud. The solution integrates with the Oracle DBaaS solution so that newly deployed Oracle database systems – either Single Instance or RAC – are automatically added to a backup schedule and can be backed up and restored on demand through a simple cloud portal interface.

• Replication of Oracle Single Instance Database VMs to a remote site configured in Enterprise Hybrid Cloud so that data is protected from a local site outage. An Enterprise Hybrid Cloud DR protection service should be used when there is a requirement to restart or recover VM workloads and cloud management infrastructure to another converged infrastructure platform on an alternate site. The available options are:

DR protection using RecoverPoint for VMs

DR protection using Site Recovery Manager

Findings • This Availability and Data Protection for Oracle Database solution provides

comprehensive protection for Oracle databases deployed on Enterprise Hybrid Cloud.

• Systems can be automatically backed up as well as replicated to remote sites to protect critical information and preserve functionality in the event of disruptions of any kind.

• Self-service backup and recovery enables end users to manage their own backup needs, which frees IT to provide other services, saving time and money.

• This solution is an important enhancement to the Enterprise Hybrid Cloud Applications suite.

34

Page 35: Enterprise Hybrid Cloud

Chapter 6: References

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database

Solution Guide

Chapter 6 References

This chapter presents the following topics:

Dell EMC documentation .................................................................................. 36

VMware documentation .................................................................................... 36

Oracle documentation ...................................................................................... 36

35

Page 36: Enterprise Hybrid Cloud

Chapter 6: References

Enterprise Hybrid Cloud 4.1.1 Availability and Data Protection for Oracle Database Solution Guide

Dell EMC documentation The following documents on EMC.com provide additional relevant information. Access to these documents depends on your login credentials. If you do not have access to a document, contact your EMC representative.

• Enterprise Hybrid Cloud 4.1.1 Oracle Database as a Service Solution Guide

• Enterprise Hybrid Cloud 4.1.1 Administration Guide

• Enterprise Hybrid Cloud 4.1.1 Concepts and Architecture Guide

• Enterprise Hybrid Cloud 4.1.1 Reference Architecture Guide

• Enterprise Hybrid Cloud 4.1.1 Security Management Guide

• Enterprise Hybrid Cloud 4.1.1 Infrastructure and Operations Management Guide

VMware documentation Refer to the following on the VMware website:

• VMware vRealize Automation documentation

• VMware vRealize Operations Manager documentation

Oracle documentation Refer to the following on the Oracle website:

• Oracle Database Administrator's Guide 12c Release 1

• Oracle Database Backup & Recovery User's Guide 12c Release 1

• Oracle Database Backup and Recovery Reference 12c Release 1

36