ogg installation

Oracle golden gate is installed by oracle.
Gernerally, the location is /u01/app/ogg
Unzip the archive tag fo ogg and locate taht to /u01/app/ogg
It should set the environment value of LD_LIBRARY_PATH as LDLIBRARYPATH: ORACLE_HOME/lib

Then change the directory to ogg home, and execute ggsci to configure ogg contents.

[oracle@HWZX-DB-BI ogg]$ ./ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.26 19362036 OGGCORE_11.2.1.0.0OGGBP_PLATFORMS_140909.0853_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Sep 9 2014 13:51:14

Copyright (C) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
GGSCI (HWZX-DB-BI) 1> create subdirs

Creating subdirectories under current directory /u01/app/ogg

Parameter files /u01/app/ogg/dirprm: already exists
Report files /u01/app/ogg/dirrpt: created
Checkpoint files /u01/app/ogg/dirchk: created
Process status files /u01/app/ogg/dirpcs: created
SQL script files /u01/app/ogg/dirsql: created
Database definitions files /u01/app/ogg/dirdef: created
Extract data files /u01/app/ogg/dirdat: created
Temporary files /u01/app/ogg/dirtmp: created
Stdout files /u01/app/ogg/dirout: created

Edit parameter file for manager process which is named mgr

PORT 7809
DYNAMICPORTLIST 7810-1820, 7830
AUTOSTART ER t*
AUTORESTART ER t*, RETRIES 4, WAITMINUTES 4
STARTUPVALIDATIONDELAY 5
PURGEOLDEXTRACTS /u01/app/ogg/dirdat/tt*, USECHECKPOINTS, MINKEEPHOURS 2

Describe the mgr parameters
Port
You can specify 5000 ports in any comunitcation of following formations:
7830 7833 7835
7830-7835
7830-7835, 7839

And the port must be unreserved and unrestricted, each manager instance on a system must have a different port.
DYNAMICPORTLIST is not a requried parameter, but it is strongly recommended for best performance. The collector process is responsible for finding and binding to a avaiable port, and having a known list of qualified speed this process.

In absence fo DYNANAMICPORTLIST, collector tries to use port 7840 to remote request, if the port 7840 is not available, collector increment by one until it finds an available port. This can delay the acceptance of the rrmote request.

If collector runs out of DYNAMICPORTLIST, the following occurs:
Manager process report an error in process report and in ORACLE GOLDENGATE ggserr log.
Collector retires based on the rules in the ORACLE GOLDENGATE tcperr file.

The rest of parameters :
●AUTOSTART: Starts Extract and Replicat processes when Manager starts. This
parameter is required in a cluster configuration, and is useful when Oracle GoldenGate
activities must begin immediately at system startup. (Requires Manager to be part of
the startup routine.) You can use multiple AUTOSTART statements in the same
parameter file.
● AUTORESTART: Starts Extract and Replicat processes again after abnormal termination.
This parameter is required in a cluster configuration, but is also useful in any
configuration to ensure continued processing.
● PURGEOLDEXTRACTS: Purges trail files when Oracle GoldenGate is finished processing
them. Without PURGEOLDEXTRACTS, no purging is performed and trail files can consume
significant disk space. For best results, use PURGEOLDEXTRACTS as a Manager parameter,
not as an Extract or Replicat parameter.
● STARTUPVALIDATIONDELAY | STARTUPVALIDATIONDELAYCSECS: Sets a delay time after which
Manager validates the run status of a process. Startup validation makes Oracle
GoldenGate users aware of processes that fail before they can generate an error
message or process report.


GGSCI (HWZX-DB-BI) 2> START MGR

Manager started.


GGSCI (HWZX-DB-BI) 3> INFO mgr

Manager is running (IP port HWZX-DB-BI.7809).
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值