9.2.3.2 ahfctl queryupdate
Use the ahfctl queryupdate
command to check if an
update was applied. To get a list of all the metadata and framework updates applied,
use the -all
option. To query a metadata or framework update with a
specific update ID, use the -updateid
option.
Note:
To verify if the metadata and framework updates were applied to all nodes in a cluster, run theahfctl queryupdate
command as the
AHF install user on each cluster node.
Syntax
ahfctl queryupdate [-h] [-debug] [-updateid UPDATEID] [-all] [-json]
Parameters
Table 9-11 ahfctl queryupdate Command Parameters
Parameter | Description |
---|---|
|
Specify the |
|
To query framework update with a specific update ID. Specify Note: To query metadata updates, please use the-all option.
|
|
Lists all applied metadata and framework updates. |
-json |
Specify this option to get the output in JSON format. |
Example 9-16 ahfctl queryupdate
# ahfctl queryupdate -all
AHF Metadata Update: 20220203
Status: Applied
Applied on: Fri Feb 4 00:47:00 2022
# ahfctl queryupdate -all
AHF Framework update: PATCH_22.2.4.1
Status: Applied
Fixes: 34716496
Applied on: Wed Nov 30 15:14:56 2022
34716496 is the updateid for AHF framework update applied.
ahfctl queryupdate -updateid 34716496
AHF Framework update: PATCH_22.2.4.1
Status: Applied
Fixes: 34716496
Applied on: Wed Nov 30 15:14:56 2022
1:53
AHF framework updated files:
/opt/oracle.ahf/ahf/lib/ahfcomponents.py
/opt/oracle.ahf/ahf/lib/ahfctl.py
/opt/oracle.ahf/exachk/messages/framework_messages.json
/opt/oracle.ahf/exachk/lib/ahf_metadata.py