Minimal downtime migration

Similar documents
Optimizing SQL Transactions

Oracle Database 11g Data Guard

Oracle Real Application Clusters One Node

Mike Hughes Allstate Oracle Tech Lead, Oracle Performance DBA

Eliminating Downtime When Migrating or Upgrading to Oracle 10g

Focus On: Oracle Database 11g Release 2

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Database 11g for Experienced 9i Database Administrators

Oracle DataGuard 10gR2

JOB TITLE: Senior Database Administrator PRIMARY JOB DUTIES Application Database Development

<Insert Picture Here> Maximum Availability Architecture (MAA) Best Practices: Online Patching and Rolling Upgrades with Oracle Database

Oracle 11g Data Guard Manual Failover Steps

Zero Downtime Migrations

An Oracle White Paper September Methods for Upgrading to Oracle Database 11g Release 2

Service Recovery & Availability. Robert Dickerson June 2010

Quest. Quest. Toad Shareplex Foglight. Quest. Toad - Spotlight - SQL. Shareplex - Foglight - Space Manager with LiveReorg - Oracle

Oracle10g Data Guard: Back to the Future

SharePlex TM. Profoundly alters the economics of Oracle computing

SharePlex for SAP DB SAP Platform Strategy Forum DELL SOFTWARE GOKJI LEE

What is wrong with PostgreSQL? OR What does Oracle have that PostgreSQL should? Richard Stephan

OTN Case Study: Amadeus Using Data Guard for Disaster Recovery & Rolling Upgrades

Oracle 10g on Solaris to Oracle RAC 11gR2 on Linux Upgrade

ZDLRA High Availability for Backup and Recovery

Expert Oracle GoldenGate

Oracle Data Guard in Oracle Database 10g Release 2 Business Continuity for the Enterprise. An Oracle White Paper November 2006

The Right Choice for DR: Data Guard, Stretch Clusters, or Remote Mirroring. Ashish Ray Group Product Manager Oracle Corporation

Oracle Streams. Michal Hanzeli DBI013

Migrating Oracle from Unix to the Cloud. Dean Bolton Chief Architect VLSS LLC

An Oracle White Paper September Upgrade Methods for Upgrading to Oracle Database 11g Release 2

Oracle GoldenGate and Oracle Streams: The Future of Oracle Replication and Data Integration

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

How To Make Databases on Linux on System z Highly Available

Everything You Need To Know About Oracle & Storage Foundation HA

Enterprise Manager: Scalable Oracle Management

Oracle Maximum Availability Architecture Best Practices for Oracle Multitenant

Presented By Chad Dimatulac Principal Database Architect United Airlines October 24, 2011

Swiss IT Pro SQL Server 2005 High Availability Options Agenda: - Availability Options/Comparison - High Availability Demo 08 August :45-20:00

Session: Oracle RAC vs DB2 LUW purescale. Udo Brede Quest Software. 22 nd November :30 Platform: DB2 LUW

Zero impact database migration

New England Data Camp v2.0 It is all about the data! Caregroup Healthcare System. Ayad Shammout Lead Technical DBA

August Oracle - GoldenGate Statement of Direction

DBAK Delivering Oracle Success. Oracle GoldenGate: Straight Up August 4, 2010 Denver, CO

Data Guard: Setup and Administration. By Ashok Kapur Hawkeye Technology, Inc.

Migrate +230 TB databases in less than 1 day

High Availability Options for Oracle Database

Virtualizing Oracle on VMware

<Insert Picture Here> Exadata MAA Best Practices Series Session 1: E-Business Suite on Exadata

Data Sheet: High Availability Veritas Cluster Server from Symantec Reduce Application Downtime

Easy Ways to Improve Oracle Information Sharing With Data Replication

Hitchhiker's Guide. to upgrade to Oracle Database 12c. Mike Dietrich Senior Principal Technologist Database Upgrades Oracle Corporation

The Fastest and Most Cost-Effective Backup for Oracle Database: What s New in Oracle Secure Backup 10.2

Secure Sensitive Data in Virtual Test Environments

The Business Value of Virtualizing Oracle ebusiness Suite. Haroon Qureshi QSolve, Inc.

ExpressCluster X 2.1 Update Information 16 June 2009

DOC ORACLE STANDBY USER MANUAL ARCHIVE

Roy F Swonger Vice President Database Upgrades & Utilities Oracle Corporation

Microsoft SQL Server on Stratus ftserver Systems

Maximum Availability Architecture: Overview. An Oracle White Paper July 2002

Tips and Tricks on Successful Upgrade to 11gR2

IBM EXAM QUESTIONS & ANSWERS

Storage Optimization with Oracle Database 11g

Oracle Database and Application Solutions

Andy Mendelsohn, Oracle Corporation

Maximum Availability Architecture (MAA): Oracle E-Business Suite Release 12

