Bundle transfer utility is a command line tool which is specifically used to identify the bundles applicable to the current domain, download the bundles using the credentials, and upload them to SDDC Manager.

Starting from Cloud Foundation version 3.7.1, the additional options have been introduced for the bundle transfer utility tool.

The bundle transfer utility tool includes the following options.
  • You can selectively download the bundles based on the product version:
    1. Display the list of the applicable bundles along with the product version using the following command.
      ./lcm-bundle-transfer-util --markerFile ${absolte-path-markerFile} --markerMd5File
       ${absolte-path-markerFile.md5} --depotUser ${depotUser} --listBundles
       (OR)
      ./lcm-bundle-transfer-util --markerFile ${absolte-path-markerFile} --markerMd5File 
      ${absolte-path-markerFile.md5} --depotUser ${depotUser} -l

      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 selection of the product version.
      ./lcm-bundle-transfer-util --download --outputDirectory ${absolute-path-output-dir}
       --depotUser ${depotUser} --markerFile ${absolte-path-markerFile} --markerMd5File
       ${absolte-path-markerFile.md5} --productVersion ${product_version}
       
      (OR)
       
      ./lcm-bundle-transfer-util --download --outputDirectory ${absolute-path-output-dir}
       --depotUser ${depotUser} --markerFile ${absolte-path-markerFile} --markerMd5File
       ${absolte-path-markerFile.md5} -p ${product_version}
      

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

      ./lcm-bundle-transfer-util --download --depotUser 'test_depot_user@vmware.com' 
      --outputDirectory /Users/${userName}/downloadedBundle -p 3.7.1.0
      
    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.7.1.0 version, run the tool as follows:

      ./lcm-bundle-transfer-util --upload --bundleDirectory 
      /nfs/vmware/vcf/nfs-mount/downloadedBundles -p 3.7.1.0
      
  • You can download only 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 machines. For these options on SDDC Manager, you should always run the tool as vcf user.