SlideShare a Scribd company logo
Quick Start Guide 
Oracle Database 12c: Manual Rolling Upgrade 
from Single Instance to RAC 
Joel Pérez – Senior DBA Oracle 
Oracle ACE Director 
Bangkok, Thailand 2014
Joel Pérez 
About me Quick Start Guide 
 Oracle Technology Network Expert “OTN” Expert 2003 
 First Latin American to be published as Expert on Oracle 
Web Site 2003 
 Oracle ACE 2004  Oracle ACE Director 2012 
 Consulting Tasks, Conferences and activities related to, in 
over 50 countries around the world 
 More than 25 Oracle certifies 
 One of the first the OCM Cloud 
Administrator In the world 
 Articles Writer for OTN Spanish 
 OTN Portuguese with more than 
40 Published Articles 
 Reviewer of Oracle Books 
Oracle Speaker at many International Oracle Events 
 more and counting 
 …
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Oracle Database 12c: Manual Rolling Upgrade 
from Single Instance to RAC 
 What’s Rolling.. ? 
 Upgrade.. ? a.- A database Upgrade is called 
“Upgrade” because the data dictionary will get 
upgrated to a later version.. 
 Conversion from Single Instance to RAC.. ? 
 Zero Downtime.. ? 
 Real Case: Upgrade a database from 11g to 12c ( 
Single Instance to RAC in a Zero Downtime Fashion 
). All Servers are based on Linux Operating System 
 Graphical  Code Steps
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Let’s go to 
Start..
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Production Database working in 
Archive Log Mode 
Full Database Backup 
PROD
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Archive Redo Log Backup 
Full Database Backup 
PROD
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Controlfile Backup 
Archive Redo Log Backup 
Full Database Backup 
PROD
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Where will be the Backup location ? 
Controlfile Backup 
Archive Redo Log Backup 
Full Database Backup 
/u01/MyBackups 
PROD
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Controlfile Backup 
Archive Redo Log Backup 
Full Database Backup ( 2:00pm – 2:30pm ) 
/u01/MyBackups 
PROD
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Controlfile Backup 
Archive Redo log Backup = 2:00pm .. 
Full Database Backup ( 2:00pm – 2:30pm ) 
/u01/MyBackups 
PROD
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Controlfile Backup 
( Whatever time after last 2 Steps ) 
Archive Redolog Backup 
Full Database Backup 
/u01/MyBackups 
PROD
Installing RAC 12c JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Quick Start Guide 
Linux 
Operating 
System in 
All 
Identical Endian 
Formats.. We can use 
RMAN for the DB Carry 
PROD
Creating Backup Directorie on a Node in RAC JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Quick Start Guide 
PROD 
/u01/ MyBackups 
/u01/MyBackups
Transfering Backup Files JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Quick Start Guide 
PROD 
/u01/ MyBackups 
/u01/MyBackups
Creating PROD db RAC JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Quick Start Guide 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
PROD 
DBCA 
Recommended 
DB Directories 
DB Configuration Files ( 
SPfiles, Pwfiles,.. ) 
OCR File Entries
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Shuting Down PROD db RAC  Removing Controlfiles 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
Controlfiles 
PROD 
Set DB Parameter 
CLUSTER_DATABASE=FALSE 
SCOPE=SPFILE
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Removing Redo Logs Files 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
Controlfiles 
Redo Log Files PROD
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Removing Datafiles 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
Controlfiles 
Redo Log Files 
Datafiles 
PROD
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Restore Controlfiles 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
PROD 
No Mount
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Startup mount / “Alter Database mount” 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
PROD 
Mount
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Restore Database 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
PROD 
Mount 
RMAN 
Restore Database 
Rolling in Progress…
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Restore Database 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
PROD 
Mount 
RMAN 
Restore Database 
Rolling in Progress…
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Recovering Database 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
PROD 
Mount 
RMAN 
Recovering Database 
Rolling in Progress…
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Recovering Database 
PROD 
/u01/MyBackups 
/u01/MyBackups 
PROD 
Mount 
RMAN 
Recovering Database 
Recovering until the last 
Archive Redo Log found 
In the first ARL Backup..
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Recovering Database 
PROD 
/u01/ MyBackups 
/u01/MyBackups 
PROD 
Mount 
RMAN 
Recovering Database 
Rolling in Progress…
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Rolling Upgrade Core 
PROD 
/u01/MyBackups 
/u01/MyBackups 
PROD 
Mount 
1.- Take backup of 
new ARLs regarding 
the last ARL taken at 
Previous backup on 
them 
2.- Transfer the new 
gotten RMAN Backup 
sets 
3.- Catalog new 
Taken backups 
4.- Recover Again the 
database until the 
last ARL brought 
 do it again until 
