Offline Bundle Download for VMware Cloud
Foundation
If the
SDDC Manager appliance
does not have
access to the VMware Depot, you can use the Bundle Transfer Utility to download the
bundles to a different computer and then upload them to the SDDC Manager appliance
. If the
SDDC Manager appliance
does not have
access to the VMware Depot and the Dell Depot, you can use the Bundle Transfer Utility
to download the bundles to a different computer and then upload them to the SDDC Manager appliance
. - A Windows or Linux computer with internet connectivity for downloading the bundles.
- You need a system with internet access to download the manifest file and VMware Compatibility Data.
- The computer must have Java 8 or later.
- A Windows or Linux computer with access to theSDDC Manager appliancefor uploading the bundles.
- To upload the manifest file from a Windows computer, you must have OpenSSL installed and configured.
- Configure TCP keepalive in your SSH client to prevent socket connection timeouts when using the Bundle Transfer Utility for long-running operations.
The Bundle Transfer Utility is the
only supported method for downloading bundles. Do not use third-party tools or other
methods to download bundles.
When you download bundles, the
Bundle Transfer Utility verifies that the file size and checksum of the downloaded
bundles match the expected values. Additionally, in VMware Cloud Foundation 5.0 and
higher, upgrades are made available based on the compatibility data, which tracks the
compatible intra-product upgrades and inter-product compatibility across versions. This
data is updated before any upgrade operation is planned.
- Download the most recent version of the Bundle Transfer Utility on a computer with internet access.
- Log in to VMware Customer Connect and browse to the DownloadVMware Cloud Foundationpage.
- In theSelect Versionfield, select the version to which you are upgrading.
- ClickDrivers & Tools.
- ExpandVMware Cloud FoundationSupplemental Tools.
- ClickDOWNLOAD NOWfor the Bundle Transfer Utility.
- Extractlcm-tools-prod.tar.gz.
- Navigate to thelcm-tools-prod/bin/and confirm that you have execute permission on all folders.
- Copy the bundle transfer utility to a computer with access to theSDDC Manager applianceand then copy the bundle transfer utility to theSDDC Manager appliance.
- SSH in to theSDDC Manager applianceusing thevcfuser account.
- Entersuto switch to the root user.
- Create thelcm-toolsdirectory.mkdir /opt/vmware/vcf/lcm/lcm-toolsIf the/opt/vmware/vcf/lcm/lcm-toolsdirectory already exists with an older version of the Bundle Transfer Utility, you need to delete contents of the existing directory before proceeding.
- Copy the Bundle Transfer Utility file (lcm-tools-prod.tar.gz) that you downloaded in step 1 to the/opt/vmware/vcf/lcm/lcm-toolsdirectory.
- Extract the contents oflcm-tools-prod.tar.gz.tar -xvf lcm-tools-prod.tar.gz
- Set the permissions for thelcm-toolsdirectory.cd /opt/vmware/vcf/lcm/chown vcf_lcm:vcf -R lcm-toolschmod 750 -R lcm-tools
- On the computer with internet access, download the manifest file. This is a structured metadata file that contains information about the VMware product versions included in the release Bill of Materials../lcm-bundle-transfer-util --download --manifestDownload --depotUserUsername
- Copy the manifest file andlcm-tools-proddirectory to a computer with access to theSDDC Manager appliance.
- From the computer with access to theSDDC Manager appliance, upload the manifest file to theSDDC Manager appliance.
Use your vSphere SSO credentials for the./lcm-bundle-transfer-util --update --sourceManifestDirectoryManifest-Downloaded-Directory--sddcMgrFqdnFQDN--sddcMgrUserUsername--sddcMgrUserparameter. - On the computer with internet access, download the compatibility data.
To specify a download location, use./lcm-bundle-transfer-util --download --compatibilityMatrix --depotUserUsername--outputDirectoryfollowed by the path to the directory. - On the computer with internet access, download the compatibility data.
To specify a download location, use./lcm-bundle-transfer-util --download --compatibilityMatrix --depotUserUsername--pdudell_depot_email--outputDirectoryfollowed by the path to the directory. - Copy the compatibility data file (VmwareCompatibilityData.json) to the computer with access to theSDDC Manager appliance.
- Copy the compatibility data files (VmwareCompatibilityData.jsonandVxrailCompatibilityData.json) to the computer with access to theSDDC Manager appliance.
- From the computer with access to theSDDC Manager appliance, upload the compatibility file to theSDDC Manager appliance../lcm-bundle-transfer-util --update --compatibilityMatrix --inputDirectorycompatibility-file-directory--sddcMgrFqdnFQDN--sddcMgrUserUsername
- From the computer with access to theSDDC Manager appliance, upload the compatibility files to theSDDC Manager appliance../lcm-bundle-transfer-util --update --compatibilityMatrix --inputDirectorycompatibility-file-directory--sddcMgrFqdnFQDN--sddcMgrUserUsername
- If your current version ofVMware Cloud Foundationis 4.x, set the permissions for theCompatibilityDataDriftdirectory on theSDDC Manager appliance.
- SSH in to theSDDC Manager applianceusing thevcfuser account.
- Entersuto switch to the root user.
- Set the permissions for theCompatibilityDataDriftdirectory.chown -R vcf_lcm:vcf /nfs/vmware/vcf/nfs-mount/CompatibilityDataDrift/chmod -R 755 /nfs/vmware/vcf/nfs-mount/CompatibilityDataDrift/
- On the computer with internet access, run the following command../lcm-bundle-transfer-util --download --outputDirectoryabsolute-path-output-dir--depotUserdepotUser--svcurrent-vcf-version--ptarget-vcf-versionwhereabsolute-path-output-dirPath to the directory where the bundle files should be downloaded. This directory folder must have 777 permissions.If you do not specify the download directory, bundles are downloaded to the default directory with 777 permissions.depotUserUser name for the VMware Depot (VMware Customer Connect). You will be prompted to enter the depot user password. If there are any special characters in the password, specify the password within single quotes.current-vcf-versionCurrent version ofVMware Cloud Foundation. For example,4.3.1.1.target-vcf-versionTarget version ofVMware Cloud Foundation. For example,5.0.0.0.Do you want to download vRealize bundles?. EnterYorN.The utility displays a list of the available bundles based on the current and target versions ofVMware Cloud Foundation.
- On the computer with internet access, run the following command../lcm-bundle-transfer-util --download "downloadPartnerBundle" --download "withCompatibilitySets" --outputDirectoryabsolute-path-output-dir--depotUsercustomer_connect_email--svcurrent-vcf-version--ptarget-vcf-version--pdudell_depot_emailwhereabsolute-path-output-dirPath to the directory where the bundle files should be downloaded. This directory folder must have 777 permissions.If you do not specify the download directory, bundles are downloaded to the default directory with 777 permissions.depotUserUser name for the VMware Depot (VMware Customer Connect). You will be prompted to enter the depot user password. If there are any special characters in the password, specify the password within single quotes.current-vcf-versionCurrent version ofVMware Cloud Foundation. For example,4.3.1.1.target-vcf-versionTarget version ofVMware Cloud Foundation. For example,4.4.0.0.dell_depot_emailDell depot email address.Do you want to download vRealize bundles?. EnterYorN.The utility displays a list of the available bundles based on the current and target versions ofVMware Cloud Foundation.
- Specify the bundles to download.Enter one of the following options:
- all
- install
- patch
bundle-38371, bundle-38378.Download progress for each bundle is displayed. Wait until all bundles are downloaded successfully. - If you downloaded VxRail bundles:
- Copy the partner bundle to the/nfs/vmware/vcf/nfs-mount/bundle/depot/local/bundlesdirectory on theSDDC Manager appliance.
- CopypartnerBundleMetadata.jsonto the/nfs/vmware/vcf/nfs-mount/bundle/depot/localdirectory on theSDDC Manager appliance.
- CopysoftwareCompatibilitySets.jsonto the/nfs/vmware/vcf/nfs-mount/bundle/depot/localdirectory on theSDDC Manager appliance.
- Run following commands on the SDDC Manager appliance:chown -R vcf_lcm:vcf /nfs/vmware/vcf/nfs-mount/bundle/depot/localchmod -R 755 /nfs/vmware/vcf/nfs-mount/bundle/depot/local
- Copy the entire output directory to a computer with access to theSDDC Manager appliance, and then copy it to theSDDC Manager appliance.Make sure to copy the entire output directory, including any VxRail bundles and JSON files.You can select any location on theSDDC Manager appliancethat has enough free space available. For example,/nfs/vmware/vcf/nfs-mount/.Example command to copy the output directory to theSDDC Manager appliance:
Thescp -pr /root/upgrade-bundles vcf@SDDC_MANAGER_IP:/nfs/vmware/vcf/nfs-mount/scpcommand in the example above copies the output directory (upgrade-bundles) to the/nfs/vmware/vcf/nfs-mount/directory on theSDDC Manager appliance. - Upload the directory to theSDDC Manager applianceinternal LCM repository.
- SSH in to the SDDC Manager appliance using thevcfuser account.
- Entersuto switch to the root user.
- Navigate to/opt/vmware/vcf/lcm/lcm-tools/bin.
- Run the following command:./lcm-bundle-transfer-util --upload --bundleDirectoryabsolute-path-bundle-dir
- Replaceabsolute-path-bundle-dirwith the path to the location where you copied the output directory. For example:/nfs/vmware/vcf/nfs-mount/upgrade-bundles.
The utility uploads the bundles and displays upload status for each bundle. Wait for all bundles to be uploaded before proceeding with an upgrade. - Upload the directory to theSDDC Manager applianceinternal LCM repository.
- SSH in to the SDDC Manager appliance using thevcfuser account.
- Navigate to/opt/vmware/vcf/lcm/lcm-tools/bin.
- Run the following command:./lcm-bundle-transfer-util --upload "uploadPartnerBundle" --bundleDirectoryabsolute-path-bundle-dir
- Replaceabsolute-path-bundle-dirwith the path to the location where you copied the output directory. For example:/nfs/vmware/vcf/nfs-mount/upgrade-bundles.
The utility uploads the bundles and displays upload status for each bundle. Wait for all bundles to be uploaded before proceeding with an upgrade.