9.2.2.1 ahfctl update
ahfctl update
コマンドを使用して、AHF更新を自動的に適用します。
ノート:
ahfctl update
コマンドを実行するには、AHFインストール・ユーザー権限が必要です。
注意:
ダウンロードしたファイルは、本番にマウントされているファイルシステムにコピーする前に、必ず本番前システムでそのメタデータをテストしてください。- ステージング・サーバーで自動ダウンロードを構成します。
- ダウンロードしたメタデータを本番前システムでテストします。
- すべての本番システムで自動更新を構成します。
- 本番にマウントされているファイル・システムにそのテスト・メタデータzipをコピーして、更新を自動的に適用します。
構文
ahfctl update
[-h]
[-nomos]
[-debug]
パラメータ
表9-6 ahfctl updateコマンドのパラメータ
パラメータ | 説明 |
---|---|
|
MOSを構成しないように指定します。 |
|
デバッグを有効にするには、 |
例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