reach the time of last 
syncronization of 
databases
Rolling Upgrate Core JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Quick Start Guide 
Single PROD db RAC PROD db 
Full Database Backup Restore Database 
ARL Backup (50…120) 
Recovering Database based 
on ARL from 50 to 120 
ARL Backup (121…200) Recovering Database based 
on ARL from 121…200 
and Repeat backup  Recovery of ARL 
until reach the real break time to upgrade…
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Following Steps to Complete the Task.. 
 SQL Alter Database Open Resetlogs Upgrade; 
 Upgrade DB Catalog with the new “Parallel 
Upgrade Utility”
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
 Run the “Oracle Database Post-Upgrade Status 
Tool”
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Run Script “utlrp.sql” to recompile invalid objects
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
. 
 Create an Undo Tablespace for each one of rest 
instances 
 Change the Database Parameter 
“CLUSTER_DATABASE=true”
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
. 
Add Log file groups in new “Threads” for rest of 
instances
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
Following Steps to Complete the Task.. 
And finally.. 
Shutdown Database and Start it Up function in RAC 
 And that’s all.. 
 You’ve done a Zero Downtime Upgrade from Single 
to RAC
Quick Start Guide 
Direct Contact: 
JJJJooooeeeellll PPPPéééérrrreeeezzzz 
 ACE Director Profile: 
https://apex.oracle.com/pls/otn/f?p=19297:4:1711390 
987197101::NO:4:P4_ID:157 
 OCM Profile: 
http://education.oracle.com/education/otn/JoelPerez. 
htm 
 Linked in: 
https://apex.oracle.com/pls/otn/f?p=19297:4:1711390 
987197101::NO:4:P4_ID:157
Quick Start Guide 
JJJJooooeeeellll PPPPéééérrrreeeezzzz

More Related Content

What's hot

Pluggable Databases: What they will break and why you should use them anyway!
Pluggable Databases: What they will break and why you should use them anyway!Pluggable Databases: What they will break and why you should use them anyway!
Pluggable Databases: What they will break and why you should use them anyway!
Guatemala User Group
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12c
uzzal basak
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradationinfluxbob
 
0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial
KlausePaulino
 
Lightning fast with Varnish
Lightning fast with VarnishLightning fast with Varnish
Lightning fast with Varnish
Varnish Software
 
Percona Live London 2014 - MySQL Backup Strategy @ IEDR
Percona Live London 2014 - MySQL Backup Strategy @ IEDRPercona Live London 2014 - MySQL Backup Strategy @ IEDR
Percona Live London 2014 - MySQL Backup Strategy @ IEDR
Marcelo Altmann
 
Deploying E.L.K stack w Puppet
Deploying E.L.K stack w PuppetDeploying E.L.K stack w Puppet
Deploying E.L.K stack w Puppet
Colin Brown
 
Pluggable database 3
Pluggable database 3Pluggable database 3
Pluggable database 3
Osama Mustafa
 
Setup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationSetup oracle golden gate 11g replication
Setup oracle golden gate 11g replication
Kanwar Batra
 
Oracle: Binding versus caging
Oracle: Binding versus cagingOracle: Binding versus caging
Oracle: Binding versus caging
BertrandDrouvot
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
Osama Mustafa
 
Database Automation with MySQL Triggers and Event Schedulers
Database Automation with MySQL Triggers and Event SchedulersDatabase Automation with MySQL Triggers and Event Schedulers
Database Automation with MySQL Triggers and Event Schedulers
Abdul Rahman Sherzad
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
Guatemala User Group
 
B35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezB35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezInsight Technology, Inc.
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in DataguardJason Arneil
 
