Pcornel
Virtualization · VMware vSphere

Templates

Cheat sheet · https://pcornel.dk/topic.php?topic=3785

Back to the Topic

Answer

A template is a provisioning source: deployment creates or clones a VM, after which guest customization, identity, networking, patching and application validation determine whether the new workload is usable.

Remember

  • Template ≠ backup.
  • Template current ≠ deployed VM current after time passes.
  • Clone/deploy success ≠ guest customization success.
  • Golden image standardization ≠ runtime compliance.

First checks

  • Get-Template — templates
  • New-VM -Name <n> -Template <tpl> -VMHost <h> -OSCustomizationSpec <spec> — deploy
  • Get-OSCustomizationSpec — customisation specs

Verify in this order

template → clone → customise → VM

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

VMware vSphere → Templates reference map

BoundaryWhat to verifyEvidence limit
Inventory/configExpected VMware vSphere → Templates object, policy or configuration is presentConfigured state does not prove effective runtime behavior
Runtime/control planeRelevant vCenter/ESXi object, service or task state matches the intended conditionManagement state does not prove storage/network/guest outcome
Dependency/data pathRequired compute, storage, network, device and guest dependencies are healthyLocal success does not prove the next boundary
AcceptanceOriginal guest/application test succeeds after observation or changeRequired for end-to-end closure

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3785

Confirmation

Confirm action

Continue?