Oracle GoldenGate Microservices, starting in 12c (188.8.131.52.1) through 19c (184.108.40.206.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:
- 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:
Both of these files will be in the $DEPLOYMENT_HOME/bin directory for the ServiceManager. On my system this location is:
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:
These environment variables are set to the etc and var directory locations for the ServiceManager deployment. On my system these are set to:
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]$ sh ./startSM.sh
Starting Service Manager process…
Service Manager process started (PID: 376)
In order to stop the ServiceManager manually:
Current Oracle Certs
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”.