【跟我一起学习ogg】【12.3.0.1】第一节 3 安装Oracle GoldenGate微服务架构(这名字起的太夸张了吧,不就是个安装服务么,我还以为ogg可以同步微服务数据)
3安装Oracle GoldenGate微服务架构The Oracle GoldenGate Microservices Architecture (MA) installation with an Oracle Database三步的过程:Install the Oracle GoldenGate MA.设置必要的环境变量。使用配置助手部署Oracle Go...
3 安装Oracle GoldenGate微服务架构
The Oracle GoldenGate Microservices Architecture (MA) installation with an Oracle Database三步的过程:
-
Install the Oracle GoldenGate MA.
-
设置必要的环境变量。
-
使用配置助手部署Oracle GoldenGate实例。
MA is installed using OUI. 您还可以使用OUI使用命令行静默安装。
安装程序用与所选数据库相关联的中央目录注册Oracle GoldenGate主目录。如果产品是使用OUI安装的,则库存存储关于安装在主机上的所有Oracle软件产品的信息。
Topics:
- Performing an Interactive Installation with OUI
Interactive installation provides a graphical user interface that prompts for the required installation information. - Performing a Silent Installation with OUI
Silent installation from the command console can be used if the system does not have an X-Windows interface or to perform an automated installation.
Parent topic: Installing the Oracle GoldenGate Microservices Architecture
3.1 与OUI执行交互式安装
交互式安装提供图形用户界面,提示用户输入所需的安装信息。
这些说明适用于新安装和升级
- 创建一个临时临时目录,在其中安装Oracle GoldenGate。例如,
mkdir /u01/stage/oggsc
. - 将安装ZIP文件解压缩到临时临时目录中。
- 从扩展目录中,在UNIX或Linux上运行fbo_ggs_Linux_x64_services_shophome/Disk1/runInstaller程序。
启动OUI安装向导。(之前版本的都是解压createsubdirs即可) - 在选择安装选项页面上,为您的环境选择Oracle数据库,然后单击Next继续。
- 在指定安装细节页面,指定以下内容:
-
对于软件位置,请指定一个新的Oracle GoldenGate安装目录。默认位置位于安装用户的主目录下,Oracle建议将其更改为未挂载且没有限额的本地目录。指定的目录不能是Oracle中央目录中的注册主目录。
单击Next继续。如果这是对现有Oracle GoldenGate安装的升级,OUI提示所选软件位置有文件或目录。单击Yes。
-
- 如果这是在没有中心库存的主机上从OUI安装的第一个Oracle产品,那么将显示Create Inventory页面。
-
对于库存目录,请为中心库存指定一个目录。它可以是一个新目录,也可以是一个现有目录,该目录是空的,并且在屏幕上显示了磁盘空间量。该目录不能位于共享驱动器上。
选择一个操作系统组,其中的成员对inventory目录具有写权限。此组用于将库存信息添加到Oracle GoldenGate子目录。
单击Next继续。
-
- 在Summary页面上,确认有足够的空间进行安装,并且安装选择是正确的。
-
(可选)单击“保存响应文件”将安装信息保存到响应文件中。您可以从命令行运行安装程序,将此文件作为输入,以复制在其他系统上成功安装的结果。您可以编辑此文件或从模板创建一个新文件。
单击Install开始安装,或单击Back返回并更改任何输入规范。升级现有的Oracle GoldenGate安装时,OUI会通知您软件位置包含文件或目录。单击Yes继续。 -
如果您创建了一个中央库存目录,就会提示您运行INVENTORY_LOCATION/orainstRoot.sh脚本。此脚本必须作为根操作系统用户执行。此脚本建立库存数据并为每个已安装的Oracle产品(在本例中为Oracle GoldenGate)创建子目录。
安装完成后会通知您。
-
- 单击Close完成安装。
Parent topic: Installing the Oracle GoldenGate Microservices Architecture
3.2 使用OUI执行静默安装
如果系统没有X-Windows界面或执行自动安装,可以使用命令控制台的静默安装。
静默安装可以确保组织中的多个用户在安装Oracle产品时使用相同的安装选项。
通过运行响应文件执行静默安装。您可以通过在交互式OUI会话期间选择Save response file选项或编辑模板来创建响应文件,如示例3-1所示。要运行响应文件,发出以下命令。
-silent -nowait -responseFile absolute_path_to_response_file
Note:
保存到响应文件时,出于安全原因不保存管理员密码。如果希望重用响应文件以便在其他系统上安装,则必须编辑响应文件并输入此密码字段。
响应文件和模板存储在Oracle GoldenGate安装目录的响应子目录中。除了特定于Oracle GoldenGate的参数之外,Oracle GoldenGate响应文件还包含一组标准的Oracle配置参数。这些参数对应于交互式会话中的字段。
Example 3-1 Oracle GoldenGate Response File Template
####################################################################
## 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_3_0
################################################################################
## ##
## 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=
#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_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=
Parent topic: Installing the Oracle GoldenGate Microservices Architecture
更多推荐
所有评论(0)