標籤:ogg
1.1 下載
GolenGate
安裝包
登入http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html官方地址,下載安裝包
650) this.width=650;" src="http://blog.chinaunix.net/attachment/201608/18/26446098_14715085155e4B.jpg" width="563" height="133" style="border:0px;line-height:1.5;text-indent:28px;" />
可根據作業系統的情況,選擇相應的程式包。我的作業系統是Linux 64bit作業系統,所以選擇上述紅色表框的程式包。
1.2 安裝
GolenGate
安裝包
上傳V100692-01.zip至伺服器上面,並賦予使用者權限:
[[email protected]_5 opt]# mv V100692-01.zip /opt/software/
[[email protected]_5 opt]# chown -R oraarp:oinstall /opt/software
[[email protected]_5 opt]# chmod 777 /opt/software/
解壓安裝包
[[email protected]_5 software]# su - oraarp
[[email protected]_5 ~]$ cd /opt/software/
[[email protected]_5 software]$ unzip V100692-01.zip
建立OGG的安裝目錄,目錄為/opt/ogg
[[email protected]_5 software]# mkdir -p /opt/ogg
[[email protected]_5 software]# chown -R oraarp:oinstall /opt/ogg/
[[email protected]_5 software]# chmod 755 /opt/ogg/
使用VNC的登入Linux伺服器,使用OUI方式安裝GolenGate
650) this.width=650;" src="http://blog.chinaunix.net/attachment/201608/18/26446098_14715087862VvW.jpg" width="649" height="232" style="border:0px;line-height:1.5;text-indent:28px;" />
選擇安裝至哪個資料庫版本上面,我這裡選擇的是Oracle 11G
650) this.width=650;" src="http://blog.chinaunix.net/attachment/201608/18/26446098_1471508897CAzN.jpg" width="700" height="427" style="border:0px;line-height:1.5;" />
選擇安裝的目錄,這裡指定的目錄 /opt/ogg,使用者可根據自己的需求選擇安裝目錄
650) this.width=650;" src="http://blog.chinaunix.net/attachment/201608/18/26446098_1471508972KPlL.jpg" width="700" height="270" style="border:0px;line-height:1.5;" />
1.3 使用GGSCI,建立子目錄(使用OUI,預設已經建立子目錄)
操作指令如下:
[[email protected]_5 ogg]# su - oraarp
[[email protected]_5 ~]$ cd /arp/ogg
[[email protected]_5 ogg]$ pwd
/arp/ogg
[[email protected]_5 ogg]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38
Operating system character set identified as UTF-8.
Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved
GGSCI (centos6_5) 1> create subdirs
Creating subdirectories under current directory /arp/ogg
Parameter files /arp/ogg/dirprm: already exists
Report files /arp/ogg/dirrpt: already exists
Checkpoint files /arp/ogg/dirchk: already exists
Process status files /arp/ogg/dirpcs: already exists
SQL script files /arp/ogg/dirsql: already exists
Database definitions files /arp/ogg/dirdef: already exists
Extract data files /arp/ogg/dirdat: already exists
Temporary files /arp/ogg/dirtmp: already exists
Credential store files /arp/ogg/dircrd: already exists
Masterkey wallet files /arp/ogg/dirwlt: already exists
Dump files /arp/ogg/dirdmp: already exists
本文出自 “上善若水” 部落格,請務必保留此出處http://arpzhang.blog.51cto.com/3711534/1846731
牛刀小試Oracle GoldenGate--OGG安裝(一)