home

Clone 11.5.9

Cloning Notes
Autoconfig
NOTE:387859.1 - Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12
 
 

not able to run sqlplus while trying to clone

ERROR:
ORA-01031: insufficient privileges

relink ioracle

% cd $ORACLE_HOME/rdbms/lib
% mv config.o config.bck
% make -f ins_rdbms.mk ioracle

 

To detach an oracle home from the oraInventory:


./runInstaller -detachHome ORACLE_HOME=/u01/tst/tstdb/10.2

 

 

 

Port Pool
FAQ: Cloning Oracle Applications Release 11i [ID 216664.1]
There are 100 port pools
If you select 3, the default database port number (1521) becomes 1524.

 

Prepare the source system for Cloning

1. source system database tier

$ cd [RDBMS ORACLE_HOME]/appsutil/scripts/[CONTEXT_NAME]
$ perl adpreclone.pl dbTier

2. source system application tier

$ cd [INST_TOP]/admin/scripts
$ perl adpreclone.pl appsTier

Log file located at /u02/oracle/PROD/inst/apps/PROD_earth/admin/log/StageAppsTier_08151425.log

Log: $INST_TOP/admin/log

or log home where all the logs are kept:

cd $LOG_HOME

Copy the following source system files to the target system

ensure that the symbolic links (soft links) are preserved with the cp -RH command or use tar

For example: cd /target_dest/db cp -RH /source_dest/db/*

verify the permissions of the executables under ORACLE_HOME/bin that can potentially be owned by root (i.e. nmo, nmhs, nmb, etc).

application tier file system

  • APPL_TOP]
  • [COMMON_TOP]
  • Applications Technology Stack:
    • [OracleAS Tools ORACLE_HOME]
    • [OracleAS Web IAS_ORACLE_HOME]

database node file system

  • Shutdown of the source system database using normal or immediate
  • Copy the database (.dbf) files from the source system to the target system
  • Copy the source database ORACLE_HOME to the target system
  • Restart the source Applications system database and application tier processes


Configure the target system

target system database server

$ cd [RDBMS ORACLE_HOME]/appsutil/clone/bin
$ perl adcfgclone.pl dbTier

target system application tier server nodes

$ cd [COMMON_TOP]/clone/bin
$ perl adcfgclone.pl appsTier

Log file located at /u02/oracle/DEVL/apps/apps_st/comn/clone/bin/CloneContext_0815141350.log

 

 

 
 

 

Clone Logs
logs for the adpreclone.pl
On the database tier:
RDBMS $ORACLE_HOME/appsutil/log/<context>/StageDBTier_<timestamp>.log

On the application tier:
$INST_TOP/admin/log/StageAppsTier_<timestamp>.log
logs for the admkappsutil.pl
On the application tier:
$INST_TOP/admin/log/MakeAppsUtil_<timestamp>.log
logs for the adcfgclone.pl
On the database tier:
RDBMS $ORACLE_HOME/appsutil/log/<context>/ApplyDBTier_<timestamp>.log

On the application tier:
$INST_TOP/admin/log/ApplyAppsTier_<timestamp>.log
logs for the adconfig
On the database tier:
RDBMS $ORACLE_HOME/appsutil/log/<context>/<timestamp>/adconfig.log
RDBMS $ORACLE_HOME/appsutil/log/<context>/<timestamp>/NetServiceHandler.log

On the application tier:
$INST_TOP/admin/log/<timestamp>/adconfig.log
$INST_TOP/admin/log/<timestamp>/NetServiceHandler.log

 

Errors

Updating s_tnsmode to 'generateTNS'
UpdateContext exited with status: 0
AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
Instantiating Tools tnsnames.ora
Tools tnsnames.ora instantiated
Web tnsnames.ora instantiated

adgentns.pl exiting with status 2
ERRORCODE = 2 ERRORCODE_END

to fix it, clean the concurrent nodes

 

sqlplus apps/<Password>
exec fnd_conc_clone.setup_clean