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 $LD_LIBRARY_PATH:$ORACLE_HOME/lib

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

[[email protected] 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.

Start mgr process as following:

GGSCI (DB-BI) 2> START MGR

Manager started.

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

Manager is running (IP port DB-BI.7809).
时间: 2024-10-10 23:10:22

ogg installation的相关文章

GGS: Sybase to Oracle

Step 1: Start the GGSCI on Source and Target Source Target Oracle GoldenGate Command Interpreter for Sybase Version 12.1.2.0.0 17185003 OGGCORE_12.1.2.0.0_PLATFORMS_130924.1316 Linux, x86, 64bit (optimized), Sybase 16 Oracle GoldenGate Command Interp

oracle ogg 单机环境单向复制搭建

OGG安装 fbo_ggs_Linux_x64_shiphome.zip---------------------同时支持11g和12c 添加用户 useradd -u 1003 -g oinstall -G dba ogg 配置环境变量 export ORACLE_BASE=/u01/app/oracle; export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_SID=racdb1; export OGG_HOME

Oracle Fusion Middleware 12c GoldenGate Studio Installation

Oracle GoldenGate Studio是一个图形化界面管理工具.通过此工具可以更方便的完成OGG复制设计.安装此工具需要Java 8 (1.8) JDK软件,可以从oracle官方网站下载. 1.安装过程 以oracle用户身份运行如下命令: 首次弹出的界面会要求指定Inventory目录,此目录oracle用户必须拥有读写权限. 欢迎界面,下一步 此步选择跳过软件更新,下一步. 指定安装目录,下一步. 此处只有一个默认的完全安装选项,下一步. 安装概要信息. 安装过程,下一步. 安装

OGG目标端复制Sequence时Hang住的问题

昨天遇到一个问题一个OGG的复制进程在复制序列(Sequence)时Hang住不动,进程状态一直是Running状态但是不往前进行复制,导致进程延迟6个多小时 GGSCI (ctm-3) 2> info all Program     Status      Group       Lag at Chkpt  Time Since Chkpt MANAGER     RUNNING                                            REPLICAT    RU

【OGG】RAC环境下配置OGG单向同步 (四)

[OGG]RAC环境下配置OGG单向同步 (四) 一.1  BLOG文档结构图 一.2  前言部分 一.2.1  导读 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~: ① RAC环境下配置OGG单向同步 注意:本篇BLOG中代码部分需要特别关注的地方我都用黄色背景和红色字体来表示,比如下边的例子中,thread 1的最大归档日志号为33,thread 2的最大归档日志号为43是需要特别关注的地方. List of Archived Lo

【OGG】 RAC环境下管理OGG的高可用 (五)

[OGG] RAC环境下管理OGG的高可用 (五) 一.1  BLOG文档结构图 一.2  前言部分 一.2.1  导读 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~: ① RAC环境下管理OGG的高可用 注意:本篇BLOG中代码部分需要特别关注的地方我都用黄色背景和红色字体来表示,比如下边的例子中,thread 1的最大归档日志号为33,thread 2的最大归档日志号为43是需要特别关注的地方. List of Archived L

【OGG】OGG的下载和安装篇

[OGG]OGG的下载和安装篇 一.1  BLOG文档结构图 一.2  前言部分 一.2.1  导读 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~: ① OGG的下载和安装 本文如有错误或不完善的地方请大家多多指正,ITPUB留言或QQ皆可,您的批评指正是我写作的最大动力. 一.2.2  实验环境介绍 11.2.0.3  RHEL6.5 一.2.3  本文简介 有个同事喊我解决OGG不能同步的问题,汗颜啊,我也就之前学过安装和简单的配置

ogg 配置复习(dml>ddl>sequnce)

<strong><span style="color:#ff6666;">dml 配置过程与测试概要</span></strong> 在源端创建专用的表空间.schema.并授权. create tablespace goldengate datafile 'goldengate01.dbf' size 100m autoextend on; create user goldengate identified by goldengate

CENTOS6.5一步一步安装OGG实现DML DDL单向复制及服务器故障恢复

一.环境描述 操作系统版本: CentOS-6.5-x86_64 系统分区: sda:40G sda1:500M /boot EXT4 sda2: 39.5G /为LVM,包括:lv_swap 4G,lv_root 35.6G 源端[A]系统数据库 IP: 192.168.81.211 目标端[B]系统数据库 IP: 192.168.81.212 Vip:192.168.81.210(规划中,暂未使用) 数据库版本: oracle_112030_Linux-x86-64 Oracle Base: