Offline Download of VMware Cloud Foundation 5.2.x Upgrade Bundles
If the
SDDC Manager appliance
is not connected to an online or offline 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 (either directly or through a proxy) for downloading the bundles and other required files.
- 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.
Using the Bundle Transfer Utility to upgrade to
VMware Cloud Foundation
5.2.x involves the following steps:
- Download the latest version of the Bundle Transfer Utility.
- On a computer with access to the internet, use the Bundle Transfer Utility to download the bundles and other required files.
- Copy the bundles and other required files to theSDDC Manager appliance.
- On theSDDC Manager appliance, use the Bundle Transfer Utility to upload the bundles and other required files to the internal LCM repository.
If the computer with internet access can only access the internet using a proxy server, use the following options when downloading:
Example that combines the options:
Option | Description |
---|---|
--proxyServer, --ps | Provide the proxy server FQDN and port.
For example: --proxyServer proxy.example.com:3128 . |
--proxyHttps | Add this option if the proxy server uses HTTPs.
To use this option, the proxy certificate must be added to Bundle Transfer Utility JRE default trust store. For example:
|
--proxyUser | For a proxy server that requires authentication, enter the user name. |
--proxyPasswordFile | For a proxy server that requires authentication, enter the path to a file where the password for proxy authentication is stored. The file content is used as the proxy password.
For example, --proxyPasswordFile ../../password.txt . |
./lcm-bundle-transfer-util --download --manifestDownload --depotUserUsername--proxyServer proxy.example.com:3128 --proxyUser vmwuser --proxyPasswordFile ../../password.txt --proxyHttps
- Download the most recent version of the Bundle Transfer Utility on a computer with internet access.
- Log in to the Broadcom Support Portal and browse to.
- Click the version ofVMware Cloud Foundationto which you are upgrading.
- ClickDrivers & Tools.
- Click the download icon for 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.
- Download bundles and other artifacts to 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 --depotUserUsernameFor--depotUser, enter your Broadcom Support Portal user name.Note the location to which the Bundle Transfer Utility downloads the manifest. You will use this as the--sourceManifestDirectorywhen you upload the manifest. For example:
- Download the compatibility data.
To specify a download location, use./lcm-bundle-transfer-util --download --compatibilityMatrix --depotUserUsername--outputDirectoryfollowed by the path to the directory. - Download the vSAN HCL file../lcm-bundle-transfer-util --vsanHclDownload
- Download the upgrade bundles../lcm-bundle-transfer-util --download --outputDirectoryabsolute-path-output-dir--depotUserUsername--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 Broadcom Support Portal. You will be prompted to enter the 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.5.2.0.target-vcf-versionTarget version ofVMware Cloud Foundation. For example,5.2.1.0.
- 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.
- Copy the following files/directories to theSDDC Manager appliance.
- Bundle Transfer Utility
- Manifest file
- Compatibility data file (VmwareCompatibilityData.json)
- vSAN HCL
- Entire bundle output directory
SDDC Manager appliancethat has enough free space available. For example,/nfs/vmware/vcf/nfs-mount/. - 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
- From theSDDC Manager appliance, use the Bundle Transfer Utility to upload the bundles and artifacts.
- Upload the manifest file.
Use your vSphere SSO credentials for the./lcm-bundle-transfer-util --update --sourceManifestDirectoryManifest-Directory--sddcMgrFqdnFQDN--sddcMgrUserUsername--sddcMgrUserparameter. - Upload the compatibility file../lcm-bundle-transfer-util --update --compatibilityMatrix --inputDirectorycompatibility-file-directory--sddcMgrFqdnFQDN--sddcMgrUserUsername
- Upload the HCL file../lcm-bundle-transfer-util --vsanHclUpload --inputDirectoryhcl-file-path--sddcMgrFqdnsddc-manager-fqdn--sddcMgrUseruser
- Upload the bundle directory../lcm-bundle-transfer-util --upload --bundleDirectoryabsolute-path-bundle-dir