SlideShare a Scribd company logo
Install Oracle Binaries or Clone Oracle Home
Satishbabu Gunukula, Oracle ACE
• 18+ Years of Experience in Database Technologies and
specialized in high availability solutions.
• Masters Degree in Computer Applications
• Written articles for major publications
• Oracle Certified Professional Oracle 8i,9i,10g
• Oracle Certified Expert Oracle 10g RAC
http://www.oracleracexpert.com
Program Agenda
• Overview of Cloning
• When Cloning useful
• Methods of Cloning
• How is Cloning done
– Copy source Oracle Installation
– Clone Oracle Installation
• Summary
• Q& A
Overview of Cloning
• Starting from 10g onwards, Oracle supports cloning and users can
easily clone existing Oracle installations
• Cloning is a process of copying an existing installation to a different
server or location. Cloning is similar to an Oracle installation except
Oracle universal installation performs the actions in a special mode
called “clone mode”.
• The source and destination servers should have same configuration
and packages installed in order Oracle cloning to work
• The cloning process works by copying all files from the source Oracle
home to the destination Oracle home, and files which are not part of
the source instance will not be copied to the destination location
When Cloning useful
When it comes to a server upgrade or migration, database
administrators will have to question whether to clone or
install the Oracle binaries
– If you need to create a new installation with many patches, then
cloning enables you to create a new installation with all patches
applied to it in one step and eliminate manual installation.
– To create an installation that is the same as Production for
Development/Testing purpose
– If you need to create Oracle home and deploy it to many hosts
– If you need to quickly deploy an instance and the applications
Methods of Cloning
Below methods available to clone the Oracle installation
– Clone using “perl clone.pl” : In this method you need to install DB
Console so that the required Perl files will be installed in
$ORACLE_HOME/clone/bin.
– Clone using “runInstaller” : In this method you need to install DB
Console
– Clone using “runInstaller in silent” mode: In this method you will
be using same “runInstaller” in non-interactive mode
How is Cloning done
Cloning is a two-step process, in the first step you will copy
Oracle installation from source to destination and in second
step you will run Oracle Universal Installer to clone the
installation on the destination.
Step 1: Copy source Oracle Installation
Step 2: Clone Oracle Installation
Copy source Oracle Installation
• Before you make a copy of the existing installation, the databases,
listeners and agents, etc running on the server should be shut down
on the source installation.
• The source Oracle home will have configuration/trace/log files related
to the environment such as udump, bdump, alert.log , init.ora,
listener.ora, tnsnames.ora, etc.
• When you clone the Oracle home, the destination will have all source
configuration files. If your destination will have different
database/instances then your need to exclude those files during copy
or remove the files after copy.
• If your requirement is server migration and then no need to exclude
those files.
Copy source Oracle Installation
Below are the lists of few files that may need to exclude
during the cloning process, in case your destination will be
different.
• Database related files (Data/tmp files, log files, Control files…etc)
• SQL*Net Files
– $ORACLE_HOME/listener.ora
– $ORACLE_HOME/tnsnames.ora
– $ORACLE_HOME/sqlnet.ora
• DB related directories $ORACLE_HOME/dbs ( init.ora,spfile.ora,orapwd)
– $ORACLE_HOME/admin (trace, alert, core files…etc)
– $ORACLE_BASE/diag (trace, alert, core, incident files…etc)
– $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole__ (Enterprise manager/db console)
– $ORACLE_HOME/hs/admin/ (Heterogeneous files)
Copy source Oracle Installation
Things to note during the copy
– Oracle 11g has permissions are more restrictive files and exclude
the below files during the copy or tar
• $ORACLE_HOME/bin/nmo
• $ORACLE_HOME/bin/nmb
• $ORACLE_HOME/bin/nmhs
– From 11g and higher, add these files to the exclusion list, they’ll be
created by root.sh script later in the cloning process.
– If any other products are installed/configured but not required at
destination, then you need to exclude those files as well.
Copy source Oracle Installation
On Source Server : Copy Oracle Installation using “tar”
Note: You can also use “cp”, “scp” or any other copy tools.
– Create a exclude list
– Create a tar file by excluding files or directories which are not
required using below command
Copy source Oracle Installation
On Destination Server:
– Create directory structure and set the environment variables such
as ORACLE_HOME, ORACLE_BASE, etc.
– Copy the tar file to destination server and unpack.
Clone Oracle Installation
On Destination Server: Pre-requisites
– Make sure that ORACLE_HOME and ORACLE_BASE environment
variables are set
– The /etc/oraInst.loc file must exists and if not exists create
manually
– If you have copied oracle Inventory, then you will receive a
message that the inventory already exists. Either exclude the
Oracle Inventory during the copy of detach the Oracle home
Clone using “perl clone.pl”
Here is the syntax
Clone using runInstaller
Here is the Syntax
Clone using “runInstaller in silent”
Here is the Syntax
Clone Oracle Installation
On Destination Server: Post-clone tasks
• To complete the cone you should log in as “root” and run
$ORACLE_HOME/root.sh
– # /home/oracle/product/11.2.0.4/dbhome_1/root.sh
• In Unix & Linux platforms run “changePerm.sh” for version
10g and older
– #/home/oracle/product/10.2.0/db_1/install/changePerm.sh
– o /home/oracle/product/10.2.0/db_1
Summary
• Benefits of Cloning
• Methods available to Clone
• Known Common Issues
Questions & Answers

