GoldenGate Installation

Stella981
• 阅读 445

GoldenGate Installation

Installing Oracle GoldenGate V11.2.x for Oracle 10gR2 on Linux x86-64

Note: The below procedure is same for “Installing Oracle GoldenGate V11.2.x for Oracle 11gR2 on Linux x86-64”

Contents:
_________________________________________________________________________________________________________________

1. Download software
2. Unzip the software
3. Set Environmental Variables
4. Verify Oracle GoldenGate libraries are linked with the Oracle Libraries
5. Perform database prerequisites
6. Create the required working directories for GoldenGate
_________________________________________________________________________________________________________________

1. Download software

http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html or https://edelivery.oracle.com >> Select a Product Pack: Oracle Fusion Middleware

2. Unzip the software

cd /u01/app/oracle/product/gg10 unzip V32400-01.zip Archive: V32400-01.zip inflating: fbo_ggs_Linux_x64_ora10g_64bit.tar inflating: OGG_WinUnix_Rel_Notes_11.2.1.0.1.pdf inflating: Oracle GoldenGate 11.2.1.0.1 README.txt inflating: Oracle GoldenGate 11.2.1.0.1 README.doc tar -xvf fbo_ggs_Linux_x64_ora10g_64bit.tar

3. Set Environmental Variables

