Professional Documents
Culture Documents
HOSTNAME : ps2.xpertdba.com
IP : 172.25.254.172
Database Name: hp
1.Check your database is in Archive log Mode or not .Most of the time you find it enabled in production
database. Also check FRA is set for your database. If it is not enabled then enable it and set FRA.
2.Connect to RMAN and Take Full Database backup including archive log.
we need to create directory in oradata for keeping all physical files for clone database. And directory to
keep pfile for clone database in admin directory. and for audit also
5.Now Create Pfile for clone database. We will create it from the copy of hp database. And make
changes in that file.
• db_name
• control_files
• audit_file
• audi_trail
Add below two parameter to convert a path for datafile and logfile for clone database
• db_file_name_convert
• lof_file_name_convert
for your reference i am adding both databases pfile. Compare both the pfile’s for better
understanding.
Now configure the tnsnames.ora file on the same machine as we are cloning on the same machine.
9. Now create password file for hp database and make copy for hpclone database.
10. now we connect to target (hp) database and from there we will connect to auxiliary database
(hpclone). Please Verify it when you connect to database. please focus on the red mark. Auxiliary
database status should display the status not mounted.
12. Verify it by connecting to clone database that your clone database is up running.
Mohammad Ahmed
www.xpertdba.com
ahmed_mad200@yahoo.com