You are on page 1of 6

Step 1,

1. Create a new directory as dup and sub directory as oradata, bdump, cdump,
adump, udump.
2. Create oradim service in windows as
C:/>oradim –new –sid dup –INTPWD –startmode A
3. Copy the Parameter file from Target Database such as initorcl.ora to the new
location as dup and rename it as initdup.ora

Target Parameter file initorcl.ora

orcl.__db_cache_size=96468992
orcl.__java_pool_size=4194304
orcl.__large_pool_size=4194304
orcl.__shared_pool_size=62914560
orcl.__streams_pool_size=0
*.audit_file_dest='D:\oracle\product\10.2.0/admin/orcl/adump'
*.background_dump_dest='D:\oracle\product\10.2.0/admin/orcl/bdump'
*.compatible='10.2.0.1.0'
*.control_files='D:\oracle\product\10.2.0/oradata/orcl/\control01.ctl','D:\oracle\product\10
.2.0/oradata/orcl/\control02.ctl','D:\oracle\product\10.2.0/oradata/orcl/\control03.ctl'
*.core_dump_dest='D:\oracle\product\10.2.0/admin/orcl/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl'
*.db_recovery_file_dest='D:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=55574528
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=168820736
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='D:\oracle\product\10.2.0/admin/orcl/udump'
Duplicate Parameter file initdup.ora (Used for RMAN CLONING)

Changes to be done in parameter file are,

orcl.__db_cache_size=96468992
orcl.__java_pool_size=4194304
orcl.__large_pool_size=4194304
orcl.__shared_pool_size=62914560
orcl.__streams_pool_size=0
*.audit_file_dest='C:\dup/adump'
*.background_dump_dest='C:\dup/bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\dup/oradata\control01.ctl','C:\dup/oradata\control02.ctl','C:\dup
/oradata\control03.ctl'
*.core_dump_dest='C:\dup/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='dup'
*.DB_FILE_NAME_CONVERT=('D:\oracle\product\10.2.0\oradata\orcl\','C:\dup\
oradata\')
*.LOG_FILE_NAME_CONVERT=('D:\oracle\product\10.2.0\oradata\orcl\','C:\du
p\oradata\')
*.db_recovery_file_dest='D:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclDUP)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=55574528
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=168820736
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\dup/udump'

4. Create listener and tnsnames for the Duplicate database (DUP), and check
tnsnames is getting connected check using the parameter
C:\>tnsping dup
5. Change DBID and GLOBAL_NAME for the RMAN DUP

6. Then set the oracle sid and start the database in nomount stage as mentioned below
7. Once the database dup is started, open one more prompt and connect to
RMAN as below using AUXILIARY

You might also like