EMC Unified Storage for Oracle Database 11g/10g Virtualized Solution. Enabled by EMC Celerra and Linux using FCP and NFS. Reference Architecture

Transforming your IT infrastructure Journey to the Cloud Mike Sladin

How to license Oracle Database programs in DR environments

EMC Business Continuity for Oracle Database 11g

Eliminate Idle Redundancy with Oracle Active Data Guard

Enhancing Oracle VM Business Continuity Using Dell Compellent Live Volume

Steps Create Physical Standby Database Oracle 9i

NEC ExpressCluster Introduction.

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Database Tables to Storage Bits: Data Protection Best Practices for Oracle Database

Oracle 11g New Features

An Oracle White Paper July Methods for Downgrading from Oracle Database 11g Release 2

Session 1079: Using Real Application Testing to Successfully Migrate to Exadata - Best Practices and Customer Case Studies

Disaster Recovery and Mitigation: Is your business prepared when disaster hits?

Maximize Availability on Private Clouds

Veritas Cluster Server from Symantec

ORACLE STANDBY LICENSING OPERATING INSTRUCTIONS EBOOK

Robust QAD Infrastructure Leveraging VMware and Netapp. Sekhar Athmakuri IT Manager

The Data Protection Rule and Hybrid Cloud Backup

NEC Express5800 R320f Fault Tolerant Servers & NEC ExpressCluster Software

Oracle E-Business Availability Options. Solution Series for Oracle: 2 of 5

Oracle GoldenGate. Frank Bommarito. RMOUG Training Days February 11-13, 2013

Best Practices for Disaster Recovery in Oracle Cloud Infrastructure ORACLE WHITE PAPER AUGUST 2018

Oracle Database 11g: Real Application Testing & Manageability Overview

Architecting a Highly Available Infrastructure: An Overview SLN187. Mark Milow Mike DiPetrillo

How To Make Databases on SUSE Linux Enterprise Server Highly Available Mike Friesenegger

Building a 24x7 Database. By Eyal Aronoff

Deploying High Availability and Business Resilient R12 Applications over the Cloud

<Insert Picture Here> Oracle MAA und RAC Best Practices und Engineered Systems

Advanced Architectures for Oracle Database on Amazon EC2

Highly Available Forms and Reports Applications with Oracle Fail Safe 3.0

Essentials. Oracle Solaris Cluster. Tim Read. Upper Saddle River, NJ Boston Indianapolis San Francisco. Capetown Sydney Tokyo Singapore Mexico City

ORACLE 11g Database Replay

Virtualization. Greening the Enterprise

Steps To Create Database Manually In Oracle 10g In Windows

High Availability Infrastructure for Cloud Computing

Transcription:

Minimal downtime migration Mitigate the risk that a planned downtime becomes unplanned Johannes Ahrends Technical Director ADM Presales Quest Software GmbH Copyright 2006 Quest Software

Agenda Quest Software What does High Availability mean? High Availability Solutions Real Application Clusters Physical Standby Logical Standby SharePlex Planned downtime Optimal preparation Example

Quest Solutions for Enterprise IT Quest Software develops innovative products that help customers get more performance and productivity from their applications, databases, and Windows infrastructure.

Strength and Leadership Consistent annual growth Analysts rank us #1 $476 M in 05 Revenues Nasdaq: QSFT 2,800+ employees Customers 18,000+ worldwide 75% of the Fortune 500 $M USD $500 $450 $400 $350 $300 $250 $200 $150 $100 $50 $0 Strong industry partnerships '99 '00 '01 '02 '03 '04 '05 Application Management Software Gartner Dataquest, 2005 Distributed Database Management Facilities Software IDC, 2005 Windows Server Management Forrester Research, 2004

What does High Availability mean? High availability is a system design protocol and associated implementation that ensures a certain absolute degree of operational continuity during a given measurement period. Availability refers to the ability of the user community to access the system, whether to submit new work, update or alter existing work, or collect the results of previous work. If a user cannot access the system, it is said to be unavailable. Generally, the term downtime is used to refer to periods when a system is unavailable. (Source: Wikipedia)

Availability Environment Classification AEC Name Availability (%) Downtime per Year 0 Conventional 90,0 36,5 days 1 High Reliable 99,9 8,8 hours 2 High Available 99,99 52,6 minutes 3 Fault Resilient 99,999 5,3 Minuten 4 Fault Tolerant 99,9999 32 Seconds 5 Disaster Resistant 99,99999 3 Seconds (Source: Wikipedia)

High Availability solutions Real Application Clusters Data Guard physical Standby Data Guard logical Standby Streams SharePlex

Real Application Clusters Oracle s High Availability Solution Strength Multiple Servers serve one central database Transparent to the application Available on all platforms Weakness Database Single Point of Failure Expensive Complex installation and administration (special tools) No rolling upgrades (Oracle promisses)

