oracle ogg下载安装,【OGG】OGG的下载和安装篇

本文详细介绍了Oracle GoldenGate的下载和安装过程,包括设置环境变量、下载软件、解压缩、安装以及配置目录等步骤。适用于Linux环境,通过实例展示了如何在RHEL6.5上成功安装OGG,提供了详细的命令行操作指导。
摘要由CSDN通过智能技术生成

【OGG】OGG的下载和安装篇

一.1 BLOG文档结构图

0a77bada72c101d4bc349ce7c975bc69.png

一.2 前言部分

一.2.1 导读

各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~:

① OGG的下载和安装

本文如有错误或不完善的地方请大家多多指正,ITPUB留言或QQ皆可,您的批评指正是我写作的最大动力。

一.2.2 实验环境介绍

11.2.0.3  RHEL6.5

一.2.3 本文简介

有个同事喊我解决OGG不能同步的问题,汗颜啊,我也就之前学过安装和简单的配置,当时是成功的,结果帮同事搭建的时候数据死活不能同步。于是下决心这几天好好再研究一下OGG的内容。

一.3 gg安装

在Linux上安装OGG很简单,总体分为以下几个部分:

1. Downloading Oracle GoldenGate software.

2. Setting ORACLE_HOME and ORACLE_SID

3. Setting library paths for dynamic builds

4. Installing the Oracle GoldenGate software

一.3.1 Downloading Oracle GoldenGate software.

第一步,下载gg软件,可以有2种途径直接下载

1. On a browser, go to http://edelivery.oracle.com

2. Welcome page:

l Select language

l Continue

3. Export Validation:

n Enter your name, company, email, country

n Accept Trial License (even if you have permanent license)

n Accept Export Restrictions

n Continue

4. Media Pack Search:

Select a Product Pack: Oracle Fusion Middleware

Select a platform from the drop-down list

Go

7deef869a23b74825d4c401ad53f435c.png

5. Results:

Select the Oracle GoldenGate Media Pack you want

Continue

525c7efd9c42e374379b30b9e601d266.png

2721ee46f300e184fe5131c939a9392c.png

6. View Readme

7. Download software

8. Download documentation

e4c35471e7d6909c4126fb5ce1dc0cc2.png

1. 登录www.oracle.com ,选择Middleware下的See All

01bab17d5297b628aedbaa4551618de6.png

2. 选择GoldenGate

072d77d86c749433cec5d3ebc24842d2.png

65debdd600fb4e3d25aa3df728a75954.png

注意选择好对应的版本及平台:

91555fdef3118ae53284ae763cf2ba57.png

不用详细说明了吧,所以最终的下载地址:

一.3.2 Setting ORACLE_HOME and ORACLE_SID

Set the environment variables in your .bash_profile (Bash)

ORACLE_BASE=/u01

ORACLE_HOME=$ORACLE_BASE/oracle

ORACLE_SID=ggsource

PATH=$ORACLE_BASE/gg11:$ORACLE_HOME/bin:$PATH

LD_LIBRARY_PATH=$ORACLE_BASE/gg11:$ORACLE_HOME/lib:$LD_LIBRARYPATH

export ORACLE_BASE ORACLE_HOME ORACLE_SID

export PATH LD_LIBRARY_PATH

自己:

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export OGG_HOME=/u01/gg11

export PATH=$OGG_HOME:$ORACLE_HOME/bin:$PATH

export LD_LIBRARY_PATH=$OGG_HOME:$ORACLE_HOME/lib:$LD_LIBRARYPATH

stty erase ^h

alias ggsci='rlwrap ggsci'

一.3.3 Setting library paths for dynamic builds

Platform

Environment variables

IBM AIX

LIBPATH

IBM z/OS

HP-UX

SHLIB_PATH

Solaris

LD_LIBRARY_PATH

HP Tru64

Linux

一.3.4 Installing the Oracle GoldenGate software

Use the gzip and tar options appropriate for your system. If you are installing GoldenGate into a cluster environment, make certain that the GoldenGate binaries and files are installed on a file system that is available to all cluster nodes. After installing GoldenGate, make certain to configure the GoldenGate Manager process within the cluster application, as directed by the vendor’s documentation, so that GoldenGate will fail over properly with the other applications. The Manager process is the master control program for all GoldenGate operations.

A GoldenGate instance is a single installation of GoldenGate.

l Unzip the Oracle GoldenGate media pack .zip file on a Windows system. This produces a .tar file.

l FTP the .tar file in binary mode to the system and directory where you want GoldenGate to be installed.

l Extract the .tar file into the current directory:

tar -xvof .tar

l Run the command shell and change directories to the new GoldenGate directory.

GGSCI> CREATE SUBDIRS

一.3.5 GoldenGate Directories

Directory

Contents

dirchk

GoldenGate checkpoint files

dirdat<

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值