+ All Categories
Home > Documents > gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java...

gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java...

Date post: 24-May-2021
Category:
Upload: others
View: 7 times
Download: 0 times
Share this document with a friend
36
This note describes the procedure of implementing the GoldenGate plug-in for Oracle Cloud Control 12c. These versions are required for installing the plug-in: Enterprise Manager Cloud Control 12c Bundle Patch 1 (12.1.0.1) and later Oracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running. Set the JAVA_HOME variable to the location of the JDK installation and ensure that the PATH variable includes the $JAVA_HOME/jre/bin/server directory location. For example: $ export JAVA_HOME=/home/oracle/jdk1.6.0_38 Create the Oracle Wallet Add the password that the Oracle Management Agent will use to connect to the Oracle GoldenGate agent . Navigate to the Oracle GoldenGate installation directory and run the pw_agent_util.sh script This command specifies that we will be using the Java Agent (JAgent) and not the Oracle GoldenGate Monitor Server [oracle@kens-racnode1 goldengate]$ ./pw_agent_util.sh -jagentonly Please create a password for Java Agent: Please confirm password for Java Agent: Wallet is created successfully.
Transcript
Page 1: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

This note describes the procedure of implementing the GoldenGate plug-in for Oracle Cloud Control 12c.

These versions are required for installing the plug-in:

Enterprise Manager Cloud Control 12c Bundle Patch 1 (12.1.0.1) and later Oracle GoldenGate 11g Release 2 (11.2.1.0.1) and later

Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

Set the JAVA_HOME variable to the location of the JDK installation and ensure that the PATH variable includes the $JAVA_HOME/jre/bin/server directory location.

For example:

$ export JAVA_HOME=/home/oracle/jdk1.6.0_38

Create the Oracle Wallet

Add the password that the Oracle Management Agent will use to connect to the Oracle GoldenGate agent .

Navigate to the Oracle GoldenGate installation directory and run the pw_agent_util.sh script

This command specifies that we will be using the Java Agent (JAgent) and not the Oracle GoldenGate Monitor Server

[oracle@kens-racnode1 goldengate]$ ./pw_agent_util.sh -jagentonlyPlease create a password for Java Agent:Please confirm password for Java Agent:Wallet is created successfully.

Configure the GoldenGate instance for OEM 12c

Navigate to the Oracle GoldenGate installation directory

Edit the \cfg\Config.properties file.

Page 2: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

In our case we have changed these values:

agent.type.enabled=OEM

jagent.rmi.port=5559

jagent.host=kens-racnode-1jagent.jmx.port=5555jagent.username=oracle

Edit the GLOBALS file and add the parameter ENABLEMONITORING

edit params ./GLOBALS

GGSCHEMA ggs_ownerCHECKPOINTTABLE ggs_owner.chkptENABLEMONITORING

Stop and Start the Manager process

Create the Datastore

GGSCI (kens-racnode1) 1> CREATE DATASTOREDatastore created

Start the Oracle GoldenGate Agent:

GGSCI (kens-racnode1) 4> start jagent

GGCMD JAGENT started

Downloading and deploying the plug-in

Page 3: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

Navigation: Setup - Extensibility - Self Update

From the Type column select Plug-in

From the Plug-in Updates page we can see that an update for Oracle GoldenGate is available

Page 4: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

Select Oracle GoldenGate under the Plug-in Name column and click the Download button

After the download is completed, the status will change from Available to Downloaded

Navigation: Setup > Extensibility > Plug-ins

Page 5: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

We now have to deploy the plug-in first on the management server and then the servers where the management agents are running.

Page 6: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 7: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 8: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 9: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

Note – deployment of the Plug-in on the OMS will close our session on the 12c OEM console and the OMS will be down briefly while the Plug-In is deployed.

Page 10: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

If we query the status of the OMS, we can see that it is showing that the management server is down while the Oracle GoldenGate 12.1.0.1.0 Plug-in is deployed.

Page 11: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

We can monitor the status of the deployment job via the command ‘emctl status oms –details’

We can see that the status of the job is Deploying and the stage at present is Configure Repository

Page 12: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

After the deployment job is complete, the OMS is started up again automatically.

Page 13: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

When we connect back to the OEM 12c and go to Plug-ins page, we can now see that the GoldenGate Plug-in has now been deployed on the OMS.

Page 14: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

The next step is to deploy the Plug-in on both the nodes of the RAC cluster where the GoldenGate instances are going to be running.

Page 15: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 16: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 17: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 18: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 19: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 20: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 21: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

We can now see that the Plug-in has been deployed on both the OMS as well as it is showing that there are 2 Management Agents where the Plug-in has been deployed.

Page 22: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

We can now see that under the Targets menu, a GoldenGate target is now visible.

Page 23: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

Navigation: Setup > Configure Auto Discovery > All Discovery Modules

Page 24: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

Select the Agent Host Name and click Run Discovery Now

Page 25: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

Select the Agent Host Name – in this case we select 2 hosts where GoldenGate instances will be running

We can see that it needs the parameters to be entered for the JAgent user name and password

Page 26: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

We provide the password for the JAgent and also enter the JAgent user name

Page 27: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 28: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

We will now see two rows with the Target Type as Oracle GoldenGate

Select the Target Name and click on the Promote button

Page 29: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 30: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

From the Targets menu, select GoldenGate and that will take us to the GoldenGate home page.

We can see the status of the processes as well as drill down and obtain further information.

Page 31: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.
Page 32: gavinsoorma.com.au · Web viewOracle GoldenGate 11g Release 2 (11.2.1.0.1) and later Install Java 1.6 (or later) JDK on the servers where the GoldenGate instances will be running.

Recommended