In GoldenGate 12c, the installation and the de-installation process has been standardized to use the Oracle Universal Installer (OUI) interface. In this article we will look at how can we deinstall Oracle GoldenGate.
Deinstalling GoldenGate 12c
Deinstalling Oracle GoldenGate is a simple task and requires a few simple steps. First you need to make sure that no GoldenGate process is running. To stop all the processes you need to access GGSCI tool and stop everything including Manager.
$ cd /u01/app/oracle/product/12.1.0/oggcore_1
Oracle GoldenGate Command Interpreter for Oracle
Version 18.104.22.168.0 17185003 OGGCORE_22.214.171.124.0_PLATFORMS_130924.1316_FBO
Linux, x64, 64bit (optimized), Oracle 12c on Sep 25 2013 02:33:54
Operating system character set identified as UTF-8.
Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
GGSCI (localhost.localdomain) 1> stop er *
No ER groups found, but some coordinated threads may have been excluded.
GGSCI (localhost.localdomain) 2> stop manager
Manager is already stopped.
GGSCI (localhost.localdomain) 3> exit
Once everything has been stopped you can now use the deinstall utility to remove the GoldenGate binaries. Execute the following command.
ALERT: Ensure all the processes running from the current Oracle Home are shutdown prior to running this software deinstallation script.
Proceed with removing Oracle GoldenGate home: /u01/app/oracle/product/12.1.0/oggcore_1 (yes/no)? [no] yes
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 4029 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-01-14_05-50-42PM. Please wait ...Oracle Universal Installer, Version 126.96.36.199.0 Production
Copyright (C) 1999, 2011, Oracle. All rights reserved.
Deinstall in progress (Tuesday, January 14, 2014 5:50:47 PM)
............................................................... 100% Done.
End of install phases.(Tuesday, January 14, 2014 5:51:10 PM)
End of deinstallations
Please check '/u01/app/oraInventory/logs/silentInstall2014-01-14_05-50-42PM.log' for more details.
Oracle GoldenGate has been uninstalled successfully!
• Oracle GoldenGate 12c Documentation