The first thing to download is the Ogg installation package. As follows
Http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html
Uploading the installation package to the server
Unpack the Tarball
[[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
Modify environment variables, add 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 "/>
Go to Ogg's installation directory and run the GGSCI command
[[email protected] ogg]$./ggsci Oracle GoldenGate Command interpreter for oracleversion 11.2.1.0.1 OGGCORE_11.2.1.0.1_PL Atforms_120423.0230_fbolinux, x64, 64bit (optimized), Oracle 11g on APR 08:32:14copyright (C) 1995,, Oracle A nd/or its affiliates. All rights reserved. Ggsci (Localhost.localdomain) 1>
Create a working directory for 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
Configure parameters for the manager process
Ggsci (localhost.localdomain) 6> EDIT PARAMS MGR
Add the following to define the communication port for the manger process
--This is the minimal configuration of Manager PORT 7809
--followed by a comment
Start the manager process
Ggsci (Localhost.localdomain) 14> start Mgrmanager started.
View the manager process
Ggsci (localhost.localdomain) 17> info Mgrmanager is running (IP port localhost.localdomain.7809).
Stop the manager process
Ggsci (localhost.localdomain) 18> stop Mgrmanager process is required by other GGS processes. Is sure you want to stop it (y/n)? Ysending STOP request to MANAGER ... Request processed. Manager stopped.
If you omit the confirmation message
Ggsci (localhost.localdomain) 20> stop MGR! Sending STOP request to MANAGER ... Request processed. Manager stopped.
This article is from the "Ding Dong" blog, please be sure to keep this source http://lqding.blog.51cto.com/9123978/1694971
Oracle Goldengate Installation Configuration