Sunday 23 December 2018

goldengate 12.3 installation silent mode

1. Download file below.
123014_fbo_ggs_Linux_x64_shiphome.zip

2. After unzip, you will get the file fbo_ggs_Linux_x64_shiphome

3. create response file.
[oracle@localhost opt]$ cd /opt/fbo_ggs_Linux_x64_shiphome/Disk1/response

vi oggcore.rsp

INSTALL_OPTION=ORA12C
SOFTWARE_LOCATION=/u01/app/oracle/products
START_MANAGER=NO
DATABASE_LOCATION=/u01/app/oracle/product/12.2.0/dbhome_1
INVENTORY_LOCATION=/u01/app/oraInventory
UNIX_GROUP_NAME=oinstall

4. Install in silent mode.
[oracle@localhost Disk1]$ ./runInstaller -silent -nowait -responseFile /opt/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 13755 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 1658 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-12-23_03-37-06AM. Please wait ...[oracle@localhost Disk1]$ You can find the log of this install session at:
 /u01/app/oraInventory/logs/installActions2018-12-23_03-37-06AM.log
The installation of Oracle GoldenGate Core was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2018-12-23_03-37-06AM.log' for more details.
Successfully Setup Software.

5. if you get any link issue, follow below.
[oracle@localhost gg123]$ ./ggsci
./ggsci: error while loading shared libraries: libnnz12.so: cannot open shared object file: No such file or directory

[oracle@localhost lib]$ cd /u01/app/oracle/product/12.2.0/dbhome_1/lib
[oracle@localhost lib]$ ls -lrt libnnz12*
-rw-r--r--. 1 oracle oinstall 1928046 Nov 21  2016 libnnz12.a
-rw-r--r--. 1 oracle oinstall 6568149 Nov 21  2016 libnnz12.so
[oracle@localhost lib]$ cd /u01/app/oracle/product/gg123
[oracle@localhost gg123]$ ln -s /u01/app/oracle/product/12.2.0/dbhome_1/lib/libnnz12.so .
---------------------------------------------------------------
we may get link issue for below libs, perform below command.
---------------------------------------------------------------
[oracle@localhost lib]$ cd /u01/app/oracle/product/gg123
ln -s /u01/app/oracle/product/12.2.0/dbhome_1/lib/libnnz12.so .
ln -s /u01/app/oracle/product/12.2.0/dbhome_1/lib/libclntsh.so.12.1 .
ln -s /u01/app/oracle/product/12.2.0/dbhome_1/lib/libons.so .
ln -s /u01/app/oracle/product/12.2.0/dbhome_1/lib/libclntshcore.so.12.1 .