Looking for something? Try here..

Sunday, August 23, 2015

Oracle GoldenGate Installation

In this post, let's look at how to install Oracle GoldenGate as part of our demonstration. For other prerequisites, set up and process please see this link

Source:
Download the Oracle GoldenGate software from here (Choose correct version as per your server environment)
The file name we use here is p13087235_111110_SOLARIS64.zip
Copy to desired OGG home location and unzip the software bundle and untar the actual file. Once untar, all the binaries required to run Oracle GoldenGate will be extracted and installation is considered complete.
$ cd $OGG
$ unzip p13087235_111110_SOLARIS64.zip
$ tar -xvf ggs_Solaris_sparc_ora9i_64bit.tar
Destination:
Download the Oracle GoldenGate software from here (Choose correct version as per your server environment)
The file name we use here is p17952585_1121017_Linux-x86-64.zip
Copy the software to the target server OGG home location and unzip the software bundle using unzip. Untar to complete installation.
$ cd $OGG
$ unzip p17952585_1121017_Linux-x86-64.zip
$ tar -xvf fbo_ggs_Linux_x64_ora11g_64bit.tar
Note: Until Oracle GoldenGate version 11.2, unzip of the bundle provides all the required executable/binaries for working with GoldenGate. Starting Oracle GoldenGate version 12.1, the extracted file will be used to install Oracle GoldenGate using runInstaller. Steps are as below.
$ unzip 121210_fbo_ggs_Linux_x64_shiphome.zip
$ ls -lrt
total 256
drwxr-xr-x 3 oracle dba   4096 Aug  7  2014 fbo_ggs_Linux_x64_shiphome
-rw-r--r-- 1 oracle dba   1540 Aug 11  2014 OGG-12.1.2.1.0-README.txt
-rw-r--r-- 1 oracle dba 246718 Aug 11  2014 OGG-12.1.2.1.0-ReleaseNotes.pdf
$ cd /oracle/U04/gg_home/12.1/fbo_ggs_Linux_x64_shiphome/Disk1/response
Edit all the required parameters (using any test editor) in the response file under /oracle/U04/gg_home/12.1/fbo_ggs_Linux_x64_shiphome/Disk1/response for GoldenGate software installation.

Parameters required:
INSTALL_OPTION - specify whether for ORA12c or ORA11g
SOFTWARE_LOCATION - specify the GG software install location (OGG home location)
INVENTORY_LOCATION - specify the inventory location
UNIX_GROUP_NAME - specify unix group name

Other optional parameters are START_MANAGER, MANAGER_PORT and DATABASE_LOCATION.
Save the file oggcore.rsp and start the installation as below.
$ pwd
/oracle/U04/gg_home/12.1/fbo_ggs_Linux_x64_shiphome/Disk1
$ ./runInstaller -silent -responseFile /oracle/U04/gg_home/12.1/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp

You would get something like below to say Software installation is successful.
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 14621 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2832 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-08-03_02-49-44PM. Please wait ...$
…
…
…
The installation of Oracle GoldenGate Core was successful.
Please check '/apps/app/oracle/oraInventory/logs/silentInstall2015-08-03_02-49-44PM.log' for more details.
Successfully Setup Software.
Happy Installation!

No comments:

Post a Comment