9.2.2.1 ahfctl update
Use the ahfctl update
command to apply AHF updates
automatically.
Note:
You need AHF install user privileges to run theahfctl update
command.
Caution:
Make sure to test the metadata on a pre-production system before copying the downloaded file to the production-mounted filesystem.- Configure automatic download on a staging server.
- Test the downloaded metadata on a pre-production system.
- Configure auto-update on all production systems.
- Copy the test metadata zip on production mounted file systems to automatically apply the update.
Syntax
ahfctl update
[-h]
[-nomos]
[-debug]
Parameters
Table 9-6 ahfctl update Command Parameters
Parameter | Description |
---|---|
|
Specify not to configure MOS. |
|
Specify the |
Example 9-7 New AHF metadate update is available at software stage location
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
Example 9-8 REST Endpoints parameters are configured and a new AHF metadata update is available at the REST Endpoint
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