About the Patch Tool
Oracle WebCenter on Marketplace in Oracle Cloud Infrastructure (OCI) provides a patching utility tool to download and apply patches for the WebCenter instances.
You can apply a patch on the WebCenter compute instances using this patch tool.
The patch tool should be executed only on WebCenter Weblogic Admin server instance which has a hostname ending with '-wls-1'.
Note: This patching mechanism involves downtime.
See the following sections:
Patch Management Using the Patch Tool
Patch Management Using the Patch Tool
Use the patch tool utility in Oracle WebCenter on Marketplace on OCI to list, download, and apply patches.
List Patch
Connect to the bastion instance as the opc user.
ssh -i path_to_private_key opc@bastion_public_ip
Connect to the weblogic admin server compute instance which has a name ending with
'wls-1'
.ssh -i path_to_private_key opc@compute_wls-1_private_ip
Change to 'Oracle' user.
[opc@**-wls-1 ~]$ sudo su - oracle
Go to the patch tool path.
[oracle@**-wls-1 ~]$ cd /u01/scripts/patch/
List the patches.
[oracle@**-wls-1 patch]$ sh patch_tool.sh --list_available_patches Available Patches: 24.6.1: 18143322: JDK 8 April CPU patch 36491614: WebCenter Stack Patch Bundle 12.2.1.4.240408 34809489: ADF One Off Patch 36609513: Webcenter Content Marketplace Bundle patch June 2024 36449729: Webcenter Enterprise Capture Bundle patch 12.2.1.4.0.240327 36402122: OUTSIDE IN TECHNOLOGY 8.5.7 for WCC 12.2.1.x OPatch 2
To apply a patch:
sh patch_tool.sh --apply_patch --patch_version 24.6.1
Apply Patch
Connect to the bastion instance as the opc user.
ssh -i path_to_private_key opc@bastion_public_ip
Connect to the weblogic admin server compute instance which has a name ending with 'wls-1'.
ssh -i path_to_private_key opc@compute_wls-1_private_ip
Change to 'Oracle' user.
[opc@**-wls-1 ~]$ sudo su - oracle
Shutdown all the weblogic servers and the node manager on all the nodes using the following commands.
# First, Run for all non-admin VMs in stack using their host names [oracle@**-wls-1 ~]$ ssh oracle@<hostname> sh /u01/scripts/sh/shutdown_servers.sh # For current VM-1 oracle@**-wls-1 ~]$ sh /u01/scripts/sh/shutdown_servers.sh
Go to the patch tool path.
[oracle@**-wls-1 ~]$ cd /u01/scripts/patch/
List the patches.
[oracle@**-wls-1 patch]$ sh patch_tool.sh --list_available_patches Available Patches: 24.6.1: 18143322: JDK 8 April CPU patch 36491614: WebCenter Stack Patch Bundle 12.2.1.4.240408 34809489: ADF One Off Patch 36609513: Webcenter Content Marketplace Bundle patch June 2024 36449729: Webcenter Enterprise Capture Bundle patch 12.2.1.4.0.240327 36402122: OUTSIDE IN TECHNOLOGY 8.5.7 for WCC 12.2.1.x OPatch 2
To apply a patch:
sh patch_tool.sh --apply_patch --patch_version 24.6.1
Apply the patch.
[oracle@**-wls-1 patch]$ sh patch_tool.sh --apply_patch --patch_version 24.6.1 --skip_health_check --skip_server_restart
Start all the weblogic servers and the node manager using the below commands.
# For current VM-1 [oracle@**-wls-1 ~]$ sh /u01/scripts/sh/start_servers.sh # Run for all non-admin VMs in stack using their host names [oracle@**-wls-1 ~]$ ssh oracle@<hostname> sh /u01/scripts/sh/start_servers.sh
Using Oracle WebCenter on Marketplace
G10285-01
Last updated: June 2024
Copyright © 2024, Oracle and/or its affiliates.
Primary Author: Oracle Corporation