CERN - IT Department CH-1211 Genève 23 Switzerland t STREAMS Resynchronization Scenarios and Tests LCG 3D CERN September 2006.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
Advertisements

Chapter 14 Handling Online Redo Log Failures. Background RMAN doesn’t back up online redo logs You don’t use RMAN to recover from online redo log failures.
CERN - IT Department CH-1211 Genève 23 Switzerland t Backup & Recovery with RMAN LCG 3D Workshop, Bologna June 12 th, 2007 Jacek Wojcieszuk.
CERN - IT Department CH-1211 Genève 23 Switzerland t Transportable Tablespaces for Scalable Re-Instantiation Eva Dafonte Pérez.
Harvard University Oracle Database Administration Session 10 Database Backups.
5 Copyright © 2006, Oracle. All rights reserved. Database Recovery.
CERN - IT Department CH-1211 Genève 23 Switzerland t Oracle and Streams Diagnostics and Monitoring Eva Dafonte Pérez Florbela Tique Aires.
Database Backup and Recovery
RMAN Restore and Recovery
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
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.
Chapter 5Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 5 User-Managed Incomplete Recovery.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
1 Recovery and Backup RMAN TIER 1 Experience, status and questions. Meeting at CNAF June of 2007, Bologna, Italy Carlos Fernando Gamboa, BNL Gordon.
Oracle9i Database Administrator: Implementation and Administration
CERN - IT Department CH-1211 Genève 23 Switzerland t Oracle Data Guard for RAC migrations WLCG Service Reliability Workshop CERN, November.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
CERN IT Department CH-1211 Genève 23 Switzerland t Recovery Exercise Wrap-up Jacek Wojcieszuk, CERN IT-DM Distributed Database Operations.
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.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
CERN IT Department CH-1211 Genève 23 Switzerland t Streams new features in 11g Zbigniew Baranowski.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
CERN - IT Department CH-1211 Genève 23 Switzerland t Tier0 database extensions and multi-core/64 bit studies Maria Girone, CERN IT-PSS LCG.
9 Copyright © 2004, Oracle. All rights reserved. Flashback Database.
Daniela Anzellotti Alessandro De Salvo Barbara Martelli Lorenzo Rinaldi.
CERN IT Department CH-1211 Genève 23 Switzerland t LCG Gridview / LCG SAM use cases Miguel Anjo 8 th July 2008 Database Developers’ Workshop.
17 Copyright © Oracle Corporation, All rights reserved. Recovery Catalog Creation and Maintenance.
Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 8 Complete Recovery with Recovery Manager.
6 Copyright © 2006, Oracle. All rights reserved. Flashback.
15 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery.
Atlas LCG 3D Oracle cluster migration strategy at BNL Carlos Fernando Gamboa On behalf of database group Grid Group, RACF Facility, Brookhaven National.
Week 3 Lecture 1 The Redo Log Files and Diagnostic Files.
CERN IT Department CH-1211 Genève 23 Switzerland t Application security (behind Oracle roles and profiles) Miguel Anjo 8 th July 2008 Database.
CERN - IT Department CH-1211 Genève 23 Switzerland t COOL Conditions Database for the LHC Experiments Development and Deployment Status Andrea.
CERN IT Department CH-1211 Genève 23 Switzerland t 24x7 Service Support Tony Cass LCG GDB, 24 th November 2009.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS Castor incident (and follow up) Alberto Pace.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
CERN IT Department CH-1211 Genève 23 Switzerland t Streams Service Review and Outlook Distributed Database Workshop PIC, 20th April 2009.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
CERN IT Department CH-1211 Genève 23 Switzerland t Streams Service Review Distributed Database Workshop CERN, 27 th November 2009 Eva Dafonte.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
Backup and Recovery - II - Checkpoint - Transaction log – active portion - Database Recovery.
CERN IT Department CH-1211 Geneva 23 Switzerland t Eva Dafonte Perez IT-DB Database Replication, Backup and Archiving.
CERN IT Department CH-1211 Genève 23 Switzerland 1 Active Data Guard Svetozár Kapusta Distributed Database Operations Workshop November.
CERN IT Department CH-1211 Genève 23 Switzerland t COOL Performance Tests ATLAS Conditions Database example Romain Basset, IT-DM October.
Status of tests in the LCG 3D database testbed Eva Dafonte Pérez LCG Database Deployment and Persistency Workshop.
CERN IT Department CH-1211 Geneva 23 Switzerland t Distributed Database Operations Workshop November 17 th, 2010 Przemyslaw Radowiecki CERN.
CERN IT Department CH-1211 Geneva 23 Switzerland t Distributed Database Operations Workshop CERN, 17th November 2010 Dawid Wójcik Streams.
20 Copyright © 2006, Oracle. All rights reserved. Best Practices and Operational Considerations.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
CERN - IT Department CH-1211 Genève 23 Switzerland t Service Level & Responsibilities Dirk Düllmann LCG 3D Database Workshop September,
What is the Flashback Database? Improves a database’s availability Useful alternative to traditional restoration methods Contains Flashback logs Archived.
What is Flashback? Technology that allows you to revert the database to a point in time in the past Several versions of flashback available Different types.
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.
How To Pass Oracle 1z0-060 Exam In First Attempt?
Recovery Catalog Creation and Maintenance
WLCG DB Service Reviews
STREAMS failover and resynchronization
Oracle Streams Performance
Performing Tablespace Point-in-Time Recovery
C140 Navigation System Upgrade Manual
Performing Tablespace Point-in-Time Recovery
Performing User-Managed Backup and Recovery
C140 Navigation System Upgrade Manual
Presentation transcript:

