9.2.3.1 ahfctl applyupdate

ahfctl applyupdateコマンドを使用して、提供されたzipファイルからローカル・ノードのメタデータおよびフレームワーク・ファイルを更新します。

ノート:

  • ahfctl applyupdateコマンドを実行するには、AHFインストール・ユーザー権限が必要です。
  • メタデータおよびフレームワークの更新をすべてのクラスタ・ノードに適用する必要があります。

構文

ahfctl applyupdate [-h] [-debug] [-updatefile UPDATEFILE]

パラメータ

表9-10 ahfctl applyupdateコマンドのパラメータ

パラメータ 説明

-debug

デバッグを有効にするには、-debugオプションを指定します。

-updatefile UPDATEFILE

zipファイルの名前を指定します。既存のメタデータおよびフレームワーク・ファイルは、zipファイル内のファイルに置き換えられます。

zipファイルをMy Oracle Supportノート2550798.1からダウンロードします。

例9-13 ahfctl applyupdate

# ahfctl applyupdate -updatefile /tmp/ahf_data_20220203.zip
Updated file /opt/oracle.ahf/exachk/.cgrep/collections.dat
Updated file /opt/oracle.ahf/exachk/rules.dat
Updated file /opt/oracle.ahf/exachk/.cgrep/versions.dat
Updated file /opt/oracle.ahf/exachk/messages/check_messages.json
Data files updated to 20220203 from 20211220