Post on 14-Apr-2018
7/29/2019 GoldenGate Plug In
1/32
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.
Configure the GoldenGate instance for OEM 12c
Navigate to the Oracle GoldenGate installation directory
7/29/2019 GoldenGate Plug In
2/32
Edit the \cfg\Config.properties file.
In our case we have changed these values:
agent.type.enabled=OEM
jagent.rmi.port=5559jagent.host=kens-racnode-1
jagent.jmx.port=5555
jagent.username=oracle
Edit the GLOBALS file and add the parameter ENABLEMONITORING
edit params ./GLOBALS
GGSCHEMA ggs_owner
CHECKPOINTTABLE ggs_owner.chkpt
ENABLEMONITORING
Stop and Start the Manager process
Create the Datastore
GGSCI (kens-racnode1) 1> CREATE DATASTORE
Datastore created
Start the Oracle GoldenGate Agent:
GGSCI (kens-racnode1) 4> start jagent
GGCMD JAGENT started
7/29/2019 GoldenGate Plug In
3/32
Downloading and deploying the plug-in
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
7/29/2019 GoldenGate Plug In
4/32
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
7/29/2019 GoldenGate Plug In
5/32
Navigation: Setup > Extensibility > Plug-ins
We now have to deploy the plug-in first on the management server and then the servers where the management agents are running.
7/29/2019 GoldenGate Plug In
6/32
7/29/2019 GoldenGate Plug In
7/32
7/29/2019 GoldenGate Plug In
8/32
7/29/2019 GoldenGate Plug In
9/32
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.
7/29/2019 GoldenGate Plug In
10/32
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.
7/29/2019 GoldenGate Plug In
11/32
We can monitor the status of the deployment job via the command emctl status omsdetails
We can see that the status of the job is Deploying and the stage at present is Configure Repository
7/29/2019 GoldenGate Plug In
12/32
After the deployment job is complete, the OMS is started up again automatically.
7/29/2019 GoldenGate Plug In
13/32
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.
7/29/2019 GoldenGate Plug In
14/32
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.
7/29/2019 GoldenGate Plug In
15/32
7/29/2019 GoldenGate Plug In
16/32
7/29/2019 GoldenGate Plug In
17/32
7/29/2019 GoldenGate Plug In
18/32
7/29/2019 GoldenGate Plug In
19/32
7/29/2019 GoldenGate Plug In
20/32
7/29/2019 GoldenGate Plug In
21/32
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.
7/29/2019 GoldenGate Plug In
22/32
We can now see that under the Targets menu, a GoldenGate target is now visible.
7/29/2019 GoldenGate Plug In
23/32
Navigation: Setup > Configure Auto Discovery > All Discovery Modules
7/29/2019 GoldenGate Plug In
24/32
Select the Agent Host Name and click Run Discovery Now
7/29/2019 GoldenGate Plug In
25/32
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
7/29/2019 GoldenGate Plug In
26/32
We provide the password for the JAgent and also enter the JAgent user name
7/29/2019 GoldenGate Plug In
27/32
7/29/2019 GoldenGate Plug In
28/32
We will now see two rows with the Target Type as Oracle GoldenGate
Select the Target Name and click on the Promote button
7/29/2019 GoldenGate Plug In
29/32
7/29/2019 GoldenGate Plug In
30/32
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.
7/29/2019 GoldenGate Plug In
31/32
7/29/2019 GoldenGate Plug In
32/32