9.2.2.1 ahfctl update

ahfctl updateコマンドを使用して、AHF更新を自動的に適用します。

ノート:

ahfctl updateコマンドを実行するには、AHFインストール・ユーザー権限が必要です。

注意:

ダウンロードしたファイルは、本番にマウントされているファイルシステムにコピーする前に、必ず本番前システムでそのメタデータをテストしてください。
  1. ステージング・サーバーで自動ダウンロードを構成します。
  2. ダウンロードしたメタデータを本番前システムでテストします。
  3. すべての本番システムで自動更新を構成します。
  4. 本番にマウントされているファイル・システムにそのテスト・メタデータzipをコピーして、更新を自動的に適用します。

構文

ahfctl update 
[-h] 
[-nomos] 
[-debug]

パラメータ

表9-6 ahfctl updateコマンドのパラメータ

パラメータ 説明

-nomos

MOSを構成しないように指定します。

-debug

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

例9-5 ソフトウェア・ステージングの場所で新しいAHFメタデータ更新が使用可能な場合

ahfctl update
Updated file /opt/oracle.ahf/exachk/.cgrep/versions.dat
Updated file /opt/oracle.ahf/exachk/rules.dat
Updated file /opt/oracle.ahf/exachk/.cgrep/collections.dat
Updated file /opt/oracle.ahf/exachk/messages/check_messages.json
Data files updated to 20220607 from 20220516
Please copy ahf_data_20220607.zip and run the command 'ahfctl applyupdate -updatefile ahf_data_20220607.zip' on the below mentioned nodes
scao05adm08

例9-6 RESTエンドポイント・パラメータが構成され、新しいAHFメタデータ更新がRESTエンドポイントで使用可能な場合

ahfctl update
Applying AHF metedata update...
AHF update zip is not available at stage location /opt/rajeev
Upload configuration check for: ahf_update_loc.
Parameters are configured correctly to upload.
ahf_data_20220607.zip successfully downloaded at /opt/rajeev
Updated file /opt/oracle.ahf/exachk/.cgrep/versions.dat
Updated file /opt/oracle.ahf/exachk/rules.dat
Updated file /opt/oracle.ahf/exachk/.cgrep/collections.dat
Updated file /opt/oracle.ahf/exachk/messages/check_messages.json
Data files updated to 20220607 from 20220601
Please copy ahf_data_20220607.zip and run the command 'ahfctl applyupdate -updatefile ahf_data_20220607.zip' on the below mentioned nodes
scao05adm08