Bundle transfer utility is a command line tool used to identify bundles applicable to your environment, download the bundles from the VMware depot, and upload them to SDDC Manager.

Download Bundles for a Product Version

You can download bundles for a specific product version. Based on the command used, you can download only install bundles or both install and upgrade 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.
  1. Display the list of the applicable bundles along with the product version using the following command.
    ./lcm-bundle-transfer-util --depotUser ${depotUser} --listBundles --productVersion ${product_version}
     (OR)
    ./lcm-bundle-transfer-util -du ${depotUser} -l -p ${product_version}

    For example:

    Sample applicable bundle list
    Below are applicable bundles:
     
    **********************************************************************************************
    Bundle               Product Version       Bundle Size (in MB)   Patch/Install Softwares
    **********************************************************************************************
    bundle-10668         3.7.1.0               432.0 MB              ESX_HOST-6.7.0-12871208-PATCH
    **********************************************************************************************
  2. Download the applicable bundles based on the selected product version.
    • Download applicable install bundles for the selected version.
      ./lcm-bundle-transfer-util --download --outputDirectory ${absolute-path-output-dir}
       --depotUser ${depotUser} --productVersion ${product_version}
       (OR)
       ./lcm-bundle-transfer-util -d -op ${absolute-path-output-dir} -du ${depotUser} -p ${product_version}
      

      For example, to download all the bundles released for the 3.10.1 version, run the tool as follows:

      ./lcm-bundle-transfer-util --download --depotUser 'test_depot_user@vmware.com' 
      --outputDirectory /Users/${userName}/downloadedBundle -p 3.10.1
      
    • Download applicable install and update bundles for the selected version.
      ./lcm-bundle-transfer-util -download
          -outputDirectory ${absolute-path-output-dir}
          -depotUser ${depotUser} 
          -markerFile ${absolute-path-markerFile}
          -markerMd5File ${absolute-path-markerFile.md5} -p ${product version}
  3. Upload all the bundles specific to the product version.
    ./lcm-bundle-transfer-util --upload --bundleDirectory ${absolute-path-bundles-dir}
     --productVersion ${product_version}
     
    (OR)
     
    ./lcm-bundle-transfer-util --upload --bundleDirectory ${absolute-path-bundles-dir}
     -p ${product_version}
    

    For example, to upload all bundles released for the 3.10.1 version, run the tool as follows:

    ./lcm-bundle-transfer-util --upload --bundleDirectory 
    /nfs/vmware/vcf/nfs-mount/downloadedBundles -p 3.10.1
    

Download a Single Applicable Bundle

  1. Download the single bundle.
    ./lcm-bundle-transfer-util --download --outputDirectory ${absolute-path-output-dir}
     --depotUser ${depotUser} --bundle ${bundle_name}
    (OR)
     
    ./lcm-bundle-transfer-util --download --outputDirectory ${absolute-path-output-dir}
     --depotUser ${depotUser} -b ${bundle_name}

    For example:

    ./lcm-bundle-transfer-util --download --outputDirectory 
    /nfs/vmware/vcf/nfs-mount/downloadedBundles
     --depotUser 'test_depot_user@vmware.com' --bundle bundle-8203
    
  2. Upload the single bundle to LCM.
    ./lcm-bundle-transfer-util --upload --bundleDirectory ${absolute-path-bundles-dir}
     --bundle ${bundle_name}
    (OR)
     
    ./lcm-bundle-transfer-util --upload --bundleDirectory ${absolute-path-bundles-dir}
     -b ${bundle_name}

    For example:

    ./lcm-bundle-transfer-util --upload --bundleDirectory 
    /nfs/vmware/vcf/nfs-mount/downloadedBundles -b bundle-8203
Note: The above additional options can be run only on the SDDC Manager virtual machine. For these options on SDDC Manager, you should always run the tool as vcf user.