Goldengate installation in silent mode
Goldengate installation in silent mode. First step is to create response file for triggering installation in silent mode. But first we will understand system requirement and other prerequisites.
1
System
Requirements and Preinstallation Instructions
Platform Oracle Version Installed Size (MB)
Windows 11g 504
Windows 12c 504
Linux 11g 492
Linux 12c 521
Solaris SPARC 11g 391
Solaris SPARC 12c 391
1.2 Operating System Privileges
To install on
UNIX, the person who installs Oracle GoldenGate must have read
and write
privileges on the Oracle GoldenGate installation directory.
osuser : oracle
groups : oinstall, dba
1.3
Create Directories and Symbolic link for GG binaries
mkdir
-p /u02/app/oracle/
mkdir
-p /u02/app/oracle/ogg_12.2
cd /u02/app/oracle/
ln -s
/u02/app/oracle/ogg_12.2 ogg
1
Golden Gate 12.2.0.1 Installation
Create following
directories for GoldenGate software and trail files:
GoldenGate Home: /u02/app/oracle/ogg
GoldenGate Trail file:
Source System
Trail Location: (The trail file size depends on the application requirement)
If possible, put trail
files in shared storage.
Trail file
location: /ggtrail/outbound/..
n If multiple databases utilizing GG, trail files can be located as
such:
/ggtrail/outbound/database_name1/EX..
/ggtrail/outbound/database_name2/EX..
Target System
Trail File Location:
/ggtrail/dirdat/inbound/<sourcehost>/EX..
The minimum size of
/ggtrail filesystem should be 500GB.
Note: GG
database trail files should never be placed under GoldenGate Home (/u02/app/oracle/ogg).
1.1 Golden Gate Software Download.
1. Go to http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html
2. Accept License
Agreement
3. Find out your OS
name and version:
$ uname -a
x86_64 x86_64 x86_64
GNU/Linux
4. Downloaded Oracle GoldenGate V12.2.0.1.0 for Oracle on
Linux x86-64
5. You will get the
zip file like: fbo_ggs_Linux_x64_shiphome.zip
6. unzip the above file will generate a Folder: fbo_ggs_Linux_x64_shiphome
Note: Download the specific version of golden gate and
Install on Primary and Target sites. Each Oracle database version on each
platform has different installation binaries of Golden
Gate.
Prior to 12c Golden gate Installation was very simple,
only need to unzip the file after download
Set ORACLE_SID, ORACLE_HOME, PATH and LD_LIBRARY_PATH
Platform |
Environment variable |
IBM AIX IBM z/OS |
LIBPATH
|
HP-UX |
SHLIB_PATH |
Sun Solaris HP Tru64 (OSF/1) LINUX |
LD_LIBRARY_PATH |
Example:
export
LD_LIBRARY_PATH=/u02/app/oracle/produc/ogg_12.2:$LD_LIBRARY_PATH
The best practice is to install Oracle GoldenGate on each
node. The Oracle GoldenGate installation must have the same location path on
every node.
1. Shutdown
Oracle GoldenGate and move the following directories to the shared storage
a.
./dirprm (parameter
files – all)
b.
./dirchk (process
checkpoint files)
c.
./dirpcs (process run PID files)
d.
./dirdat (trail files – if used in dirdat)
e.
./dirtmp (caching
to temp files for extract or apply)
f.
./BR
(extraction
only – Bounded Recovery files)
g.
./scripts (monitoring
scripts and log files)
h.
./dirdef (source definition files)
./ dircrd (credential
stores)
Response file.
cat /tmp/gg.rsp:
oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v12_1_2
INSTALL_OPTION=ORA11g
SOFTWARE_LOCATION=/u01/app/oracle/dba/scripts/gg/GG_12.2.1
START_MANAGER=FALSE
#MANAGER_PORT=21001
DATABASE_LOCATION=/u01/app/oracle/product/12.2.2.1/dbhome_1
INVENTORY_LOCATION=/u01/app/oraInventory
UNIX_GROUP_NAME=oinstall
Initiate installation in silent mode.
GGserver> ./runInstaller -silent -executePrereqs -responseFile /tmp/gg.rsp -showProgress -local
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 5862 MB Passed
Checking swap space: must be greater than 150 MB. Actual 24570 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-12-10_01-54-37PM. Please wait ...GGserver> [WARNING] [INS-75003] The specified directory /u01/app/oracle/dba/scripts/shyam/GG_12.2.1 is not empty.
CAUSE: The directory specified /u01/app/oracle/dba/scripts/shyam/GG_12.2.1 contains files.
ACTION: Clean up the specified directory or enter a new directory location.
[WARNING] [INS-75016] Cluster detected: Specified software location is not shared.
It is recommended to install Oracle GoldenGate entirely on shared storage.
CAUSE: The specified software location may not be accessible from one or more cluster nodes.
ACTION: Specify the software location on a shared storage.
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2015-12-10_01-54-37PM.log
Prepare in progress.
.................................................. 10% Done.
Prepare successful.
WARNING:OUI-10030:You have specified a non-empty directory to install this product. It is recommended to specify either an empty or a non-existent directory. You may, however, choose to ignore this message if the directory contains Operating System generated files or subdirectories like lost+found.
Do you want to proceed with installation in this Oracle Home?
Copy files in progress.
.................................................. 61% Done.
.................................................. 69% Done.
.................................................. 77% Done.
.................................................. 82% Done.
.................................................. 87% Done.
.................................................. 94% Done.
.................................................. 95% Done.
Copy files successful.
Link binaries in progress.
.................................................. 95% Done.
Link binaries successful.
Setup files in progress.
.................................................. 95% Done.
.................................................. 96% Done.
.................................................. 97% Done.
.................................................. 98% Done.
.................................................. 99% Done.
.................................................. 100% Done.
Setup files successful.
The installation of Oracle GoldenGate Core was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2015-12-10_01-54-37PM.log' for more details.
Successfully Setup Software.
GGserver> ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.1.0 OGGCORE_12.2.0.1.0_PLATFORMS_151101.1925.2_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Nov 11 2015 01:38:14
Operating system character set identified as UTF-8.
Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
GGSCI (GGserver) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER STOPPED
GGSCI (GGserver) 2>
You can learn more about oracle database administration:
Pro Oracle GoldenGate for the DBA
Oracle Security Tools Installation and Configuration
==========================================================
Comments
Post a Comment
Please do not enter any spam link in comment Section suggestions are Always Appreciated. Thanks.. !