Start and Stop the Service Manager
The start and stop process of the Service Manager within Oracle GoldenGate Microservices Architecture is based on two approaches:
-
If the Service Manager is configured in manual mode then there are scripts in the
$OGG_SRVMGR_DIRECTORY/bindirectory that you can run to start or stop the Service Manager.-
To start the Service Manager:
$OGG_SRVMGR_DIRECTORY/bin/startSM.sh -
To stop the Service Manager:
$OGG_SRVMGR_DIRECTORY/bin/stopSM.sh
Note:
Before running either script to start or stop the Service Manager, edit each and set the following variables:
export $OGG_HOME=Oracle GoldenGate installation folderexport $OGG_ETC_HOME=OGG_SRVMGR_DIRECTORY/etcexport $OGG_VAR_HOME=OGG_SRVMGR_DIRECTORY/var -
-
If the Service Manager is configured as a daemon or service, the scripts required to start or stop for manual interaction are not created. The operating system is responsible for starting or stopping the Service Manager.
For Linux:
systemctl start OracleGoldenGatesystemctl status OracleGoldenGatesystemctl stop OracleGoldenGateFor Windows:net start OracleGoldenGatenet stop OracleGoldenGate -
If the Service Manager is configured to run with the XAG agent in an Oracle Cluster Ready Service (CRS); then the start and stop process is handled by the CRS stack.