ServiceManager … Manually start/stop
Oracle GoldenGate Microservices, starting in 12c (12.3.0.0.1) through 19c (19.1.0.0.1), provide a set of services that you can interact with via a webpage, command line, REST API, and PL/SQL. All of which is great; however, for any of these items to work the ServiceManager has to be up and running.
There are three ways configure ServiceManager when an environment is initally setup. These three ways are:
- Manually
- As a daemon
- Integration with XAG agent (9.1 or later)
For this post, I’ll just show you how to start or stop ServiceManager manually. Manually starting or stopping the ServiceManager is the default setting if you do not select either of the other two options while running Oracle GoldenGate Configuration Assistant (OGGCA.sh).
In order to start or stop the ServiceManager manually, you have to make sure you have two files. These files are:
- startSM.sh
- stopSM.sh
Both of these files will be in the $DEPLOYMENT_HOME/bin directory for the ServiceManager. On my system this location is:
/opt/app/oracle/gg_deployments/ServiceManager/bin
Note: If you are running ServiceManager as a daemon, you will not have these files. In the bin directory you will find a file that is used to register ServiceManager as a daemon.
Before you can start or stop the ServiceManager manually, there are two (2) environment variables that need to be set. These environment variables are:
- OGG_ETC_HOME
- OGG_VAR_HOME
These environment variables are set to the etc and var directory locations for the ServiceManager deployment. On my system these are set to:
export OGG_ETC_HOME=/opt/app/oracle/gg_deployments/ServiceManager/etc
export OGG_VAR_HOME=/opt/app/oracle/gg_deployments/ServiceManager/var
Now with all these requirements met, I can now go back to the $DEPLOYMENT_HOME/bin directory and start or stop the ServiceManager.
[oracle@ogg19c bin]$ cd /opt/app/oracle/gg_deployments/ServiceManager/bin
[oracle@ogg19c bin]$ sh ./startSM.sh
[oracle@ogg19c bin]$ sh ./startSM.sh
Starting Service Manager process…
Service Manager process started (PID: 376)
In order to stop the ServiceManager manually:
[oracle@ogg19c bin]$ cd /opt/app/oracle/gg_deployments/ServiceManager/bin
[oracle@ogg19c bin]$ sh ./stopSM.sh
Stopping Service Manager process (PID: 376)…
Service Manager stopped
Enjoy!!!
Current Oracle Certs
Bobby Curtis
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.
Fantastic job priligy 30mg Monitor Closely 1 stiripentol, estradiol
Hi! Do you know if they make any plugins to help with Search Engine Optimization? I’m
trying to get my site to rank for some targeted keywords but I’m not seeing very good gains.
If you know of any please share. Kudos! You can read similar art
here: Eco product