Lotny start z testami kontraktowymi
Lotny start z testami kontraktowymiLotny start z testami kontraktowymi
Lotny start z testami kontraktowymi
Piotr Kubowicz
 
ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)
YoungHeon (Roy) Kim
 

What's hot (20)

Pluggable Databases: What they will break and why you should use them anyway!
Pluggable Databases: What they will break and why you should use them anyway!Pluggable Databases: What they will break and why you should use them anyway!
Pluggable Databases: What they will break and why you should use them anyway!
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12c
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradation
 
Oracle Golden Gate
Oracle Golden GateOracle Golden Gate
Oracle Golden Gate
 
0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial
 
Lightning fast with Varnish
Lightning fast with VarnishLightning fast with Varnish
Lightning fast with Varnish
 
Percona Live London 2014 - MySQL Backup Strategy @ IEDR
Percona Live London 2014 - MySQL Backup Strategy @ IEDRPercona Live London 2014 - MySQL Backup Strategy @ IEDR
Percona Live London 2014 - MySQL Backup Strategy @ IEDR
 
Deploying E.L.K stack w Puppet
Deploying E.L.K stack w PuppetDeploying E.L.K stack w Puppet
Deploying E.L.K stack w Puppet
 
Pluggable database 3
Pluggable database 3Pluggable database 3
Pluggable database 3
 
Setup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationSetup oracle golden gate 11g replication
Setup oracle golden gate 11g replication
 
Oracle: Binding versus caging
Oracle: Binding versus cagingOracle: Binding versus caging
Oracle: Binding versus caging
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
 
Oracle Data Guard
Oracle Data GuardOracle Data Guard
Oracle Data Guard
 
Database Automation with MySQL Triggers and Event Schedulers
Database Automation with MySQL Triggers and Event SchedulersDatabase Automation with MySQL Triggers and Event Schedulers
Database Automation with MySQL Triggers and Event Schedulers
 
Rac questions
Rac questionsRac questions
Rac questions
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
 
B35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezB35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarez
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
 
Lotny start z testami kontraktowymi
Lotny start z testami kontraktowymiLotny start z testami kontraktowymi
Lotny start z testami kontraktowymi
 
ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)
 

Similar to Presentation joelperez thailand2014

2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_pptmaclean liu
 
Data Guard New Features
Data Guard New FeaturesData Guard New Features
Data Guard New Features
xiangrong
 
Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c
Osama Mustafa
 
Oracle 11g to 12c Rolling Upgrade
Oracle 11g to 12c Rolling UpgradeOracle 11g to 12c Rolling Upgrade
Oracle 11g to 12c Rolling Upgrade
Arun Sharma
 
Go Replicator
Go ReplicatorGo Replicator
Go Replicator
Joshua Drake
 
4392091081755796971 emea10 zero_downtimeoperations
4392091081755796971 emea10 zero_downtimeoperations4392091081755796971 emea10 zero_downtimeoperations
4392091081755796971 emea10 zero_downtimeoperations
Locuto Riorama
 
Oracle olap-installation
Oracle olap-installationOracle olap-installation
Oracle olap-installationAmit Sharma
 
Oracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard SetupOracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard Setup
Arun Sharma
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
Guatemala User Group
 
Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseOracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create Database
Monowar Mukul
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
Emre Baransel
 
Ungooglable
UngooglableUngooglable
Ungooglable
Elizabeth Leddy
 
oracle upgrade 2015_509_Swonger_ppt.pptx
oracle upgrade 2015_509_Swonger_ppt.pptxoracle upgrade 2015_509_Swonger_ppt.pptx
oracle upgrade 2015_509_Swonger_ppt.pptx
ssuser670564
 
A Little Prep Goes a Long Way: Planning your next Jira Server Upgrade
A Little Prep Goes a Long Way: Planning your next Jira Server UpgradeA Little Prep Goes a Long Way: Planning your next Jira Server Upgrade
A Little Prep Goes a Long Way: Planning your next Jira Server Upgrade
Atlassian
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
Francisco Alvarez
 
♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf
♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf
♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf
Alireza Kamrani
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
Satishbabu Gunukula
 

Similar to Presentation joelperez thailand2014 (20)

