patch Commands
Use commands with the patch
keyword to apply or rollback
one-off patches to the specified working copy using the in-place patching
method.
- rhpctl evaluate patch
Evaluates the specified home or gold image to get the health status and patch recommendations. - rhpctl query patch
Queries the current status of the specified Oracle Update Advisor request ID.
Parent topic: RHPCTL Command Reference
rhpctl evaluate patch
Evaluates the specified home or gold image to get the health status and patch recommendations.
Syntax
rhpctl evaluate patch {-image image_name | -path oracle_home_path}
[-applyfrequency <MONTHLY|QUARTERLY|HALF_YEARLY|ANNUALLY>] [-updatelag LATEST | LATEST-1 | LATEST-2]
[-additionalbuglist bug_list] [-generateimage -importtoimage target_image_name]
Table A-46 rhpctl evaluate patch Command Parameters
Parameter | Description |
---|---|
-image image_name |
Specify the name of a deployed working copy that you want to evaluate. Note: This option is available only for Oracle FPP Server Mode. |
-path oracle_home_path |
Specify the absolute path for evaluating the Oracle home. |
-updatelag update_lag |
Specify the update lag policy for your image or Oracle home.
|
-applyfrequency
apply_frequency |
Specify how often you patch your working copy or Oracle home.
|
-additionalbuglist bug_list |
Comma-separated list of additional bugs that you want to apply along with the Oracle Update Advisor recommended patches. |
-generateimage -importtoimage
target_image_name |
Specify this parameter to generate a patched image and import the patched image to the specified gold image. Note: This option is available only for Oracle FPP Local Mode. |
Examples
To evaluate an Oracle Grid Infrastructure home:
$ rhpctl evaluate patch -image DB1926000 -generateimage -importtoimage DB192800
Operation "rhpctl evaluate patch" scheduled with the job ID "53".
Parent topic: patch Commands
rhpctl query patch
Queries the current status of the specified Oracle Update Advisor request ID.
Syntax
Note:
This command is only for Oracle FPP Local Mode.rhpctl query patch [-requestid request_id]
Parameters
Table A-47 rhpctl query patch Command Parameters
Parameter | Description |
---|---|
-requestid request_id |
Specify a request ID for which you want to check the status. Note: If you do not specify a request ID, then it displays a list of all the requests. |
Examples
To display status of the specified request ID:
rhpctl query patch -requestid 96643
Software health status: "RED"
Software health comment: "More than one cycle behind your policy.."
Software Type: "DB"
Current version: "19.26.0.0.0"
Recommended version: "19.28"
Image is available to download. Please download it using below command.
rhpctl downloadimage patchplan -requestid 96643 -downloadlocation <download_location>
To display a list of all the requests:
rhpctl query patch
Home: /u01/app/oracle/product/19.26.0/dbhome_1
Request id: 96643
Request time: 2025-09-06 12:14:35
Home: /u01/app/19.26.0/grid
Request id: 96604
Request time: 2025-09-05 12:51:43
Home: /u01/app/oracle/product/19.26.0/dbhome_1
Request id: 96603
Request time: 2025-09-05 12:16:33
Parent topic: patch Commands