14 Oracle GoldenGate Microservices Architectureのアンインストール

OracleプラットフォームのOracle GoldenGate Microservices Architectureをアンインストールする方法について学習します。

トピック:

OracleプラットフォームのMicroservices Architectureのアンインストール

トピック:

デプロイメントおよびService Managerの削除

OGGCAを使用してデプロイメントを削除する方法について学習します。

トピック:

Oracle GoldenGate Configuration Assistantを使用したデプロイメントおよびService Managerの削除

Oracle GoldenGate Configuration Assistant (OGGCA)を使用してデプロイメントを削除するには、次のステップを実行します。

  1. 削除対象のすべてのデプロイメントの管理サーバーに接続し、実行中のExtractとReplicatを停止します。

  2. Linuxシステムの場合は、コマンド./oggca.sh$OGG_HOME/binディレクトリから実行して、Oracle GoldenGate Configuration Assistant (OGGCA)を起動します。Windowsシステムの場合は、oggca.batファイルを右クリックして「管理者として実行」を選択します。このファイルは、OGG_HOME\binディレクトリにあります。

  3. 「Existing Service Manager」オプションを選択し、「Next」をクリックします。

  4. 「Remove Existing Oracle GoldenGate」デプロイメントを選択し、「Next」をクリックします。

  5. OGGCAウィザードで次のステップを実行して、デプロイメントを削除します。

  6. 複数のデプロイメントとService Managerを削除するには、このステップを繰り返します。

Oracle GoldenGate Configuration Assistantの使用 - サイレント

サイレント・モードでConfiguration Assistantを実行するには、-silent -responseFile fullPathToResponseFileフラグを設定して実行します。

デプロイメント削除するためのレスポンス・ファイルでは、次のプロパティを設定することが求められます。
CONFIGURATION_OPTION, 
DEPLOYMENT_NAME, 
ADMINISTRATOR_USER, 
ADMINISTRATOR_PASSWORD,
HOST_SERVICEMANAGER, 
PORT_SERVICEMANAGER, 
SECURITY_ENABLED,
REMOVE_DEPLOYMENT_FROM_DISK

手動で削除するファイル

デプロイメントの削除後に手動で削除するファイル

オペレーティング・システム 既存の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

Oracle Universal Installerを使用したMicroservices Architectureのアンインストール

ノート:

Oracle GoldenGateのホーム・ディレクトリをアンインストールする前に、すべてのデプロイメントを削除することが重要です。
Oracle Universal Installerを使用してOracle GoldenGate Microservices Architectureをアンインストールするには、次のタスクを実行します。
  1. 次のディレクトリに移動します。

    /$OGG_HOME/deinstall/

  2. 次のコマンドを実行します。

    UNIXおよびLinuxの場合: ./deinstall.sh

    Windowsの場合: \deinstall.bat

  3. 手動で実行する必要があるステップの詳細は、手動で削除するファイルを参照してください。

サイレント・アンインストール

サイレント・アンインストールを実行する場合は、次のコマンドを使用します。

deinstall.sh -silent

アンインストールはサイレントでプロンプトが表示されないため、OGG_HOME変数が正しく設定されていることを確認してください。

サイレント・アンインストールについては、次の例を参照してください。
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