【OGG】Oracle GoldenGate12c靜默安裝____Oracle

來源:互聯網
上載者:User

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.

# Required only if START_MANAGER is true.

#-------------------------------------------------------------------------------

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

# Windows based Operating System.

#-------------------------------------------------------------------------------

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靜默安裝完成

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.