1.10 AHFフリート・インサイトのアンインストール

AHFフリート・インサイトのアンインストールについて学習します。

アンインストールのオプション:
  • -q: 非出力([q]uiet)モード(プロンプトなし、デフォルト・オプションはバックアップ保持)でアプリケーションをアンインストールします
  • -qc: アプリケーションを非出力([q]uiet)モードでアンインストールし、AHFフリート・インサイトに関連するすべてのファイルおよびデータベース・エントリを非出力モードでクリーン・アップ([c]leanup)します。
  • -qb: アプリケーションを非出力([q]uiet)モードでアンインストールし、バックアップ([b]ackup)をデータベース内で保持します。
オプションを指定せずに./ahffi uninstallを実行すると、次の入力を求められます:
clean DB object [y/n]
retain backup [y/n]
./ahffi uninstall -qc
Uninstalling AHF service in quiet mode
Database objects will be cleaned as part of this uninstallation
No install directory, considering /scratch/ahfs_local/install_test as the install directory
Removing installation from /scratch/ahfs_local/install_test/
2023-08-14 10:07:10 UTC: [testnode] [3014990] [UNINSTALL_AHFS] [INFO] Uninstalling AHF Service
2023-08-14 10:07:10 UTC: [testnode] [3014990] [UNINSTALL_AHFS] [INFO] Cleaning AHF Service database objects
 
SQL*Plus: Release 21.0.0.0.0 - Production on Mon Aug 14 10:07:10 2023
Version 21.10.0.0.0
 
Copyright (c) 1982, 2022, Oracle.  All rights reserved.
 
Last Successful login time: Mon Aug 14 2023 10:07:10 +00:00
 
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.17.0.0.0
 
SQL>   2    3    4    5    6    7    8    9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34 
PL/SQL procedure successfully completed.
 
SQL> Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.17.0.0.0
2023-08-14 10:07:13 UTC: [testnode] [3014990] [UNINSTALL_AHFS] [INFO] Stopping all running ahfs processes
2023-08-14 10:07:14 UTC: [testnode] [3015554] [MANAGE_APP] [INFO] Component chosen as all
2023-08-14 10:07:14 UTC: [testnode] [3015554] [MANAGE_APP] [INFO] Action chosen as stop
2023-08-14 10:07:14 UTC: [testnode] [3015554] [MANAGE_APP] [INFO] Successfully removed job(s) for all from crontab
2023-08-14 10:07:20 UTC: [testnode] [3015554] [MANAGE_APP] [INFO] Killed the existing Fleet Insights processes
2023-08-14 10:07:23 UTC: [testnode] [3015554] [MANAGE_APP] [INFO] Killed the existing collection processing engine processes
2023-08-14 10:07:24 UTC: [testnode] [3015554] [MANAGE_APP] [INFO] Killed the existing ahf_service processes for component(s): all.
2023-08-14 10:07:24 UTC: [testnode] [3014990] [UNINSTALL_AHFS] [INFO] Removing AHF Service backup files
2023-08-14 10:07:24 UTC: [testnode] [3014990] [UNINSTALL_AHFS] [INFO] Deleting AHF Service application files
Completing  AHF Service uninstallation
2023-08-14 10:07:26 UTC: [testnode] [3014990] [UNINSTALL_AHFS] [INFO] Successfully uninstalled AHF service
Successfully uninstalled application

関連トピック