SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
MIGRATING FROM SINGLE INSTANCE TO
RAC AND UPGRADING: A DATA GUARD
         SUCCESS STORY

       Fuad Arshad @fuadar
        Walgreen Company
About me
•   More than 16+ years of Oracle experience
•   Worked in Textiles, Telecom & Retail/Healthcare
•   Currently work for Walgreens in the Enterprise Shared
    Services area
•   Areas of Interest: backup & recovery, high availability,
    MAA, performance tuning
Socially Networkable
• Twitter @fuadar
• Linkedin
  http://www.linkedin.com/in/fuadar
• G+ +Fuad Arshad
• Blog http://www.fuadarshad.com
IOUG - Collaborate
Community Access
•       RAC Attack                 Ask Questions
•       IOUG RAC SIG
                                    •   Freelists Oracle L
•       IOUG
                                    •   Stack Overflow
Blogs / Blogs /Blogs .
                                    •   Quora
    •    http://www.orana.info
                                    •   MOS Communities
    •    http://blogs.oracle.com
                                    •   Oracle Forums
    •    http://www.oaktable.net
                                    •   WhitePaper for this Session
Agenda

•   Problem
•   Analysis
•   Decision
•   Strategy
•   Migration
•   Things to look out for!
•   Credits
Our Problem
• The application was growing and adding features
• Customer access slowdown was reported
Our Problem
• System built in the early 2000’s to handle the new
  wave of technology
• More work as newer features were rolled out
• Architecture & design not intended to handle the
  rate of change
• Database is always the bottleneck
Analysis
• Active/Passive servers
• Oracle database version close to desupport
• Old OS version
• Old SAN infrastructure
• CPU and disk I/O issues
         Result -----> IT WAS OLD
Analysis
Decision

• Let’s migrate to RAC
• Can it be done yesterday?
• Can we do it with zero downtime?
• The application team doesn’t want to change
  anything
Strategy
• Export/Import
• Transportable Table spaces
• Disk based replication
• GoldenGate
• Data Guard - The Choice
Pre-Migration


• Build of servers
• Build of network
• RAC starter kits
Pre-Migration


•   The strategy was to build a RAC database from a single
    instance environment
•   Oracle provided instructions on how to prep the single instance
    environment so that it is RAC-aware. This includes running
    catclust scripts and adding undo tablespaces for the number of
    nodes that the new cluster will have
Pre-Migration

•   The server builds need to have all the patches based on the OS
    that is being used
•   Oracle provides a variety of starter kits that can be used to
    validate the configuration
•   It is also important that the network be configured and available
    based on best practices
•   11.2.0.2 and above have added requirements like SCAN that
    need to be accounted for
Pre-Migration

•   RAC Check is important tool to ensure that the environment is
    built based on best practices
•   RAC Check can be downloaded at MOS # 1268927.1 and is
    updated frequently
    – OS settings including kernel parameters and patches
    – CRS/Grid Infrastructure
    – RDBMS memory and database parameters
    – ASM parameters and statistics
Pre-Migration (Primary)

