You can clone an existing Oracle Home in the same host using this procedure:
1. Install Oracle Home in its source directory, include all necessary patchsets and patches.
2. Perform a recursive copy of the source Oracle Home to the target Oracle Home This step must be run as root to preserve the file permissions (use the
cp -Rp
command options).3. Verify Oracle has the proper file and directory permissions in the target directory.
4. Run the following command to clone the installation with the OUI:
cd $ORACLE_HOME/clone/bin perl clone.pl ORACLE_HOME="<target_home>" ORACLE_HOME_NAME="<unique_home_name>"
An alternative method of cloning can be achieved using the following commands:
cd $ORACLE_HOME/oui/bin ./runInstaller -clone -silent -ignorePreReq ORACLE_HOME="<target_home>" ORACLE_HOME_NAME="<unique_home_name>"
5. As root, run the
root.sh
file...