GoldenGate 23ai Silent Install
Oracle Goldengate 23ai can be installed using Silent installation method and can be configured without manual input during the process, using pre-defined settings in a response file. Silent installation is particularly beneficial in situations where Multiple installations of Oracle GoldenGate are needed across different servers or locations and part of the automated scripts/Deployments.
In certain environments, the absence of a Graphical User Interface (GUI) necessitates the installation of programs via the command line. Under these conditions, we are required to install GoldenGate Microservices 21c using command-line methods. This post focuses on performing GoldenGate 23ai silent Install.
In certain environments, the absence of a Graphical User Interface (GUI) necessitates the installation of programs via the command line. Under these conditions, we are required to install GoldenGate Microservices 21c using command-line methods. This post focuses on performing GoldenGate 23ai silent Install.
Download GoldenGate 23ai Software
- Download from https://edelivery.oracle.com
Search for Oracle GoldenGate and select the version 23.4 - Also can be downloaded from https://www.oracle.com/middleware/technologies/goldengate-downloads.html
Sample parameters of response file
- GoldenGate Host VM : Here in this example OCI Compute Instance with OEL 8 has been used.
- Downloaded Binaries in to HOST VM with sufficient Disk space.
- Create 3 Directories
- /u01/ogg23ai/ogg23ai_MA-> This is for GG Binaries
- /u01/ogg23ai/ogg23ai_SM-> This is for Service Manager
- /u01/ogg23ai/ogg23ai_DEPLOYMENT-> This is for DEPLOYMENT
- /u01/software -> Software is placed inthis location.
Install GoldenGate Binaries/Software
Unzip GG32C-BiariesV1041908-01.zip
Update the oggcore.rsp -> This would be normally avialable in Disk1/response
Update the oggcore.rsp -> This would be normally avialable in Disk1/response
Sample parameters of response file
#-------------------------------------------------------------------------------------
INSTALL_OPTION=ora23ai
SOFTWARE_LOCATION=/u01/ogg23ai/ogg23ai_MA
INVENTORY_LOCATION=/u01/ogg23ai
UNIX_GROUP_NAME=opc
#---------------------------------------------------------------
./runInstaller -silent -nowait -responseFile /u01/software/fbo_ggs_Linux_x64_Oracle_services_shiphome/Disk1/response/oggcore.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 22069 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4095 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2024-05-23_03-18-33AM. Please wait ...[opc@vm-gg Disk1]$ You can find the log of this install session at:
/tmp/OraInstall2024-05-23_03-18-33AM/installActions2024-05-23_03-18-33AM.log
The installation of Oracle GoldenGate Services was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2024-05-23_03-18-33AM.log' for more details.
As a root user, run the following script(s):
1. /u01/app/oraInventory/orainstRoot.sh
Successfully Setup Software.
The log of this install session can be found at:
/u01/app/oraInventory/logs/installActions2024-05-23_03-18-33AM.log
[root@vm-gg Disk1]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to opc.
The execution of the script is complete.
CREATE DEPLOYMENT
In GoldenGate 23ai, create deployment response file has an option to create new service manager along with deployments.
Here is the sample response file. Please modify according to the enviorment.
Here is the sample response file. Please modify according to the enviorment.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_oggca_response_schema_v23_1_0
CONFIGURATION_OPTION=ADD
DEPLOYMENT_NAME=DEP23AI
ADMINISTRATOR_USER=oggadmin
ADMINISTRATOR_PASSWORD=Welcome#_2024
DEPLOYMENT_ADMINISTRATOR_USER=oggadmin
DEPLOYMENT_ADMINISTRATOR_PASSWORD= Welcome#_2024
SERVICEMANAGER_DEPLOYMENT_HOME=/u01/ogg23ai/ogg23ai_SM
SERVICEMANAGER_ETC_HOME=/u01/ogg23ai/ogg23ai_SM/etc
SERVICEMANAGER_CONF_HOME=/u01/ogg23ai/ogg23ai_SM/etc/conf
SERVICEMANAGER_SSL_HOME=/u01/ogg23ai/ogg23ai_SM/etc/ssl
SERVICEMANAGER_VAR_HOME=/u01/ogg23ai/ogg23ai_SM/var
SERVICEMANAGER_DATA_HOME=/u01/ogg23ai/ogg23ai_SM/var/lib/data
SERVICEMANAGER_ARCHIVE_HOME=/u01/ogg23ai/ogg23ai_SM/var/lib/archive
HOST_SERVICEMANAGER=10.0.0.169
PORT_SERVICEMANAGER=9001
SECURITY_ENABLED=false
STRONG_PWD_POLICY_ENABLED=true
CREATE_NEW_SERVICEMANAGER=true
REGISTER_SERVICEMANAGER_AS_A_SERVICE=true
INTEGRATE_SERVICEMANAGER_WITH_XAG=false
EXISTING_SERVICEMANAGER_IS_XAG_ENABLED=false
ENABLE_SERVICE_MANAGER_REMOTE_METRICS=true
SERVICE_MANAGER_REMOTE_METRICS_LISTENING_HOST=10.0.0.169
SERVICE_MANAGER_REMOTE_METRICS_LISTENING_PORT=9050
CONFIGURATION_SERVICE_ENABLED=false
CONFIGURATION_SERVICE_BACKEND_TYPE=FILESYSTEM
OGG_SOFTWARE_HOME=/u01/ogg23ai/ogg23ai_MA
OGG_DEPLOYMENT_HOME=/u01/ogg23ai/ogg23ai_DEPLOYMENT
OGG_ETC_HOME=/u01/ogg23ai/ogg23ai_DEPLOYMENT/etc
OGG_CONF_HOME=/u01/ogg23ai/ogg23ai_DEPLOYMENT/etc/conf
OGG_SSL_HOME=/u01/ogg23ai/ogg23ai_DEPLOYMENT/etc/ssl
OGG_VAR_HOME=/u01/ogg23ai/ogg23ai_DEPLOYMENT/var
OGG_DATA_HOME=/u01/ogg23ai/ogg23ai_DEPLOYMENT/var/lib/data
OGG_ARCHIVE_HOME=/u01/ogg23ai/ogg23ai_DEPLOYMENT/var/lib/archive
ENV_LD_LIBRARY_PATH=${OGG_HOME}/lib/instantclient:${OGG_HOME}/lib
ENV_TNS_ADMIN=/u01/ora_client/network/admin
TLS_1_2_ENABLED=false
TLS_1_3_ENABLED=true
FIPS_ENABLED=false
ADMINISTRATION_SERVER_ENABLED=true
PORT_ADMINSRVR=9002
DISTRIBUTION_SERVER_ENABLED=true
PORT_DISTSRVR=9003
NON_SECURE_DISTSRVR_CONNECTS_TO_SECURE_RCVRSRVR=false
RECEIVER_SERVER_ENABLED=true
PORT_RCVRSRVR=9004
METRICS_SERVER_ENABLED=true
METRICS_SERVER_IS_CRITICAL=false
PORT_PMSRVR=9005
PMSRVR_DATASTORE_TYPE=BDB
ENABLE_DEPLOYMENT_REMOTE_METRICS=true
DEPLOYMENT_REMOTE_METRICS_LISTENING_HOST=10.0.0.169
DEPLOYMENT_REMOTE_METRICS_LISTENING_PORT=9050
OGG_SCHEMA=c##ggadmin
#----------------------------------------------------------------------------
Once the response file is created, you can go ahead and execute oggca.sh.
Here in this case
/u01/ogg23ai/ogg23ai_MA/oggca.sh -silent -responseFile /u01/ogg23ai/ogg23ai_MA/Inventory/response/oggca.rsp
Here in this case
/u01/ogg23ai/ogg23ai_MA/oggca.sh -silent -responseFile /u01/ogg23ai/ogg23ai_MA/Inventory/response/oggca.rsp
Run the registrServiceManager.sh at the end when it is prompted.
Now at this point creation of Service Manager and Deployment is complete. Open the Page using http://IPADDRESS:PORT
Example : http://138.0.1.48:9000
Example : http://138.0.1.48:9000
After logging in, remember to manually start the Deployment, as it will not start automatically.
Login to Administration service and create the required services.
SUMMARY:This article describes step by step GoldenGate 23ai Silent Install process starting from downloading the software till creation of Deployment with the sample parameter files.
For more information about documentation please check here.
Hope you found this article useful.
Disclaimer: The views expressed on this document are my own and do not necessarily reflect the views of Oracle.
For more information about documentation please check here.
Hope you found this article useful.
Disclaimer: The views expressed on this document are my own and do not necessarily reflect the views of Oracle.