Ga naar de inhoud
-
Never miss our best posts. Subscribe Now!
VCF Wizard VCF Wizard

VCF and More

VCF Wizard VCF Wizard

VCF and More

  • Home
  • 2026
  • GITHUB
  • Links
  • Home
  • 2026
  • GITHUB
  • Links
Sluiten

Zoeken

  • GitHub
  • Linkedin
  • Useful Links Not to Forget
Home/VCF Infrastructuur/Assigning Multiple vCenter Instances to a Policy for Configuration Drift Management in VCF Operations
VCF Infrastructuur

Assigning Multiple vCenter Instances to a Policy for Configuration Drift Management in VCF Operations

Door hruis
juli 28, 2026 7 Min lezen
0

Applies to: VMware Cloud Foundation (VCF) 9.0 and later — VCF Operations, Fleet Management / Configuration Drift

1. Problem Statement

Administrators managing a VCF fleet frequently need to enforce a single desired-state configuration across many vCenter Server instances — for example, a uniform SSH policy, root password expiry setting, or permission model. The question that arises is:

Can more than one vCenter instance be associated with a single policy — in particular the Default Policy — for configuration drift detection in VCF Operations?

The confusion typically stems from two sources:

  1. Legacy tooling. Host Profiles in vSphere were host-scoped and were never compatible with VCF, so there was no precedent for a one-to-many desired-state construct at the vCenter level.
  2. Terminology overlap. In VCF Operations, “policy” is a generic operational construct (used for metrics, alerts, capacity settings), and Configuration Drift piggybacks on it. It is not immediately obvious that a Configuration Template is activated through a policy, and that the policy — not the template — defines the target scope.

The short answer is yes: a single policy, including the Default Policy, can cover an unlimited number of vCenter instances. The sections below explain the mechanics and the supported solution patterns.

2. Architecture: How Drift Management Is Structured in VCF Operations

Configuration Drift lives in VCF Operations → Fleet Management → Configuration Drift (introduced in this form in VCF 9.0 as the evolution of the 5.2-era drift service). Three constructs interact:

2.1 Configuration Templates

A Configuration Template is the desired-state definition: a set of vCenter configuration key/value pairs (e.g., root password expiry = 9999 days, SSH enabled = false). Key properties:

  • Templates are fleet-global. A template is not bound to a specific vCenter or VCF instance; one template can serve every VCF instance registered with the same VCF Operations deployment (all instances must run VCF 9.0+ and be VCF-licensed).
  • A template becomes active only when it is assigned to (turned on within) an Operations policy.
  • A template can contain a single setting — monitoring one security-relevant flag such as SSH is a valid and common pattern.

2.2 Policies

A VCF Operations policy is a rule set applied to a scope of objects. For drift purposes, the policy answers one question: which vCenter objects does this template apply to?

  • Policies are evaluated by priority. The Default Policy always carries priority D; custom active policies are ranked 1, 2, 3, … with 1 as highest.
  • When multiple policies match an object, the highest-priority policy wins — with one exception: a policy directly assigned to an object overrides a higher-priority group-based policy.
  • A policy is considered active only when it is assigned to at least one object or custom group.

2.3 Object Scope (Inventory Objects and Custom Groups)

Scope is attached to a policy in the Policy Assignment workspace (Operate → Administration → Configurations → Policy Definition):

  • Direct object assignment — drag individual vCenter objects from the Inventory tab onto the policy card. Child-object inclusion with a configurable depth (max 10) is supported.
  • Custom groups — dynamic membership rules (e.g., “all vCenters belonging to VCF instance X”, “all vCenters with tag prod“). New objects that match the rule inherit the policy automatically.
  • Default assignment — applies only to the Default Policy; it covers every object not claimed by another policy.

3. The Core Fact: Policy-to-vCenter Is One-to-Many

The relationship model is:

Configuration Template (1) ──activated on──► Policy (1) ──scoped to──► vCenter objects (N)

There is no per-vCenter template and no per-vCenter policy requirement. One template on one policy can govern every vCenter in the fleet. The inverse, however, is constrained:

vCenter object (1) ◄──effective settings from── exactly one policy (highest priority match)

An individual vCenter object receives its effective configuration from only one policy at a time. You therefore cannot apply two conflicting drift templates to the same vCenter through two policies — whichever policy has higher priority (or direct assignment) is the one enforced.


4. Solutions

4.1 Solution A — Use the Default Policy (fleet-wide scope)

Use when: the same desired state must apply to all vCenter instances.

  1. Navigate to Fleet Management → Configuration Drift and create (or edit) a vCenter Configuration Template with the required settings.
  2. During template creation, when prompted for the policy, select the Default Policy.
  3. Save the template.

That is the entire configuration. Because the Default Policy’s default assignment covers every object not claimed by another policy, every current and future vCenter instance registered with VCF Operations inherits the template automatically. Adding a new VCF instance or workload domain requires no policy changes — the new vCenter falls under the Default Policy on discovery.

Trade-off: the Default Policy scope is implicit (“everything not covered elsewhere”). If a higher-priority custom policy later claims some vCenters, they silently leave the Default Policy’s drift scope. Audit the Policy Assignment workspace after introducing any new active policy.

4.2 Solution B — Custom Policy with Multi-vCenter Scope (targeted subset)

