goldengate静默安装方法

16 篇文章 0 订阅
4 篇文章 0 订阅
本文档详细介绍了在没有图形界面的Linux环境中,如何进行Oracle GoldenGate 12.3.0.1.4的安装步骤。首先将软件上传到指定目录,然后解压并配置响应文件,接着启动静默安装,最后设置环境变量并创建Goldengate子目录。整个过程包括上传软件、解压、配置应答文件、启动安装、添加环境变量和创建目录等关键步骤。
摘要由CSDN通过智能技术生成

在没有图形界面支持的情况下,安装Oracle goldengate步骤如下:
环境:
Ogg版本:Oracle GoldenGate 12.3.0.1.4 for Oracle on Linux x86-64
压缩包: V975837-01.zip
1、上传压缩包到指定目录
这里使用的目录为:/u01/software
2、解压缩软件

[root@xteasdb software]# unzip V975837-01.zip -d /u01/software

注:-d 指定了解压缩后的存放路径。
3、配置应答文件
应答文件的存放路径为软件解压缩后的/u01/software/fbo_ggs_Linux_x64_shiphome/Disk1/response目录:

[oracle@xteasdb response]$ cd /u01/software/fbo_ggs_Linux_x64_shiphome/Disk1/
[oracle@xteasdb Disk1]$ ll
total 8
drwxr-xr-x.  4 root root  200 Apr 16  2018 install
drwxrwxr-x.  2 root root   25 Jan  3 13:04 response
-rwxr-xr-x.  1 root root  918 Apr 16  2018 runInstaller
drwxr-xr-x. 11 root root 4096 Apr 16  2018 stage
注:runInstaller 为安装文件。
[oracle@xteasdb Disk1]$ cd response/
[oracle@xteasdb response]$ ll
total 8
-rwxrwxr-x. 1 root root 4304 Jan  3 13:04 oggcore.rsp
注:oggcore.rsp为应答文件。

应答文件配置如下:

[oracle@xteasdb response]$ cat oggcore.rsp 
####################################################################
## Copyright(c) Oracle Corporation 2017. All rights reserved.     ##
##                                                                ##
## Specify values for the variables listed below to customize     ##
## your installation.                                             ##
##                                                                ##
## Each variable is associated with a comment. The comment        ##
## can help to populate the variables with the appropriate        ##
## values.                                                        ##
##                                                                ##
## IMPORTANT NOTE: This file should be secured to have read       ##
## permission only by the oracle user or an administrator who     ##
## own this installation to protect any sensitive input values.   ##
##                                                                ##
####################################################################

#-------------------------------------------------------------------------------
# Do not change the following system generated value. 
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v12_1_2


################################################################################
##                                                                            ##
## Oracle GoldenGate installation option and details                          ##
##                                                                            ##
################################################################################

#-------------------------------------------------------------------------------
# Specify the installation option.
# Specify ORA12c for installing Oracle GoldenGate for Oracle Database 12c and
#         ORA11g for installing Oracle GoldenGate for Oracle Database 11g 
#-------------------------------------------------------------------------------
INSTALL_OPTION=ORA11g

#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/u01/app/ogg

#-------------------------------------------------------------------------------
# Specify true to start the manager after installation. 
#-------------------------------------------------------------------------------
START_MANAGER=

#-------------------------------------------------------------------------------
# Specify a free port within the valid range for the manager process.
# Required only if START_MANAGER is true.
#-------------------------------------------------------------------------------
MANAGER_PORT=

#-------------------------------------------------------------------------------
# Specify the location of the Oracle Database.
# Required only if START_MANAGER is true.
#-------------------------------------------------------------------------------
DATABASE_LOCATION=


################################################################################
##                                                                            ##
## Specify details to Create inventory for Oracle installs                    ##
## Required only for the first Oracle product install on a system.            ##
##                                                                            ##
################################################################################

#-------------------------------------------------------------------------------
# Specify the location which holds the install inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=

#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.  
# This parameter is not applicable if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=

4、启动静默安装
先进入runInstaller程序路径:

[oracle@xteasdb ogg]$ cd /u01/software/fbo_ggs_Linux_x64_shiphome/Disk1/
[oracle@xteasdb Disk1]$ pwd
/u01/software/fbo_ggs_Linux_x64_shiphome/Disk1
[oracle@xteasdb Disk1]$ ./runInstaller -silent -responseFile /u01/software/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp

5、添加环境变量

vi ~/.bash_profile
export  GGATE_HOME=/u01/app/ogg
export  LD_LIBRARY_PATH=$GGATE_HOME:$ORACLE_HOME/lib
export  PATH=$GGATE_HOME:$PATH

6、进入goldengate创建子目录

[oracle@xteasdb ~]$ cd /u01/app/ogg/
[oracle@xteasdb ogg]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.3.0.1.4 OGGCORE_12.3.0.1.0_PLATFORMS_180415.0359_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Apr 15 2018 21:16:09
Operating system character set identified as UTF-8.

Copyright (C) 1995, 2018, Oracle and/or its affiliates. All rights reserved.
GGSCI (xteasdb) 1> create subdirs
Creating subdirectories under current directory /u01/app/ogg

Parameter file                 /u01/app/ogg/dirprm: created.
Report file                    /u01/app/ogg/dirrpt: created.
Checkpoint file                /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.
Credential store files         /u01/app/ogg/dircrd: created.
Masterkey wallet files         /u01/app/ogg/dirwlt: created.
Dump files                     /u01/app/ogg/dirdmp: created.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
GoldenGate基本原理、安装过程和基本维护 目录 一、GoldenGate介绍 .......................................................................... 3 二、GoldenGate安装实施 .................................................................... 5 2.1创建GoldenGate软件安装目录 ................................................. 5 2.2 GoldenGate的管理用户 ........................................................... 5 2.3安装GoldenGate软件 .............................................................. 6 2.4设臵数据库归档模式 .................................................................. 6 2.5打开数据库的附加日志 ............................................................... 7 2.6开启数据库强制日志模式 ............................................................ 7 2.7创建GoldenGate管理用户 ........................................................ 7 2.8编辑GLOBALS参数文件 .......................................................... 8 2.9管理进程MGR参数配臵 ............................................................ 8 2.10抽取进程EXTN参数配臵 ......................................................... 9 2.11 传输进程DPEN参数配臵 ...................................................... 10 2.12建立OGG的DDL对象 ......................................................... 11 2.13 数据初始化 .......................................................................... 12 2.14 容灾端管理进程MGR参数配臵 .............................................. 14 2.15编辑GLOBALS参数文件 ...................................................... 15 2.16 容灾端复制进程REPN参数配臵 ............................................. 15 2.17创建复制进程repn ............................................................... 17 2.18启动生产端传输进程和容灾端复制进程 ..................................... 17 2.19测试场景.............................................................................. 17 三GoldenGate基本运维命令 ........................................................... 17 四、常见故障排除 .............................................................................. 18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值