Cloning is not cross platformClone usually is done in 2 phases - prepare_clone.pl in source and clone.pl in targetClone does take care of inventory and relink so further patches can be applied on the new cloned homeFor Oracle database and CRS, prepare_clone.pl is not requiredORACLE_HOME and ORACLE_HOME_NAME should be specified when clone.pl is run, in 11g, ORACLE_BASE should be specified alsoIf Oracle inventory is not in default location, before running clone.pl, edit cs.properties and add
-ignoreSysPrereqs -invPtrLoc <oraInst_path>/oraInst.loc
Make sure to run root.sh after clone.pl is completed
You may need to create oraInst.loc file manually on target if the file does not exists, to do so, just create a file in default location
with inventory_loc=<oraInventory_path>
The alternative of running clone.pl is to use runInstaller for cloning, the format would be like this :
./runInstaller -clone -silent -ignorePreReq ORACLE_HOME="" ORACLE_HOME_NAME="" ORACLE_BASE=""
(in Windows it would be setup.exe)
If the server has more than one perl installed, it is recommended to set PERL5LIB
If clone is done on target server which has inventory and the cloned ORACLE_HOME has already been used at somepoint,
first ORACLE_HOME needs to be de-attached using this command : ./runInstaller -detachHome ORACLE_HOME=
This is why it is recommended to clone in brand new directory to avoid any issue.
Clone log in target is created in $ORACLE_HOME/clone/logs
0 comments:
Post a Comment