More Related Content

PPTX
Convert single instance to RAC
PPTX
Understand oracle real application cluster
PDF
Time for Change: Migrate your Non-RAC Database to RAC
PDF
Oracle 12c and its pluggable databases
PDF
Oracle 12c PDB insights
PPTX
Optimizing your Database Import!
PDF
Dataguard implementation
PPTX
You most probably dont need an RMAN catalog database
Convert single instance to RAC
Understand oracle real application cluster
Time for Change: Migrate your Non-RAC Database to RAC
Oracle 12c and its pluggable databases
Oracle 12c PDB insights
Optimizing your Database Import!
Dataguard implementation
You most probably dont need an RMAN catalog database

What's hot (20)

PPTX
Oracle Real Application Cluster ( RAC )
PDF
RMAN best practices for RAC
PDF
RMAN – The Pocket Knife of a DBA
PDF
Oracle database high availability solutions
PDF
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
PPTX
Oracle Basics and Architecture
PDF
Oracle database 12c intro
PDF
Reduce planned database down time with Oracle technology
PDF
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
DOCX
Rac questions
PPTX
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
PPTX
Oracle 12c Multi Tenant
PDF
Oracle 12c New Features_RAC_slides
PDF
DBA 101 : Calling all New Database Administrators (WP)
PDF
Crating a Robust Performance Strategy
PPTX
Database Consolidation using Oracle Multitenant
PDF
12 Things about Oracle WebLogic Server 12c
PDF
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
PDF
RMAN in 12c: The Next Generation (WP)
PDF
RMAN in 12c: The Next Generation (PPT)
Oracle Real Application Cluster ( RAC )
RMAN best practices for RAC
RMAN – The Pocket Knife of a DBA
Oracle database high availability solutions
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Oracle Basics and Architecture
Oracle database 12c intro
Reduce planned database down time with Oracle technology
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Rac questions
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
Oracle 12c Multi Tenant
Oracle 12c New Features_RAC_slides
DBA 101 : Calling all New Database Administrators (WP)
Crating a Robust Performance Strategy
Database Consolidation using Oracle Multitenant
12 Things about Oracle WebLogic Server 12c
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (PPT)
Ad

Viewers also liked (6)

PPTX
Oracle golden gate 12c New Features
PDF
KDC to Kaijeliay....
PDF
MHA (MySQL High Availability): Getting started & moving past quirks
PPTX
MySQL Indexing - Best practices for MySQL 5.6
PPTX
Data Guard Architecture & Setup
Oracle golden gate 12c New Features
KDC to Kaijeliay....
MHA (MySQL High Availability): Getting started & moving past quirks
MySQL Indexing - Best practices for MySQL 5.6
Data Guard Architecture & Setup
Ad

Similar to Install oracle binaris or clonse oracle home (20)

PDF
Oracle Linux and Oracle Database - A Trusted Combination
PPT
les_04.ppt of the Oracle course train_4 file
PPT
Less02 installation
PPTX
DevOps for database
PPT
les_02.ppt of the Oracle course train_2 file
PPTX
Tanel Poder Oracle Scripts and Tools (2010)
PDF
Pluggable Databases: What they will break and why you should use them anyway!
PDF
les01.pdf
PPTX
Oracle Database on Docker - Best Practices
PPT
Oracle11g suse11 ilker bakir
PDF
Cloning 2
DOC
Cloning 2
PPTX
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
PDF
Out-of-Place Oracle Database Patching and Provisioning Golden Images
PDF
Oracle database 12c client quick installation guide 7
DOCX
Oracle WebLogic
PPT
les_03.ppt of the Oracle course train_3 file
PDF
les10.pdf
PDF
Oracle database 12c client quick installation guide 8
Oracle Linux and Oracle Database - A Trusted Combination
les_04.ppt of the Oracle course train_4 file
Less02 installation
DevOps for database
les_02.ppt of the Oracle course train_2 file
Tanel Poder Oracle Scripts and Tools (2010)
Pluggable Databases: What they will break and why you should use them anyway!
les01.pdf
Oracle Database on Docker - Best Practices
Oracle11g suse11 ilker bakir
Cloning 2
Cloning 2
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Out-of-Place Oracle Database Patching and Provisioning Golden Images
Oracle database 12c client quick installation guide 7
Oracle WebLogic
les_03.ppt of the Oracle course train_3 file
les10.pdf
Oracle database 12c client quick installation guide 8

