Sunday, August 6, 2017

Deinstall 12c Goldengate


GG Version : 12.2.0.1.1
DB version: 12.1.0.2.0
Linux Version : RHEL 6

Before Deinstalling goldengate from your server first stop all Extract/Replicat/manager processes

oracledev01:/goldengate/home $ ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO
Linux, x64, 64bit (optimized), Oracle 12c on Dec 12 2015 02:56:48
Operating system character set identified as UTF-8.

Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved.


GGSCI (oracledev01) 1> stop ER *

GGSCI (oracledev01) 2> stop mgr

Make sure all stopped gracefully and proceed to below

Go to $GG_HOME/deinstall
oracledev01:NOTSET:/goldengate/home/deinstall $ ll
total 4
-r-xr-xr-x 1 oracle oinstall 1298 Jul  2  2013 deinstall.sh


oracledev01:NOTSET:/goldengate/home/deinstall $ ./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: /goldengate/home (yes/no)? [no]
yes
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 24533 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-07-18_07-01-08PM. Please wait ...Oracle Universal Installer, Version 11.2.0.3.0 Production
Copyright (C) 1999, 2011, Oracle. All rights reserved.

Starting deinstall

Deinstall in progress (Tuesday, July 18, 2017 7:01:14 PM EDT)
............................................................... 100% Done.

Deinstall successful

End of install phases.(Tuesday, July 18, 2017 7:01:35 PM EDT)
End of deinstallations
Please check '/u01/app/oraInventory/logs/silentInstall2017-07-18_07-01-08PM.log' for more details.


Optionally, if you want you can drop Goldengate database user


0 comments:

Post a Comment

Auto Scroll Stop Scroll