Tips and Tricks on Successful Upgrade to 11gR2

Similar documents
Oracle DBA Course Content

Steps Create Physical Standby Database Oracle 9i

Oracle 11g Data Guard Manual Failover Steps

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

Exadata Implementation Strategy

Key to A Successful Exadata POC

Oracle Clustering: Oracle 11g Real Application Clusters for Administrators

Oracle Database 11g: SQL Fundamentals I

Exadata Implementation Strategy

DOC ORACLE STANDBY USER MANUAL ARCHIVE

Enterprise Manager: Scalable Oracle Management

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

FILE / RMAN BACKUP PRODUCTS MANUAL EBOOK

12.1 Multitenancy in real life

CO Oracle Database 11g: Data Guard Administration

Oracle 12c Dataguard Administration (32 Hours)

Oracle Database 11g Data Guard

Oracle Database 12c: Data Guard Administration

Databases Clone using ACFS. Infrastructure at your Service.

Non-Production Databases. Oracle Recovery Manager. Presented By: Jeff Branan - Database Architect

Oracle Database 12c: Dataguard Administration

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

Oracle Database 12c: Data Guard Administration LVC

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Mike Hughes Allstate Oracle Tech Lead, Oracle Performance DBA

ORACLE 11g R2 New Features

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Media Recovery Not Enabled Or Manual Archival Only Oracle 10g

Oracle for administrative, technical and Tier-0 mass storage services

FILE // ORACLE STANDBY LICENSING USERS MANUAL

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

ORACLE RAC DBA COURSE CONTENT

Oracle Database 11g for Experienced 9i Database Administrators

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

for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG

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

Re-platforming the E-Business Suite Database

ORACLE STANDBY LICENSING OPERATING INSTRUCTIONS EBOOK

Database Services at CERN with Oracle 10g RAC and ASM on Commodity HW

for Backup & Recovery & Failover

CO Oracle Database 12c: Data Guard Administration

The Speaker. Alain Fuhrer, born in Bachelor in computer science. Working with Oracle databases for about 12 years now

Internals of Active Dataguard. Saibabu Devabhaktuni

ORACLE REFERENCE 11GR2 MANUAL DOCUMENT

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

Check Table Oracle Database Status Windows Script

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

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

Manage Change With Confidence: Upgrading to Oracle Database 11g with Oracle Real Application Testing

E-BOOK - ORACLE CREATE DATABASE 10G REPAIR MANUAL DOCUMENT

Oracle Database 11g: New Features for Administrators Release 2

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

Oracle Database Server 12c Pros and Cons

Oracle Database 12c: OCM Exam Preparation Workshop Ed 1

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2 NEW

Advanced Architectures for Oracle Database on Amazon EC2

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions

Oracle RAC Course Content

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

Zero Data Loss Recovery Appliance DOAG Konferenz 2014, Nürnberg

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

Virtualizing Oracle on VMware

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

Oracle 11g Alter Database Recover Managed Standby Database Disconnect From Session

SE2 goes Enterprise. Hidden Treasures in Oracle Dr. Thomas Petrik DOAG Konferenz, November 2017, Nürnberg

Exadata for Oracle DBAs. Arup Nanda Longtime Oracle DBA (and now DMA)

Arup Nanda Longtime Oracle DBA (and now DMA)

Oracle Exadata X7. Uwe Kirchhoff Oracle ACS - Delivery Senior Principal Service Delivery Engineer

Oracle Database 12c: Clusterware & RAC Admin Accelerated Ed 1

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

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer

Expert Oracle GoldenGate

Oracle Maximum Availability Architecture for Oracle Cloud

Creation of a physical Standby Database using OEM GC

What is Real Application Testing?

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle - Oracle Database 12c: OCM Exam Preparation Workshop Ed 1

Oracle 10g Move Table To Another Schema

Eliminating Downtime When Migrating or Upgrading to Oracle 10g

Minimum Requirements for Cencon 4 with Microsoft R SQL 2008 R2 Enterprise

