Replicating VMware vSphere Configuration Profile Desired State

Published: (April 29, 2026 at 02:03 PM EDT)
5 min read
Source: VMware Blog

Source: VMware Blog

# vSphere Configuration Profiles

vSphere Configuration Profiles allow VMware Cloud Foundation (VCF) administrators to manage the ESX host configuration at a cluster level. In this article, we discuss how to easily replicate configuration from one cluster to another.

> **Note:** Screenshots and steps described are based on vSphere **9.0.2**. Certain UI elements or verbiage may differ in earlier or later versions.

About vSphere Configuration Profiles

vSphere Configuration Profiles is a new feature introduced in vSphere 8.0 that supersedes Host Profiles for managing ESXi host configurations at scale.

Why it matters

Host ProfilesvSphere Configuration Profiles
Requires the entire host configuration to be specifiedOnly the desired changes to the default configuration need to be defined
Complex and hard to maintainHuman‑readable, concise, and easier to manage
Increases administrative overheadReduces the burden on administrators, allowing them to focus on the specific changes they want to make

In short, vSphere Configuration Profiles let administrators define only the modifications they need, making the configuration document far more readable and maintainable.

Replicating Configuration to New Clusters

A common use case in configuration management is keeping consistent configuration not only within a vSphere cluster but also across multiple clusters. vSphere Configuration Profiles makes this straightforward.

Tip: You can stage configuration to a cluster even before any ESXi hosts have been added. All you need are the hosts’ BIOS UUIDs.


1. Export Configuration from an Existing Cluster

  1. Navigate to Cluster > Configure > Configuration under Desired State.
  2. Export the configuration. The file is JSON‑formatted and contains:
    • Agnostic settings (e.g., vSphere Distributed Switch, port groups, datastores)
    • Host‑specific attributes (IP address, hostname, BIOS UUID)

Note: You will later edit the host‑specific section with the UUIDs and attributes of the destination cluster.


2. Edit the vSphere Configuration Profile JSON File

JSON structure overview

Below is a simplified view of a typical vSphere Configuration Profile JSON file (opened in Notepad++). Most details are collapsed for readability.

{
  "profile": {
    "esx": { … }               // Host‑agnostic settings
  },
  "hosts": {
    "": { … },   // Host‑specific settings
    "": { … },
    "": { … }
  }
}
  • profile.esx – Settings applied to every host (e.g., distributed switch, port groups, datastores).
  • hosts – Host‑specific section where you’ll replace UUIDs, IPs, subnet masks, and hostnames.

Retrieve Host UUIDs (BIOS UUIDs)

The easiest way to obtain a host’s UUID is with PowerCLI:

# Replace esx-hostname.fqdn with the actual host FQDN
(Get-VMHost -Name esx-hostname.fqdn).ExtensionData.Hardware.SystemInfo.Uuid

Update the JSON file

  • Replace each Host UUID with the UUID of the destination host.
  • Update IP address(es), subnet mask(s), and hostname as required.
  • Add or remove host entries as needed—just keep the JSON syntax valid (pay attention to commas).

3. Import the Updated Configuration to the New Cluster

If the cluster is not yet enabled for vSphere Configuration Profiles

  1. Use the transition workflow to enable the feature.
  2. Import the edited JSON file during the transition.

If the cluster is already enabled

  1. Go to the Draft tab of the cluster.

  2. Click Import From File and select the updated JSON file.

    Import JSON file

  3. Review the pre‑check, remediation settings, and impact:

    • Pre‑check – Verifies that each host can enter maintenance mode and that DRS is enabled for VM evacuation.
    • Remediation Settings – Shows the settings inherited from vSphere Lifecycle Manager.

    Remediation settings

  4. Expand each host under Host‑Level Details in the Review Impact window to see the exact changes that will be applied.

    Review impact

  5. Click Remediate to apply the configuration to the cluster.


Quick Reference Checklist

StepActionDetails
ExportExport JSON from source clusterCluster > Configure > Configuration > Desired State
Gather UUIDsRetrieve BIOS UUIDs for destination hostsPowerCLI command above
Edit JSONUpdate host‑specific sectionUUID, IP, subnet, hostname
ImportImport JSON into target clusterDraft tab → Import From File
ValidateRun pre‑check & review impactEnsure maintenance mode & DRS are ready
RemediateApply configurationClick Remediate

Additional Resources

Feel free to reach out on the VMware community forums if you encounter any issues during the transition. Happy configuring!

Summary

We can easily copy standard configuration from one cluster to another using vSphere Configuration Profiles. This helps ensure consistent configuration not only within a single cluster but also across multiple clusters.


Discover more from the VMware Cloud Foundation (VCF) Blog

[Subscribe] to receive the latest posts directly to your email.

0 views
Back to Blog

Related posts

Read more »