2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_ppt
 
Data Guard New Features
Data Guard New FeaturesData Guard New Features
Data Guard New Features
 
Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c
 
Oracle 11g to 12c Rolling Upgrade
Oracle 11g to 12c Rolling UpgradeOracle 11g to 12c Rolling Upgrade
Oracle 11g to 12c Rolling Upgrade
 
Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
 
Go Replicator
Go ReplicatorGo Replicator
Go Replicator
 
4392091081755796971 emea10 zero_downtimeoperations
4392091081755796971 emea10 zero_downtimeoperations4392091081755796971 emea10 zero_downtimeoperations
4392091081755796971 emea10 zero_downtimeoperations
 
Less04 Instance
Less04 InstanceLess04 Instance
Less04 Instance
 
Oracle olap-installation
Oracle olap-installationOracle olap-installation
Oracle olap-installation
 
Oracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard SetupOracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard Setup
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseOracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create Database
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
 
Ungooglable
UngooglableUngooglable
Ungooglable
 
oracle upgrade 2015_509_Swonger_ppt.pptx
oracle upgrade 2015_509_Swonger_ppt.pptxoracle upgrade 2015_509_Swonger_ppt.pptx
oracle upgrade 2015_509_Swonger_ppt.pptx
 
Data guard
Data guardData guard
Data guard
 
A Little Prep Goes a Long Way: Planning your next Jira Server Upgrade
A Little Prep Goes a Long Way: Planning your next Jira Server UpgradeA Little Prep Goes a Long Way: Planning your next Jira Server Upgrade
A Little Prep Goes a Long Way: Planning your next Jira Server Upgrade
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 
♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf
♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf
♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 

More from OUGTH Oracle User Group in Thailand

Quarterly leader-call-dec-2014
Quarterly leader-call-dec-2014Quarterly leader-call-dec-2014
Quarterly leader-call-dec-2014
OUGTH Oracle User Group in Thailand
 
Oracle Database Monitoring with AAS
Oracle Database Monitoring with AASOracle Database Monitoring with AAS
Oracle Database Monitoring with AAS
OUGTH Oracle User Group in Thailand
 
How oracle 12c flexes its muscles against oracle 11g r2
How oracle 12c flexes its muscles against oracle 11g r2How oracle 12c flexes its muscles against oracle 11g r2
How oracle 12c flexes its muscles against oracle 11g r2
OUGTH Oracle User Group in Thailand
 

More from OUGTH Oracle User Group in Thailand (18)

Quarterly leader-call-dec-2014
Quarterly leader-call-dec-2014Quarterly leader-call-dec-2014
Quarterly leader-call-dec-2014
 
Oracle Database Monitoring with AAS
Oracle Database Monitoring with AASOracle Database Monitoring with AAS
Oracle Database Monitoring with AAS
 
How oracle 12c flexes its muscles against oracle 11g r2
How oracle 12c flexes its muscles against oracle 11g r2How oracle 12c flexes its muscles against oracle 11g r2
How oracle 12c flexes its muscles against oracle 11g r2
 
How to-work-with-the-oracle-user-group-team
How to-work-with-the-oracle-user-group-teamHow to-work-with-the-oracle-user-group-team
How to-work-with-the-oracle-user-group-team
 
Apouc 2014-java-8-create-the-future
Apouc 2014-java-8-create-the-futureApouc 2014-java-8-create-the-future
Apouc 2014-java-8-create-the-future
 
Apouc 2014-enterprise-manager-12c
Apouc 2014-enterprise-manager-12cApouc 2014-enterprise-manager-12c
Apouc 2014-enterprise-manager-12c
 
Apouc 2014-learn-from-oracle-support
Apouc 2014-learn-from-oracle-supportApouc 2014-learn-from-oracle-support
Apouc 2014-learn-from-oracle-support
 
Apouc 2014-business-analytics-and-big-data
Apouc 2014-business-analytics-and-big-dataApouc 2014-business-analytics-and-big-data
Apouc 2014-business-analytics-and-big-data
 
Apouc 2014-oracle-applications-update
Apouc 2014-oracle-applications-updateApouc 2014-oracle-applications-update
Apouc 2014-oracle-applications-update
 
