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 and 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 3.10.2 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 --outputDirectory ${absolute-path-output-dir} -d -–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/UpdateBundle vcf@SDDC_IP:/home/vcf/vCF31012to3102Bundle"
- 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 /opt/vmware/vcf/vCF31012to3102Bundle chown -R vcf_lcm:vcf /opt/vmware/vcf/vCF31012to3102Bundle
- 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 withCompatibilitySets --bundleDirectory ${absolute-path-bundle-dir}
Replace ${absolute-path-bundle-dir} with the directory to which you copied the bundle. For example: /opt/vmware/vcf/vCF31012to3102Bundle.
- Open a command line utility, change to the bin directory in lcm-tools-3x-<build_number>, and run the following command: