Book Image

Oracle 10g/11g Data and Database Management Utilities

Book Image

Oracle 10g/11g Data and Database Management Utilities

Overview of this book

Does your database look complicated? Are you finding it difficult to interact with it? Database interaction is a part of the daily routine for all database professionals. Using Oracle Utilities the user can benefit from improved maintenance windows, optimized backups, faster data transfers, and more reliable security and in general can do more with the same time and resources.
Table of Contents (18 chapters)
Oracle 10g/11g Data and Database Management Utilities
Credits
About the Author
About the Reviewer
Preface

Cloning Oracle Home using OUI


You can clone an existing Oracle Home in the same host using this procedure:

  1. 1. Install Oracle Home in its source directory, include all necessary patchsets and patches.

  2. 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. 3. Verify Oracle has the proper file and directory permissions in the target directory.

  4. 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>"
      

      Note

      If required, add -invPtrLoc <path>/oraInst.loc or -ignoreSysPrereqs to the command line.

  5. 5. As root, run the root.sh file...