Page 1 نشانی: تهران خیابان شهید بهشتی نرسیده به قائم مقام فراهانی پالک طبقه تلفن: فکس:

Eliminate Idle Redundancy with Oracle Active Data Guard

Partial Backup Interview Questions And Answers In Oracle 11g

Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals

<Insert Picture Here> Oracle Rdb Releases 7.2, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5

Deploying High Availability and Business Resilient R12 Applications over the Cloud

enterprise professional expertise distilled Implementer's guide Oracle GoldenGate 11g

Oracle Privileged Account Manager

Configuration changes such as conversion from a single instance to RAC, ASM, etc.

Question No: 1 Which two statements are true for Data Guard environments with multi-tenant databases?

Deploying the Zero Data Loss Recovery Appliance in a Data Guard Configuration ORACLE WHITE PAPER MARCH 2018

Data Guard. Author & Presenter: Nassyam Basha Date: 27-FEB-2015

A. Automatic memory management is disabled because PGA_AGGREGATE_TARGET and SGA_TARGET are not set.

RAC for Beginners. Arup Nanda Longtime Oracle DBA (and a beginner, always)

Oracle Database Backup And Recovery Advanced User's Guide 11g Pdf

Oracle Database 11g R1 & R2: New Features for Administrators

What you will learn. interface clients. Learn To:

1Z Oracle Database 12c - Data Guard Administration Exam Summary Syllabus Questions

Successful Upgrade Secrets: Preventing Performance Problems with Database Replay

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

Transcription:

Tips and Tricks on Successful Upgrade to 11gR2

Project Approval Get buy in from CIO and other groups Justify the need End of premier support Extended Support Cost To be current Benefits of new release

Build Standard Software Image 11.2.0.1 Linux Server RPM for standalone releases 11.2.0.1 Linux Client RPM 11.2..0.1 Windows Client RPM Assumption: You have the same version of OS.

Dev/QA Functional Env Push software to Dev Install db in the Dev env Get feedback from Developer community

Planning Phase Hardware Refresh Lock down on a release i.e 11.2.0.1 Parallel Env vs In place upgrade Strategy Upgrade Oracle server and Oracle client Guinea Pig Big Bang Approach vs Staggerred Rollout Storage Requirements

Lockdown Release Ignore latest vendor releases/patches. Don t alter any project plans. Change release if you are encountering a business critical bug.

Parallel Env Pros Db upgrade can be combined with Hardware and OS Upgrade. Environment can be build and tested without impacting production Less Risky as all critical components can be installed and made available earlier.

Parallel Env Pros Production Infrastructure can be certified and tested for months before the actual rollout date Production cutover is easy as number of tasks to be performed on cutover day are much less

Parallel Env Cons May not be feasible in 24x7 envs Data migration(export/import) from old env to new needs to be completed in the maintenance window. Licenses for parallel env Build out

In place Upgrade Pros Software and db can be upgraded on the same server Faster approach if we don t run into any install issues Data doesn t need to be migrated

In place Upgrade Cons Hardware and OS remains the same. Need to have good and tested RMAN/logical backups Very risky as business may get affected if we run into issues during installation.

Environment Build Out/Testing Phase QA Staging Prod

Staging/Prod Environment Have a staging env exactly same as prod for proper testing Testing with Production Baseline data End-end testing including running jobs(control M)

Prod rollout in Guinea Pig Env Get a taste of how new release is working in prod Evaluate how good Active Data Guard is working

Implementation/Rollout Phase Parallel Upgrade steps Export/Import data from 10g/11g Repoint tnsnames.ora to point to the new 11g server.

11gR2 Workarounds/Patches

Disable case sensitivity Disable the following parameter to prevent migration issues from 10gR2 to 11gR2 SQL> show parameter case NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ sec_case_sensitive_logon boolean FALSE

Package/db Link Compile Apply patch or implement workaround for packages referencing db link. Workaround is to flush cache