[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 [oracle@rac1 ~]$ export PATH=$PATH:/u01/app/oracle/product/gg10 [oracle@rac1 ~]$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/u01/app/oracle/product/gg10 [oracle@rac1 ~]$ env | grep ORACLE ORACLE_SID=rcm ORACLE_BASE=/u01/app/oracle ORACLE_TERM=xterm ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 [oracle@rac1 ~]$ env | grep LD_LIBR LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/lib:/u01/app/oracle/product/gg10

4. Verify the Oracle GoldenGate libraries are linked with the Oracle Libraries

[oracle@rac1 ~]$ cd /u01/app/oracle/product/gg10 [oracle@rac1 gg10]$ ldd mgr linux-vdso.so.1 => (0x00007fff6a098000) libdl.so.2 => /lib64/libdl.so.2 (0x00000039b1400000) libgglog.so => /u01/app/oracle/product/gg10/libgglog.so (0x00007f869c8af000) libggrepo.so => /u01/app/oracle/product/gg10/libggrepo.so (0x00007f869c75b000) libdb-5.2.so => /u01/app/oracle/product/gg10/libdb-5.2.so (0x00007f869c4ba000) libicui18n.so.38 => /u01/app/oracle/product/gg10/libicui18n.so.38 (0x00007f869c159000) libicuuc.so.38 => /u01/app/oracle/product/gg10/libicuuc.so.38 (0x00007f869be20000) libicudata.so.38 => /u01/app/oracle/product/gg10/libicudata.so.38 (0x00007f869ae44000) libxerces-c.so.28 => /u01/app/oracle/product/gg10/libxerces-c.so.28 (0x00007f869a92c000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00000039b1800000) libantlr3c.so => /u01/app/oracle/product/gg10/libantlr3c.so (0x00007f869a816000) libnnz10.so => /u01/app/oracle/product/10.2.0/db_1/lib/libnnz10.so (0x00007f869a374000) libclntsh.so.10.1 => /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1 (0x00007f8698e3a000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000039c3200000) libm.so.6 => /lib64/libm.so.6 (0x00000039b1000000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000039bee00000) libc.so.6 => /lib64/libc.so.6 (0x00000039b0c00000) /lib64/ld-linux-x86-64.so.2 (0x00000039b0800000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00000039b5800000) [oracle@rac1 gg10]$ ldd extract linux-vdso.so.1 => (0x00007fff955ff000) libdl.so.2 => /lib64/libdl.so.2 (0x00000039b1400000) libicui18n.so.38 => /u01/app/oracle/product/gg10/libicui18n.so.38 (0x00007fcd10e6c000) libicuuc.so.38 => /u01/app/oracle/product/gg10/libicuuc.so.38 (0x00007fcd10b33000) libicudata.so.38 => /u01/app/oracle/product/gg10/libicudata.so.38 (0x00007fcd0fb57000) libxerces-c.so.28 => /u01/app/oracle/product/gg10/libxerces-c.so.28 (0x00007fcd0f63f000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00000039b1800000) libantlr3c.so => /u01/app/oracle/product/gg10/libantlr3c.so (0x00007fcd0f529000) libgglog.so => /u01/app/oracle/product/gg10/libgglog.so (0x00007fcd0f2f0000) libggrepo.so => /u01/app/oracle/product/gg10/libggrepo.so (0x00007fcd0f19c000) libdb-5.2.so => /u01/app/oracle/product/gg10/libdb-5.2.so (0x00007fcd0eefb000) libnnz10.so => /u01/app/oracle/product/10.2.0/db_1/lib/libnnz10.so (0x00007fcd0ea59000) libclntsh.so.10.1 => /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1 (0x00007fcd0d51f000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000039c3200000) libm.so.6 => /lib64/libm.so.6 (0x00000039b1000000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000039bee00000) libc.so.6 => /lib64/libc.so.6 (0x00000039b0c00000) /lib64/ld-linux-x86-64.so.2 (0x00000039b0800000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00000039b5800000) [oracle@rac1 gg10]$ ldd replicat linux-vdso.so.1 => (0x00007fff113f7000) libdl.so.2 => /lib64/libdl.so.2 (0x00000039b1400000) libgglog.so => /u01/app/oracle/product/gg10/libgglog.so (0x00007f41575cd000) libggrepo.so => /u01/app/oracle/product/gg10/libggrepo.so (0x00007f4157479000) libdb-5.2.so => /u01/app/oracle/product/gg10/libdb-5.2.so (0x00007f41571d8000) libicui18n.so.38 => /u01/app/oracle/product/gg10/libicui18n.so.38 (0x00007f4156e77000) libicuuc.so.38 => /u01/app/oracle/product/gg10/libicuuc.so.38 (0x00007f4156b3e000) libicudata.so.38 => /u01/app/oracle/product/gg10/libicudata.so.38 (0x00007f4155b62000) libxerces-c.so.28 => /u01/app/oracle/product/gg10/libxerces-c.so.28 (0x00007f415564a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00000039b1800000) libantlr3c.so => /u01/app/oracle/product/gg10/libantlr3c.so (0x00007f4155534000) libnnz10.so => /u01/app/oracle/product/10.2.0/db_1/lib/libnnz10.so (0x00007f4155092000) libclntsh.so.10.1 => /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1 (0x00007f4153b58000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000039c3200000) libm.so.6 => /lib64/libm.so.6 (0x00000039b1000000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000039bee00000) libc.so.6 => /lib64/libc.so.6 (0x00000039b0c00000) /lib64/ld-linux-x86-64.so.2 (0x00000039b0800000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00000039b5800000) [oracle@rac1 gg10]$ ldd ggsci linux-vdso.so.1 => (0x00007fff4235e000) libdl.so.2 => /lib64/libdl.so.2 (0x00000039b1400000) libgglog.so => /u01/app/oracle/product/gg10/libgglog.so (0x00007fbb96a78000) libggrepo.so => /u01/app/oracle/product/gg10/libggrepo.so (0x00007fbb96924000) libdb-5.2.so => /u01/app/oracle/product/gg10/libdb-5.2.so (0x00007fbb96683000) libicui18n.so.38 => /u01/app/oracle/product/gg10/libicui18n.so.38 (0x00007fbb96322000) libicuuc.so.38 => /u01/app/oracle/product/gg10/libicuuc.so.38 (0x00007fbb95fe9000) libicudata.so.38 => /u01/app/oracle/product/gg10/libicudata.so.38 (0x00007fbb9500d000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00000039b1800000) libxerces-c.so.28 => /u01/app/oracle/product/gg10/libxerces-c.so.28 (0x00007fbb94af5000) libantlr3c.so => /u01/app/oracle/product/gg10/libantlr3c.so (0x00007fbb949df000) libnnz10.so => /u01/app/oracle/product/10.2.0/db_1/lib/libnnz10.so (0x00007fbb9453d000) libclntsh.so.10.1 => /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1 (0x00007fbb93003000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000039c3200000) libm.so.6 => /lib64/libm.so.6 (0x00000039b1000000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000039bee00000) libc.so.6 => /lib64/libc.so.6 (0x00000039b0c00000) /lib64/ld-linux-x86-64.so.2 (0x00000039b0800000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00000039b5800000) [oracle@rac1 gg10]$

5. Perform database prerequisites

SQL> select file_name from dba_data_files;

FILE_NAME

+VOL/rcm/users01.dbf +VOL/rcm/sysaux01.dbf +VOL/rcm/undotbs01.dbf +VOL/rcm/system01.dbf SQL>

SQL> CREATE TABLESPACE GATE DATAFILE '+VOL' SIZE 100M AUTOEXTEND ON;

Tablespace created.

SQL> CREATE USER GATE IDENTIFIED BY gate DEFAULT TABLESPACE GATE TEMPORARY TABLESPACE TEMP;

User created.

SQL> GRANT CONNECT TO GATE;

Grant succeeded.

SQL> GRANT DBA TO GATE;

Grant succeeded.

SQL> GRANT UNLIMITED TABLESPACE TO GATE;

Grant succeeded.

SQL> GRANT SELECT ANY DICTIONARY TO GATE;

Grant succeeded.

SQL> SELECT SUPPLEMENTAL_LOG_DATA_MIN FROM V$DATABASE;

SUPPLEME

NO

SQL> ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;

Database altered.

SQL> ALTER SYSTEM SWITCH LOGFILE;

System altered.

SQL> SELECT SUPPLEMENTAL_LOG_DATA_MIN FROM V$DATABASE;

SUPPLEME

YES

SQL>

6. Create the required working directories for GoldenGate

cd /u01/app/oracle/product/gg10 [oracle@rac1 gg10]$ ggsci

Oracle GoldenGate Command Interpreter for Oracle Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO Linux, x64, 64bit (optimized), Oracle 10g on Apr 23 2012 07:30:46

Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.

GGSCI (rac1.rajasekhar.com) 1> CREATE SUBDIRS

Creating subdirectories under current directory /u01/app/oracle/product/gg10

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

GGSCI (rac1.rajasekhar.com) 2>

GoldenGate is installed GoldenGate Installation

Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

点赞
收藏
评论区
推荐文章
blmius blmius
2年前
MySQL:[Err] 1292 - Incorrect datetime value: ‘0000-00-00 00:00:00‘ for column ‘CREATE_TIME‘ at row 1
文章目录问题用navicat导入数据时,报错:原因这是因为当前的MySQL不支持datetime为0的情况。解决修改sql\mode:sql\mode:SQLMode定义了MySQL应支持的SQL语法、数据校验等,这样可以更容易地在不同的环境中使用MySQL。全局s
Easter79 Easter79
2年前
swap空间的增减方法
(1)增大swap空间去激活swap交换区:swapoff v /dev/vg00/lvswap扩展交换lv:lvextend L 10G /dev/vg00/lvswap重新生成swap交换区:mkswap /dev/vg00/lvswap激活新生成的交换区:swapon v /dev/vg00/lvswap
Jacquelyn38 Jacquelyn38
2年前
2020年前端实用代码段,为你的工作保驾护航
有空的时候,自己总结了几个代码段,在开发中也经常使用,谢谢。1、使用解构获取json数据let jsonData  id: 1,status: "OK",data: 'a', 'b';let  id, status, data: number   jsonData;console.log(id, status, number )
皕杰报表之UUID
​在我们用皕杰报表工具设计填报报表时,如何在新增行里自动增加id呢?能新增整数排序id吗?目前可以在新增行里自动增加id,但只能用uuid函数增加UUID编码,不能新增整数排序id。uuid函数说明:获取一个UUID,可以在填报表中用来创建数据ID语法:uuid()或uuid(sep)参数说明:sep布尔值,生成的uuid中是否包含分隔符'',缺省为
Wesley13 Wesley13
2年前
Java获得今日零时零分零秒的时间(Date型)
publicDatezeroTime()throwsParseException{    DatetimenewDate();    SimpleDateFormatsimpnewSimpleDateFormat("yyyyMMdd00:00:00");    SimpleDateFormatsimp2newS
Stella981 Stella981
2年前
KVM调整cpu和内存
一.修改kvm虚拟机的配置1、virsheditcentos7找到“memory”和“vcpu”标签,将<namecentos7</name<uuid2220a6d1a36a4fbb8523e078b3dfe795</uuid
Wesley13 Wesley13
2年前
mysql设置时区
mysql设置时区mysql\_query("SETtime\_zone'8:00'")ordie('时区设置失败,请联系管理员!');中国在东8区所以加8方法二:selectcount(user\_id)asdevice,CONVERT\_TZ(FROM\_UNIXTIME(reg\_time),'08:00','0
Wesley13 Wesley13
2年前
00:Java简单了解
浅谈Java之概述Java是SUN(StanfordUniversityNetwork),斯坦福大学网络公司)1995年推出的一门高级编程语言。Java是一种面向Internet的编程语言。随着Java技术在web方面的不断成熟,已经成为Web应用程序的首选开发语言。Java是简单易学,完全面向对象,安全可靠,与平台无关的编程语言。
Stella981 Stella981
2年前
Django中Admin中的一些参数配置
设置在列表中显示的字段,id为django模型默认的主键list_display('id','name','sex','profession','email','qq','phone','status','create_time')设置在列表可编辑字段list_editable
Wesley13 Wesley13
2年前
MySQL部分从库上面因为大量的临时表tmp_table造成慢查询
背景描述Time:20190124T00:08:14.70572408:00User@Host:@Id:Schema:sentrymetaLast_errno:0Killed:0Query_time:0.315758Lock_
Python进阶者 Python进阶者
4个月前
Excel中这日期老是出来00:00:00,怎么用Pandas把这个去除
大家好,我是皮皮。一、前言前几天在Python白银交流群【上海新年人】问了一个Pandas数据筛选的问题。问题如下:这日期老是出来00:00:00,怎么把这个去除。二、实现过程后来【论草莓如何成为冻干莓】给了一个思路和代码如下:pd.toexcel之前把这