oracle 11gR2 配置goldengate連線asm例項

paulyibinyi發表於2011-10-31
grid使用者 listener.ora檔案
  [nhdb13:grid]more listener.ora
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line added by Agent
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON                # line added by Agent

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (ORACLE_HOME = /software/grid/product/11.2.0)
      (SID_NAME = +ASM2)
    )
  )
[nhdb13:grid]                                      
 
 
oracle使用者tnsnames.ora
asm =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = db13)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = +ASM2)
    )
  )
 
 oracle使用者測試
tnsping  asm
 
 
goldengate extract 寫法:

TRANLOGOPTIONS ASMUSER   password

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-709983/,如需轉載,請註明出處,否則將追究法律責任。

相關文章