Sei sulla pagina 1di 2

7/25/2019 Clone from RAC E-Business Suite to Single instance, Oracle Apps DBA Kaparelis

    

  Oracle Scripts » Categories » Oracle APPS DBA » Cloning »

Categories
Oracle DBA-> (147)
Clone from RAC E-Business Suite to Single instance
Oracle APPS DBA-> (66)                                                  Last update (2010-
  Cloning (11) 07-05 22:39:51)
  Concurrent Managers (6) Date added (2008-06-25 10:19:16)
  Concurrent Requests (4)
                                                                                 Posted by: Eleutherios Tsekouras
  Patches (4)
Summary
  Performance Tuning (10)
Here is an example how to create a single instance E-Business Suite clone from an E-Business Suite with RAC database. There are some little
  Security (5)
  User logins (4)
steps that might have some problems. Here is the complete guide.
  Various (20)
  Workflow (2) Pre-cloning steps
Exadata (1)
1. Check perl, zip, unzip exist in the $PATH.
Performance Tuning-> (59)
2. Log:
Oracle Real Cases (24)
Oracle Errors (23) a. APPS password
Oracle SQL tricks (32) b. SYSTEM password
Oracle RAC (3) c. SYS password
Oracle Security (8) d. $APPL_TOP
e. RDBMS $ORACLE_HOME
Filters
f. 8.0.6 $ORACLE_HOME
Please Select g. iAS $ORACLE_HOME
h. $COMMON_TOP
Search
i. the exact paths where datafiles are placed (DATA_TOPs)
  3. cd RDBMS $ORACLE_HOME/appsutil/scripts/
4. perl adpreclone.pl dbTier
Advanced Search 5. cd $COMMON_TOP/admin/scripts/
6. perl adpreclone.pl appsTier
Information

Ask for Free Support Cloning steps


About the Author Check the note below about changing the “s_dbfiles” in some XML files, before running the script.
Buy Oracle Books
Privacy Notice
1. cd /appsutil/clone/bin
2. perl adcfgclone.pl dbTier
3. Parameters asked:
Do you want to use a virtual hostname for the target node (y/n) [n] ? n
Target instance is a Real Application Cluster (RAC) instance (y/n) [n] n
Target System database name [MIGDB] MIGDB
Target system domain name [ote.gr] ote.gr
Target system RDBMS ORACLE_HOME directory [/oracle/product/9.2] /orabin/product/9.2
Target system utl_file accessible directories list [/oracle/product/9.2/appsutil/temp]
/appsutil/temp /orabin/product/9.2/appsutil/temp
Number of DATA_TOP's on the target system [24] 24

Tip:If the number of DATA_TOPs shown is not the same as the number counted at 2i step, there is a problem.
Check $ORACLE_HOME/appsutil/clone/data/stage/addbhomsrc.xml for the DATA_TOPs discovered and stored by the pre-cloning step

Target system DATA_TOP 1 [/oracle22/oradata] /oracle22/oradata


Target system DATA_TOP 2 [/oracle1/oradata] /oracle1/oradata

Target system DATA_TOP 24 [/oracle20/oradata] /oracle20/oradata
Do you want to preserve the Display set to ecdev:16.0 (y/n) [y] ? n
Target system Display [gnvdev:0.0] .ote.gr:16 gnvdev.ote.gr:16
Do you want to preserve the port values from the source system on the target system (y/n) [y] ? n
Started testing the availability of ports in port pool 20
Database Port available: Port Value = 1541

Tip: This relink should be performed when cloning a RAC db (such as the production) to a nonRAC db. If you get an error during
$ORACLE_HOME relinking such as:
ld: Can't find library or mismatched ABI for -lodm9 do the following:

cd RDBMS $ORACLE_HOME/lib (database)


ls -la libod*
mv libodm9.sl libodm9.sl.old
ln -s ./libodmd9.sl libodm9.sl
ls -la libod*
Finally, make sure that libodmd9.sl has the execute right.
-rwxr-xr-x 1 orasit dba 6144 May 14 2006 libodmd9.sl
chmod 755 libodmd9.sl
Tip: Always check the following XML files and set the parameter equal to the production db parameter �db_files�
(currently 1200) before starting the perl script.
If you get an error similar to:
ORA-01503: CREATE CONTROLFILE failed

www.runningoracle.com/product_info.php?products_id=320 1/2
7/25/2019 Clone from RAC E-Business Suite to Single instance, Oracle Apps DBA Kaparelis
ORA-01166: file number 568 is larger than MAXDATAFILES (500)
then:
cd /appsutil/clone/context/db
vi CTXORIG.xml
Find “s_dbfiles” parameter and change it from 500 to 1000
Do the same in the .xml

If you get Creation of Control File failed:


cd /appsutil/install/
sqlplus �/ as sysdba� @adupdlib.sql sl
cd /appsutil/clon/bin
perl adcfgclone.pl dbconfig
where target context file=/appsutil/.xml

Reviews

www.runningoracle.com/product_info.php?products_id=320 2/2

Potrebbero piacerti anche