Data Guard setup steps need to be followed which include :
  •   Enable supplemental logging & force logging on primary

  •   Add additional REDO threads (Based on # of RAC nodes)

  •   Add additional UNDO tablespaces (Based on # of RAC nodes)

  •   Backup the primary database

  •   Create a PFILE from the primary database

  •   Copy TNSNAMES and LISTENER files into a staging directory

  •   Configure the primary database for Data Guard
Pre-Migration (Standby RAC)


•   Data Guard setup steps need to be followed which include:
    •   NFS mount or copy backup and auxiliary files
    •   Configure Oracle Net which includes setting up TNSNAMES and LISTENER
        for 11.2.0.2 (This will be done in the Grid infrastructure home)
    •   Modify the TNSNAMES.ORA to include the primary as well as the standby
        tns entries
    •   Create a tns entry for the listener and make sure it is referenced in the
        REMOTE_LISTENER (REMOTE_LISTENER specifies the global list of
        listeners in a RAC configuration)
    •   Make sure the listener alias referenced by the LOCAL_LISTENER
        initialization parameter is in each standby tnsnames.ora file
    •   Ensure that the standby server has the same software version and patches
        installed as the primary
Pre-Migration (Standby RAC,cont.)

Data Guard setup steps need to be followed which include:
  •   Ensure that a password file is configured on both the primary and the
      standby
  •   Copy the PFILE to the $ORACLE_HOME/dbs in the standby node
  •   Add DB_UNIQUE_NAME and CLUSTER_DATABASE parameters in the
      PFILE
  •   Modify all the other parameters outlined in the white paper
  •   Connect to the standby and create an SPFILE in the ASM diskgroup
  •   Startup the proposed standby environment in NOMOUNT mode
  •   Duplicate the database using “DUPLICATE TARGET DATABASE FOR
      STANDBY”
  •   Setup Server Control (SRVCTL) to register the instances
Pre-Migration (Standby RAC, cont.)


Data Guard setup steps need to be followed which include:
  •   Add additional standby REDO logs (The number of standby redo logs should
      be one more than the number of online REDO logs per thread and should be
      the same size)
  •   Enable Managed Recovery Mode on the standby database
  •   Enable archive destination on the primary to start shipping logs to the
      standby
  •   Validate the transfer
  •   Setup Data Guard Broker
  •   Validate the configuration and ensure that logs are being applied
  •   Bring up the other nodes in the RAC environment
Migration

Migrating is simple after the Data Guard database is setup
   •   Ensure all ARCHIVELOGS have been applied
   •   Put the primary database in restricted mode and switch ARCHIVELOGS
   •   After all the outstanding logs have been applied, shutdown REDO apply on
       the standby
   •   Validate SCN across the primary and the standby
   •   Two options from here:
       - Switchover & upgrade
       - Shutdown & upgrade
   **We Chose Shutdown & Upgrade**
Migration

•   All standby RAC nodes can be up if using DBUA

•   Ensure pre-checks are done

•   DBUA is brutal if you don’t remove the obsolete parameters

•   DST changes are important

•   If manually upgrading DBMS_DST needs to be run to upgrade DST
Things to Look Out For

Ensure Environments Are Validated
  •   RDA should be run and all issues fixed
  •   RAC check will give you a detailed overview of the system
  •   Ensure all starter kits and the RAC manuals are consulted: the result can be
      a good best practices evolving document
  •   Use services to better manage how the application connects and load
      balance your system
  •   Private network is key with RAC: follow Oracle’s best practices.
  •   XA changes in 11.2.0.2 & can cause issues: important to understand them
  •   “Compatible” parameter testing is important.
  •   Monitoring the environment after go-live is very important
Shameless Plug

A couple of Sessions that myself and my colleagues will be presenting



CON3776 - Implementing the Oracle Database Appliance as an Enterprise Solution

      Tuesday, Oct 2, 1:15 PM - 2:15 PM

CON12593 - Success Story: Indirect Procurement Transformation at Walgreens

      Tuesday, Oct 2, 5:00 PM - 6:00 PM –

CON11894 - Achieving Business Transformation with Oracle E-Business Suite R12 Applications

      Tuesday, Oct 2, 10:15 AM - 11:15 AM




.
Credits

I’d like to thank the following people for helping me with the
presentation and accompanying white paper:
    •    Matthew Gallagher, Architect -- Walgreens

    •    Brice Lahl, Manager DB Architecture -- Walgreens

    •    Daniel Morgan, ACE Director -- Drugstore.com

    •    The Team At IOUG for encouraging new speakers.

A special shout out to Arup Nanda & Alex Gorbachev for encouraging me to present and
Leighton Smith for reviewing my session

Also special credit to the RAC Assurance Team at Oracle for helping is get through this migration and
subsequent issues. Some content in the whitepaper and presentation has been republished with permission from
the Oracle RAC Assurance Team whose goal had been to proactively provide input to customers with new and
existing CRS, RAC, ASM and MAA implementations.
Questions
/Comments
SAVE THE DATE!

     COLLABORATE 13
      April 7-11, 2013
Colorado Convention Center
     Denver, Colorado

http://collaborate13.ioug.org

Contenu connexe

Tendances

Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPOptimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPSecure-24
 
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsMarkus Michalewicz
 
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...Maris Elsins
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsMarkus Michalewicz
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RACSyed Hussain
 
Customer overview oracle solaris cluster, enterprise edition
Customer overview oracle solaris cluster, enterprise editionCustomer overview oracle solaris cluster, enterprise edition
Customer overview oracle solaris cluster, enterprise editionsolarisyougood
 
Oracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsOracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsMarkus Michalewicz
 
Sharing experience implementing Direct NFS
Sharing experience implementing Direct NFSSharing experience implementing Direct NFS
Sharing experience implementing Direct NFSYury Velikanov
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cTrivadis
 
Sun Oracle Exadata V2 For OLTP And DWH
Sun Oracle Exadata V2 For OLTP And DWHSun Oracle Exadata V2 For OLTP And DWH
Sun Oracle Exadata V2 For OLTP And DWHMark Rabne
 
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingYury Velikanov
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
RAC Attack 12c Installation Instruction
RAC Attack 12c Installation InstructionRAC Attack 12c Installation Instruction
RAC Attack 12c Installation InstructionYury Velikanov
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020Anil Nair
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 
Solaris cluster roadshow day 1 technical presentation
Solaris cluster roadshow day 1 technical presentationSolaris cluster roadshow day 1 technical presentation
Solaris cluster roadshow day 1 technical presentationxKinAnx
 
My First 100 days with a Cassandra Cluster
My First 100 days with a Cassandra ClusterMy First 100 days with a Cassandra Cluster
My First 100 days with a Cassandra ClusterGustavo Rene Antunez
 

Tendances (20)

Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPOptimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
 
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
 
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 Internals
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RAC
 
Customer overview oracle solaris cluster, enterprise edition
Customer overview oracle solaris cluster, enterprise editionCustomer overview oracle solaris cluster, enterprise edition
Customer overview oracle solaris cluster, enterprise edition
 
Oracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsOracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client Connections
 
Sharing experience implementing Direct NFS
Sharing experience implementing Direct NFSSharing experience implementing Direct NFS
Sharing experience implementing Direct NFS
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12c
 
Sun Oracle Exadata V2 For OLTP And DWH
Sun Oracle Exadata V2 For OLTP And DWHSun Oracle Exadata V2 For OLTP And DWH
Sun Oracle Exadata V2 For OLTP And DWH
 
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
RAC Attack 12c Installation Instruction
RAC Attack 12c Installation InstructionRAC Attack 12c Installation Instruction
RAC Attack 12c Installation Instruction
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Solaris cluster roadshow day 1 technical presentation
Solaris cluster roadshow day 1 technical presentationSolaris cluster roadshow day 1 technical presentation
Solaris cluster roadshow day 1 technical presentation
 
My First 100 days with a Cassandra Cluster
My First 100 days with a Cassandra ClusterMy First 100 days with a Cassandra Cluster
My First 100 days with a Cassandra Cluster
 
RAC - Test
RAC - TestRAC - Test
RAC - Test
 
Sparc solaris servers
Sparc solaris serversSparc solaris servers
Sparc solaris servers
 
Exadata Backup
Exadata BackupExadata Backup
Exadata Backup
 

Similaire à MIgrating to RAC using Dataguard

Are You Ready for 12c? Data Migration and Upgrade Best Practices
Are You Ready for 12c? Data Migration and Upgrade Best PracticesAre You Ready for 12c? Data Migration and Upgrade Best Practices
Are You Ready for 12c? Data Migration and Upgrade Best PracticesPerformance Tuning Corporation
 
Yugandhar uppala oracle dba_2016
Yugandhar uppala oracle dba_2016Yugandhar uppala oracle dba_2016
Yugandhar uppala oracle dba_2016Yugandhar Uppala
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...Insight Technology, Inc.
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACSolarWinds
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh
 
Chaitanyadba profile (1) (1) gg
Chaitanyadba profile  (1) (1)   ggChaitanyadba profile  (1) (1)   gg
Chaitanyadba profile (1) (1) ggChaitanya Dba
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Connor McDonald
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesAlfredo Abate
 
Oracle big data appliance and solutions
Oracle big data appliance and solutionsOracle big data appliance and solutions
Oracle big data appliance and solutionssolarisyougood
 
SamBarrie_Primaryvzt
SamBarrie_PrimaryvztSamBarrie_Primaryvzt
SamBarrie_PrimaryvztSam Barrie
 
Oracle_DBA_Biswachetak_palo
Oracle_DBA_Biswachetak_paloOracle_DBA_Biswachetak_palo
Oracle_DBA_Biswachetak_paloBiswachetak Palo
 
WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013Michel Schildmeijer
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaSArush Jain
 

Similaire à MIgrating to RAC using Dataguard (20)

Deepak_Singh_CV
Deepak_Singh_CVDeepak_Singh_CV
Deepak_Singh_CV
 
ChaitanyaPrati
ChaitanyaPratiChaitanyaPrati
ChaitanyaPrati
 
Rohit_Panot
Rohit_PanotRohit_Panot
Rohit_Panot
 
Are You Ready for 12c? Data Migration and Upgrade Best Practices
Are You Ready for 12c? Data Migration and Upgrade Best PracticesAre You Ready for 12c? Data Migration and Upgrade Best Practices
Are You Ready for 12c? Data Migration and Upgrade Best Practices
 
Yugandhar uppala oracle dba_2016
Yugandhar uppala oracle dba_2016Yugandhar uppala oracle dba_2016
Yugandhar uppala oracle dba_2016
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
 
rakesh_resume
rakesh_resumerakesh_resume
rakesh_resume
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RAC
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016
 
Chaitanyadba profile (1) (1) gg
Chaitanyadba profile  (1) (1)   ggChaitanyadba profile  (1) (1)   gg
Chaitanyadba profile (1) (1) gg
 
I one Service Offerings
I one Service OfferingsI one Service Offerings
I one Service Offerings
 
Razak
RazakRazak
Razak
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
 
Oracle big data appliance and solutions
Oracle big data appliance and solutionsOracle big data appliance and solutions
Oracle big data appliance and solutions
 
SamBarrie_Primaryvzt
SamBarrie_PrimaryvztSamBarrie_Primaryvzt
SamBarrie_Primaryvzt
 
Resume
Resume Resume
Resume
 
Oracle_DBA_Biswachetak_palo
Oracle_DBA_Biswachetak_paloOracle_DBA_Biswachetak_palo
Oracle_DBA_Biswachetak_palo
 
WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 

Dernier

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

MIgrating to RAC using Dataguard

  • 1. MIGRATING FROM SINGLE INSTANCE TO RAC AND UPGRADING: A DATA GUARD SUCCESS STORY Fuad Arshad @fuadar Walgreen Company
  • 2. About me • More than 16+ years of Oracle experience • Worked in Textiles, Telecom & Retail/Healthcare • Currently work for Walgreens in the Enterprise Shared Services area • Areas of Interest: backup & recovery, high availability, MAA, performance tuning
  • 3. Socially Networkable • Twitter @fuadar • Linkedin http://www.linkedin.com/in/fuadar • G+ +Fuad Arshad • Blog http://www.fuadarshad.com
  • 5. Community Access • RAC Attack Ask Questions • IOUG RAC SIG • Freelists Oracle L • IOUG • Stack Overflow Blogs / Blogs /Blogs . • Quora • http://www.orana.info • MOS Communities • http://blogs.oracle.com • Oracle Forums • http://www.oaktable.net • WhitePaper for this Session
  • 6. Agenda • Problem • Analysis • Decision • Strategy • Migration • Things to look out for! • Credits
  • 7. Our Problem • The application was growing and adding features • Customer access slowdown was reported
  • 8. Our Problem • System built in the early 2000’s to handle the new wave of technology • More work as newer features were rolled out • Architecture & design not intended to handle the rate of change • Database is always the bottleneck
  • 9. Analysis • Active/Passive servers • Oracle database version close to desupport • Old OS version • Old SAN infrastructure • CPU and disk I/O issues Result -----> IT WAS OLD
  • 11.
  • 12. Decision • Let’s migrate to RAC • Can it be done yesterday? • Can we do it with zero downtime? • The application team doesn’t want to change anything
  • 13. Strategy • Export/Import • Transportable Table spaces • Disk based replication • GoldenGate • Data Guard - The Choice
  • 14. Pre-Migration • Build of servers • Build of network • RAC starter kits
  • 15. Pre-Migration • The strategy was to build a RAC database from a single instance environment • Oracle provided instructions on how to prep the single instance environment so that it is RAC-aware. This includes running catclust scripts and adding undo tablespaces for the number of nodes that the new cluster will have
  • 16. Pre-Migration • The server builds need to have all the patches based on the OS that is being used • Oracle provides a variety of starter kits that can be used to validate the configuration • It is also important that the network be configured and available based on best practices • 11.2.0.2 and above have added requirements like SCAN that need to be accounted for
  • 17. Pre-Migration • RAC Check is important tool to ensure that the environment is built based on best practices • RAC Check can be downloaded at MOS # 1268927.1 and is updated frequently – OS settings including kernel parameters and patches – CRS/Grid Infrastructure – RDBMS memory and database parameters – ASM parameters and statistics
  • 18. Pre-Migration (Primary) Data Guard setup steps need to be followed which include : • Enable supplemental logging & force logging on primary • Add additional REDO threads (Based on # of RAC nodes) • Add additional UNDO tablespaces (Based on # of RAC nodes) • Backup the primary database • Create a PFILE from the primary database • Copy TNSNAMES and LISTENER files into a staging directory • Configure the primary database for Data Guard
  • 19. Pre-Migration (Standby RAC) • Data Guard setup steps need to be followed which include: • NFS mount or copy backup and auxiliary files • Configure Oracle Net which includes setting up TNSNAMES and LISTENER for 11.2.0.2 (This will be done in the Grid infrastructure home) • Modify the TNSNAMES.ORA to include the primary as well as the standby tns entries • Create a tns entry for the listener and make sure it is referenced in the REMOTE_LISTENER (REMOTE_LISTENER specifies the global list of listeners in a RAC configuration) • Make sure the listener alias referenced by the LOCAL_LISTENER initialization parameter is in each standby tnsnames.ora file • Ensure that the standby server has the same software version and patches installed as the primary
  • 20. Pre-Migration (Standby RAC,cont.) Data Guard setup steps need to be followed which include: • Ensure that a password file is configured on both the primary and the standby • Copy the PFILE to the $ORACLE_HOME/dbs in the standby node • Add DB_UNIQUE_NAME and CLUSTER_DATABASE parameters in the PFILE • Modify all the other parameters outlined in the white paper • Connect to the standby and create an SPFILE in the ASM diskgroup • Startup the proposed standby environment in NOMOUNT mode • Duplicate the database using “DUPLICATE TARGET DATABASE FOR STANDBY” • Setup Server Control (SRVCTL) to register the instances
  • 21. Pre-Migration (Standby RAC, cont.) Data Guard setup steps need to be followed which include: • Add additional standby REDO logs (The number of standby redo logs should be one more than the number of online REDO logs per thread and should be the same size) • Enable Managed Recovery Mode on the standby database • Enable archive destination on the primary to start shipping logs to the standby • Validate the transfer • Setup Data Guard Broker • Validate the configuration and ensure that logs are being applied • Bring up the other nodes in the RAC environment
  • 22. Migration Migrating is simple after the Data Guard database is setup • Ensure all ARCHIVELOGS have been applied • Put the primary database in restricted mode and switch ARCHIVELOGS • After all the outstanding logs have been applied, shutdown REDO apply on the standby • Validate SCN across the primary and the standby • Two options from here: - Switchover & upgrade - Shutdown & upgrade **We Chose Shutdown & Upgrade**
  • 23. Migration • All standby RAC nodes can be up if using DBUA • Ensure pre-checks are done • DBUA is brutal if you don’t remove the obsolete parameters • DST changes are important • If manually upgrading DBMS_DST needs to be run to upgrade DST
  • 24. Things to Look Out For Ensure Environments Are Validated • RDA should be run and all issues fixed • RAC check will give you a detailed overview of the system • Ensure all starter kits and the RAC manuals are consulted: the result can be a good best practices evolving document • Use services to better manage how the application connects and load balance your system • Private network is key with RAC: follow Oracle’s best practices. • XA changes in 11.2.0.2 & can cause issues: important to understand them • “Compatible” parameter testing is important. • Monitoring the environment after go-live is very important
  • 25. Shameless Plug A couple of Sessions that myself and my colleagues will be presenting CON3776 - Implementing the Oracle Database Appliance as an Enterprise Solution Tuesday, Oct 2, 1:15 PM - 2:15 PM CON12593 - Success Story: Indirect Procurement Transformation at Walgreens Tuesday, Oct 2, 5:00 PM - 6:00 PM – CON11894 - Achieving Business Transformation with Oracle E-Business Suite R12 Applications Tuesday, Oct 2, 10:15 AM - 11:15 AM .
  • 26. Credits I’d like to thank the following people for helping me with the presentation and accompanying white paper: • Matthew Gallagher, Architect -- Walgreens • Brice Lahl, Manager DB Architecture -- Walgreens • Daniel Morgan, ACE Director -- Drugstore.com • The Team At IOUG for encouraging new speakers. A special shout out to Arup Nanda & Alex Gorbachev for encouraging me to present and Leighton Smith for reviewing my session Also special credit to the RAC Assurance Team at Oracle for helping is get through this migration and subsequent issues. Some content in the whitepaper and presentation has been republished with permission from the Oracle RAC Assurance Team whose goal had been to proactively provide input to customers with new and existing CRS, RAC, ASM and MAA implementations.
  • 28. SAVE THE DATE! COLLABORATE 13 April 7-11, 2013 Colorado Convention Center Denver, Colorado http://collaborate13.ioug.org