If you do not have internet connectivity in your VMware Cloud Foundation system, you can use the Bundle Transfer Utility to manually download a specific VMware Cloud Foundation bundle or VxRail bundle from the depot to your local computer and then upload the bundle to SDDC Manager.
Prerequisites
A Windows or Linux computer with Java 8 or later and internet connectivity for downloading the bundles.
Note: The Bundle Transfer Utility & Skip Level Upgrade Tool is the only supported method for downloading bundles. Do not use third-party tools or other methods to download bundles.
Procedure
- Download the Bundle Transfer Utility & Skip Level Upgrade Tool for VMware Cloud Foundation from My VMware to a computer that can access depot.vmware.com and download.emc.com.
- Extract the file lcm-tools-3x-<build_number>.tar.gz.
- To download a specific VxRail bundle:
- Open a command line utility, change to the bin directory in lcm-tools-3x-<build_number>, and run the following command:
./lcm-bundle-transfer-util -d downloadPartnerBundle --outputDirectory absolute-path-to-outputdir –-depotUser depotUser –-partnerDepotUser partnerDepotUser -b bundle-id
Replace absolute-path-to-outputdir with the path to an output directory. For example /Users/ffruyven/downloadedBundle. Replace depotUser and partnerDepotUser with an email address that can access depot.vmware.com and download.emc.com respectively. Replace bundle-id with the VxRail bundle ID, for example: 4.7.511-2653943 - Copy the bundle from the output directory to the /nfs/vmware/vcf/nfs-mount/bundle/depot/local/bundles directory on the SDDC Manager VM.
- Copy partnerBundleMetadata.json from the output directory to /nfs/vmware/vcf/nfs-mount/bundle/depot/local/partnerBundleMetadata.json.
- Copy softwareCompatibilitySets.json from the output directory to /nfs/vmware/vcf/nfs-mount/bundle/depot/local/softwareCompatibilitySets.json.
- Using SSH, log in to the SDDC Manager VM with the user name vcf.
- Enter su to switch to the root user.
- Change the ownership and permissions of the copied files.
chmod -R 777 /nfs/vmware/vcf/nfs-mount/bundle/depot/local chown -R vcf_lcm:vcf /nfs/vmware/vcf/nfs-mount/bundle/depot/local
- Navigate to the /opt/vmware/vcf/lcm/lcm-tools/bin directory.
- Run the following command to upload the bundle file to the internal LCM repository:
./lcm-bundle-transfer-util --upload "uploadPartnerBundle" --bundleDirectory absolute-path-bundle-dir
Replace absolute-path-bundle-dir with the directory to which you copied the bundle. For example: /nfs/vmware/vcf/nfs-mount/bundle/depot/local/bundles.
- Open a command line utility, change to the bin directory in lcm-tools-3x-<build_number>, and run the following command:
- To download a specific VMware Cloud Foundation bundle:
- Open a command line utility, change to the bin directory in lcm-tools-3x-<build_number>, and run the following command:
./lcm-bundle-transfer-util --download --outputDirectory absolute-path-output-dir --depotUser depotUser -b bundle-id
Replace depotUser with an email address that can access depot.vmware.com. Replace bundle-id with the VMware Cloud Foundation bundle ID, for example: bundle-40584. - Copy the update bundle directory from the external computer to the SDDC Manager VM.
For example:
scp -pr /Work/vcf_bundle vcf@SDDC_IP:/home/vcf/vcf_bundle"
- Using SSH, log in to the SDDC Manager VM with the user name vcf.
- Enter su to switch to the root user.
- Change the ownership and permissions of the uploaded bundle.
chmod -R 777 /home/vcf/vcf_bundle chown -R vcf_lcm:vcf /home/vcf/vcf_bundle
- Navigate to the /opt/vmware/vcf/lcm/lcm-tools/bin directory.
- Run the following command to upload a bundle file to the internal LCM repository:
./lcm-bundle-transfer-util --upload "withCompatibilitySets" --bundleDirectory absolute-path-bundle-dir -b bundle-id
Replace absolute-path-bundle-dir with the directory to which you copied the bundle. For example: /home/vcf/vcf_bundle. Replace bundle-id with the bundle ID, for example bundle-40584.
- Open a command line utility, change to the bin directory in lcm-tools-3x-<build_number>, and run the following command: