14 Uninstalling Oracle GoldenGate Microservices Architecture

Learn how to uninstall Oracle GoldenGate Microservices Architecture for Oracle platforms.

Topics:

Uninstalling Microservices Architecture for Oracle Platforms

Topics:

Removing Deployments and Service Manager

Learn how to remove a deployment using OGGCA.

Topics:

Removing Deployments and Service Manager Using Oracle GoldenGate Configuration Assistant

To remove a deployment using Oracle GoldenGate Configuration Assistant (OGGCA), perform the following steps:

  1. Connect to the Administration Server of all deployments to be removed, and stop any running Extracts and Replicats.

  2. In Linux systems, run the command ./oggca.sh from the $OGG_HOME/bin directory to launch the Oracle GoldenGate Configuration Assistant (OGGCA). In Windows systems, right-click the oggca.bat file and select Run as administrator. This file is located in the OGG_HOME\bin directory.

  3. Select the Existing Service Manager option and click Next.

  4. Select Remove Existing Oracle GoldenGate deployment and click Next.

  5. Follow the steps in the OGGCA wizard to remove the deployment.

  6. Repeat the steps to remove multiple deployments and the Service Manager.

Using Oracle GoldenGate Configuration Assistant - Silent

To run the Configuration Assistant in silent mode, execute it with the -silent -responseFile fullPathToResponseFile flags.

The properties expected to be set in the response file for removing a deployment are:
CONFIGURATION_OPTION, 
DEPLOYMENT_NAME, 
ADMINISTRATOR_USER, 
ADMINISTRATOR_PASSWORD,
HOST_SERVICEMANAGER, 
PORT_SERVICEMANAGER, 
SECURITY_ENABLED,
REMOVE_DEPLOYMENT_FROM_DISK

Files to be Removed Manually

Files to be Removed Manually After Removing Deployment

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

Linux 6

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

Linux 7

/etc/systemd/system/OracleGoldenGate.service

Uninstalling Microservices Architecture with Oracle Universal Installer

Note:

It's important to remove all deployments prior to uninstalling Oracle GoldenGate home directory.
To uninstall Oracle GoldenGate Microservices Architecture with Oracle Universal Installer, perform the following tasks:
  1. Move to the following directory:

    /$OGG_HOME/deinstall/

  2. Run the command:

    On UNIX and Linux: ./deinstall.sh

    On Windows: \deinstall.bat

  3. See Files to be Removed Manually to know more about the steps that you may need to perform manually.

Silent Uninstallation

If you want peform a silent uninstallation, use the command:

deinstall.sh -silent

Make sure that you've set the OGG_HOME variable correctly as the uninstallation is silent so you will not be prompted.

See the following example for a silent uninstalltaion:
OS> ./deinstall.sh
ALERT: Ensure all the processes running from the current Oracle Home are shutdown prior to running this software uninstallation script.Proceed with removing Oracle GoldenGate home:
/net/xyz02/scratch/scott/view_storage/scott_x19200x/local/ggtest/install_200714
            (yes/no)? [no] yes
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB.   
Actual 11648 MB    
PassedPreparing to launch Oracle Universal Installer from /tmp/OraInstall2020-08-19_10-52-30AM.
          Please wait ...
Oracle Universal Installer, Version 12.2.0.1.4 ProductionCopyright (C) 1999, 2016, Oracle. All rights reserved.Starting deinstallDeinstall in progress (Wednesday, August 19, 2020 10:52:33 AM PDT)............................................................... 100% Done.Deinstall successful
      OS> ./deinstall.sh -silentALERT: 
Ensure all the processes running from the current Oracle Home are shutdown prior to running this software uninstallation script. Starting Oracle Universal Installer... Checking swap space: must be greater than 500 MB.   Actual 11647 MB   
        Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2020-08-19_10-43-25AM. 
Please wait ...
Oracle Universal Installer, Version 12.2.0.1.4 Production Copyright (C) 1999, 2016, Oracle. All rights reserved. 
Starting deinstall 
Deinstall in progress (Wednesday, August 19, 2020 10:43:29 AM PDT)
        ................................ 100% Done. 
Deinstall successful