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 $OGG_SRVMGR_DIRECTORY/bin 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 and set the following variables:

    export $OGG_HOME=Oracle GoldenGate installation folder

    export $OGG_ETC_HOME=OGG_SRVMGR_DIRECTORY/etc

    export $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 OracleGoldenGate
    systemctl status OracleGoldenGate
    systemctl stop OracleGoldenGate
    For Windows:
    net start OracleGoldenGate
    net stop OracleGoldenGate
  • If you use experience any issued while using the registerServiceManager.sh/bat utility to register the Service Manager as a daemon or service, see the MOS note 3051194.1 RegisterServiceManager.sh Fails By oggca.sh: command not found. Also see the Known Issues and Limitations 23ai (23.9.1.25.08) in Oracle GoldenGate Release Notes.

  • 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.