Apouc 2014-oracle mobile platform
Apouc 2014-oracle mobile platformApouc 2014-oracle mobile platform
Apouc 2014-oracle mobile platform
 
Apouc 2014-oracle-ace-program
Apouc 2014-oracle-ace-programApouc 2014-oracle-ace-program
Apouc 2014-oracle-ace-program
 
Apouc 2014-oracle-community-programs
Apouc 2014-oracle-community-programsApouc 2014-oracle-community-programs
Apouc 2014-oracle-community-programs
 
Apouc 2014-oracle-cloud-strategy
Apouc 2014-oracle-cloud-strategyApouc 2014-oracle-cloud-strategy
Apouc 2014-oracle-cloud-strategy
 
Apouc 2014-wrapup
Apouc 2014-wrapupApouc 2014-wrapup
Apouc 2014-wrapup
 
How to install oracle 12c release 1
How to install oracle 12c release 1How to install oracle 12c release 1
How to install oracle 12c release 1
 
User 2013-oracle-big-data-analytics-1971985
User 2013-oracle-big-data-analytics-1971985User 2013-oracle-big-data-analytics-1971985
User 2013-oracle-big-data-analytics-1971985
 
Session 307 ravi pendekanti engineered systems
Session 307  ravi pendekanti engineered systemsSession 307  ravi pendekanti engineered systems
Session 307 ravi pendekanti engineered systems
 
Session 203 iouc summit database
Session 203 iouc summit databaseSession 203 iouc summit database
Session 203 iouc summit database
 

Recently uploaded

Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 

Recently uploaded (20)

Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

