Instance number '2' is used by host 'hostname' perl adclonectx.pl \
Error while running perl adclonectx.pl \ on second node during cloning RAC db tier for oracle apps
perl adclonectx.pl \
contextfile=/erp_base/app/oracle/product/12.1.0.2/appsutil/ERPDBA1_ERPDEV1.xml \
template=/erp_base/app/oracle/product/12.1.0.2/appsutil/template/adxdbctx.tmp \
pairsfile=/erp_base/app/oracle/product/12.1.0.2/appsutil/clone/pairsfile.txt \
addnode
Error message while entering the Instance number
Eg: Enter Instance number : 2
Instance number '2' is used by host 'hostname'
Action:
Run FND_NODES Cleanup process manually
On Primary node of the Target
1. Run the following
SQL> exec FND_CONC_CLONE.SETUP_CLEAN
2.Run AutoConfig
$ cd $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
$ ./adautocfg.sh
On Secondary node
3. Retry adclonectx.pl on secondary node of the target.