【OGG】Oracle GoldenGate12c静默安装
goldengate自12c版本开始也开始采用oui方式进行安装,但是有很多情况下操作系统没有图形化,这种情况下可以采用静默方式安装,具体步骤如下: 1.上传ogg 12.1.2.1.0介质 2.解压介质 unzip V46695-01.zip 3.配置自动应答文件 静默安装需要配置一个自动应答文件,位置在刚才解压出来的介质目录中,具体如下: [oracle@rac1 software]$ cd fbo_ggs_Linux_x64_shiphome/Disk1/response/ [oracle@rac1 response]$ ls oggcore.rsp 这个oggcore.rsp就是静默安装的配置模板,照着这个模板修改即可。 [oracle@rac1 response]$ cat oggcore.rsp #################################################################### ## Copyright(c) Oracle Corporation 2014. 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 根据系统是12c还是11g选择ORA12c或者ORA11g # Specify a location to install Oracle GoldenGate SOFTWARE_LOCATION=/goldengate 写上goldengate的安装目录 # Specify true to start the manager after installation. START_MANAGER=false 是否在配置完成后自动启动mgr进程,是就选true,否就选false # Specify a free port within the valid range for the manager process. # Required only if START_MANAGER is true. MANAGER_PORT= 在start_manager为true时添加,选择mgr启动端口号 # Specify the location of the Oracle Database. DATABASE_LOCATION= 在start_manager为true时添加,写上$ORACLE_HOME的值 ## Specify details to Create inventory for Oracle installs ## ## Required only for the first Oracle product install on a system. ## 如果在安装goldengate前没有安装过其他Oracle产品再填写以下两个参数 # Specify the location which holds the install inventory files. # This is an optional parameter if installing on # Windows based Operating System. INVENTORY_LOCATION= 指定inventory目录的位置,在使用windows操作系统时是一个可选参数。 # Unix group to be set for the inventory directory. # This parameter is not applicable if installing on UNIX_GROUP_NAME= 指定一个组,windows系统时不需要写 4.启动静默安装 ./runInstaller -silent -responseFile /software/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp 之后开始安装 这时候会提示一个安装日志, You can find the log of this install session at: /oracle/app/oraInventory/logs/installActions2016-07-08_11-26-16AM.log 可以使用 tail -100f /oracle/app/oraInventory/logs/installActions2016-07-08_11-26-16AM.log来查看安装情况 安装完成后,安装命令执行页面会输出以下内容: The installation of Oracle GoldenGate Core was successful. Please check '/oracle/app/oraInventory/logs/silentInstall2016-07-08_11-26-16AM.log' for more details. Successfully Setup Software. 5.进入到goldengate目录创建子目录 GGSCI (rac1) 2> create subdirs Creating subdirectories under current directory /goldengate Parameter files /goldengate/dirprm: already exists Report files /goldengate/dirrpt: created Checkpoint files /goldengate/dirchk: created Process status files /goldengate/dirpcs: created SQL script files /goldengate/dirsql: created Database definitions files /goldengate/dirdef: created Extract data files /goldengate/dirdat: created Temporary files /goldengate/dirtmp: created Credential store files /goldengate/dircrd: created Masterkey wallet files /goldengate/dirwlt: created Dump files /goldengate/dirdmp: created 至此goldengate12c静默安装完成 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |