Implementing Oracle9i Data Guard Michael New Senior Technical Consultant ThinkSpark Session id: 36226.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
Oracle Architecture. Instances and Databases (1/2)
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Oracle9i Data Guard Darl Kuhn Sun Microsystems
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
© 2015 Dbvisit Software Limited | dbvisit.com An Introduction to Dbvisit Standby.
Introduction to Data Guard NY SIG Meeting October 7th, 2003.
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
EIM April 19, Robin Weaver 13 Years with IBM Prior to Assignment at UNC Charlotte Range of Database Development/Data Management Projects and Products.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
James DiIanni Director Oracle Certification Program Oracle Corporation.
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.
Implementing High Availability
Introduction to Oracle Backup and Recovery
Presentation #36693 Presentation #36693 Oracle High Availability Solutions in a Nutshell Daniel T. Liu Senior Technical Consultant First American Real.
Simplify your Job – Automatic Storage Management Angelo Session id:
Proven Techniques for Maximizing Availability Maximum Availability Architecture Lawrence To, Shari Yamaguchi High Availability Systems Group Systems Technologies.
1 Data Guard Basics Julian Dyke Independent Consultant Web Version - February 2008 juliandyke.com © 2008 Julian Dyke.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Presentation #32050 Presentation #32050 Implementing Oracle9i Data Guard For Higher Availability By Daniel T. Liu First American Real Estate Solutions.
ORACLE 10g DATA GUARD BROKER Ritesh Chhajer Sr. Oracle DBA.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
ORACLE 10g DATAGUARD Ritesh Chhajer Sr. Oracle DBA.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
11g(R1/R2) Data guard Enhancements Suresh Gandhi
Oracle Data Guard: Maximum Data Protection at Minimum Cost
Module 9 Planning a Disaster Recovery Solution. Module Overview Planning for Disaster Mitigation Planning Exchange Server Backup Planning Exchange Server.
15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
Daniela Anzellotti Alessandro De Salvo Barbara Martelli Lorenzo Rinaldi.
1 Data Guard. 2 Data Guard Reasons for Deployment  Site Failures  Power failure  Air conditioning failure  Flooding  Fire  Storm damage  Hurricane.
A Guide to Oracle9i1 Database Instance startup and shutdown.
The Self-Managing Database: Automatic SGA Memory Management Tirthankar Lahiri Senior Manager, Distributed Cache & Memory Management Oracle Corporation.
Oracle 9i Release 2, A new set of tips, tricks and Techniques. Steve George Sr. Delivery Manager – Oracle University Oracle Corporation Session id: #32681.
8 Copyright © Oracle Corporation, All rights reserved. Configuring the Database Archiving Mode.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Ashish Prabhu Douglas Utzig High Availability Systems Group Server Technologies Oracle Corporation.
Configuring the Database Archiving Mode
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
Oracle Applications 11i Concepts II Brian Hitchcock OCP 11i DBA -- OCP 10g DBA Sun Microsystems Brian Hitchcock.
Michelle Malcher PepsiCo Session # For the DBA Manager – Understanding Oracle and DBAs.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
CERN IT Department CH-1211 Genève 23 Switzerland 1 Active Data Guard Svetozár Kapusta Distributed Database Operations Workshop November.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Agenda Data Guard Architecture & Features
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
SETA Central 2006 Crashes Happen - Downtime Won't with Data Guard Stephen Rea Tuesday, October 10, :30 AM.
© Puget Sound Oracle Users Group Education Is Our Passion PSOUG Education Education Is Our Passion Hands-on Workshop Series Oracle DataGuard 10gR2.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
Copyright  Oracle Corporation, All rights reserved. 3 Oracle Backup and Recovery Configuration.
Oracle Standby Implementation Tantra Invedy. Standby Database Introduction Fail over Solution Disaster Recovery Solution if remote Ease of implementation.
1 Implementing Oracle Data Guard for the RLS database Kasia Pokorska CERN, IT-DB 30 th March 2004.
Oracle 12c Data Guard – Far Sync and what’s new
Backup and Recovery.
Agenda Data Guard Architecture & Features
Configuring the Database Archiving Mode
Maximum Availability Architecture Enterprise Technology Centre.
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Understanding the Oracle Data Guard Architecture
Introduction.
Oracle Data Guard Broker Session-3
Oracle Data Guard Session-4
Designing Database Solutions for SQL Server
Presentation transcript:

Implementing Oracle9i Data Guard Michael New Senior Technical Consultant ThinkSpark Session id: 36226

Data Guard - Outline  Concepts  Architecture  Best practices  Implementation

Concepts  Differentiate High Availability approaches  Enhanced protection modes – Maximum Protection – Maximum Availability – Maximum Performance  Standby Redo Logs (SRLs)  Automatic gap resolution  Data Guard broker – Data Guard Manager (OEM) – Command-line interface (CLI)

Concepts Protection ModeData loss Divergence Maximum Protection Maximum Availability Maximum Performance Protection ModeData loss Divergence Maximum Protection Maximum Availability Maximum Performance None Some None Yes Minimal

Architecture Source: Oracle9i Data Guard Concepts and Administration

