Oracle Goldengate 安裝配置

來源:互聯網
上載者:User

標籤:goldengate 安裝

首先要下載ogg的安裝包。如下

http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html


將安裝包上傳至伺服器


解壓壓縮包

[[email protected] app]$ mkdir /u01/app/ogg                                 [[email protected] app]$ unzip -d /u01/app/ogg ogg112101_fbo_ggs_Linux_x64_ora11g_64bit.zip Archive:  ogg112101_fbo_ggs_Linux_x64_ora11g_64bit.zip  inflating: /u01/app/ogg/fbo_ggs_Linux_x64_ora11g_64bit.tar    inflating: /u01/app/ogg/OGG_WinUnix_Rel_Notes_11.2.1.0.1.pdf    inflating: /u01/app/ogg/Oracle GoldenGate 11.2.1.0.1 README.txt    inflating: /u01/app/ogg/Oracle GoldenGate 11.2.1.0.1 README.doc  [[email protected] app]$ cd ogg/[[email protected] ogg]$ tar -xvf fbo_ggs_Linux_x64_ora11g_64bit.tar

修改環境變數,添加PATH、LD_LIBARY_PATH

[[email protected] ~]$ vi .bash_profile export PATH=/u01/app/ogg/:$ORACLE_HOME/bin:$PATHexport LD_LIBRARY_PATH=/u01/app/ogg:$ORACLE_HOME/lib:/lib:/usr/lib

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/73/32/wKiom1X3ldaAb38mAAB3TDYZgWE819.jpg" title="ogg3.PNG" alt="wKiom1X3ldaAb38mAAB3TDYZgWE819.jpg" />

進入ogg的安裝目錄,運行ggsci命令

[[email protected] ogg]$ ./ggsci Oracle GoldenGate Command Interpreter for OracleVersion 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBOLinux, x64, 64bit (optimized), Oracle 11g on Apr 23 2012 08:32:14Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.GGSCI (localhost.localdomain) 1>


建立OGG的工作目錄

GGSCI (localhost.localdomain) 1> create subdirsCreating subdirectories under current directory /u01/app/oggParameter files                /u01/app/ogg/dirprm: already existsReport files                   /u01/app/ogg/dirrpt: createdCheckpoint files               /u01/app/ogg/dirchk: createdProcess status files           /u01/app/ogg/dirpcs: createdSQL script files               /u01/app/ogg/dirsql: createdDatabase definitions files     /u01/app/ogg/dirdef: createdExtract data files             /u01/app/ogg/dirdat: createdTemporary files                /u01/app/ogg/dirtmp: createdStdout files                   /u01/app/ogg/dirout: created


配置Manager進程的參數

GGSCI (localhost.localdomain) 6> EDIT PARAMS MGR

添加如下內容,定義Manger進程的通訊連接埠

-- This is the  minimal configuration of Manager PORT 7809

-- 後面是注釋


啟動Manager進程

GGSCI (localhost.localdomain) 14> start mgrManager started.


查看Manager進程

GGSCI (localhost.localdomain) 17> info mgrManager is running (IP port localhost.localdomain.7809).


停止Manager進程

GGSCI (localhost.localdomain) 18> stop mgrManager process is required by other GGS processes.Are you sure you want to stop it (y/n)? ySending STOP request to MANAGER ...Request processed.Manager stopped.


如果忽略確認資訊

GGSCI (localhost.localdomain) 20> stop mgr !Sending STOP request to MANAGER ...Request processed.Manager stopped.


本文出自 “叮咚” 部落格,請務必保留此出處http://lqding.blog.51cto.com/9123978/1694971

Oracle Goldengate 安裝配置

聯繫我們

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