ogg installation
2016-01-11 12:45
495 查看
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.
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).
相关文章推荐
- 基于 Red Hat 的发行版 Oracle Linux 正式发布Oracle Linux 7.1
- Oracle Containers for J2EE远程安全漏洞(CVE-2014-0413)
- Oracle 10g R2不能使用EM的问题
- 表空间操作
- PreparedStatement中in子句的处理
- VMware下RedHat4.8_64位安装Oracle 10g RAC--简略脚本
- oracle sql日期比较
- 基于 Red Hat 的发行版 Oracle Linux 正式发布Oracle Linux 7.1
- OS block size和Oracle block size,查找OS Blocksize的方法
- oracle中创建数据库和表空间的几点总结
- 数据库自动备份脚本
- oracle的nvl函数的使用介绍
- 解决oracle用户连接失败的解决方法
- oracle的一些tips技巧
- Oracle 下的开发日积月累
- Oracle存储过程之数据库中获取数据实例
- Windows下ORACLE 10g完全卸载的方法分析
- Oracle 函数大全[字符串函数,数学函数,日期函数]第1/4页
- ORACLE LATERAL-SQL-INJECTION 个人见解