Presentation joelperez thailand2014

  • 1. Quick Start Guide Oracle Database 12c: Manual Rolling Upgrade from Single Instance to RAC Joel Pérez – Senior DBA Oracle Oracle ACE Director Bangkok, Thailand 2014
  • 2. Joel Pérez About me Quick Start Guide Oracle Technology Network Expert “OTN” Expert 2003 First Latin American to be published as Expert on Oracle Web Site 2003 Oracle ACE 2004 Oracle ACE Director 2012 Consulting Tasks, Conferences and activities related to, in over 50 countries around the world More than 25 Oracle certifies One of the first the OCM Cloud Administrator In the world Articles Writer for OTN Spanish OTN Portuguese with more than 40 Published Articles Reviewer of Oracle Books Oracle Speaker at many International Oracle Events more and counting …
  • 3. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Oracle Database 12c: Manual Rolling Upgrade from Single Instance to RAC What’s Rolling.. ? Upgrade.. ? a.- A database Upgrade is called “Upgrade” because the data dictionary will get upgrated to a later version.. Conversion from Single Instance to RAC.. ? Zero Downtime.. ? Real Case: Upgrade a database from 11g to 12c ( Single Instance to RAC in a Zero Downtime Fashion ). All Servers are based on Linux Operating System Graphical Code Steps
  • 4. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Let’s go to Start..
  • 5. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Production Database working in Archive Log Mode Full Database Backup PROD
  • 6. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Archive Redo Log Backup Full Database Backup PROD
  • 7. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Controlfile Backup Archive Redo Log Backup Full Database Backup PROD
  • 8. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Where will be the Backup location ? Controlfile Backup Archive Redo Log Backup Full Database Backup /u01/MyBackups PROD
  • 9. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Controlfile Backup Archive Redo Log Backup Full Database Backup ( 2:00pm – 2:30pm ) /u01/MyBackups PROD
  • 10. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Controlfile Backup Archive Redo log Backup = 2:00pm .. Full Database Backup ( 2:00pm – 2:30pm ) /u01/MyBackups PROD
  • 11. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Controlfile Backup ( Whatever time after last 2 Steps ) Archive Redolog Backup Full Database Backup /u01/MyBackups PROD
  • 12. Installing RAC 12c JJJJooooeeeellll PPPPéééérrrreeeezzzz Quick Start Guide Linux Operating System in All Identical Endian Formats.. We can use RMAN for the DB Carry PROD
  • 13. Creating Backup Directorie on a Node in RAC JJJJooooeeeellll PPPPéééérrrreeeezzzz Quick Start Guide PROD /u01/ MyBackups /u01/MyBackups
  • 14. Transfering Backup Files JJJJooooeeeellll PPPPéééérrrreeeezzzz Quick Start Guide PROD /u01/ MyBackups /u01/MyBackups
  • 15. Creating PROD db RAC JJJJooooeeeellll PPPPéééérrrreeeezzzz Quick Start Guide PROD /u01/ MyBackups /u01/MyBackups PROD DBCA Recommended DB Directories DB Configuration Files ( SPfiles, Pwfiles,.. ) OCR File Entries
  • 16. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Shuting Down PROD db RAC Removing Controlfiles PROD /u01/ MyBackups /u01/MyBackups Controlfiles PROD Set DB Parameter CLUSTER_DATABASE=FALSE SCOPE=SPFILE
  • 17. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Removing Redo Logs Files PROD /u01/ MyBackups /u01/MyBackups Controlfiles Redo Log Files PROD
  • 18. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Removing Datafiles PROD /u01/ MyBackups /u01/MyBackups Controlfiles Redo Log Files Datafiles PROD
  • 19. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Restore Controlfiles PROD /u01/ MyBackups /u01/MyBackups PROD No Mount
  • 20. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Startup mount / “Alter Database mount” PROD /u01/ MyBackups /u01/MyBackups PROD Mount
  • 21. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Restore Database PROD /u01/ MyBackups /u01/MyBackups PROD Mount RMAN Restore Database Rolling in Progress…
  • 22. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Restore Database PROD /u01/ MyBackups /u01/MyBackups PROD Mount RMAN Restore Database Rolling in Progress…
  • 23. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Recovering Database PROD /u01/ MyBackups /u01/MyBackups PROD Mount RMAN Recovering Database Rolling in Progress…
  • 24. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Recovering Database PROD /u01/MyBackups /u01/MyBackups PROD Mount RMAN Recovering Database Recovering until the last Archive Redo Log found In the first ARL Backup..
  • 25. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Recovering Database PROD /u01/ MyBackups /u01/MyBackups PROD Mount RMAN Recovering Database Rolling in Progress…
  • 26. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Rolling Upgrade Core PROD /u01/MyBackups /u01/MyBackups PROD Mount 1.- Take backup of new ARLs regarding the last ARL taken at Previous backup on them 2.- Transfer the new gotten RMAN Backup sets 3.- Catalog new Taken backups 4.- Recover Again the database until the last ARL brought do it again until reach the time of last syncronization of databases
  • 27. Rolling Upgrate Core JJJJooooeeeellll PPPPéééérrrreeeezzzz Quick Start Guide Single PROD db RAC PROD db Full Database Backup Restore Database ARL Backup (50…120) Recovering Database based on ARL from 50 to 120 ARL Backup (121…200) Recovering Database based on ARL from 121…200 and Repeat backup Recovery of ARL until reach the real break time to upgrade…
  • 28. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Following Steps to Complete the Task.. SQL Alter Database Open Resetlogs Upgrade; Upgrade DB Catalog with the new “Parallel Upgrade Utility”
  • 29. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Run the “Oracle Database Post-Upgrade Status Tool”
  • 30. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Run Script “utlrp.sql” to recompile invalid objects
  • 31. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz . Create an Undo Tablespace for each one of rest instances Change the Database Parameter “CLUSTER_DATABASE=true”
  • 32. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz . Add Log file groups in new “Threads” for rest of instances
  • 33. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz Following Steps to Complete the Task.. And finally.. Shutdown Database and Start it Up function in RAC And that’s all.. You’ve done a Zero Downtime Upgrade from Single to RAC
  • 34. Quick Start Guide Direct Contact: JJJJooooeeeellll PPPPéééérrrreeeezzzz ACE Director Profile: https://apex.oracle.com/pls/otn/f?p=19297:4:1711390 987197101::NO:4:P4_ID:157 OCM Profile: http://education.oracle.com/education/otn/JoelPerez. htm Linked in: https://apex.oracle.com/pls/otn/f?p=19297:4:1711390 987197101::NO:4:P4_ID:157
  • 35. Quick Start Guide JJJJooooeeeellll PPPPéééérrrreeeezzzz