Oracle GoldenGate 12.2.0.1 安裝、升級和刪除

來源:互聯網
上載者:User

標籤:OGG安裝   OGG升級   OGG刪除   OGG12.2   

1、準備工作

選擇正確的版本:

OGG與資料庫廠商和資料庫版本對照表。

 

下載軟體:

在Oracle Technology Network(OTN)或者使用CSI在 http://edelivery.oracle.com 中進行下載。

 

上傳軟體到伺服器:

上傳目錄:/tmp

 

2、OGG安裝

簡單步驟:

[[email protected] /]$ cd /tmp

[[email protected] tmp]$ ls -ltrtotal

343924-rwxrwx--- 1 oracle vboxsf 352172376 Mar 18 10:20 121210_fbo_ggs_Linux_x64_shiphome.zip

 

[[email protected] tmp]$ unzip ./121210_fbo_ggs_Linux_x64_shiphome.zip -d.

 

[[email protected] Disk1]$ ./runInstaller &

 

安裝地址:建議使用OFA,如:

/u01/app/oracle/product/12.1.2.0/ogghome_1

 

開啟MGR

 

建立子目錄

ggsci>create subdirs;

 

查看 Inventory File

 

 

3、OGG升級

停止舊版本相關進程

ps -ef進行查看

 

安裝新版本

[[email protected] tmp]$ cd fbo_ggs_Linux_x64_shiphome/Disk1/

[[email protected] Disk1]$ ./runInstaller &

 

選擇與舊版本相同的本地地址,自動替換二進位檔案。

可以使用相同連接埠,也可以使用不同連接埠。

直接修改Manager Port ,或者修改管理參數檔案mrg.prm

 

確認正確以後,更新。

 

通過ggsci命令可以查看升級後的版本。

 

4、刪除OGG

OGG12c以前版本,直接刪除目錄即可。

方法一:使用OUI 卸載 (安全)

方法二:Hacking oraInventory (不安全)

 

方法一:使用OUI 卸載 --最乾淨的方式

(1)執行以下操作

[[email protected] bin]$ pwd

/u01/app/oracle/product/12.2.0.1/oggcore_3/oui/bin

[[email protected] bin]$ ./runInstaller -silent -deinstall "REMOVE_HOMES=/u01/app/oracle/product/12.2.0.1/oggcore_3"

(2)刪除OGG安裝目錄。

 

方法二:Hacking oraInventory(不推薦)

(1)從oraInventory檔案中刪除OGG的<HOME NAME>項。

(2)刪除OGG安裝目錄。


Oracle GoldenGate 12.2.0.1 安裝、升級和刪除

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.