Architecture  Log Transport ( LGWR, ARC, FAL, RFS) – Archive log permissions, destinations, transmission, reception & transmission failure resolution – LGWR or ARC can write from primary to standby  Log Apply ( MRP or LSP ) – Managed recovery (not read-only) mode – SQL apply mode  Role Management – Primary or Standby – Switchovers, graceful or forced failovers  Data Guard Broker ( DMON )

Best Practices  FORCE LOGGING mode  Identical sites  Initialization parameters  Oracle network  Standby redo logs (SRLs)  Monitoring  FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

FORCE LOGGING Mode  New feature to Release 9.2  Prevents unlogged direct writes from propagating to standby  Overrides NOLOGGING transactions   FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

Identical Sites  Logical structures – partition names, directories/files, privileges, accounts, etc.  Network configurations – Oracle – O/S  Hardware environments   FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

Initialization Parameters….  Use SPFILE  Initialization settings (except 4)  No environment variables  STANDBY_ARCHIVE_DEST=LOG_ARCHIVE_DEST1  LOG_ARCHIVE_DEST_3 = … ALTERNATE …  LOG_ARCHIVE_DEST_1 = … ARCH …  Disable ARCHIVE_LAG_TARGET  Unset DB_CREATE_ONLINE_LOG_DEST_n  Tune CONTROL_FILE_RECORD_KEEP_TIME   FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

Initialization Parameters  LOG_ARCHIVE_DEST_2 attributes – OPTIONAL – LGWR – ASYNC – NOAFFIRM – REOPEN – MAX_FAILURE – DELAY – NET_TIMEOUT   FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

Oracle Network…  Static SID registration  Connect-time failover  Alternate standby location  Session Data Unit (SDU) setting   FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

Oracle Network  Same network file structure  Listeners – Database clients – stop stby lsnr – Redo log & DBA traffic  tnsnames.ora files – Local node – database clients – DBAs   FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

Standby Redo Logs  SRLs on all sites  Same # SRLs on all sites  Same SRL names on all sites  Redo logs & SRLs the same size  # SRL groups = 1 + (# redo log groups)  SRL groups < MAXLOGFILES  SRL members < MAXLOGMEMBERS   FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

Monitoring  OEM Data Guard Diag Pack events  Alert log ORA- errors  Alert log non ORA- errors  V$ views - scripts (White Paper, Appendix 3)   FORCE LOGGING  Identical sites  init.ora  Oracle Net  SRLs  Monitoring

Implementation….  FORCE LOGGING  Identical sites – O/S clocks – /etc/hosts – Environment variables & DBA scripts  Initialization parameters (SPFILE)  Oracle network configuration files  ARCHIVELOG mode & automatic archiving  Backup primary database  Create standby control file

Implementation  Copy backup to standby site  Recover standby database – Mount standby database – Create SRLs – Start new listeners – Recover standby – Place standby in managed recovery mode – Enable LOG_ARCHIVE_DEST_STATE_2 on primary – Set protection mode on primary – Verify standby works  Enable Data Guard broker

Next Steps….  Michael New, , ext.  Recommended sessions – Oracle Data Guard: Maximum Data Protection at Minimum Cost – Data Guard SQL Apply: Back to the Future  Recommended demos and/or hands-on labs – Using Data Guard Manager to Manage a Standby Database

Next Steps….  See Your Business in Our Software – Visit the DEMOgrounds for a customized architectural review, see a customized demo with Solutions Factory, or receive a personalized proposal. Visit the DEMOgrounds for more information.  Relevant web sites to visit for more information – Oracle High Availability Guidelines & Recommendations: M. Burke, 2003, ThinkSpark – – Data Guard Overview: w.html

Next Steps  Relevant web sites to visit for more information – Data Guard Technical White Paper on OTN: – Data Guard Technology Overview Presentation on OTN: nologyOverview.pdf nologyOverview.pdf – Data Guard Primary Site & Network Configuration Best Practices: estPrac.pdf estPrac.pdf

Reminder – please complete the OracleWorld online session survey Thank you.

A Q & Q U E S T I O N S A N S W E R S

Implementing Oracle9i Data Guard Michael New Senior Technical Consultant ThinkSpark Session id: 36226

Implement B&R – DG is HA (not B&R) Solution  B&R addresses database integrity & recovery  DG is HA solution to reduce MTTR, premised on reliable B&R solution  Without B&R, data loss possible with DG because of – Primary / secondary loss of network communication – Standby maintenance downtime – Hardware failure due to multiple devices – Hardware failure during role reversal – logical corruption (if propagated to the standby)

ThinkSpark For more than 15 years, ThinkSpark has been a world-class technology partner to those businesses that have invested in Oracle technologies and solutions. ThinkSpark has delivered unmatched Oracle database expertise, Oracle systems integration skills, Oracle education services and Oracle license management insights to thousands of businesses across the country and around the globe. Headquartered in Dallas, ThinkSpark's more than 100 professionals serve clients across all industries through facilities in Austin, Dallas, Houston, Las Vegas, Oklahoma City and San Antonio. For more information about ThinkSpark, call (888) from the U.S., Canada and Mexico or visit ThinkSpark on the World Wide Web at