More from Satishbabu Gunukula (12)

PPTX
Oracle Database 23c Security New Features.pptx
PPTX
Oracle Data Pump Enhancements in Oracle 21c.pptx
PPTX
Cloning an Oracle Home or Oracle Install.pptx
PPTX
What’s New in Oracle Database 19c - Part 1
PPTX
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
PPTX
Why oracle data guard new features in oracle 18c, 19c
PPTX
Oracle database upgrade to 12c and available methods
PPTX
One database solution for your enterprise business - Oracle 12c
PPTX
What’s new in oracle 12c recovery manager (rman)
PPTX
Why virtual private catalog?
PDF
Sql server mission_critical_performance_tdm_white_paper
PDF
Ioug tip book11_gunukula
Oracle Database 23c Security New Features.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptx
Cloning an Oracle Home or Oracle Install.pptx
What’s New in Oracle Database 19c - Part 1
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
Why oracle data guard new features in oracle 18c, 19c
Oracle database upgrade to 12c and available methods
One database solution for your enterprise business - Oracle 12c
What’s new in oracle 12c recovery manager (rman)
Why virtual private catalog?
Sql server mission_critical_performance_tdm_white_paper
Ioug tip book11_gunukula

Recently uploaded (20)

DOCX
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
PPTX
Hydrogel Based delivery Cancer Treatment
PPTX
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
PPTX
The spiral of silence is a theory in communication and political science that...
DOCX
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
PPTX
Intro to ISO 9001 2015.pptx wareness raising
PPTX
What is Clause, definition and structure
PPTX
Non-Verbal-Communication .mh.pdf_110245_compressed.pptx
PPTX
Self management and self evaluation presentation
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PPTX
Human Mind & its character Characteristics
PPTX
worship songs, in any order, compilation
PPTX
nose tajweed for the arabic alphabets for the responsive
PPTX
Emphasizing It's Not The End 08 06 2025.pptx
PPTX
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
PDF
Instagram's Product Secrets Unveiled with this PPT
PPTX
Role and Responsibilities of Bangladesh Coast Guard Base, Mongla Challenges
PPTX
Effective_Handling_Information_Presentation.pptx
PPTX
Relationship Management Presentation In Banking.pptx
PPTX
The Effect of Human Resource Management Practice on Organizational Performanc...
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
Hydrogel Based delivery Cancer Treatment
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
The spiral of silence is a theory in communication and political science that...
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
Intro to ISO 9001 2015.pptx wareness raising
What is Clause, definition and structure
Non-Verbal-Communication .mh.pdf_110245_compressed.pptx
Self management and self evaluation presentation
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
Human Mind & its character Characteristics
worship songs, in any order, compilation
nose tajweed for the arabic alphabets for the responsive
Emphasizing It's Not The End 08 06 2025.pptx
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
Instagram's Product Secrets Unveiled with this PPT
Role and Responsibilities of Bangladesh Coast Guard Base, Mongla Challenges
Effective_Handling_Information_Presentation.pptx
Relationship Management Presentation In Banking.pptx
The Effect of Human Resource Management Practice on Organizational Performanc...

