Make sure the file ./etc/oraInst.loc., ./var/opt/oracle/oraInst.loc. & $ORACLE_HOME/oraInst.loc. has the following entries. If not modify the file and save.
inventory_loc=/oracle/product/oraInventory
inst_group=dba
2. Clone the code tree
+ cd $ORACLE_HOME/oui/bin
+ ./runInstaller -silent -clone -invPtrLoc $ORACLE_HOME/oraInst.loc -ignorePreReq ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=Ora10204_TEST ORACLE_HOST_NAME=test-01
!!! Please wait until the command is successful. Do not interrupt. !!!
Please check for .cloning is successful. message and will display message to run
.root.sh.. Sometime it may wait for you see this message. Press .enter. to get
the .command prompt..
Run the following ,
+ cp /oracle/product/10.2.0.4/
+sudo /oracle/product/10.2.0.4/
Accept the default options for the prompts and location of the files.
3. Detach the code tree from oracle central inventory
+ cd $ORACLE_HOME/oui/bin
+./runInstaller -silent -detachHome -local -noClusterEnabled -invPtrLoc $ORACLE_HOME/oraInst.loc -ignorePreReq ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=Ora10204_TEST
4. Attach the code tree to oracle central inventory . This will add correct host to the inventory
+ cd $ORACLE_HOME/oui/bin
+./runInstaller -silent -attachHome -local -noClusterEnabled -invPtrLoc $ORACLE_HOME/oraInst.loc -ignorePreReq ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=Ora10204_TEST CLUSTER_NODES=test-01
5. Relink the code tree
find . -type l -exec ls -l {} \; | grep -i [oldsid]
execute the above command to check any softlinks are pointing to the old env. If yes then edit the output of the above command and run them.
Then,
oraenv ( enter SID at the prompt ). Check the above variables are set.
Make sure correct values are set for ORACLE_HOME, PATH & LD_LIBRARY_PATH
Make sure .SHLIB_PATH. variable is NOT set.
+ cd $ORACLE_HOME/bin
+ relink all
1 comment:
Hi
You really did a great job. I found your blog is very interesting and very informative. I think your blog is great information source & I like your way of writing and explaining the topics.
Regards
oracle fussion middleware
Post a Comment