Академический Документы
Профессиональный Документы
Культура Документы
Summary :-
Step 4: Copy all the parameter files (initsid.ora, configsid.ora ), Control files,
Ctrlprod.sql ( created as above) and all data files to clone server . It is good to
follow the OFA. If you are cloning a database on the same machine then create a
different directory structure ( as OFA) for cloning instance and copied all the
required files of primary instance here.
Step 4a : On Unix ( Let us say your cloning instance name is clone)
If you had followed OFA , your initsid.ora parameters files would be in
$ORACLE_BASE/admin/clone/pfile/initclone.ora
and configsid.ora would be in
$ORACLE_BASE/admin/clone/pfile/configclone.ora.
STEP 6 :-
ON NT :- You have to create a windows NT services as follows.
C:\>oradim -new -sid clone -srvc oracleserviceClone -intpwd oracle -startmode auto
-pfile f:\clone\initclone.ora
ON Unix :-
(A) (A) Change the working directory to /etc and edit the oratab file to put
the entry for CLOBE instance.
(B) Setup login profile for the Oracle user having dba group.
ORACLE_SID=CLONE
Export ORACLE_SID
Or .oraenv
STEP 7 :- Create controlfile as follows :-
Check in the initclone.ora REMOTE_LOGIN_PASSWORDFILE is set to
exclusive or shared. If this is set, then a valid passwordfile
should exist in ORACLE_HOME/dbs or created using orapwd as
orapwd file=/u01/oracle/V816/dbs/orapwV722 password=oracle entries=1
You cannot move datafiles from one operating system and use them on a
different operating system. Therefore, it is not possible to clone a
database running on SUN on an HP machine. You would have to use
export/import.