Tuesday, 30 July 2019

How to Install Golden gate 12c R2 using Silent option




1] Set below parameter first if not set on OS level :

$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/db_1
$ export ORACLE_BASE=/u01/app/oracle

2] Got to golden gate software stage folder:

$ cd /u01/fbo_ggs_Linux_x64_shiphome

3] Find response file and edit below parameter in responce file.

[oracle@source fbo_ggs_Linux_x64_shiphome]$ find . -name oggcore.rsp
./Disk1/response/oggcore.rsp
SOFTWARE_LOCATION=/u02/ggs.12.2.0.1    ---GG_HOME location
START_MANAGER=true       --if you want to start manager after installation use "true"
MANAGER_PORT=7810        --GG manager port number
DATABASE_LOCATION=/u01/app/oracle/product/11.2.0.4/db_1   --ORACLE_HOME
INVENTORY_LOCATION=/u02/ggs.12.2.0.1/oraInventory    
UNIX_GROUP_NAME=oinstall                    ---linux group for gg installation

==> Sample response file:

####################################################################
## Copyright(c) Oracle Corporation 2014. All rights reserved.     ##
##                                                                ##
## Specify values for the variables listed below to customize     ##
## your installation.                                             ##
##                                                                ##
## Each variable is associated with a comment. The comment        ##
## can help to populate the variables with the appropriate        ##
## values.                                                        ##
##                                                                ##
## IMPORTANT NOTE: This file should be secured to have read       ##
## permission only by the oracle user or an administrator who     ##
## own this installation to protect any sensitive input values.   ##
##                                                                ##
####################################################################

#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v12_1_2

################################################################################
##                                                                            ##
## Oracle GoldenGate installation option and details                          ##
##                                                                            ##
################################################################################
#-------------------------------------------------------------------------------
# Specify the installation option.
# Specify ORA12c for installing Oracle GoldenGate for Oracle Database 12c and
#         ORA11g for installing Oracle GoldenGate for Oracle Database 11g
#-------------------------------------------------------------------------------
INSTALL_OPTION=ORA11g

#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/u02/ggs.12.2.0.1

#-------------------------------------------------------------------------------
# Specify true to start the manager after installation.
#-------------------------------------------------------------------------------
START_MANAGER=true

#-------------------------------------------------------------------------------
# Specify a free port within the valid range for the manager process.
# Required only if START_MANAGER is true.
#-------------------------------------------------------------------------------
MANAGER_PORT=7810

#-------------------------------------------------------------------------------
# Specify the location of the Oracle Database.
# Required only if START_MANAGER is true.
#-------------------------------------------------------------------------------
DATABASE_LOCATION=/u01/app/oracle/product/11.2.0.4/db_1


################################################################################
##                                                                            ##
## Specify details to Create inventory for Oracle installs                    ##
## Required only for the first Oracle product install on a system.            ##
##                                                                            ##
################################################################################

#-------------------------------------------------------------------------------
# Specify the location which holds the install inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/u02/ggs.12.2.0.1/oraInventory
#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.
# This parameter is not applicable if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall

4] Execute run-Installer with silent option.

[oracle@source Disk1]$ ./runInstaller -silent -responseFile /u01/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.   Actual 28888 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 3998 MB    Passed
How to install oracle Golden Gate 12c r2 through silent mode
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-07-30_09-25-30AM. Please wait ...[oracle@source Disk1]$ You can find the log of this install session at:
 /u01/app/oraInventory/logs/installActions2019-07-30_09-25-30AM.log
The installation of Oracle GoldenGate Core was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2019-07-30_09-25-30AM.log' for more details.
Successfully Setup Software.

5] Go to GG home directory and check manager process is running or not.

[oracle@source Disk1]$ cd /u02/ggs.12.2.0.1/
[oracle@source ggs.12.2.0.1]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38
Operating system character set identified as UTF-8.
Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved.

GGSCI (source.example.com) 1> info all
Program     Status      Group       Lag at Chkpt  Time Since Chkpt
MANAGER     RUNNING
GGSCI (source.example.com) 2>

1 comment:

  1. Do this hack to drop 2lb of fat in 8 hours

    More than 160 thousand men and women are using a simple and secret "liquids hack" to drop 2lbs each and every night as they sleep.

    It's proven and works with everybody.

    Here are the easy steps for this hack:

    1) Go get a drinking glass and fill it up with water half full

    2) Then use this proven HACK

    and be 2lbs skinnier when you wake up!

    ReplyDelete

The instance '****.**.**:3306' cannot be added to an InnoDB cluster because it has asynchronous (source-replica) replication channel(s) configured. MySQL InnoDB Cluster

  Error :    MySQL  JS > dba.checkInstanceConfiguration("root@192.*.*.*")  NOTE: Found unexpected replication channel '...