Downloading File Service OVF

You can download the OVF using the vSphere Client during the vSAN File Service configuration process. You can also download the OVF file while upgrading the vSAN File Service using the vSphere Client.

Here is an example of how to download the compatible OVF from the VMware server using the vSAN Management API. This example is based on the code in the vsanfssamples.py sample file located under the Python sample code directory.

# Download compatible OVF from VMware server
   #Find OVF download url
   print("Finding OVF download url ...")
   ovfUrl = vcfs.FindOvfDownloadUrl(cluster)
   if not ovfUrl:
      print("Failed to find the OVF download url.")
      return -1
   print("Found OVF download url: %s" % ovfUrl)

   # Download FSVM OVF files to vCenter
   print("Downloading ovf files from %s to vCenter ..." % ovfUrl)
   vsanTask = vcfs.DownloadFileServiceOvf(downloadUrl=ovfUrl)
   vcTask = vsanapiutils.ConvertVsanTaskToVcTask(vsanTask, si._stub)
   vsanapiutils.WaitForTasks([vcTask], si)
   if vcTask.info.state != 'success':
      print("Failed to download ovf files with error: %s"
            % vcTask.infor.error)
      return -1
   print("Downloaded ovf files to vCenter successfully")
Note: You can also use the API DownloadFileServiceOvf() directly with a specific URL that points to the .ovf file on your own HTTP server. You should have all the following files under the same folder with the .ovf file:
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x_OVF10.mf
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x-x_OVF10.cert
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x-x-system.vmdk
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x-cloud-components.vmdk
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x-log.vmdk
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x_OVF10.ovf