My Oracle Support Banner

How to Move RAC Database to New ORACLE_HOME Location (Doc ID 2117136.1)

Last updated on DECEMBER 20, 2024

Applies to:

Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Goal

The purpose of this document is to provide information about Step by Step to move RAC database to new ORACLE_HOME location.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 0) Create a backup of the ORACLE_HOME (database binaries)
 1) Confirm the current RAC database ORACLE_HOME path
 2) Stop database
 3) Update the inventory to detach the RAC database ORACLE_HOME
 3-1) Confirm RAC database ORACLE_HOME in inventory
 3-2) Run the appropriate detachHome command to remove the current ORACLE_HOME from the inventory
 3-3) Confirm that the RAC database ORACLE_HOME was removed from the inventory
 4) Move (clone) RAC database ORACLE_HOME to new location
 4-1) Use the mv command to move RAC database ORACLE_HOME to new location
 4-2) Run clone in new RAC database ORACLE_HOME
 4-3) run root.sh according to the output of above clone.pl
 4-4) Confirm that the new RAC database ORACLE_HOME was registered in inventory
 5) Update environment variables, such as $ORACLE_HOME etc. to reflect the new RAC database ORACLE_HOME path
 6) Start database
 Community Discussions
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.