Application Cloning
Post clone steps
1. Clean FND_NODES
SQL> select node_name, node_mode, support_cp, support_web, support_admin,support_forms from FND_NODES;
NODE_NAME N S S S S
------------------------------ - - - - -
SGERP01 O Y Y Y Y
AUTHENTICATION O N N N N
SQL> EXEC FND_CONC_CLONE.SETUP_CLEAN;
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
2. Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers
Fix :
EBS R12.2 - Application Cloning
Issue 1:
############################################################
Started ApplyAppsTier at Sun Oct 26 13:38:45 SGT 2014
Version:
ApplyAppsTier.java : 120.11.12020000.6
#############################################################
Found the directory : /r122va/VIS3/fs1/FMW_Home
Exiting cloning as FMW Home already exists..
~
Fix: Move this folder to some other name
Issue 2:
#########################################################
Started ApplyAppsTier at Sun Oct 26 13:40:13 SGT 2014
Version:
ApplyAppsTier.java : 120.11.12020000.6
#############################################################
Below Oracle Homes are already registered in the global inventory:
/r122va/VIS3/fs1/FMW_Home/Oracle_EBS-app1
/r122va/VIS3/fs1/FMW_Home/webtier
/r122va/VIS3/fs1/FMW_Home/oracle_common
/r122va/VIS3/fs1/FMW_Home/Oracle_OAMWebGate1
Exiting Cloning...
Ensure that the above Oracle Homes are unregistered from the global inventory "/r122vd/VIS3/oraInventory//ContentsXML/inventory.xml" and re-run adcfgclone.pl script
~
~
Fix :
move inventory.xml file so new file will be created
mv /r122vd/VIS3/oraInventory//ContentsXML/inventory.xml /r122vd/VIS3/oraInventory//ContentsXML/inventory.xml.jm1
Error 3:
END: Executed adupdlobs.pl
ERROR: AutoConfig completed with errors. Check logfile at /r122va/VIS3/fs1/inst/apps/VIS3_sar122vis1/admin/log/clone/ApplyAppsTier_10261341.log for details.
FMW JDK version in use: 1.7.0_25
/r122va/VIS3/fs1/FMW_Home/Oracle_EBS-app1/jdk is not a symbolic link, creating it...
Running ln -s /r122va/VIS3/fs1/EBSapps/comn/util/jdk64 /r122va/VIS3/fs1/FMW_Home/Oracle_EBS-app1/jdk
-- further 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
adgentns.pl exiting with status 2
ERRORCODE = 2 ERRORCODE_END
fix: run fnd_node clean and run autoconfig on application and databsae node
applmgr@sar122vis1 bin]$ . /r122va/VIS3/EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : /r122va/VIS3/fs1/EBSapps/appl
PATCH File System : /r122va/VIS3/fs2/EBSapps/appl
Non-Editioned File System : /r122va/VIS3/fs_ne
DB Host: sar122vis1.stone-apple.com Service/SID: VIS3
Sourcing the RUN File System ...
[applmgr@sar122vis1 bin]$ cd $ADMIN_SCRIPTS_HOME
[applmgr@sar122vis1 scripts]$ ./adautocfg.sh
Enter the APPS user password: