How to Start and Stop Service Manager and Deployments

The Service Manager is the central hub from where you can start and stop deployments and other microservices such as Administration Server, Distribution Server, Performance Metrics Server, and Receiver Server.

Using Service Manager Start or Stop a Deployment

Note:

If Oracle GoldenGate Service Manager is registered as a system daemon, then the Service Manager along with the other servers, are automatically started when the host is (re)started.

Using Scripts to Start and Stop a Deployment

The Service Manager deployment include startup and shutdown scripts (startSM.sh and stopSM.sh) for starting and stopping the deployment locally from the command line.

Here are the steps to access and run the scripts:

  1. Ensure that your environment variables, mainly the ETC_HOME and the VAR_HOME, are set up correctly. See Add a Deployment for environment variable setup.
  2. Navigate to DEPLOYMENT_HOME/bin directory for the Service Manager.

    Note:

    If you selected to run the Service Manager as a system daemon, then these script files will not be in this location. Instead, the bin directory would contain the file, oggInst.loc, which is used to register the Service Manager as a daemon.
  3. Run the following command to stop the Service Manager:
    ./stopSM.sh
  4. Run the folloiwng command, to start or restart the Service Manager:
    ./startSM.sh