Applying Patches to a Domain
Use WebLogic Management service to install the latest Oracle WebLogic Server and Fusion Middleware infrastructure patches to WebLogic domains. Only the patches applicable to the WebLogic version and middleware type are applied. The patch operation also updates the OPatch utility.
Each time you patch a domain, a middleware backup is created in case you need to restore the domain to its previous state.
Before you begin, consider:
- scanning the domain to identify new servers in the domain and update the status of the domain and its servers.
- reviewing the patch readiness of the domain and its servers:
- Patch readiness status: Gives the domain's patch readiness state. To patch a domain, its status must be Passed.
- Recommended patches: Click to view the latest available patches that you can apply to the domain.
- Server patch readiness: Identifies the number of servers in Passed, Warning or Failed patch readiness states. To patch a domain, all servers must have passed readiness checks.
- Server patch level: Identifies the number of servers on or not on the latest available patches.
- On the Domains list page, find the domain(s) you want to work with.
- Start the patching process in one of the following ways:
- Check one or more domains and then under More actions, select Apply recommended patches.
- For one domain, select Apply recommended patches from the Actions menu (
).
- Select the name of a domain and then from its details page, click Apply recommended patches.
- From the Apply recommended patches panel, review the patches and then click Apply.
A patch in-progress message displays and the domain state changes from ACTIVE to UPDATING.
- (Optional) Review the patching progress on the domain details page:
- See the domain's servers cycle through the Stopped, Patched, and Restarted states.
- Track the operation's progress by viewing work request details.
When the patching process is completed, the page refreshes and shows changes to the domain(s).
Next Steps
After patching a domain, next steps might include checking that:
- domain status changed back to ACTIVE.
- servers' states are Running.
- patches were successfully applied to all servers.
- In the Server patch level section, the number of servers identified for On recommended patches equals the number of servers in the domain.
- In the Servers table, all servers show True for On recommended patches.
Use the oci wlms wls-domain install-latest-patches command and required parameters to install the latest patches on a WebLogic domain.
oci wlms wls-domain install-latest-patches --wls-domain-id ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the InstallLatestPatchesOnWlsDomain operation to install the latest patches on a domain.