System Copy Oracle Windows
System Copy Oracle Windows
SYSTEM DETAILS
DETAILS
IP
HOST
SID
DBSID
SYSTEM NUMBER
ORACLE VERSION
SERVER DETAILS
DATABASE SIZE
SOURCE SYSTEM
TARGET SYSTEM
192.168.0.5
192.168.0.6
PDS05
PDS06
P05
P06
P05
P06
00
00
10 G
10 G
WINDOWS 2003 SP1 WINDOWS 2003 SP1
90 GB
84 GB
SYSTEM A = P05
Scenario
SYSTEM B = P06
Prerequisites
1. Source and Target Operating Systems are same.
2. Target System have enough space for source database.
3. Source and Target Databases are same.
4. Oracle 8.1.7 or higher database.
PROCEDURE
At source system
Step 1.
Generate a script to create CONTROL FILE via SQLPLUS.
>
D:/oracle/P06/sapdata1/*
/oracle/P05/sapdata2/*
>
D:/oracle/P06/sapdata2/*
/oracle/P05/sapdata3/*
>
D:/oracle/P06/sapdata3/*
/oracle/P05/sapdata4/*
>
D:/oracle/P06/sapdata4/*
/oracle/P05/sapdata5/*
>
D:/oracle/P06/sapdata5/*
/oracle/P05/sapdata6/*
>
D:/oracle/P06/sapdata6/*
/oracle/P05/mirrorA
D: /oracle/P06/mirror
Step 3
Copy the control file (control.sql) to the location D:\ of the Target
system
AT Target system
Step 1
Step 2
Check the initP06.ora file
os_authent_prefix=ops$
Step 3
Login to oracle
Sqlplus /nolog
Step 4
Execute the new control file
Step 5
sql>recover database using backup control file until cancel
and then choose CANCEL...
Step 6
Step 7
Shutdown the database and restart using profile file
Step 10
Verify the environment variables
VARIBLE NAME
dbs_ora_schema
VALUE
SAPSR3-ABAP Schema
Lock users
Lock printers
Configure STMS