WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple
You are here: Home / Automation / VMware Cloud Foundation 5.0 running on Intel NUC

VMware Cloud Foundation 5.0 running on Intel NUC

06.08.2023 by William Lam // Leave a Comment

Interested in trying out the latest release of VMware Cloud Foundation (VCF) 5.0? Don't have some beefy hardware to meet all the requirements, not to worry! Did you know you can actually deploy a VCF Management Domain using just a single Intel NUC or simliar small form factor system? This is exactly how I kicked the tires with the latest VCF 5.0 release 😎


Disclaimer: This is not officially supported by VMware, please use at your own risk.

Requirements:

  • VMware Cloud Builder 5.0 OVA (Build 21822418)
  • VCF 5.0 Licenses
  • Intel NUC configured with
    • 64GB of memory or more
    • Dual onboard networking ("Tall" NUC like Intel NUC 11 Pro, which is what I used) OR add additional NICs with these Thunderbolt 3 Networking options (no USB NIC)
    • 2 x SSD that are empty for use for vSAN bootstrap (500GB+ for capacity)
  • ESXi 8.0 Update 1a installed on the Intel NUC using USB device
  • Ability to deploy and run the VMware Cloud Builder (CB) Appliance in a separate environment (ESXi/Fusion/Workstation)

Note: While my experiment used an Intel NUC, any system that meets the basic requirements above should also work.

Procedure:

Step 1 - Boot up the ESXi installer from USB and then perform a standard ESXi installation using the same USB device that it was used to boot up from.

Step 2 - Once ESXi is up and running, you will need to minimally configure networking along with an FQDN (ensure proper DNS resolution), NTP and specify which SSD should be used for the vSAN capacity drive. You can use the DCUI to setup the initial networking but recommend switching to ESXi Shell afterwards and finish the require preparations steps as demonstrated in the following ESXCLI commands:

esxcli system ntp set -e true -s pool.ntp.org
esxcli system hostname set --fqdn vcf-m01-esx01.primp-industries.local
esxcli vsan storage tag add -d [DISK_ID] -t capacityFlash

Note: Use vdq -q command to query for the available disks for use with vSAN and ensure there are no partitions residing on the disks

To ensure that the self-signed TLS certificate that ESXi generates matches that of the FQDN that you had configured, we will need to regenerate the certificate and restart hostd for the changes to go into effect by running the following commands within ESXi Shell:

/bin/generate-certificates
/etc/init.d/hostd restart

Step 3 - Deploy the VMware Cloud builder in a separate environment and wait for it to be accessible over the browser. Once CB is online, download the setup_vmware_cloud_builder_for_one_node_management_domain.sh setup script and transfer that to the CB system using the admin user account (root is disabled by default).

Step 4 - Switch to the root user and set the script to have the executable permission and run the script as shown below

su -
chmod +x setup_vmware_cloud_builder_for_one_node_management_domain.sh
./setup_vmware_cloud_builder_for_one_node_management_domain.sh


The script will take some time, especially as it converts the NSX OVA->OVF->OVA and if everything was configured successfully, you should see the same output as the screenshot above.

Step 4 - Download the example JSON deployment file vcf50-management-domain-example.json and and adjust the values based on your environment. In addition to changing the hostname/IP Addresses you will also need to replace all the FILL_ME_IN_VCF_*_LICENSE_KEY with valid VCF 5.0 license keys.

Step 5 - As shared in this blog post HERE, we need to use the VMware Cloud Builder API to kick off the deployment to workaround the new 10GbE networking pre-check. The following PowerShell snippet can be used (replace the values from within your environment) that will deploy VCF 5.0 using the VMware Cloud Builder API and providing the same VCF JSON deployment spec that you would use with the VMware Cloud Builder UI.

$cloudBuilderIP = "192.168.30.190"
$cloudBuilderUser = "admin"
$cloudBuilderPass = "VMware123!"
$mgmtDomainJson = "vcf50-management-domain-example.json"

#### DO NOT EDIT BEYOND HERE ####

$inputJson = Get-Content -Raw $mgmtDomainJson

$pwd = ConvertTo-SecureString $cloudBuilderPass -AsPlainText -Force
$cred = New-Object Management.Automation.PSCredential ($cloudBuilderUser,$pwd)

$bringupAPIParms = @{
    Uri         = "https://${cloudBuilderIP}/v1/sddcs"
    Method      = 'POST'
    Body        = $inputJson
    ContentType = 'application/json'
    Credential = $cred
}

$bringupAPIReturn = Invoke-RestMethod @bringupAPIParms -SkipCertificateCheck

Write-Host "Open browser to the VMware Cloud Builder UI to monitor deployment progress ..."

Thanks to a nice tip, we can actually simplify our setup by just calling the VMware Cloud Builder API directly within the VMware Cloud Builder VM using the following shell script below.

#!/bin/bash

cloudBuilderIP="192.168.30.190"
cloudBuilderUser="admin"
cloudBuilderPass="VMware123!"
mgmtDomainJson="vcf50-management-domain-example.json"

#### DO NOT EDIT BEYOND HERE ####

inputJson=$(<vcf50-management-domain-example.json)

curl https://$cloudBuilderIP/v1/sddcs -i -u "$cloudBuilderUser:$cloudBuilderPass" -k -X POST -H 'Accept: application/json' -d '$inputJson'

echo "Open browser to the VMware Cloud Builder UI to monitor deployment progress ..."

Here is a screenshot running the code snippet above and once VMware Cloud Builder API has accepted the request, then you can login to VMware Cloud Builder UI to monitor the rest of the deployment progress.


Your deployment time will vary based on your physical resources but it should eventually complete with everything show success as shown in the screenshot below.


Here are a few more screenshots of the final VCF 5.0 deployment running on an Intel NUC from vSphere point of view as well as logging into SDDC Manager:


Depending on your usage of the VCF Management Domain, you could reduce some of the resources. In my very limited testing, I was able to shutdown SDDC Manager and NSX Manager tune them down to 14GB and they seem to run fine. You probably can do same for vCenter Server, but make sure vCenter Server is operational before you start up both SDDC Manager since it uses vCenter SSO authentication.

Finally, if you want to also deploy a VCF Workload Domain, you can do so with another Intel NUC or simliar system by following this blog post HERE! 😁

More from my site

  • VMware Cloud Foundation on Intel NUC?
  • VMware Cloud Foundation with a single ESXi host for Workload Domain?
  • ESXi on Intel NUC 12 Enthusiast (Serpent Canyon)
  • Considerations for future vSphere Homelabs due to upcoming removal of SD card/USB support for ESXi
  • ESXi on 11th Gen Intel NUC (Panther Canyon) & (Tiger Canyon)

Categories // Automation, Home Lab, VMware Cloud Foundation Tags // homelab, Intel NUC, VMware Cloud Foundation

Thanks for the comment!Cancel reply

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

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC) across Private, Hybrid and Public Cloud

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • ESXi on Lenovo ThinkStation P3 Ultra 09/29/2023
  • Quick Tip - vSphere 7.0 Update 3o also supports disabling/enabling vSphere Cluster Services (vCLS) in vSphere UI 09/29/2023
  • Heads Up - New image identifier required by VM Service in vSphere 8.0 Update 2 09/27/2023
  • How to setup private GitLab on a Synology for Project Keswick? 09/26/2023
  • ESXi on SimplyNUC Moonstone 09/25/2023

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 © 2023

 

Loading Comments...