Download an Install Bundle Using the Bundle
Transfer Utility
If you do not have direct internet connectivity to your
SDDC
Manager
instance, you can use the Bundle Transfer Utility to manually
download install bundles from the VMware depot to your local computer and then upload them to
SDDC
Manager
.- A Windows or Linux computer with internet connectivity for downloading the bundles.
- 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.
This procedure describes the process
for downloading install bundles using the Bundle Tranfer Utility. For information about
downloading update/upgrade bundles, see the
VMware Cloud Foundation Lifecycle Management
Guide
.- 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 for which you want to download an install bundle.
- ClickDrivers & Tools.
- ExpandVMware Cloud FoundationSupplemental Tools and clickGo To Downloads.
- 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 the SDDC 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. - Download install bundles from the computer with internet access.
- From the/lcm-tools/binfolder where you downloaded the utility download install bundles by entering the following command.
Windows:lcm-bundle-transfer-util.bat -download --outputDirectoryabsolute-path-output-dir-depotUserdepotUser-pvcfVersion--imageType INSTALLLinux:./lcm-bundle-transfer-util -download --outputDirectoryabsolute-path-output-dir-depotUserdepotUser-pvcfVersion--imageType INSTALLFor example:./lcm-bundle-transfer-util -download --outputDirectory /root/downloadedBundles -depotUser ffruyven@vmware.com -p 4.4.0.0 --imageType INSTALLwhereabsolute-path-output-dirPath to the directory where the bundle files are to 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.depotUserVMware Customer Connect user name. You are prompted to enter the password. If there are any special characters in the password, specify the password within single quotes.-pFilter the bundles for a specific version ofVMware Cloud Foundation. The value is based on x.x.x.x format.Do you want to download vRealize bundles?. EnterYorN. The utility displays a list of the available install bundles for the specified version ofVMware Cloud Foundation. - Specify the bundles to download.Enter one of the following options:
- all
- A specific bundle name or a comma-separated list of bundle names to download specific bundles. For example:bundle-52610, bundle-52990.
- Copy the entire output directory to a computer with access to theSDDC Manager appliance, and then copy it to theSDDC Manager appliance.You can select any location on theSDDC Manager appliancethat has enough free space available. For example,/nfs/vmware/vcf/nfs-mount/.Example commandSDDC Manager appliancescp -pr /root/downloadedBundles vcf@SDDC_MANAGER_IP:/nfs/vmware/vcf/nfs-mount/The scp command in the example above copies the output directory (downloadedBundles) to the/nfs/vmware/vcf/nfs-mount/directory on theSDDC Manager appliance.
- Upload the directory to theSDDC Manager applianceinternal LCM repository.
- SSH in to theSDDC Manager applianceusing thevcfuser account.
- Navigate to/opt/vmware/vcf/lcm/lcm-tools/bin.
- Run the following command:
Replace./lcm-bundle-transfer-util -upload -bundleDirectoryabsolute-path-bundle-dirabsolute-path-bundle-dirwith the path to the location where you copied the output directory. For example:/nfs/vmware/vcf/nfs-mount/downloadedBundles.
The utility uploads the bundles and displays upload status for each bundle. When the uploads complete, the bundles are available in theSDDC Manager UI. Navigate to to see the downloaded bundles.