Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
oracle_goldengate_bigdata_install_config [2020/11/11 13:43] – [Overview] andonovj | oracle_goldengate_bigdata_install_config [2020/11/22 15:10] (current) – andonovj | ||
---|---|---|---|
Line 2: | Line 2: | ||
Oracle Golden gate for Big data is a separate software than the standard Oracle Golden Gate, so you need to download it from the edelivery or the oracle site. | Oracle Golden gate for Big data is a separate software than the standard Oracle Golden Gate, so you need to download it from the edelivery or the oracle site. | ||
- | {{ : | + | {{: |
=====Installation===== | =====Installation===== | ||
Line 50: | Line 50: | ||
SETENV (ORACLE_HOME='/ | SETENV (ORACLE_HOME='/ | ||
UserIdAlias oggadmin | UserIdAlias oggadmin | ||
- | rmthost | + | rmthost |
rmttrail ./dirdat/dp | rmttrail ./dirdat/dp | ||
Table oggsrc.*; | Table oggsrc.*; | ||
Line 69: | Line 69: | ||
</ | </ | ||
- | + | < | |
- | =====Configure Destination===== | + | start mgr |
- | The destination will accept the data from the source (standard Oracle Golden Gate) and send it to ActiveMQ via Java Handler | + | dblogin useridalias oggadmin |
- | + | register extract priex database | |
- | ====Configure Manager==== | + | add extract priex, integrated tranlog, begin now |
- | + | add exttrail | |
- | < | + | add extract dpump, exttrailsource |
- | [oracle@edvmr1p0 oggtrg]$ ggsci | + | add rmttrail |
- | + | start priex | |
- | Oracle GoldenGate Command Interpreter | + | start dpump |
- | Version 12.2.0.1.160823 OGGCORE_OGGADP.12.2.0.1.0_PLATFORMS_161019.1437 | + | |
- | Linux, x64, 64bit (optimized), | + | |
- | Operating system character set identified as UTF-8. | + | |
- | + | ||
- | Copyright (C) 1995, 2016, Oracle and/or its affiliates. All rights reserved. | + | |
- | + | ||
- | + | ||
- | + | ||
- | GGSCI (edvmr1p0) 1> create subdirs | + | |
- | + | ||
- | Creating subdirectories under current directory / | + | |
- | + | ||
- | Parameter files / | + | |
- | Report files / | + | |
- | Checkpoint files / | + | |
- | Process status files / | + | |
- | SQL script files / | + | |
- | Database definitions files / | + | |
- | Extract data files / | + | |
- | Temporary files | + | |
- | Credential store files / | + | |
- | Masterkey wallet files / | + | |
- | Dump files / | + | |
- | + | ||
- | + | ||
- | GGSCI (edvmr1p0) 2> edit param mgr | + | |
- | + | ||
- | + | ||
- | + | ||
- | GGSCI (edvmr1p0) 3> start mgr | + | |
- | Manager started. | + | |
- | + | ||
- | + | ||
- | GGSCI (edvmr1p0) 4> info all | + | |
- | + | ||
- | Program | + | |
- | + | ||
- | MANAGER | + | |
- | + | ||
- | + | ||
- | GGSCI (edvmr1p0) 5> view param mgr | + | |
- | + | ||
- | Port 7909 | + | |
- | DynamicPortList 20100-20199 | + | |
- | PurgeOldExtracts | + | |
- | Autostart Replicat R* | + | |
- | AUTORESTART Replicat *, WaitMinutes 1, Retries 3 | + | |
</ | </ | ||
- | |||
- | |||
- | ====Configure Replicat==== | ||
- | < | ||
- | GGSCI (edvmr1p0) 3> edit param jmsrep | ||
- | |||
- | REPLICAT JMSREP | ||
- | getEnv (JAVA_HOME) | ||
- | getEnv (LD_LIBRARY_PATH) | ||
- | getEnv (PATH) | ||
- | TARGETDB LIBFILE libggjava.so SET property=dirprm/ | ||
- | MAP oggsrc.*, TARGET oggsrc.*; | ||
- | |||
- | |||
- | GGSCI (edvmr1p0) 4> add replicat jmsrep, exttrail ./dirdat/dp | ||
- | REPLICAT added. | ||
- | </ | ||
- | |||
- | Create the Java Adapter Properties file: jmsrep.properties | ||
- | |||
- | < | ||
- | vi / | ||
- | |||
- | ## | ||
- | gg.handlerlist=jms | ||
- | ## JNDI settings | ||
- | java.naming.provider.url=tcp:// | ||
- | java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory | ||
- | ## | ||
- | gg.handler.jms.type=jms | ||
- | gg.handler.jms.destinationType=queue | ||
- | gg.handler.jms.destination=dynamicQueues/ | ||
- | gg.handler.jms.connectionFactory=ConnectionFactory | ||
- | gg.handler.jms.mode=op | ||
- | gg.handler.jms.format=xml2 | ||
- | gg.log.level=debug | ||
- | gg.log=log4j | ||
- | goldengate.userexit.timestamp=utc | ||
- | goldengate.userexit.nochkpt=true | ||
- | jvm.bootoptions=-Djava.class.path=.: | ||
- | :wq | ||
- | </ | ||
- | |||
- |