Data Guard Installation (Step 4)
PART 4
Step 8:
Convert the control file created from step 6 to the name and location
of control file parameter in the new standby init.ora.
C:\oracle\product\10.2.0\oradata\teststby\teststby.ctl
to
C:\oracle\product\10.2.0\oradata\teststby\control01.ctl
Step 9:
Configure the Listener.ora file. Since the example is on the same node I
have both the standby and primary in the listener.ora. If this was a production
environment you would create the listener for primary and standby separate.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = RLLAPTOP01)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = test)
(ORACLE_HOME = C:\oracle\product\10.2.0)
(SID_NAME = test)
)
(SID_DESC =
(GLOBAL_DBNAME = teststby)
(ORACLE_HOME = C:\oracle\product\10.2.0)
(SID_NAME = teststby)
)
(SID_DESC =
(GLOBAL_DBNAME = teststby_DGMGRL)
(ORACLE_HOME = C:\oracle\product\10.2.0)
(SID_NAME = teststby)
)
(SID_DESC =
(GLOBAL_DBNAME = test_DGMGRL)
(ORACLE_HOME = C:\oracle\product\10.2.0)
(SID_NAME = test)
)
)
Note: The DGMGRL entries are for the Data Guard Broker to be able
to start and stop the databases on switchovers.
