Remove the Service Manager

Learn about removing the Service Manager.

Topics:

Start OGGCA to Remove the Service Manager

The option to remove the Service Manager is available in OGGCA, only if there are no available deployments to remove. To remove the Service Manager:
  1. Run the OGGCA wizard from the /bin directory of Oracle GoldenGate home:
    cd $OGG_HOME/bin
    ./oggca.sh
  2. Select Existing Service Manager from the Select Service Manager Options screen. Click Next.
  3. Select the Service Manager from the drop down list.
  4. Select Remove Service Manager Deployment from the Configuration Options screen.
  5. Click Finish to remove the Service Manager.

Files to be Removed Manually After Removing Deployment

It’s mandatory to delete some files manually only in case there's a Service Manager registered but you have to unregister it and register a new one. To remove files manually, you must have root or sudo privileges. The files to be deleted include:

Operating System Files to be Removed Manually to Unregister an Existing Service Manager

Linux 6

Note:

Linux 6 is not certified for Oracle GoldenGate 21c (21.3.0). This information may be required when trying to perform upgrades or downgrades.

  • /etc/init.d/OracleGoldenGate
  • /etc/rc.d/*OracleGoldenGate
  • /etc/rc*.d/*OracleGoldenGate
  • /etc/oggInst.loc

Linux 7 and Linux 8

/etc/systemd/system/OracleGoldenGate.service

The following commands are executed to stop the Service Manager:

systemctl stop OracleGoldenGate 
systemctl disable OracleGoldenGate *

Note:

If the Service Manager is not registered as a service (with or without the integration with XAG), OGGCA stops the Service Manager deployment, otherwise, a script called unregisterServiceManager is created. When executed by the user, it runs the systemctl commands and deletes the mentioned files.