Você está na página 1de 2

Oracle GoldenGate on ASM

Steps to configure Oracle GoldenGate Extract process to read Online Redo Logs or Archived Logs stored in ASM 1) Specifying the ASM User Specify the following in extract parameter file: TranLogOptions ASMUser "sys@asm", asmpassword passwd The ASM user can be any user that has the SYSDBA privilege in the ASM instance (or the SYSASM privilege in 11g onwards). 2) Updating the Listener (SID_DESC = (SID_NAME = +ASM1) (ORACLE_HOME = /u01/app//11.2.0.3/grid) This clause ensures that your listener is listening for connections on the ASM instance. Make sure to reload your listener for the changes to take effect. 3) Updating the TNSNAMES.ORA Finally, you need an alias in your tnsnames.ora file for the ASM connection:
ASM = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server.domain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = +ASM1) (INSTANCE_NAME = +ASM1) ) )

The entry should match the alias you specified earlier in your GoldenGate ASMUser parameter. The example uses an ASMUser of sys@asm to connect in the GoldenGate parameter file, which matches your TNS entry.

Oracle GoldenGate 11g

Oracle GoldenGate 11.1 New Feature


Configure the GoldenGate Extract parameter for the new Oracle ASM log read API. GoldenGate release 11.1.1 introduces a new method of reading log files stored in Oracle ASM. This new method uses the database server to access the redo and archived redo log files, instead of connecting directly to the Oracle ASM instance. The database must contain the libraries with the API modules. The libraries are currently included with Oracle Database release 10.2.0.5 and 11.2.0.2. Contact Oracle Support to request a backport for Bug 9397368 to obtain the libraries for releases (after release 10.2.0.5). To successfully mine the Oracle archived redo log files located on the storage cells that are managed by Oracle ASM, configure the GoldenGate Extract parameter as follows: 1. Set the TRANLOGOPTIONS parameter to specify use of the new log read API. For example:

TRANLOGOPTIONS DBLOGREADER

Oracle GoldenGate 11g

Você também pode gostar