Upgrade an Async Patched Version of VMware Cloud Foundation in Offline Mode
After you apply an async patch, and one or more of the
VMware
Cloud Foundation
component versions deviates from the BOM, you may have to use the Async Patch
Tool
to enable an upgrade to a later version of VMware
Cloud Foundation
. - 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 target version ofVMware Cloud Foundationis supported for upgrade. Contact Broadcom Support if you have questions about support for your upgrade path.
- 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>The default directory isrm -r <outputdirectory>/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.
- You are upgrading fromVMware Cloud Foundation4.x toVMware Cloud Foundation4.y.This procedure is not required if you are upgrading fromVMware Cloud Foundation4.x toVMware Cloud Foundation5.0.
After you apply an async patch, and one or more of the
VMware
Cloud Foundation
component versions deviates from the BOM, the process for upgrading to a later version of VMware
Cloud Foundation
depends on the target version of VMware
Cloud Foundation
.
Target Version | Upgrade Process |
---|---|
VMware
Cloud Foundation 4.y | You must use the Async Patch
Tool to enable an upgrade to a later version of VMware
Cloud Foundation . For example, if you apply a vCenter
Server patch to a VMware
Cloud Foundation 4.3.1 instance, you must use the Async Patch
Tool to enable upgrade to VMware
Cloud Foundation 4.4.The following procedure describes this process. |
VMware
Cloud Foundation 5.0 | Upgrades to 5.0 are automatically enabled and you can upgrade using the Bundle Transfer Utility and SDDC Manager
UI . This process is described in the VMware Cloud Foundation Lifecycle Management Guide .You should still use the Async Patch
Tool to deactivate all async patches and run an inventory sync before upgrading to VMware Cloud Foundation 5.0. See "VCF Async Patch Tool Options" for more information. |
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 the upgrade bundles to the computer, copy the bundles to the SDDC Manager appliance
, and enable the upgrade using the Async Patch
Tool
. You can then use the SDDC Manager
UI
to upgrade VMware
Cloud Foundation
.- Download upgrade bundles.
- On the computer with internet access, navigate tovcf-async-patch-tool-.<version>/bin
- Run the following command:LinuxVMware Cloud Foundation:
Linux./vcf-async-patch-tool --download --targetVcfVersiontargetVcfVersion--sourceVcfVersionsourceVcfVersion--sku VCF --depotUserbroadcom_support_emailVMware Cloud Foundationon Dell EMC VxRail:
Windows./vcf-async-patch-tool --download --targetVcfVersiontargetVcfVersion--sourceVcfVersionsourceVcfVersion--sku VCF_ON_VXRAIL --depotUserbroadcom_support_email--pdudell_emc_depot_emailVMware Cloud Foundation:
Windowsvcf-async-patch-tool.bat --download --targetVcfVersiontargetVcfVersion--sourceVcfVersionsourceVcfVersion--sku VCF --depotUserbroadcom_support_emailVMware Cloud Foundationon Dell EMC VxRail:vcf-async-patch-tool.bat --download --targetVcfVersiontargetVcfVersion--sourceVcfVersionsourceVcfVersion--skuVCF_ON_VXRAIL--depotUserbroadcom_support_email--pdudell_emc_depot_email- ReplacetargetVcfVersionwith the target version ofVMware Cloud Foundation. For example:4.4.0.0.
- ReplacesourceVcfVersionwith the source version ofVMware Cloud Foundation. For example:4.3.1.0.
- Replacebroadcom_support_emailwith your Broadcom Support portal email address.
- Replacedell_emc_depot_emailwith your Dell EMC depot email address. (VxRail only)
- --outputDirectoryis optional and can be used to specify a location for the download. Choose a directory that has enough free space for the bundles. 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 password. (VxRail only)
- EnterYorNto choose whether or not to download vRealize bundles.
TheAsync Patch Tooldetermines which bundles are required and downloads the bundles . - Copy the upgrade bundles and set permissions.
- Copy the entire output directory (for example,apToolBundles) to theSDDC Manager appliance.You can choose 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
- Enable the upgrade.
- Navigate to/home/vcf/asyncPatchTool/bin.
- Run the following command:./vcf-async-patch-tool --enableVCFUpgradetargetVcfVersion--sddcSSOUserssoUsername--sddcSSHUser vcf --outputDirectorybundleDirectory--it OFFLINE
- ReplacetargetVcfVersionwith the target version ofVMware Cloud Foundation. For example:4.4.0.0.
- ReplacessoUsernamewith the management domain SSO user account, for exampleadministrator@vsphere.local.
- ReplacebundleDirectorywith the location of the bundle directory from step 2. For example,/nfs/vmware/vcf/nfs-mount/apToolBundles.
- EnterYto confirm that you are running the latest version of theAsync Patch Tool.
- 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 upgrade bundles to the internal LCM repository on theSDDC Manager appliance. - Log in to theSDDC Manager UIand apply the bundles to all workload domains.