11g Cardinality Feature This can adversely affect the performance of some queries. Disable at session level if its not a system wide issue using a login trigger. set "_optimizer_use_feedback" = false

With clause Queries using WITH clause and distinct will fail with ORA-3113 because of a bug. Implement the below workaround to fix it or apply patch. _optimizer_distinct_agg_transform=false

Database Utilities-Exp/Imp Use DataPump export instead of original export (which is de-supported beginning with Oracle Database version 11g) Convert all your logical backup scripts to use expdp/impdp

SCAN/ACFS/ASM/RMAN

SCAN 10g client Failover doesn t work with Scan in tnsnames.ora for OCI apps JDBC apps work fine as they don t use tnsnames.ora 11g client SCAN works fine for OCI apps.

SCAN Configs Make sure client app servers connecting to 11g Db can telnet to port 1521 over 3 SCAN address 2 VIP address for a 2 Node RAC Cluster Make sure DNS is resolving and you can ping the RAC virtual ips from the client servers DNS resolution for VIPS should resolve correctly for JDBC clients.

ASM External Redundancy-EMC Clarion RAID Groups Use Correct RAID Group for DATA and FLASH Cross Verify devices being added to DATA or FLASH Disk Group is the same as you had planned like RAID 10 or RAID 5.

ASM Advantages Disks can be added or removed from Disk Groups without bringing down anything.

ACFS Regular file system for doing logical backups integrates well with Commvault.

RMAN Architecture Merged Incremental Backups Use DR Site for backups Do only archive log backups in Primary.

RMAN Catalog Install Catalog db on a non production server We installed it on the Grid Control db

Maximum Availability Architecture

MAA Details Data Guard running in Maximum Performance Mode Fine tune your redo size as per recovery requirements and commit rates

Active Data Guard/Physical Standby Tips

Active Data Guard Offload real time reporting to DR Site Data Guard Management Interface SQL Plus Data Guard Broker OEM Grid Control

Physical Standby and Duplicate Create Standby using one rman script using duplicate command. Script does everything behind the scenes Copies datafiles Configures Data Guard Standby Fully functional standby using one script

Active Data Guard/RAC All Reporting works fine from Apply Node on Physical Standby Some issues on running queries from second node in 2 Node RAC Cluster Physical Standby Ora 6553:Pls-801: internal error[pklsdlp: dependency verification] Ora -1555 snapshot too old

RAC Service Use service in tnsnames.ora for applications to connect to the RAC You can hide db/instance information from applications

Switchover/Failover Tests Test out switchover and Failover create a run book of steps

Monitoring-Grid Control Install 11g Grid Control Server Install agents and use Grid Control to manage all your Db Servers.

Troubleshooting Tools ASH AWR Grid Control

Before/After Before G1 HP Blade Server Red Hat AS 5.3 2 Node 64 bit RAC Cluster running 10.2.0.4 OCFS2 NON-ASM Data Guard Service_name DG Mgmt SQL Plus After G6 HP Blade Server Red Hat AS 5.4 2 Node 64 bit RAC Cluster running 11.2.0.1 ASM ACFS Active Data Guard Service in RAC DG Mgmt DataGuard Broker

Timeline Products Timeline LEAP Development December 2009 LEAP Prod April 2010 ATS Development June 2010 ATS Functional QA August 2010 ATS,CDB Staging December 2010 ATS,CDB 11g Rollout Feb 2011 CSA,FSA 11g Rollout July 2011 GRDB October 2011

Celebrate Party after you have successfully completed your project

Reference http://www.oracle.com/technetwork/database/u pgrade/index-088044.html http://www.oracle.com/technetwork/database/u pgrade/best-practices-for-upgrading-11gr2-174946.pdf http://www.oracle.com/technetwork/database/u pgrade/upgrade11gr2-2day-workshop- 173044.pdf http://download.oracle.com/docs/cd/e11882_01 /server.112/e17222/toc.htm

issues.xlsx Appendix