Sie sind auf Seite 1von 3

Application recovery using cloning .

1) This cloning method of recovery will be applicable only when the Oracle components are in intact. 2) Initially prepare the cloning of Oracle binaries where the recovery is needed. For this e ecute the following statement. !) "nder ORACLE_HOME/clone/bin there is a file named prepare_clone.pl #efore e ecuting the prepare cloning command set the ORACLE_HOME path in environment variable$ chec% whether perl is installed on the system$ shutdown all the opmn process running for that instance. &ommand to e ecute the prepare cloning is $perl prepare_clone.pl ORACLE_HOME=<path of oracle home>

') Once the above command is e ecuted . Ta%e the bac% up of O(A&)* binaries which are present in +O(A&)*,-O.*/

The above steps should be followed in the server where the recovery is needed.

0) After that format the O1 with the same version . And restore the bac%up by %eeping the O(A&)*,-O.* path similar. 2) #efore running the cloning script set the O(A&)*,-O.* in path in environment variable. 3) &ommand to run the cloning is as follows $perl clone.pl ORACLE_HOME=<path of oracle home> ORACLE_HOME_NAME=<name of oracle home> in!tance <name of the oracle in!tance "hich nee#! to be reco$ere#> 4) To chec% the above command synta e ecute %erl clone.pl &help which will list out the usage .

TCS Confidential

#y e ecuting the above cloning command it will copy the re5uired configuration files and will lin% the files to O1.

6) #y e ecuting the above command oracle will assign the ports to oracle components randomly $ If we want cloning to assign specific ports follow the below steps after !tep ' 17) Open the file named c!.propertie! which is under the path <ORACLE_HOME>/clone/ia!/confi(/ In that file there is an entry clone_comman#_line= !ilent 11) (eplace that entry with clone_comman#_line= !ilent oracle.a!.)*ee.top+!,l_%ortLi!t-elect=./0E-1/home/oracle/!taticport! .ini2. In the above command /home/oracle is where the staticports.ini file is present. 12) 1!) After ma%ing the above changes in cs.properties file save it. And after e ecute the !tep 3.

1') Once the cloning command is e ecuted run roo.!h file which is present in <ORACLE_HOME>/ with root user. #y this it will lin% the oracle with O1. 10) 1et the O(A&)*,-O.* path and try to start the opmn process by

Opmnctl !tart Opmnctl !tartall 12) If found that webcache component is not coming up and in event logs of webcache throwing an entries such as Ma4im5m no of connection! e4cee#e# for !oc6et/#e!criptor then follow the below setps 13) 1top opmn process by opmnctl !topall

14) 8o to the path <ORACLE_HOME>/"ebcache/bin/ folder in that there is a file named "ebcache_!et5!er.!h 16) * ecute the command ./ "ebcache_!et5!er.!h !etroot <5!eri#> where userid is the user who installed the oracle 27) If the above command throws an error ba# interpreter then there is a problem while restoring the bac%up from windows to "ni system at !tep 7.

TCS Confidential

21) For this e ecute #o!*5ni4 "ebcache_!et5!er.!h which will convert the dos format to uni format. 22) 2!) Once the above step is done retry !tep 89. After the above step start the opmn process by

Opmnctl !tart Opmnctl !tartall

TCS Confidential

Das könnte Ihnen auch gefallen