Friday, 25 March 2016

Installing Goldengate in linux

                                   


1.    Download software Oracle GoldenGate V12.2.0.1.1 for Oracle on Linux x86-64

121210_fbo_ggs_Linux_x64_shiphome.zip
unzip the software:
$unzip 121210_fbo_ggs_Linux_x64_shiphome.zip

2.  You can user uninstaller to install software, I am using silent installation from putty.

edit response file:

cd /u02/software/fbo_ggs_Linux_x64_shiphome/Disk1/response

vi oggcore.rsp (edit the file)

INSTALL_OPTION=ORA11g
SOFTWARE_LOCATION=/u01/app/oracle/GG
START_MANAGER=false
UNIX_GROUP_NAME=oinstall

3.    Install GG
./runInstaller -silent -nowait -responseFile /u02/softwares/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp


create the softlink for given library file to resolve the below issue

$ ./ggsci

./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory

$ cd $ORACLE_HOME/lib

$ ls -lrt libnnz*
-rw-r--r--. 1 oracle oinstall  7996693 Jul  9  2013 libnnz11.so
-rw-r--r--. 1 oracle oinstall 11751340 Dec 24 09:48 libnnz11.a

$ pwd

/u01/app/oracle/product/11.2.0/db_1/lib

$ cd /orasw/app/oracle/GG

$ ln -s /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so .

4. Edit profile file and set LD_LIBRARY_PATH and GG_HOME

vi .bash_profile

export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_HOME
export GG_HOME=/u01/app/oracle/product/11.2.0/GG
export GG_HOME
export PATH=$ORACLE_HOME/bin:$GG_HOME:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$GG_HOME:$LD_LIBRARY_PATH
export ORACLE_SID=SRC

5. Enter into GG prompt

cd $GG_HOME

./ggsci

No comments:

Post a Comment