Oracle ASM on Azure: Backup Scenarios

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

INSTALLATION & SETUP OF R/3 SYSTEM Installing Hardware Network connections to Systems Operating System Installation Database Installation Partition as.
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
Introduction to Oracle Administration Glen Parker University of South Florida BbWorld 07 Boston, MA.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Installation – Lecture 2 Copyright System Managers LLC 2007 all rights reserved.
Backup and recovery Basics of Backup and restoration Types of recovery Defining strategy Starting up and shutting down 80/20 rule SLA’s.
1 Chapter 15 Duplicating Databases and Transporting Data.
5 Copyright © 2006, Oracle. All rights reserved. Database Recovery.
Database Backup and Recovery
INTRODUCTION TO ORACLE Lynnwood Brown President System Managers LLC Data Loading & Backup And Recovery Lecture 5 Copyright System Managers LLC 2003 all.
RMAN Restore and Recovery
Backup and Recovery Part 1.
Chapter 12 Performing Incomplete Recovery. Background Viewed as one of the more difficult chapters to write Thought it was important to put in material.
Configuring Recovery Manager
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
CHAPTER 5 Managing Control Files, Online Redo Logs, and Archiving.
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
CHAPTER 17 Configuring RMAN. Introduction to RMAN RMAN was introduced in Oracle 8.0. RMAN is Oracle’s tool for backup and recovery. RMAN is much more.
The Oracle Recovery Manager (RMAN)
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
Backup Infrastructure – Additional Information Gordon D. Brown, RAL Carlos Fernando Gamboa, BNL 3D Workshop, CNAF, Bologna, Italy 13 th June 2007.
1 RAL Status and Plans Carmine Cioffi Database Administrator and Developer 3D Workshop, CERN, November 2009.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Recovery Manager Overview Target Database Recovery Catalog Database Enterprise Manager Recovery Manager (RMAN) Media Options Server Session.
SRUTHI NAGULAVANCHA CIS 764, FALL 2008 Department of Computing and Information Sciences (CIS) Kansas State University -1- Back up & Recovery Strategies.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
5 Copyright © 2008, Oracle. All rights reserved. Using RMAN to Create Backups.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
Backup and Recovery Protects From Data Loss. Backup and Recovery Protects From Data Loss Provides for Media Recovery.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
Chapter 9 Scripting RMAN. Background Authors felt that scripting was a topic not covered well Authors wanted to cover both Unix/Linux and Windows environments.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
15 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery.
8 Copyright © Oracle Corporation, All rights reserved. Configuring the Database Archiving Mode.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
CERN IT Department CH-1211 Genève 23 Switzerland t Using Data Guard for hardware migration.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
3 Copyright © 2006, Oracle. All rights reserved. Installation and Administration Basics.
13 Copyright © 2004, Oracle. All rights reserved. Optimizing Database Performance.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
Copyright  Oracle Corporation, All rights reserved. 3 Oracle Backup and Recovery Configuration.
Control File Information The database name The timestamp of database creation The names and locations of associated datafiles and redo log files Tablespace.
CERN IT Department CH-1211 Genève 23 Switzerland t Using Data Guard for hardware migration UKOUG RAC & HA SIG, Feb 2008 Miguel Anjo, CERN.
3 Copyright © Oracle Corporation, All rights reserved. 管理数据库事例.
RMAN Maintenance.
RMAN Maintenance.
Recovery Catalog Creation and Maintenance
Configuring Recovery Manager
Duplicating a Database
RAC Backup and Recovery Lab
INSTALLATION & SETUP OF R/3 SYSTEM
Performing Database Recovery
Hitachi Storage Service Manager
Oracle 12c Multitenant Database
Presentation transcript:

