Installing Oracle GoldenGate 12.3 Microservices edition in the Cloud compute, such as AWS EC2 or Oracle Cloud Compute, usually requires a silent installation, this blogs explains the steps.
More to Read
- To set up the swap space required by Oracle GoldenGate installation, refer to How to Add SWAP Space for GoldenGate Installation?
- For general Oracle GoldenGate silent installation, refer to How to Perform a Silent OUI Installation of GoldenGate for Oracle
- Oracle GoldenGate 12.3 Documentation
Before the installation, you need to download the Oracle GoldenGate 12.3 Microservcies edition (Note that the classic architecture and the microservices architecture are in two different downloads) from OTN or eDelivery website.
Then, unzip the file to a folder as your $SOFTWARE_HOME and start he installation.
1. Create the Response File
You can find the response file in the $SOFTWARE_HOME/Disk1/response directory. You need to update the installation option, software directory and the inventory directory. The following is an example:
1. Create the Response File
You can find the response file in the $SOFTWARE_HOME/Disk1/response directory. You need to update the installation option, software directory and the inventory directory. The following is an example:
$ more response/oggcore.rsp #################################################################### ## Copyright(c) Oracle Corporation 2016. 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_v1 2_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=ORA12c #------------------------------------------------------------------------------- # Specify a location to install Oracle GoldenGate #------------------------------------------------------------------------------- SOFTWARE_LOCATION=/home/ec2-user/oracle/product/12.3.0.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=/home/ec2-user/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=ec2-user
2. Run the installation
With the response file created, you can run the silent install shown as follows:
With the response file created, you can run the silent install shown as follows:
./runInstaller -silent -nowait -responseFile /home/ec2-user/software/fbo_ggs_Linux_x64_services_shiphome/Disk1/response/oggcore.rsp Starting Oracle Universal Installer... Checking Temp space: must be greater than 120 MB. Actual 1831 MB Passed Checking swap space: must be greater than 150 MB. Actual 4095 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-09-20_09-48-44PM. Please wait ...[ec2-user@ip-172-30-3-146 Disk1]$ You can find the log of this install session at: /home/ec2-user/inventory/logs/installActions2017-09-20_09-48-44PM.log The installation of Oracle GoldenGate Services was successful. Please check '/home/ec2-user/inventory/logs/silentInstall2017-09-20_09-48-44PM.log' for more details. As a root user, execute the following script(s): 1. /home/ec2-user/inventory/orainstRoot.sh Successfully Setup Software.
At the end, run the shell script as instructed.
$ sudo sh /home/ec2-user/inventory/orainstRoot.sh Changing permissions of /home/ec2-user/inventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /home/ec2-user/inventory to ec2-user. The execution of the script is complete.
The installation of the Oracle GoldenGate 12.3 Microservices edition is completed.