Setting up standby :
1. Copy the backup file on to the standby server.
2. Copy the created control file to standby server.
3. Change the control_files and archive parameters in the parameter file
Code:
SERVICE_NAMES = standby1
CONTROL_FILES=standbyctrl.ctl
STANDBY_ARCHIVE_DEST=C:\Oracle\Oradata\TSH1\Archive
4. Add the following statements in listener.ora file
Code:
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myHost)(PORT = 1512))
)
STANDBY_LISTENER = (ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(PORT=1512)(HOST=myHost))
)
5. Refresh the listener file using lsnrctl reload command
6. Add the following parameter in tnsname.ora file
Code:
standby1=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = MY_SERVER)(PORT = 1512))
)
(CONNECT_DATA =
(SERVICE_NAME = standby1.world)
)
)
And add a standby log group in database :
Code:
ALTER DATABASE ADD STANDBY LOGFILE GROUP 10
('C:\Oracle\Oradata\TSH1\rdostdb01.log','C:\Oracle\Oradata\TSH1\rdostdb02.log') SIZE 400K;
Bookmarks