Oracle ASM on Azure: Backup Scenarios 11/22/2018 3:06 AM Oracle ASM on Azure: Backup Scenarios Ravi Alwani Cameron Gardiner 4 June 2018 © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup scenarios: 11/22/2018 3:06 AM Oracle (ASM) DB Backup scenarios: BR*Tools RMAN CommVault Single instance DB server Disk Configuration Size :512 GB Host Caching: None Storage type: Premium Disk group 1 - DATA Disk group 2 - RECO Disk group 3 - ARCH © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with BR*Tools 11/22/2018 3:06 AM Oracle (ASM) DB Backup with BR*Tools Reference : https://launchpad.support.sap.com/#/notes/1598594 © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with BR*Tools(1) 11/22/2018 3:06 AM Oracle (ASM) DB Backup with BR*Tools(1) Prerequisites: Oracle software installation under OS user ‘oracle’ ‘oracle’ OS user replaces ‘ora<dbname>’ user BR*Tools version 7.20 patch level 18 or higher Reference : https://launchpad.support.sap.com/#/notes/1598594 © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with BR*Tools(2) 11/22/2018 3:06 AM Oracle (ASM) DB Backup with BR*Tools(2) Configuration of BR*Tools in Oracle 12c ASM environment File permissions of BR*Tools executables File permissions of BR*Tools directories New BR*Tools profile directory New run-time environment of BR*Tools New init<DBSID>.sap parameters File permissions of BR*Tools executables in sap-exe directory -rwsrwsr-- 1 oracle oinstall 7732338 May 31 16:30 brarchive* -rwsrwsr-- 1 oracle oinstall 7908129 May 31 16:30 brbackup* -rwsrwsr-- 1 oracle oinstall 9970354 May 31 16:30 brconnect* -rwsrwsr-- 1 oracle oinstall 8376747 May 31 16:31 brrecover* -rwsrwsr-- 1 oracle oinstall 2783544 May 31 16:31 brrestore* -rwsrwsr-- 1 oracle oinstall 9479944 May 31 16:31 brspace* -rwsrwsr-- 1 oracle oinstall 4103679 May 31 16:31 brtools* © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with BR*Tools(3) 11/22/2018 3:06 AM Oracle (ASM) DB Backup with BR*Tools(3) Configuration of BR*Tools in Oracle 12c ASM environment File permissions of BR*Tools log directories in /oracle/<DBNAME> lrwxrwxrwx 7 oracle oinstall 4096 May 31 14:56 112 -> 11202 drwxr-xr-x 7 oracle oinstall 4096 May 31 14:56 11202 drwxrwxr-x 2 oracle oinstall 4096 May 31 17:07 saparch drwxrwxr-x 2 oracle oinstall 4096 May 31 17:14 sapbackup drwxrwxr-x 2 oracle oinstall 4096 May 31 17:07 sapcheck drwxrwxr-x 2 oracle oinstall 4096 May 31 17:12 sapprof drwxrwxr-x 2 oracle oinstall 4096 May 31 17:12 sapreorg drwxrwxr-x 2 oracle oinstall 4096 May 31 17:12 saptrace New BR*Tools profile directory ‘sapprof’ in /oracle/<DBNAME> -rw-rw-r-- 1 oracle oinstall 1274 May 31 17:30 init<DBSID>.ora -rw-rw-r-- 1 oracle oinstall 26534 May 31 17:30 init<DBSID>.sap -rw-r----- 1 oracle asmadmin 3584 May 31 18:30 spfile<DBSID>.ora Contents of Oracle pfile in $ORACLE_HOME/dbs for ASM spfile='+DATA/<DBNAME>/spfile<DBNAME>.ora‘ © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with BR*Tools(4) 11/22/2018 3:06 AM Oracle (ASM) DB Backup with BR*Tools(4) ASM database data files can be back up only by RMAN! backup_dev_type = rman_util | rman_disk | rman_stage backup_dev_type = disk disk_copy_cmd = rman_set | rman backup_dev_type = tape | pipe tape_copy_cmd = rman Following parameters were adjusted in init<DBSID>.sap profile (adjust the entries): asm_root_dir = ASM backup_dev_type = disk disk_copy_cmd = rman rman_channels = 12 rman_filesperset = 5 _rem_sql_call = yes _remote_exec = ssh _remote_copy = scp asm_ora_sid = +ASM © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with RMAN 11/22/2018 3:06 AM Oracle (ASM) DB Backup with RMAN © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with RMAN(1) 11/22/2018 3:06 AM Oracle (ASM) DB Backup with RMAN(1) RMAN is a oracle utility to backup, restore & recovery of database. Connect to Target database(the database on which Backup to be performed) as sysdba. $ sqlplus "/ as sysdba“ Check if the database has been configured with ARCHIVELOG SQL> select log_mode from v$database; If the database has been not been configured with ARCHIVELOG mode then Shutdown and Startup the database in mount state SQL> shutdown immediate; SQL> startup mount; Configure database in ARCHIVELOG mode. SQL> alter database archivelog; Check ARCHIVELOG destination, and if required it can be changed SQL> archive log list SQL> alter system set log_archive_dest_1='location=/home/oracle/arch' scope=both; © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with RMAN(2) 11/22/2018 3:06 AM Oracle (ASM) DB Backup with RMAN(2) Check flash/fast recovery area location SQL> alter system set log_archive_dest_1='location=/home/oracle/arch' scope=both; Connect to RMAN prompt with target database $ rman target / Configure RMAN with controlfile auto-backup feature that will be auto-backup controlfile in case of major changes done in database RMAN> configure controlfile autobackup on; To enable backup optimization run the following command. [By default backup optimization has been configured OFF.] RMAN> configure backup optimization on; Configure retention policy for backup RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 10 DAYS; Start database backup RMAN> backup database; © Microsoft Corporation. All rights reserved.

Oracle (ASM) DB Backup with CommVault (See attached Word Docx) 11/22/2018 3:06 AM Oracle (ASM) DB Backup with CommVault (See attached Word Docx) © Microsoft Corporation. All rights reserved.

References https://launchpad.support.sap.com/#/notes/1598594 11/22/2018 3:06 AM References https://launchpad.support.sap.com/#/notes/1598594 © Microsoft Corporation. All rights reserved.

11/22/2018 3:06 AM © Microsoft Corporation. All rights reserved.