关于oracle:Oracle-19C-静默安装-GoldenGate

43次阅读

共计 5228 个字符,预计需要花费 14 分钟才能阅读完成。

首先在 Linux 零碎上装置好 Oracle 19c

关上 Oracle 下载网站

https://edelivery.oracle.com/osdc/faces/SoftwareDelivery

搜寻 Oracle GoldenGate,并下载 V983658-01.zip 软件包

Oracle 19c 静默装置 Oracle GoldenGate 19.1.0.0,解压下载的软件包并批改相干的配置


[oracle@19coggm
software]$ cp V983658-01.zip software/
[oracle@19coggm
software]$  unzip V983658-01.zip 
[oracle@19coggm
software]$ cd fbo_ggs_Linux_x64_shiphome/
[oracle@19coggm
fbo_ggs_Linux_x64_shiphome]$ ls
Disk1
[oracle@19coggm
fbo_ggs_Linux_x64_shiphome]$ pwd
/tmp/software/fbo_ggs_Linux_x64_shiphome
[oracle@19coggm
fbo_ggs_Linux_x64_shiphome]$ cd Disk1/
[oracle@19coggm
Disk1]$ cd response/
[oracle@19coggm
response]$ ls
oggcore.rsp
[oracle@19coggm response]$ vim oggcore.rsp

####################################################################
## Copyright(c)
Oracle Corporation 2019. 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_v19_1_0
################################################################################
##                                                                           ##
## Oracle GoldenGate
installation option and details                          ##
##                                                                           ##
################################################################################
#-------------------------------------------------------------------------------
# Specify the
installation option.
# Specify ORA19c for
installing Oracle GoldenGate for Oracle Database 19c or
#         ORA18c for installing Oracle
GoldenGate for Oracle Database 18c or
#         ORA12c for installing Oracle
GoldenGate for Oracle Database 12c or
#         ORA11g for installing Oracle
GoldenGate for Oracle Database 11g
#-------------------------------------------------------------------------------
INSTALL_OPTION=ORA19c                                                   
#-------------------------------------------------------------------------------
# Specify a location
to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/opt/oracle/ogg/19.1.0.0.4
#-------------------------------------------------------------------------------
# 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=/opt/oracle/product/19c/dbhome_1

阐明:

代表装置门路当时创立好

SOFTWARE_LOCATION=/opt/oracle/ogg/19.1.0.0.4

输出相应的装置版本,这里是 19c 所以输出 ORA19c

INSTALL_OPTION=ORA19c
输出装置 19c 的 $ORACLE_HOME 门路

DATABASE_LOCATION=/opt/oracle/product/19c/dbhome_1

依据配置文件开始装置软件

[oracle@19coggm Disk1]$  ./runInstaller -silent -nowait -responseFile /tmp/software/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp
正在启动 Oracle Universal Installer...
查看长期空间: 必须大于 120 MB。理论为 35572 MB    通过
查看替换空间: 必须大于 150 MB。理论为 3046 MB    通过
筹备从以下地址启动 Oracle Universal Installer
/tmp/OraInstall2021-07-05_04-50-54PM. 请稍候...[oracle@19coggm Disk1]$ 能够在以下地位找到本次装置会话的日志:
/opt/oracle/oraInventory/logs/installActions2021-07-05_04-50-54PM.log
Successfully Setup Software.
Oracle GoldenGate Core 的装置已胜利。请查看 '/opt/oracle/oraInventory/logs/silentInstall2021-07-05_04-50-54PM.log' 以获取详细资料 

装置实现后,切换到 $OGG_HOME 目录清理外面所有文件及文件夹

[oracle@19oggm 19.1.0.0.4]$ cd $OGG_HOME;  
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirrpt;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirchk;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirpcs;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirsql;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirdef;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirdat;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirtmp;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dircrd;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirwlt;
rm -rf /opt/oracle/ogg/19.1.0.0.4/dirdmp;

而后执行 GGSCI 命令创立 create subdirs,不然启动 start mgr 会报错

[oracle@19oggm 19.1.0.0.4]$ GGSCI
GGSCI (19oggm as ogg@ORCLCDB/PDB1) 1> create subdirs
Creating
subdirectories under current directory /opt/oracle/ogg/19.1.0.0.4
Parameter file                /opt/oracle/ogg/19.1.0.0.4/dirprm: created.
Report file                   /opt/oracle/ogg/19.1.0.0.4/dirrpt: created.
Checkpoint file               /opt/oracle/ogg/19.1.0.0.4/dirchk: created.
Process status files          /opt/oracle/ogg/19.1.0.0.4/dirpcs: created.
SQL script files              /opt/oracle/ogg/19.1.0.0.4/dirsql: created.
Database definitions files    /opt/oracle/ogg/19.1.0.0.4/dirdef: created.
Extract data files            /opt/oracle/ogg/19.1.0.0.4/dirdat: created.
Temporary files               /opt/oracle/ogg/19.1.0.0.4/dirtmp: created. 
Credential store files        /opt/oracle/ogg/19.1.0.0.4/dircrd: created.
Masterkey wallet files        /opt/oracle/ogg/19.1.0.0.4/dirwlt: created.
Dump files                    /opt/oracle/ogg/19.1.0.0.4/dirdmp: created.

这样 Oracle GoldenGate 19.1.0.0.4 for Oracle 就装置好了,前面能够依据须要创立同步配置。

正文完
 0