23c GoldenGate Microservices - Service Manager Deployment - Silent mode
- Sathishkumar Rangaraj
- Feb 3
- 2 min read
With continuation of previous article, here i'll share the how to install the OGG Microservice Service manager Deployment in silent mode.
Deployments are created after Oracle GoldenGate software is installed. The Oracle GoldenGate Configuration Assistant (OGGCA) utility is used to create deployments and the Service Manager process on a host machine.
However, in certain environment, invoking GUI is not possible. In those situation, we are required to follow silent mode installation.
Method of Procedure.
1/ Create appropriate directories
[opc@cams-ogg-si ~]$ mkdir -p /u01/app/ogg23ai/ogg23ai_ma (Software Home) # already done in part 1
[opc@cams-ogg-si ~]$ mkdir -p /u01/app/ogg23ai/ogg23ai_sm (SERVICEMANAGER_DEPLOYMENT_HOME)
[opc@cams-ogg-si ~]$ mkdir -p /u01/app/ogg23ai/ogg23ai_deploy (directory for OGG deployment project)
2/ Whitelist the ports in firewall
In my setup, following ports i am going to use for following services
home/service manager 7801
admin service 7802
Distribution service 7803
Receiver service 7804
Perf metrics service 7805
remote metrics (srvcmgr)
statsd 7809
remote metrics (for deployment)
statsd 7810
[opc@cams-ogg-si ~]$ sudo firewall-cmd --add-port=7801-7810/tcp
[opc@cams-ogg-si ~]$ sudo firewall-cmd --add-port=7801-7810/tcp --permanent
[opc@cams-ogg-si ~]$ sudo firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: ens3
sources:
services: dhcpv6-client ssh
ports: 7801-7810/tcp
protocols:
forward: no
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
[opc@cams-ogg-si ~]$ sudo firewall-cmd --reload
[opc@cams-ogg-si ~]$ sudo firewall-cmd --list-ports
7801-7810/tcp
3/ Create a response oggca.rsp file
As specified in Oracle doc template , create a response file from any accessible location.
I created under /u01/app/ogg23ai folder
4/ Set JAVA_HOME
( we already did java installation during OGG Microservice Binary installation )
export JAVA_HOME=/usr/java/jdk-11.0.10
5/ Execute oggca.sh in silent mode
cd ~/u01/app/ogg23ai/ogg23ai_ma/bin/
[opc@cams-ogg-si bin]$ ./oggca.sh -silent -responseFile /u01/app/ogg23ai/oggca.rsp

Execute registerServiceManager.sh as root user or as opc using sudo
[opc@cams-ogg-si ~]$ sudo /u01/app/ogg23ai/ogg23ai_sm/bin/registerServiceManager.sh

As said already in previous article, i am not using Reverse Proxy and Secure Deployment. If you required secure deployment, refer my previous article for reference notes.
6/ Access GoldenGate Microservices

Note: OGG23ai Microservice is bundled with oracle instantclient libraries.
Hence, we can set appropriate path and invoke sqlplus
My environment path variables.
edit .bash_profile
export OGG_HOME=/u01/app/ogg23ai/ogg23ai_ma
export OGG_CONF_HOME=/u01/app/ogg23ai/ogg23ai_sm/etc/conf
export OGG_VAR_HOME=/u01/app/ogg23ai/ogg23ai_sm/var
export LD_LIBRARY_PATH=${OGG_HOME}/lib/instantclient:${OGG_HOME}/lib
export PATH=$PATH:$OGG_HOME:$LD_LIBRARY_PATH
I believe this article finds easy as a reference for silent mode installation of OGGv23 Microservice.
If you need any clarification , please reach me through Linkedin or email.
Comments