WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / Automation / Automating deployment of vSAN Data Protection OVA with PowerCLI

Automating deployment of vSAN Data Protection OVA with PowerCLI

07.02.2024 by William Lam // 2 Comments

vSphere 8.0 Update 3 introduces a new vSAN Data Protection capability for the vSAN Express Storage Architecture (ESA) and it is currently delivered as a standalone VMware OVA (see Duncan's post in case you are wondering where to download) which, once deployed and configures, enables a new vSphere UI plugin as shown in screenshot below.


After going through the manual (vSphere UI) deployment workflow, which also included some non-traditional input like requiring the raw vCenter Server TLS certificate, I was interested in automating the deployment using PowerCLI.

Step 1 - Download deploy_vsan_data_protection_ova.ps1 PowerCLI script and update the variables based on your intended deployment.

Step 2 - Use the Connect-VIServer cmdlet to establish a connection which is needed before you can deploy the vSAN Data Protection OVA.

Step 3 - Run the deployment script by running the following command:

./deploy_vsan_data_protection_ova.ps1


In addition to populating the required OVF properties to deploy the vSAN Data Protection OVA, it also retrieves the TLS certificate for the vCenter Server that you intend to configure vSAN Data Protection and lastly powers on the VM for the configuration to begin.


If everything was configured correctly, you should see a notification banner shortly in the vSphere UI that the vSAN Data Protection vSphere UI Plugin has been deployed and simply reload with a browser refresh. To access the new vSAN Data Protection UI, navigate to vSAN ESA-enabled Cluster under Configure->vSAN->Data Protection.

More from my site

  • Improved vSAN capacity usage reporting APIs in vSphere 8.0 Update 3
  • Exploring the new vSAN Data Protection API in vSphere 8.0 Update 3
  • Programmatically accessing the Broadcom Compatibility Guide (BCG)
  • Enable TRIM/UNMAP from Nested vSAN OSA/ESA to physical vSAN OSA
  • Enhancements to VMware Cloud Foundation (VCF) & vSphere Automated Lab Deployment Scripts

Categories // Automation, PowerCLI, VSAN, vSphere 8.0 Tags // VSAN, vSphere 8.0 Update 3

Comments

  1. *protectedPetroselli Giovanni says

    10/21/2024 at 9:16 am

    Hi William,
    I'm trying to deploy the app but when i start the OVA I encoutered in this error:

    integrity: Problem Loading X.509 certificate -22.
    The certificate is correct in Vcenter Server but the in the app there is this issue.
    How can I troubleshoot?
    thanks
    Giovanni

    Reply
  2. *protectedLeah says

    01/27/2025 at 7:51 am

    Omg, this is brilliant, thank you, spend hours getting it deployed manually with no luck, just 'No Healthy Upstream' for no apparent reason on the data services tab, but this got it all working <3

    Can get the vSAN deep dive finished now, so thank you very much

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...