The Async Patch Tool is a utility that allows you to apply critical patches outside of the normal VMware Cloud Foundation lifecycle management process. It also provides options for managing async patches and upgrading a VMware Cloud Foundation instance that includes async patches.
Async Patch Tool Help Option
Option | Descrption |
---|---|
-h, --help |
Provides information about the Async Patch Tool options. |
./vcf-async-patch-tool -h
Customer Experience Improvement Program (CEIP) Option
The Async Patch Tool participates in the VMware Customer Experience Improvement Program (CEIP). You can enable or deactivate CEIP for the Async Patch Tool.
Option | Description |
---|---|
--ceip true/false |
Enable or deactivate telemetry (CEIP) for the Async Patch Tool.
Note: The
--ceip option is deprecated. You will be prompted to specify the CEIP settings when running other options using the
Async Patch Tool, for example,
-l, --listAsyncPatch or
-e, --enableAsyncPatch .
|
./vcf-async-patch-tool -ceip false
List Async Patches Option
This option requires an internet connection. Use this option before applying an async patch. See Apply an Async Patch to VMware Cloud Foundation in Online Mode and Apply an Async Patch to VMware Cloud Foundation in Offline Mode.
Option | Description |
---|---|
-l, --listAsyncPatch |
Lists the available async patches. Refer to KB 88287 to see which versions of VMware Cloud Foundation support each async patch. |
Required Inputs | Optional Inputs |
---|---|
--depotUser, --du Enter your VMware Customer Connect email address for connecting with the VMware Depot. |
|
./vcf-async-patch-tool --listAsyncPatch --depotUser user@vmware.com --productType VCENTER
Enable Patch Option
The enable patch option must be run on the SDDC Manager appliance. After you enable an async patch, you can log in to the SDDC Manager UI and apply the patch to all workload domains. See Apply an Async Patch to VMware Cloud Foundation in Online Mode and Apply an Async Patch to VMware Cloud Foundation in Offline Mode.
Option | Description |
---|---|
-e, --enableAsyncPatch |
Enabling a patch performs an inventory sync, bundle download (online mode only), enable patch precheck, and enable patch postcheck. It also uploads the patch to the SDDC Manager appliance internal LCM repository. |
Required Inputs | Optional Inputs |
---|---|
|
--op, --outputDirectory Enter the full path to the location to download the pacth (online mode) or the location to which you uploaded the patch (offline mode). For example, /nfs/vmware/vcf/nfs-mount/apToolBundles. If you do not specify an output directory the Async Patch Tool uses /root/apToolBundles. |
./vcf-async-patch-tool -e --patch VCENTER:7.0.3.00300-19234570 --sddcSSOUser administrator@vsphere.local --sddcSSHUser vcf --outputDirectory /nfs/vmware/vcf/nfs-mount/apToolBundles --it ONLINE
Precheck Option
Prechecks are performed as part of the -e, --enableAsyncPatch
and -r, --enableVCFUpgrade
options. You can also run the precheck option on its own prior to enabling an async patch or enabling a VCF upgrade to make sure the operation will succeed. You must run the precheck option on the SDDC Manager appliance.
Option | Description |
---|---|
--pre, --precheck |
Validates that the system is able to enable an async patch or enable a VCF upgrade. |
Required Inputs | Optional Inputs |
---|---|
|
--op, --outputDirectory (online only)Enter the full path to the location to download the patch or bundles. For example, /nfs/vmware/vcf/nfs-mount/apToolBundles. If you do not specify an output directory the Async Patch Tool uses /root/apToolBundles. |
./vcf-async-patch-tool -e --pre --patch VCENTER:7.0.3.00300-19234570 --sddcSSOUser administrator@vsphere.local --sddcSSHUser vcf --depotUser user@vmware.com --outputDirectory /nfs/vmware/vcf/nfs-mount/apToolBundles --it ONLINE
./vcf-async-patch-tool --pre --enableVCFUpgrade 4.4.0.0 --sddcSSOUser administrator@vsphere.local --sddcSSHUser vcf --outputDirectory /nfs/vmware/vcf/nfs-mount/apToolBundles --it OFFLINE
Postcheck Option
Postchecks are performed as part of the -e, --enableAsyncPatch
option. You can also run the postcheck option on its own after enabling an async patch. You must run the postcheck option on the SDDC Manager appliance.
Option | Description |
---|---|
--post, --postcheck |
Validates that an async patch has been uploaded to the SDDC Manager appliance internal LCM repository and is available for upgrade. |
Required Inputs | Optional Inputs |
---|---|
|
None. |
./vcf-async-patch-tool -e --post --patch VCENTER:7.0.3.00300-19234570 --sddcSSOUser administrator@vsphere.local --sddcSSHUser vcf --outputDirectory /nfs/vmware/vcf/nfs-mount/apToolBundles
Deactivate All Patches Option
You cannot enable async patches or enable VCF Upgrades if your VMware Cloud Foundation instance already has any async patches enabled. All patches are deactivated when you run the Async Patch Tool with -r, --enableVCFUpgrade
option. You can also run the --disableAllPatches
option on its own. You must run the option on the SDDC Manager appliance.
Option | Description |
---|---|
--da, --disableAllPatches |
Deactivates all async patches on the system that were previously enabled. |
Required Inputs | Optional Inputs |
---|---|
|
None. |
./vcf-async-patch-tool -disableAllPatches --sddcSSOUser administrator@vsphere.local --sddcSSHUser vcf
Enable VCF Upgrade Option
The -r, --enableVCFUpgrade
option prepares an async patched environment for upgrade and uploads the upgrade bundles to the SDDC Manager appliance internal LCM repository. See Upgrade an Async Patched Version of VMware Cloud Foundation in Online Mode and Upgrade an Async Patched Version of VMware Cloud Foundation in Offline Mode.
Option | Description |
---|---|
-r, --enableVCFUpgrade Requires the target version for VCF. For example: 4.4.0.0. |
Enables upgrade to a target version of VMware Cloud Foundation. |
Required Inputs | Optional Inputs |
---|---|
|
--op, --outputDirectory (optional for online)Enter the full path to the location to download the patch or bundles. For example, /nfs/vmware/vcf/nfs-mount/apToolBundles. If you do not specify an output directory the Async Patch Tool uses /root/apToolBundles. |
./vcf-async-patch-tool --enableVCFUpgrade 4.4.0.0 --depotUser user@vmware.com --sddcSSOUser administrator@vsphere.local --sddcSSHUser vcf --it ONLINE
./vcf-async-patch-tool --enableVCFUpgrade 4.4.0.0 --sddcSSOUser administrator@vsphere.local --sddcSSHUser vcf --outputDirectory /nfs/vmware/vcf/nfs-mount/apToolBundles --it OFFLINE
Inventory Sync Option
Inventory sync is performed as part of the -e, --enableAsyncPatch
and -r, --enableVCFUpgrade
options. You can also run the inventory sync option on its own. You must run the inventory sync option on the SDDC Manager appliance.
This option updates the SDDC Manager inventory with the accurate information about the versions of vCenter Server, NSX, and VMware ESXi that are running in your VMware Cloud Foundation instance. The SDDC Manager inventory can get out of sync if you upgrade any of these components outside of VMware Cloud Foundation.
Option | Description |
---|---|
--performInventorySync, --sync |
Updates the SDDC Manager inventory and saves a CSV file with information about each VMware Cloud Foundation component. |

Required Inputs | Optional Inputs |
---|---|
|
None. |
./vcf-async-patch-tool --sync --sddcSSOUser administrator@vsphere.local --sddcSSHUser vcf