CERN - IT Department CH-1211 Genève 23 Switzerland t STREAMS Resynchronization Scenarios and Tests LCG 3D CERN September 2006 Eva Dafonte Perez (CERN) Gordon Brown (RAL)

Streams Resynchronization Scenarios and Tests – LCG 3D workshop - 2 B&R Streams Test Streams environment preparation:  Script written in python  Based on condition data  Insert only workload CNAF CERN RAL

Streams Resynchronization Scenarios and Tests – LCG 3D workshop - 3 Scenarios:  Point-in-time recovery on the destination database  Tier1 database crashes and all data are lost # Dropped the table and recorded the time SQL> SET TIME ON 09:40:12 SQL> DROP TABLE streams_throughput.apl10; # Stopped the database 09:40:18 SQL> shutdown immediate; # Connected to RMAN, recovery catalogue and target database RMAN> RESTORE DATABASE UNTIL TIME "TO_DATE('30-AUG :30','DD-MON-YYYY HH24:MI')"; RMAN> RECOVER DATABASE UNTIL TIME "TO_DATE('30-AUG :30','DD-MON-YYYY HH24:MI')"; # Restart database to make sure OK B&R Streams Test Recovery on destination (I)

Streams Resynchronization Scenarios and Tests – LCG 3D workshop - 4 B&R Streams Test capture process propagation jobs CNAF RAL LCRLCR CNAF propagation jobs new capture process propagation job RAL x propagation job RAL x x start SCN = oldest SCN RAL propagation jobs CNAF RAL oldest SCN >> captured SCN ## select oldest_message_number from dba_apply_progress: oldest SCN CERNCNAFRAL point-in-time recovery Recovery on destination (II)

Streams Resynchronization Scenarios and Tests – LCG 3D workshop - 5 B&R Streams Test Scenario:  Point-in-time recovery on the source database # Dropped the table and recorded the time SQL> SET TIME ON; 10:38:02 SQL> drop table STREAMS_THROUGHPUT.test; # New transactions # Stopped the database # Connected to RMAN, recovery catalogue and target database RMAN> RESTORE DATABASE UNTIL TIME "TO_DATE( '06-SEP :37:55','DD-MON-YYYY HH24:MI:SS' )"; RMAN> RECOVER DATABASE UNTIL TIME "TO_DATE( '06-SEP :37:55','DD-MON-YYYYHH24:MI:SS' )"; ## Incomplete Recovery applied until change # Restart database to make sure OK – restricted mode SCN recovery Recovery on source (I)

Streams Resynchronization Scenarios and Tests – LCG 3D workshop - 6 B&R Streams Test First SCNSCN applied SCN recovery SCN applied << set a Streams tag: transactions are not re-captured manually execute transactions capture process Start SCN = First SCN CERN capture process propagation jobs CNAF RAL x determine highest SCN applied ## SCN value: CNAFRAL re-build data dictionary ## SCN value: CERN Recovery on source (II)

Streams Resynchronization Scenarios and Tests – LCG 3D workshop - 7 Start SCN = First SCN capture process B&R Streams Test Simulate SCN recovery >> SCN applied capture process propagation jobs CNAF RAL Maximum SCN = SCN recovery Start SCN = SCN applied capture process propagation jobs CNAF RAL x apply process x captured SCN >= maximum SCN CERN RAL re-build data dictionary First SCN CERN CNAF determine highest SCN applied SCN applied # Stopped the database # Connected to RMAN, recovery catalogue and target database ## Incomplete Recovery applied until change SCN recovery # Restart database to make sure OK – restricted mode Recovery on source (III) - proposal

Streams Resynchronization Scenarios and Tests – LCG 3D workshop - 8 B&R Streams Test Scenario:  Point-in-time recovery on the source and on the destination databases # Stopped the database # Connected to RMAN, recovery catalogue and target database ## Incomplete Recovery applied until Point-in-Time # Restart database to make sure OK apply process reset SCN Recovery on source and destinations CERN capture process propagation jobs CNAF RAL apply process CNAF apply process re-build data dictionary First SCN capture process Start SCN = First SCN x x x

Streams Resynchronization Scenarios and Tests – LCG 3D workshop - 9 Questions & Answers