Real Application Clusters Cluster Manager INSTANCE A INSTANCE B SYSTEM 1 LAN 1 LAN 2 SYSTEM 2 LAN 2 LAN 1 Controlfiles Datafiles Redologfiles Thread 1 Redologfiles Thread 2

Data Guard Physical Standby Desaster Recovery Failover Database in Recovery Mode Strength Minimum Overhead Easy Installation No Additional Costs Weakness Similar Hard- and Software Standby Database not usable Can be opened Read-Only but during that time no recovery No Rolling Upgrades Oracle 11g Open physical standby for Reading&Writing => converting into logical standby

Data Guard Physical Standby Three different Modes Maximum Performance Production database is focus Maximum Availability Chance that no data is lost Maximum Protection No transaction takes place unless it is stored in minimum two databases

Data Guard Physical Standby FAL-Server FAL-Client lgwr Online- Redolog Standby- Redolog mrp PROD- Database arcn rfs STDBY- Database Produktion arcn arcn Standby Archived Redologs Archived Redologs

Data Guard Logical Standby Both Database can be used Based on Oracle LogMiner Strength No additional Costs Rolling updates possible (min 10.0.1.3) Weakness Not all datatypes supported Same source for both databases Similar Hard- and Software

Oracle Streams Oracle Replication Solution based on Redolog- Information Capture Stage Consume Staging is done in the database

Oracle Streams Capture Change capturing Database 1 Queue Changes LCR LCR Usermessage LCR... Database Objects Propagate Database 2 Queue LCR LCR Usermessage LCR... Apply Database Objects DDL Handle Procedure DML Handle Procedure Message Handle Procedure

Quest SharePlex Replication based on redolog content Source and Target database are independent Different operating systems Solaris, HP/UX, AIX, Tru64, Linux, Windows) Different Oracle releases (8i to 10gR2) Different platforms RISC, AMD, 64-bit, Different physical layouts Different character sets Horizontal and vertical partitioning Bidirectional replication with conflict resolution

Quest SharePlex Architecture Export Queue Export Import Post Queue Read SQL Post RedoLog Capture Capture Queue Source Target

What about Maintenance? A distinction needs to be made between planned downtime and unplanned downtime. Typically, planned downtime is a result of maintenance that is disruptive to system operation and usually cannot be avoided with a currently installed system design. Planned downtime events might include patches to system software that require a reboot or system configuration changes that only take effect upon a reboot. In general, planned downtime is usually the result of some logical, management-initiated event. Unplanned downtime events typically arise from some physical event, such as a hardware failure or environmental anomaly. (Source: Wikipedia)

What kind of planned downtimes exists? Hardware change / upgrade With or without reboot OS Changes / patches With or without reboot Oracle releases / patches Software only patches Software and database changes Changes which requires OS and / or application changes Application releases / patches Client only / Application Server only Changes to databases objects and applications Content of database objects

Rolling Upgrade 1 Patch 2 System 1 System 2 System 1 System 2 4 Patch 3 System 1 System 2 System 1 System 2

Requirements for Rolling Upgrade OS Clustertechnology Replication (e.g. VizionCore for VMWares) Oracle RAC (only oneoff Patches) Data Guard Logical Standby (since 10.1.0.3) Replication Application Normally not possible without downtime Critical in case of changes to the database structures

Optimal Preparation Copyright 2006 Quest Software

Testing Tests for Oracle releases and patches Setup of identical database on similar hardware No Export / Import but DB-Copy (rman) PL/SQL can be critical for upgrade time (utlprp) Test for Application releases and patches Compare current development database with QA and production E.g.: Toad Compare Functions Real application testing (RAT) Test your application with real data E.g. Benchmark Factory

Not enough time for preparation Application upgrade over one weekend Planned Downtime approx. 24 hours Backup of database okay Several scripts with DDL-changes Changes to tablecontent as scripts Serveral tests in a QA environment (1:1) Quick Change: No indexing of NULL-values! SQL> UPDATE <Tabelle> SET valid_to = to_date('01.01.3000', 'DD.MM.YYYY'); SQL> COMMIT;

Database Upgrade Assistant - Example Resource: HP Deskpro Pentium 4 3,2 GHz VmWare with 728 MB RAM RedHat Linux 4.0 ES SGA: 200 MB Oracle 10g Release 10.2.0.1 -> 10.2.0.3 Software Upgrade (runinstaller.sh): 5 minutes (unfortunately now check if database is stopped!!!) Database Upgrade with dbua: Basic Configuration: 15 minutes Default Configuration: 35 minutes => JAVA, XML

Do you really need this components?

Risks Application does not work properly Don t change too many components at one time Plan a fallback Performance problems Benchmarks Historical performance view Errrors during upgrade procedure Create storyboard for upgrade No quick changes! SQL> UPDATE <table> SET valid_to = to_date('01.01.3000', 'DD.MM.YYYY'); SQL> COMMIT;

Example: Rolling Upgrade with Shareplex Copyright 2006 Quest Software