Use when: different vCenter groups need different desired states (e.g., prod vs. lab, per-region hardening baselines).

  1. Create a custom policy (inherit from the Default Policy or a library base policy).
  2. Activate the relevant Configuration Template on that policy.
  3. In the Policy Assignment workspace, scope the policy:
    • drag multiple vCenter objects from All Objects → Inventory onto the policy card (choose Only this object or Include child object with a depth value), or
    • assign a custom group whose membership rule captures the intended vCenters (individual vCenters, all vCenters of a VCF instance, tag-based, and so on).
  4. Verify priority order (⋯ → Reorder Policies) so the custom policy outranks any other policy that could claim the same objects.



Advantage of custom groups over direct assignment: membership is dynamic. Add a vCenter to the group’s criteria (or deploy one that matches), and the template applies without touching the template or the policy again. Remove it from the group and the association is dropped cleanly — no manual unlinking of template-to-vCenter relationships.

4.3 Solution C — Hybrid (Default Policy baseline + custom policy exceptions)

Use when: a fleet-wide baseline is needed but a subset requires stricter or different settings.

  • Activate the baseline template on the Default Policy (Solution A).
  • Create a custom policy carrying the exception template, scoped only to the exception vCenters (Solution B). Its numbered priority automatically outranks the Default Policy’s priority D for those objects.

Remember the single-policy-per-object rule: the exception vCenters are governed only by the custom policy, so the custom policy’s template must contain the full desired state for them, not just the delta.


5. Operationalizing Drift Detection at Scale

Assigning scope only defines what is compared; detection must still be executed:

  • On-demand: Fleet Management → Configuration Drift → select the VCF instance → Drifts tab → select one or more vCenters → Detect Drift. Results are listed per vCenter, per setting.
  • Scheduled: Schedule Drift Detection lets you drag-and-drop target vCenters, add scope filters, and define a recurrence. Combined with a dynamically scoped policy, this yields continuous compliance monitoring with zero per-vCenter maintenance (“set it and forget it”).
  • Notifications: attach VCF Operations notifications to the same policy used for the template so that drift events (e.g., someone enables SSH on a vCenter) generate alerts/emails instead of requiring report review.
  • Reporting: drift status can be exported per selected vCenter instances (including PDF) for audit evidence.

6. Known Limitations and Caveats (as of VCF 9.0)

#LimitationImpact / Mitigation
1Detection only — no one-click remediation. Drift is reported; the deviating setting must be corrected manually (UI, API, or PowerCLI).Pair drift alerts with a documented remediation runbook. Remediation automation is on the roadmap per VMware/Broadcom statements.
2One effective policy per object. Conflicting templates cannot be layered on the same vCenter via multiple policies.Model exceptions as complete replacement policies (Section 4.3), not deltas.
3Priority side effects. A new higher-priority policy silently removes objects from the Default Policy’s effective scope.Review Reorder Policies and the Policy Assignment workspace after any policy change; direct assignment can pin a specific policy to a specific object.
4Version/licensing prerequisites. Cross-instance template coverage requires all VCF instances at 9.0+ with VCF licensing, connected to a single VCF Operations deployment.Verify fleet registration under Fleet Management before assuming coverage.
5Scope is vCenter-focused in the initial release. ESX cluster configuration is handled via separate Configuration Profiles; broader stack coverage (NSX, SDDC Manager) is incremental.Track release notes for expanded drift coverage per component.

7. Recommended Practice Summary

  • For a uniform fleet: one template, activated on the Default Policy — nothing else. All vCenters, present and future, are covered.
  • For segmented fleets: templates on custom policies scoped via custom groups, never via per-vCenter template duplication.
  • Always schedule drift detection and wire notifications to the policy; unscheduled drift management degrades into manual audits.
  • Treat the policy priority list as change-controlled configuration: any reorder or new active policy is effectively a scope change for drift enforcement.

References

  1. Broadcom TechDocs — Policies (VCF 9.0, Infrastructure Operations): https://techdocs.broadcom.com/us/en/vmware-cis/vcf/vcf-9-0-and-later/9-0/infrastructure-operations/configuring-policies/managing-and-administering-policies.html
  2. Broadcom TechDocs — Assigning Policies (VCF 9.0): https://techdocs.broadcom.com/us/en/vmware-cis/vcf/vcf-9-0-and-later/9-0/infrastructure-operations/configuring-policies/assigning-policies.html
  3. F. Wong — Config Drift in VCF 9.0: https://virtually2cents.com/config-drift-in-vcf-9-0/
  4. J. Cox — VCF 9 – Configuration Drift Management Part 1 – vCenter: https://gibsonvirt.com/2025/06/18/vcf-9-configuration-drift-management-part-1-vcenter/
  5. VMware Cloud Foundation Blog — VMware Aria Operations Eliminates Configuration Drifts for vCenter: https://blogs.vmware.com/cloud-foundation/2024/07/31/vmware-aria-operations-eliminates-configuration-drifts-for-vcenter/
Auteur

hruis

Volg mij
Andere artikelen
Vorige

Broadcom Activate Amsterdam 2026

Volgende

How to Fix “Version Drift” in VCF Operations After an SDDC Manager Upgrade in VCF Operations

www.itq.eu
https://github.com

https://henkruis.github.io/Website/#

GITHUB WEBSITE

  • oktober 2026
  • augustus 2026
  • juli 2026
Copyright 2026 — VCF Wizard. All rights reserved.