New Features of Oracle 11gR2 relink
New Features of Oracle 11gR2 relink
Source:
Oracle 11gR2 Relink New Feature (Document ID 883299.1)
Applicable:
Oracle Database-Enterprise Edition-Version 11.2.0.0 to 11.2.0.0 [Release 11.2]
Generic UNIX
Solution:
I) Oracle 11gR2 has two methods to relink binary in $ ORACLE_HOME
1) traditional method: relink all
Run the $ ORACLE_HOME/bin/relink script in this method. The script only accepts the all parameter. Other parameters are not accepted.
% $ ORACLE_HOME/bin/relink all
% $ ORACLE_HOME/bin/relink (By default it takes the 'all' parameter) uses the all parameter By default.
Note: relink all provides backward compatibility ('relink all' is provided for backward compatibility)
2) use runInstaller for relink
This method uses the following command:
-Relink: For faster Ming relink actions on the oracle home
Usage:-relink-maketargetsxml <location of maketargetsxml> [-makedepsxml <location of makedepsxml>] [name = value]
Example:
Example:
$ ORACLE_HOME/oui/bin/runInstaller-relink-waitForCompletion-maketargetsxml $ ORACLE_HOME/inventory/make/makeorder. xml-logLocation $ ORACLE_HOME/install ORACLE_HOME = $ ORACLE_HOME> $ ORACLE_HOME/install/relink. log 2> & 1
II) relink log location
Case 1
If the relink operation is performed through OUI, the "$ ORACLE_HOME/install/relink. log" file is not generated by default.
To send the relink output to $ ORACLE_HOME/install/relink. log, We need to explicitly redirect the output
$ ORACLE_HOME/oui/bin/runInstaller-relink-waitForCompletion-maketargetsxml $ ORACLE_HOME/inventory/make/makeorder. xml-logDir $ ORACLE_HOME/install ORACLE_HOME = $ ORACLE_HOME> $ ORACLE_HOME/install/relink. log 2> & 1
Case 2
Using the relink all command, Oracle creates a log file named relink. log and does not create the log file by append.
Previous logs will be saved as timestamps (Ex: relinkActions2009-09-14_09-01-10-PM.log)