想到部署goldengate又是想吐,但是工作,總的干:
在汪清等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場(chǎng)前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都做網(wǎng)站、成都網(wǎng)站設(shè)計(jì) 網(wǎng)站設(shè)計(jì)制作按需制作網(wǎng)站,公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站設(shè)計(jì),成都營(yíng)銷網(wǎng)站建設(shè),外貿(mào)網(wǎng)站建設(shè),汪清網(wǎng)站建設(shè)費(fèi)用合理。
1.解壓:
$unzip 123014_fbo_ggs_Linux_x64_shiphome.zip
$cd fbo_ggs_Linux_x64_shiphome/Disk1/
$./runInstaller
呀? 又是一個(gè)大大的驚喜,系統(tǒng)也不是我安裝的,折騰了一會(huì),無果,只好使出殺手锏:靜默方式
1.編輯oggcore.rsp 文件:
$ls
install? response? runInstaller? stage
只需要修改兩個(gè)地方:
$vi response/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???? ######需要修改,需要同步的數(shù)據(jù)庫(kù)版本11g為ORA11g 如果是12c 選擇ORA12c
#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/u01/app/goldengate???? #########需要修改,就是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=
????????????????????????????????????????????????????????
進(jìn)行安裝:
./runInstaller -silent -nowait -responseFile? /home/oracle/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rs
$./runInstaller -silent -nowait -responseFile? /home/oracle/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.?? Actual 38397 MB??? Passed
Checking swap space: must be greater than 150 MB.?? Actual 32767 MB??? Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-09-19_03-32-36PM. Please wait ...
[oracle@jq-prod-oracle-wms#15:32:38:/home/oracle/fbo_ggs_Linux_x64_shiphome/Disk1]
$You can find the log of this install session at:
? /u01/app/oraInventory/logs/installActions2018-09-19_03-32-36PM.log
The installation of Oracle GoldenGate Core was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2018-09-19_03-32-36PM.log' for more details.
Successfully Setup Software.
ok 軟件安裝完成。
最后啦:
$./ggsci
./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory
又是心涼涼,不過看到這個(gè)報(bào)錯(cuò)簡(jiǎn)單就是少了環(huán)境變量:
vi .bash_profile
添加:
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
生效:
$. .bash_profile
$./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 (chunqiu) 1> info all
Program???? Status????? Group?????? Lag at Chkpt? Time Since Chkpt
MANAGER???? STOPPED????????????
2018-09-19 周三