Cloning An Existing Oracle10g Release 2 (10.2.0.x) RDBMS Installation Using OUI (文档 ID 559304.1) | 转到底部 |
In this Document APPLIES TO:Oracle Universal Installer - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2] Information in this document applies to any platform. PURPOSEThe purpose of this bulletin is to describe how to clone an existing Oracle10g Release 2 (10.2.0.x) RDBMS installation using Oracle Universal Installer (OUI). SCOPEThis bulletin is intended for anyone who is responsible for installing Oracle software onto a server or cloning an existing Oracle software installation. Please note that Perl 5.6 or higher is required when cloning Oracle10g Release 2 NOTE: When cloning an installation to a new/separate server,it ismandatoryto check that the server meets all of the prerequisite requirements because the "perl clone.pl" cloning method (see Step 3 in the section below) does not check them. SeeNote:169706.1or the Installation Guide for a list of these. DETAILSStep 1 If you are going to use the "./runInstaller -clone" method of cloning then DB Console is not required.
NOTE 1: It was prevIoUsly recommended that customers run this command as the 'root' user (to make sure that the ownership of the files is preserved correctly) but it appears that this is not necessary.
and then moved to the target area (on the same server,or another server) and unpacked:
NOTE: It was prevIoUsly recommended that customers run this command as the 'root' user (to make sure that the ownership of the files is preserved correctly) but it appears that this is not necessary. Step 3 With the ORACLE_HOME environment variable now pointing to the target home,run the following command from the targetarea to clone the installation with the Oracle Universal Installer (OUI)
If no /etc/oraInst.loc (AIX,Linux) or /var/opt/oracle/oraInst.loc (Solaris,HP-UX) file exists on the server because Oracle has never been installed on the server before,create one. The file should contain a line like this:
inventory_loc=<path_to_oraInventory>
inventory_loc=/u01/app/oracle/oraInventory
This file can also be edited to add “-ignoreSysPrereqs” if required. If clone.pl does not exist,you did not install DB Console (as instructed in step 1). You should either go back and install it in the source home then repeat step 2,or use the alternative method of cloning described below. The alternative method of cloning (which does not require the DBConsole providing the Perl scripts) is to use the following commands:
If necessary,add "-invPtrLoc <path>/oraInst.loc" or "-ignoreSysPrereqs" to the command line. NOTE: if the home you are trying to clone has products from the Companion CD installed,you must use the -ignorePreReq option as a workaround for a known bug. NOTE: if you are cloning an Oracle10gR2 Standard Edition installation,please reviewNote:416255.1regarding a known issue
To clone an Oracle10g Release 2 client installation,run OUI directly:
NOTE: If the privileged groups (SYSDBA and SYSOPER) in the source home were not the default ("dba") then after cloning you will need to follow steps 6,7,8 and 9 fromNote:558478.1so that the config.c/config.s in the target home references the required Unix groups and this information is built into the $ORACLE_HOME/bin/oracle binary in the target home. Step 4 After cloning 10.2 on HPUX,sql*Plus (or other applications) may report errors like this:
Please reviewNote:344772.1regarding this known issue If you have cloned the installation to a separate server and you want to use the Database Control (dbconsole) application,refer toNote 467598.1andNote 278100.1for help withstarting the console on the new server. Notes
Known Issues: After cloning a database,the dba_libraries view contains reference to old home. Refer MOS note2145739.1for details. |