Install oracle binaris or clonse oracle home

  • 1. Install Oracle Binaries or Clone Oracle Home Satishbabu Gunukula, Oracle ACE • 18+ Years of Experience in Database Technologies and specialized in high availability solutions. • Masters Degree in Computer Applications • Written articles for major publications • Oracle Certified Professional Oracle 8i,9i,10g • Oracle Certified Expert Oracle 10g RAC http://www.oracleracexpert.com
  • 2. Program Agenda • Overview of Cloning • When Cloning useful • Methods of Cloning • How is Cloning done – Copy source Oracle Installation – Clone Oracle Installation • Summary • Q& A
  • 3. Overview of Cloning • Starting from 10g onwards, Oracle supports cloning and users can easily clone existing Oracle installations • Cloning is a process of copying an existing installation to a different server or location. Cloning is similar to an Oracle installation except Oracle universal installation performs the actions in a special mode called “clone mode”. • The source and destination servers should have same configuration and packages installed in order Oracle cloning to work • The cloning process works by copying all files from the source Oracle home to the destination Oracle home, and files which are not part of the source instance will not be copied to the destination location
  • 4. When Cloning useful When it comes to a server upgrade or migration, database administrators will have to question whether to clone or install the Oracle binaries – If you need to create a new installation with many patches, then cloning enables you to create a new installation with all patches applied to it in one step and eliminate manual installation. – To create an installation that is the same as Production for Development/Testing purpose – If you need to create Oracle home and deploy it to many hosts – If you need to quickly deploy an instance and the applications
  • 5. Methods of Cloning Below methods available to clone the Oracle installation – Clone using “perl clone.pl” : In this method you need to install DB Console so that the required Perl files will be installed in $ORACLE_HOME/clone/bin. – Clone using “runInstaller” : In this method you need to install DB Console – Clone using “runInstaller in silent” mode: In this method you will be using same “runInstaller” in non-interactive mode
  • 6. How is Cloning done Cloning is a two-step process, in the first step you will copy Oracle installation from source to destination and in second step you will run Oracle Universal Installer to clone the installation on the destination. Step 1: Copy source Oracle Installation Step 2: Clone Oracle Installation
  • 7. Copy source Oracle Installation • Before you make a copy of the existing installation, the databases, listeners and agents, etc running on the server should be shut down on the source installation. • The source Oracle home will have configuration/trace/log files related to the environment such as udump, bdump, alert.log , init.ora, listener.ora, tnsnames.ora, etc. • When you clone the Oracle home, the destination will have all source configuration files. If your destination will have different database/instances then your need to exclude those files during copy or remove the files after copy. • If your requirement is server migration and then no need to exclude those files.
  • 8. Copy source Oracle Installation Below are the lists of few files that may need to exclude during the cloning process, in case your destination will be different. • Database related files (Data/tmp files, log files, Control files…etc) • SQL*Net Files – $ORACLE_HOME/listener.ora – $ORACLE_HOME/tnsnames.ora – $ORACLE_HOME/sqlnet.ora • DB related directories $ORACLE_HOME/dbs ( init.ora,spfile.ora,orapwd) – $ORACLE_HOME/admin (trace, alert, core files…etc) – $ORACLE_BASE/diag (trace, alert, core, incident files…etc) – $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole__ (Enterprise manager/db console) – $ORACLE_HOME/hs/admin/ (Heterogeneous files)
  • 9. Copy source Oracle Installation Things to note during the copy – Oracle 11g has permissions are more restrictive files and exclude the below files during the copy or tar • $ORACLE_HOME/bin/nmo • $ORACLE_HOME/bin/nmb • $ORACLE_HOME/bin/nmhs – From 11g and higher, add these files to the exclusion list, they’ll be created by root.sh script later in the cloning process. – If any other products are installed/configured but not required at destination, then you need to exclude those files as well.
  • 10. Copy source Oracle Installation On Source Server : Copy Oracle Installation using “tar” Note: You can also use “cp”, “scp” or any other copy tools. – Create a exclude list – Create a tar file by excluding files or directories which are not required using below command
  • 11. Copy source Oracle Installation On Destination Server: – Create directory structure and set the environment variables such as ORACLE_HOME, ORACLE_BASE, etc. – Copy the tar file to destination server and unpack.
  • 12. Clone Oracle Installation On Destination Server: Pre-requisites – Make sure that ORACLE_HOME and ORACLE_BASE environment variables are set – The /etc/oraInst.loc file must exists and if not exists create manually – If you have copied oracle Inventory, then you will receive a message that the inventory already exists. Either exclude the Oracle Inventory during the copy of detach the Oracle home
  • 13. Clone using “perl clone.pl” Here is the syntax
  • 15. Clone using “runInstaller in silent” Here is the Syntax
  • 16. Clone Oracle Installation On Destination Server: Post-clone tasks • To complete the cone you should log in as “root” and run $ORACLE_HOME/root.sh – # /home/oracle/product/11.2.0.4/dbhome_1/root.sh • In Unix & Linux platforms run “changePerm.sh” for version 10g and older – #/home/oracle/product/10.2.0/db_1/install/changePerm.sh – o /home/oracle/product/10.2.0/db_1
  • 17. Summary • Benefits of Cloning • Methods available to Clone • Known Common Issues

Editor's Notes