Escolar Documentos
Profissional Documentos
Cultura Documentos
Nizamuddin.M.K
Step1 :
Step 2 :
STORA7DB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = bpsun1)
(Port = 1521)
)
)
(CONNECT_DATA = (SID = STORA7DB)
)
)
Step 3 :
Step 4 :
Step 5 :
Step 6 :
# log_archive_dest = /orcl/oradata/PROD2/archivelogs
log_archive_dest_1 = 'LOCATION=/d200/oracle/d801/oracle/STORA7DB/archive MANDATORY' # for
switchover
log_archive_dest_state_1 = ENABLE # for switchover
Step 7 :
instance_name = ORA7DB
lock_name_space = ORA7DB # use when primary and standby on same system; same as instance_name
fal_server = STORA7DB # for switchover
fal_client = ORA7DB # for switchover
db_file_name_convert = ('/STORA7DB/','/ORA7DB/') # for switchover
log_file_name_convert = ('/STORA7DB/','/ORA7DB/') # for switchover
(If primary uses spfile, wait until after the standby database
files are copied/created to make these parameter changes.)
Step 8 :
Create the standby control file from the primary database:
===============================================================
Step 9 :
Step 10 :
reload listener
-----------------
lsnrctl reload
Step 11:
Start stanbydatabase
================================
startup nomount ;
alter database mount standby database;
alter database recover managed standby database disconnect from session;
Step 12 :
alter system switch logfile; ## run in production check archive log is copied in standby site
Step 13:
Step 14 :
Step 15 (optional):
Switch to the desired "maximum availability" protection mode on the primary database (from the
default "maximum performance"):
============================================================================
===================================================
select value from v$parameter where name = 'log_archive_dest_2'; -- must show LGWR SYNC
shutdown normal
startup mount
alter database set standby database to maximize availability;
alter database open;
select protection_mode from v$database;