Patching Oracle Cloud Infrastructure Images

Caution:

Ensure that all preparation steps for system patching have been completed. For instructions, see Prepare for Patching.

When new Oracle Cloud Infrastructure Images become available and supported for Oracle Private Cloud Appliance, you can pick up these images using the patching process.

Oracle Cloud Infrastructure Images installed using the patching method are stored in the /nfs/shared_storage/oci_compute_images directory on the ZFS storage appliance.

Using the Service Web UI

  1. In the navigation menu, click Upgrade & Patching.

  2. In the top-right corner of the Upgrade Jobs page, click Create Upgrade or Patch.

    The Create Request window appears. Choose Patch as the Request Type.

  3. Select the appropriate patch request type: Patch OCIImages.

  4. If required, fill out the request parameters:

    • ULN: Enter the fully qualified domain name of the ULN mirror in your data center. This parameter is deprecated in software version 3.0.2-b892153 and later.

    • Advanced Options JSON: Not available.

    • Log Level: Optionally, select a specific log level for the upgrade log file. The default log level is "Information". For maximum detail, select "Debug".

  5. Click Create Request.

    The new patch request appears in the Upgrade Jobs table.

Using the Service CLI

  1. Enter the patch command.

    PCA-ADMIN> patchOCIImages
    Command: patchOCIImages
    Status: Success
    Time: 2023-01-18 19:33:09,756 UTC
    Data:
      Service request has been submitted. Upgrade Job Id = 1641839285475-oci-94665 \
    Upgrade Request Id = UWS-778b08bc-f579-492b-993d-915dcf581374
  2. Use the request ID and the job ID to check the status of the patching process.

    PCA-ADMIN> getupgradejobs
    Command: getupgradejobs
    Status: Success
    Time: 2023-01-18 22:38:51,764 UTC
    Data:
      id                             upgradeRequestId                           commandName   result
      --                             ----------------                           -----------   ------
      1641839285475-oci-94665        UWS-778b08bc-f579-492b-993d-915dcf581374   oci           Passed
      1641838937541-platform-56313   UWS-bc4372ae-8f51-4b40-9306-992fb6459878   platform      Passed
      
    PCA-ADMIN> getUpgradeJob upgradeJobId=1680260388058-oci-94665
    Command: getUpgradeJob upgradeJobId=1680260388058-oci-94665
    Status: Success
    Time: 2023-01-18 23:03:22,769 UTC
    Data:
      Upgrade Request Id = UWS-778b08bc-f579-492b-993d-915dcf581374
      Name = oci
    [...]