Apply an Async Patch to VMware Cloud Foundation in Offline Mode
If your
SDDC Manager appliance
does not have a connection to the internet, you can run the Async Patch
Tool
from a computer that does. Download an async patch, copy the patch and the Async Patch
Tool
to the SDDC Manager appliance
, and enable the patch. You can then use the SDDC Manager
UI
to apply the patch to all workload domains.- A Windows or Linux computer with internet connectivity (either directly or through a proxy server) for downloading the bundles.
- The computer must have Java 8 or Java 11.
- A Windows or Linux computer with access to the SDDC Manager appliance for uploading the bundles.
- Refer to KB 88287 to ensure that the async patch is supported with your version ofVMware Cloud Foundation. Contact VMware Support if you have questions about the available async patches and which versions ofVMware Cloud Foundationsupport them.
- You must have the latest version of theAsync Patch Tool.If an existing or older version of the Async Patch Tool exists in the directory, you will need to remove these files from both the Linux or Windows computer and the SDDC manager before downloading the latest version of theAsync Patch Tool.rm -r <AP Tool directory>rm -r <outputdirectory>The default directory is/home/vcf/apToolBundlesifoutputDirectorywas not specified when theAsync Patch Toolwas previously run.
- Configure TCP keepalive in your SSH client to prevent socket connection timeouts when using theAsync Patch Toolfor long-running operations.
- TheAsync Patch Toolis supported withVMware Cloud Foundation4.2.1 and later. This release also supports ESXi and VxRail Manager patching of VMware Cloud Foundation on VxRail.
- Download the most recent version of theAsync Patch Toolto a computer that has access to the internet.
- Log in to the Broadcom Support Portal and browse to.
- Click your current version ofVMware Cloud Foundation.
- ClickDrivers & Tools.
- Click the download icon for theAsync Patch Tool.
- Extractvcf-async-patch-tool-.<version>.tar.gz
- Navigate tovcf-async-patch-tool-and confirm that you have execute permissions.<version>/bin
- Update the properties of the Async Patch Tool to support authenticated access to the VMware Depot.See KB 390122.
- List the available async patches.
- Run the following command:Linux:
Windows:./vcf-async-patch-tool --listAsyncPatch --dubroadcom_support_email
Replacevcf-async-patch-tool.bat --listAsyncPatch --dubroadcom_support_emailbroadcom_support_emailwith your Broadcom Support portal email address.Optionally, you can use the--skuand--productTypeoptions to filter the list of patches. See VCF Async Patch Tool Options for details.--outputDirectoryis optional and can be used to specify a location for the download. Select a directory that has enough free space for the bundle. If you do not specify a location, the Async Patch Tool displays the default location in its output. For example:/root/apToolBundles.If you connect to the internet through a proxy server, use the--proxyServer, --psoption to specify the FQDN and port of the proxy server. For example,--proxyServer.FQDN:port - EnterYto confirm that you are running the latest version of theAsync Patch Tool.
- EnterYorNto choose whether or not to participate in the Customer Experience Improvement Program (CEIP).
- Enter your Broadcom Support portal password.
TheAsync Patch Toollists all available async patches. - (VxRail async patch only) Copy the VxRail async patch-specific partner bundle metadata file using KB 91830.
- Download the input spec for the async patch you want to apply.See KB 344935.
- Download an async patch using the input spec.
- Run the following command:Linux:
Windows:./vcf-async-patch-tool -d -i/path/to/inputspec--dubroadcom_support_email--skusku_type--pdudell_emc_depot_email--sddcManagerVersioncurrent_sddc_versionvcf-async-patch-tool.bat -d -i/path/to/inputspec--dubroadcom_support_email--skusku_type--pdudell_emc_depot_email--sddcManagerVersioncurrent_sddc_version- Replace/path/to/inputspecwith the path to the input spec you downloaded.
- Replacebroadcom_support_emailwith your Broadcom Support portal email address.
- Replacesku_typewithVCForVCF_ON_VXRAIL.
- Replacedell_emc_depot_emailwith your Dell EMC Depot email address. (VxRail only)
- Replacecurrent_sddc_versionwith your current version of SDDC Manager. For example:4.5.0.0. This is optional, but limits the number of bundles that are downloaded to only those that are applicable to your current version of SDDC Manager.
- --outputDirectoryis optional and can be used to specify a location for the download. Select a directory that has enough free space for the bundle. If you do not specify a location, theAsync Patch Tooldisplays the default location in its output. For example:/root/apToolBundles.
If you connect to the internet through a proxy server, use the--proxyServer, --psoption to specify the FQDN and port of the proxy server. For example,--proxyServer.FQDN:port - EnterYto confirm that you are running the latest version of theAsync Patch Tool.
- Enter your Broadcom Support portal password.
- If the product type isVX_MANAGER, enter your Dell EMC Depot user name and password. (VxRail only)
TheAsync Patch Tooldownloads the patch and required artifacts (for example, the LCM manifest). - Copy the patch and set permissions.
- Copy the entire output directory (for example,apToolBundles) to theSDDC Manager appliance.You can select any location that has enough free space available, for example,/nfs/vmware/vcf/nfs-mount/apToolBundles.
- SSH in to the SDDC Manager appliance using thevcfuser account.
- Navigate to/nfs/vmware/vcf/nfs-mount/apToolBundles.If you copied the output directory to a different location, navigate to that directory instead.
- Run the following commands:chmod -R 755 apToolBundleschown -R vcf:vcf apToolBundles
- Copy theAsync Patch Toolto theSDDC Manager applianceand configure it for use.
- SSH in to theSDDC Manager applianceusing thevcfuser account.
- Create theasyncPatchTooldirectory.mkdir /home/vcf/asyncPatchTool
- Copy the entire contents of theAsync Patch Tooldirectory from the computer with internet access to the/home/vcf/asyncPatchTooldirectory on theSDDC Manager appliance.
- Set the permissions for theasyncPatchTooldirectory.cd /home/vcf/chmod -R 755 asyncPatchToolchown -R vcf:vcf asyncPatchTool
- Copy the input spec to theSDDC Manager appliance.
- Enable an async patch using the input spec.
- Navigate to/home/vcf/asyncPatchTool/binand run the following command:./vcf-async-patch-tool -i/path/to/inputspec--sddcSSOUserSSOuser--sddcSSHUser vcf --outputDirectorybundleDirectory--it OFFLINE
- Replace/path/to/inputspecwith the path to the input spec.
- ReplaceSSOuserwith the management domain SSO user account, for example,administrator@vsphere.local.
- ReplacebundleDirectorywith the location of the bundle directory from step 6. For example,/nfs/vmware/vcf/nfs-mount/apToolBundles.
- EnterYto confirm that you are running the latest version of theAsync Patch Tool.
- EnterYorNto choose whether or not to participate in the Customer Experience Improvement Program (CEIP).
- Read the information and enterYto acknowledge the pre-requisites.
- Enter the password for the super user (vcf) account.
- Enter the password for the root user account.
- Enter the password for the management domain SSO user account.
TheAsync Patch Tooluploads the patch to the internal LCM repository on theSDDC Manager appliance. - Log in to theSDDC Manager UIand apply the async patch to all workload domains.
- For clusters in workload domains with vSphere Lifecycle Manager baselines, you can upgrade ESXi to the async patch version with a custom ISO from your vendor. See "Upgrade ESXi with Custom ISOs" inVMware Cloud Foundation Lifecycle Management.
- For clusters in workload domains with vSphere Lifecycle Manager images, you can upgrade ESXi to the async patch version by following the procedure "Upgrade ESXi with vSphere Lifecycle Manager Images for VMware Cloud Foundation" inVMware Cloud Foundation Lifecycle Management.
- After the async patch is successfully applied, use theAsync Patch Toolto deactivate the patch.
- SSH in to the SDDC Manager appliance using thevcfuser account.
- Navigate to/home/vcf/asyncPatchTool/bin.
- Run the following command:
Replace./vcf-async-patch-tool --disableAllPatches --sddcSSOUserSSOuser--sddcSSHUser vcfSSOuserwith the management domain SSO user account, for example,administrator@vsphere.local. - EnterYto confirm that you are running the latest version of theAsync Patch Tool.
- EnterYorNto choose whether or not to participate in the Customer Experience Improvement Program (CEIP).
- Enter the password for the super user (vcf) account.
- Enter the password for the root user account.
- Enter the password for the management domain SSO user account.
Starting with
VMware
Cloud Foundation
5.2, if you applied a vCenter
Server
or NSX
Manager
async patch to the management domain, any new workload domains that you deploy will include the patched version of vCenter
Server
and/or NSX
Manager
.
For versions of
VMware
Cloud Foundation
earlier than 5.2, new workload domains will not include async patch versions of vCenter
Server
or NSX
Manager
. Use this procedure to apply the async patch(es) to the new workload domain.After you update the hosts in a workload domain to an async patch version of ESXi, any new hosts that you add to the workload domain must use the async patch version of ESXi and not the version listed in the
VMware
Cloud Foundation
BOM.