Day 1: vCenter Server architecture, sizing and your first PowerCLI connection

Before you configure anything, get the foundations right. This article explains how vCenter is built, the design decisions that are hard to change later and how to size the appliance. It ends with a read-only PowerShell script that connects with VCF PowerCLI and exports a baseline report of your whole estate.

vCenter Configuration Series · Day 1 of 30 · Updated December 2026 · 10 min read

What vCenter does

vCenter Server is the management plane for VMware vSphere. ESXi hosts run the virtual machines. vCenter turns a group of hosts into a platform you can manage as one, and it is what makes clusters, vSphere HA, DRS, vMotion, distributed switches, templates, permissions, alarms and lifecycle management possible.

If vCenter is down, running VMs keep running, because ESXi does not depend on vCenter to keep a VM alive. What stops is everything built on top: no vMotion, no DRS rebalancing, no new deployments, no centralised permissions and no lifecycle operations. That is why vCenter deserves the same care in design, protection and backup as any production database.

The building blocks

  • vCenter Server Appliance (VCSA). A Photon OS virtual appliance and the only deployment model in current versions. The Windows-based vCenter and the external Platform Services Controller are gone. Everything now runs inside one appliance.
  • vCenter Single Sign-On (SSO). The built-in identity service. It issues tokens to users and solutions, stores the local SSO domain (for example vsphere.local) and connects to identity sources such as Active Directory.
  • Embedded PostgreSQL database. Stores inventory, configuration, events, tasks and performance statistics. Its size grows with inventory, statistics level and retention.
  • vSphere Client. The HTML5 web interface at https://<vcenter-fqdn>/ui.
  • Appliance Management Interface (VAMI). At https://<vcenter-fqdn>:5480. Used for appliance-level settings such as networking, time, syslog, backup and patching. We cover it on Day 3.
  • vSphere Lifecycle Manager. Built in. Manages ESXi images, firmware and patches across clusters (Day 25).
  • Host agents. When you add a host, vCenter installs the vpxa agent on it, which talks to hostd on ESXi. vCenter and hosts communicate over TCP 443 and 902.

Seven decisions that are hard to change later

Most vCenter settings can be changed in minutes. These seven are expensive or disruptive to change after deployment, so decide them deliberately:

  1. FQDN and IP address. Use a static IP and a fully qualified domain name with working forward and reverse DNS records before you deploy. Changing the identity of a running vCenter is possible but affects certificates, SSO and integrations.
  2. SSO domain name. Many teams keep the default vsphere.local. Whatever you choose, do not use the same name as your Active Directory domain. It is very difficult to rename later.
  3. Enhanced Linked Mode topology. If several vCenters should share one SSO domain, roles and tags, they must be joined when you deploy. Merging or splitting SSO domains later is a project (Day 29).
  4. Deployment size. You can scale up the appliance later, but starting too small causes slow inventory and performance problems. Size for three years of growth.
  5. Storage size. Default, large or x-large controls how much room the database and logs get. Statistics and event retention eat this space.
  6. Placement. Ideally a dedicated management cluster, protected by vSphere HA, on storage that does not depend on the workloads it manages.
  7. Time source. vCenter, ESXi hosts and Active Directory must agree on time. Point them all to the same reliable NTP sources. SSO token errors are usually time drift.

Version note: vSphere 8 (ESXi 8 and vCenter 8) reaches end of general support on 11 October 2027. Broadcom's next platform is VMware Cloud Foundation 9 with vCenter 9. The concepts in this series apply to both, and we flag differences where they matter.

Sizing the appliance

The installer asks for a deployment size, which sets vCPUs and memory, and a storage size. For vCenter 8, VMware documents these limits:

Deployment sizeUp to hosts / VMsvCPUsMemory (8.0 U2/U3)Default storage
Tiny10 / 100214 GB579 GB
Small100 / 1,000421 GB694 GB
Medium400 / 4,000830 GB908 GB
Large1,000 / 10,0001639 GB1,358 GB
X-Large2,000 / 35,0002458 GB2,283 GB

Memory figures have increased across 8.0 updates, so confirm them against the hardware requirements page for your exact build. Our rules of thumb:

  • Production: start at Small even for a few hosts. Tiny is for labs.
  • Growth: choose the size that covers your three-year host and VM forecast, not today's count.
  • Statistics: if you plan to raise the statistics level or keep long event retention, pick a larger storage option.
  • Storage provisioning: thin-provision the appliance disks only if you monitor datastore space closely.

Pre-deployment checklist

  • Forward and reverse DNS records exist and resolve from the deployment machine and from the ESXi hosts.
  • NTP servers are reachable from the vCenter network and from the ESXi management network.
  • A static IP, subnet, gateway and a network port group are reserved on the management cluster.
  • Firewall rules allow TCP 443 (vSphere Client and API), 902 (host management) and 5480 (VAMI) as required.
  • The SSO domain name, administrator password policy and Enhanced Linked Mode plan are agreed.
  • A backup target (SFTP, FTPS, NFS or SMB) is ready for file-based backups from day one (Day 27).
  • A certificate approach is chosen: VMCA as the CA, or VMCA as a subordinate of your enterprise CA (Day 26).

Setting up VCF PowerCLI

Every article in this series includes automation. We use VCF PowerCLI, the PowerShell module for VMware environments. Broadcom renamed VMware PowerCLI to VCF PowerCLI from version 9.0, and the cmdlets you know continue to work.

  • Install: from the PowerShell Gallery with Install-Module -Name VCF.PowerCLI. It needs PowerShell 7 (recommended) or Windows PowerShell 5.1.
  • Don't mix modules: if VMware.PowerCLI 13.x is already installed, remove it first. Having both loaded causes conflicts.
  • Which version: for vCenter 9 use VCF PowerCLI. For vCenter 8, check Broadcom's compatibility matrix for your build. Many teams still run VMware.PowerCLI 13.3 against vCenter 8.
  • Credentials: never hard-code passwords. The scripts in this series use Get-Credential. For scheduled jobs, use a secrets vault (Azure Key Vault, HashiCorp Vault or the PowerShell SecretManagement module).
  • Access: run scripts with a dedicated, least-privilege service account (Day 5), not administrator@vsphere.local.

Automation script: baseline inventory report

This script is read-only: it changes nothing in vCenter. It:

  • connects to vCenter;
  • collects clusters, hosts, datastores and VMs;
  • writes a CSV file per object type plus a one-page HTML summary;
  • flags common issues such as low datastore space, VMware Tools not running, snapshots older than seven days and hosts not connected.

Run it today and keep the output. It is your "before" picture for the rest of the series.

Get-VCenterBaseline.ps1PowerShell 7 · VCF PowerCLI · read-only
<#
.SYNOPSIS
    Day 1 - Connects to vCenter and exports a baseline inventory report (CSV + HTML).
.DESCRIPTION
    Read-only. Collects clusters, hosts, datastores and VMs and flags common issues.
    Part of the Virtual HyperInfra "vCenter Configuration Series".
.EXAMPLE
    ./Get-VCenterBaseline.ps1 -VCenter vcenter01.corp.local
.NOTES
    Requires PowerShell 7+ (or 5.1) and the VCF.PowerCLI module.
    Test in a lab first. Provided as-is, without warranty.
#>
[CmdletBinding()]
param(
    [Parameter(Mandatory)]
    [string]$VCenter,

    [string]$OutputFolder = (Join-Path -Path (Get-Location) -ChildPath ("vcenter-baseline-" + (Get-Date -Format 'yyyyMMdd-HHmm'))),

    [int]$DatastoreFreeWarnPct = 20,
    [int]$SnapshotAgeWarnDays  = 7
)

$ErrorActionPreference = 'Stop'

# --- 1. Make sure VCF PowerCLI is available (installs for the current user only) ---
if (-not (Get-Module -ListAvailable -Name 'VCF.PowerCLI', 'VMware.PowerCLI')) {
    Write-Host 'Installing VCF.PowerCLI from the PowerShell Gallery...' -ForegroundColor Cyan
    Install-Module -Name 'VCF.PowerCLI' -Scope CurrentUser -Force
}

# --- 2. Session settings: warn on self-signed certificates, no CEIP prompt ---
Set-PowerCLIConfiguration -InvalidCertificateAction Warn -ParticipateInCeip $false `
    -Scope Session -Confirm:$false | Out-Null

# --- 3. Connect ---
$cred = Get-Credential -Message "Read-only account for $VCenter"
$vc   = Connect-VIServer -Server $VCenter -Credential $cred
Write-Host ("Connected to {0} - vCenter {1} (build {2})" -f $vc.Name, $vc.Version, $vc.Build) -ForegroundColor Green

New-Item -ItemType Directory -Path $OutputFolder -Force | Out-Null

try {
    # --- 4. Clusters ---
    $clusters = foreach ($cl in Get-Cluster -Server $vc) {
        [pscustomobject]@{
            Cluster            = $cl.Name
            Datacenter         = (Get-Datacenter -Cluster $cl).Name
            Hosts              = @($cl | Get-VMHost).Count
            VMs                = @($cl | Get-VM).Count
            HAEnabled          = $cl.HAEnabled
            DrsEnabled         = $cl.DrsEnabled
            DrsAutomationLevel = $cl.DrsAutomationLevel
            EVCMode            = $cl.EVCMode
        }
    }

    # --- 5. ESXi hosts ---
    $hosts = foreach ($h in Get-VMHost -Server $vc) {
        [pscustomobject]@{
            Host            = $h.Name
            Cluster         = $h.Parent.Name
            ConnectionState = $h.ConnectionState
            PowerState      = $h.PowerState
            Version         = $h.Version
            Build           = $h.Build
            Vendor          = $h.Manufacturer
            Model           = $h.Model
            CPUCores        = $h.NumCpu
            MemoryGB        = [math]::Round($h.MemoryTotalGB, 1)
            MemoryUsedPct   = if ($h.MemoryTotalGB) { [math]::Round(($h.MemoryUsageGB / $h.MemoryTotalGB) * 100, 1) } else { $null }
            NtpServers      = (Get-VMHostNtpServer -VMHost $h -ErrorAction SilentlyContinue) -join ', '
        }
    }

    # --- 6. Datastores ---
    $datastores = foreach ($ds in Get-Datastore -Server $vc) {
        $freePct = if ($ds.CapacityGB) { [math]::Round(($ds.FreeSpaceGB / $ds.CapacityGB) * 100, 1) } else { 0 }
        [pscustomobject]@{
            Datastore  = $ds.Name
            Type       = $ds.Type
            CapacityGB = [math]::Round($ds.CapacityGB, 0)
            FreeGB     = [math]::Round($ds.FreeSpaceGB, 0)
            FreePct    = $freePct
            Warning    = $freePct -lt $DatastoreFreeWarnPct
        }
    }

    # --- 7. Virtual machines ---
    $vms = foreach ($v in Get-VM -Server $vc) {
        [pscustomobject]@{
            VM            = $v.Name
            PowerState    = $v.PowerState
            Host          = $v.VMHost.Name
            vCPU          = $v.NumCpu
            MemoryGB      = $v.MemoryGB
            ProvisionedGB = [math]::Round($v.ProvisionedSpaceGB, 1)
            HWVersion     = $v.HardwareVersion
            GuestOS       = $v.Guest.OSFullName
            ToolsStatus   = $v.ExtensionData.Guest.ToolsRunningStatus
        }
    }

    # --- 8. Snapshots older than the threshold ---
    $oldSnaps = Get-VM -Server $vc | Get-Snapshot |
        Where-Object { $_.Created -lt (Get-Date).AddDays(-$SnapshotAgeWarnDays) } |
        Select-Object @{N = 'VM'; E = { $_.VM.Name }}, Name, Created, @{N = 'SizeGB'; E = { [math]::Round($_.SizeGB, 1) }}

    # --- 9. Export CSV files ---
    $clusters   | Export-Csv -Path (Join-Path $OutputFolder 'clusters.csv')   -NoTypeInformation
    $hosts      | Export-Csv -Path (Join-Path $OutputFolder 'hosts.csv')      -NoTypeInformation
    $datastores | Export-Csv -Path (Join-Path $OutputFolder 'datastores.csv') -NoTypeInformation
    $vms        | Export-Csv -Path (Join-Path $OutputFolder 'vms.csv')        -NoTypeInformation
    $oldSnaps   | Export-Csv -Path (Join-Path $OutputFolder 'old-snapshots.csv') -NoTypeInformation

    # --- 10. Findings and HTML summary ---
    $findings = @(
        [pscustomobject]@{ Check = 'Hosts not connected';              Count = @($hosts | Where-Object ConnectionState -ne 'Connected').Count }
        [pscustomobject]@{ Check = "Datastores below $DatastoreFreeWarnPct% free"; Count = @($datastores | Where-Object Warning).Count }
        [pscustomobject]@{ Check = 'Powered-on VMs without running Tools'; Count = @($vms | Where-Object { $_.PowerState -eq 'PoweredOn' -and $_.ToolsStatus -ne 'guestToolsRunning' }).Count }
        [pscustomobject]@{ Check = "Snapshots older than $SnapshotAgeWarnDays days"; Count = @($oldSnaps).Count }
        [pscustomobject]@{ Check = 'Clusters without HA';               Count = @($clusters | Where-Object { -not $_.HAEnabled }).Count }
    )

    $summary = [pscustomobject]@{
        vCenter    = $vc.Name
        Version    = "$($vc.Version) build $($vc.Build)"
        Clusters   = @($clusters).Count
        Hosts      = @($hosts).Count
        Datastores = @($datastores).Count
        VMs        = @($vms).Count
        PoweredOn  = @($vms | Where-Object PowerState -eq 'PoweredOn').Count
        Generated  = Get-Date -Format 'yyyy-MM-dd HH:mm'
    }

    $css  = '<style>body{font-family:Segoe UI,Arial;margin:24px}table{border-collapse:collapse;margin:12px 0}td,th{border:1px solid #ccc;padding:6px 10px}th{background:#eef}</style>'
    $html = @(
        $css
        "<h1>vCenter baseline: $($vc.Name)</h1>"
        ($summary  | ConvertTo-Html -Fragment -As List)
        '<h2>Findings</h2>'
        ($findings | ConvertTo-Html -Fragment)
        '<h2>Clusters</h2>'
        ($clusters | ConvertTo-Html -Fragment)
    ) -join "`n"
    $html | Out-File -FilePath (Join-Path $OutputFolder 'summary.html') -Encoding utf8

    $findings | Format-Table -AutoSize
    Write-Host "Report written to $OutputFolder" -ForegroundColor Green
}
finally {
    Disconnect-VIServer -Server $vc -Confirm:$false
}

How to run it

  1. Open PowerShell 7 and save the script as Get-VCenterBaseline.ps1.
  2. Run ./Get-VCenterBaseline.ps1 -VCenter vcenter01.corp.local and enter a read-only account when prompted.
  3. Open summary.html in the output folder and review the findings table.

Reading the results

  • Hosts not connected: investigate before anything else. They are not protected by HA or managed by DRS.
  • Datastores below the threshold: plan capacity or clean-up. Snapshots are a common cause.
  • Tools not running: graceful shutdowns, guest customisation and quiesced backups depend on VMware Tools.
  • Old snapshots: snapshots are not backups, and long-lived ones hurt performance (Day 21).
  • Clusters without HA: a host failure will not restart its VMs automatically (Day 15).

Large estates: on thousands of VMs, the per-object calls in this script take a while. Later in the series we show faster patterns with Get-View and property filters. For a baseline, readability matters more than speed.

What's next

Day 2: deploying the vCenter Server Appliance repeatably with the CLI installer and a JSON template generated by PowerShell. See the full 30-day series plan.

Want this done for your environment?

We design, deploy and automate vCenter and its alternatives, and can run a full health check of your estate.

Book a free session →

Scripts are provided as-is for learning and should be tested in a non-production environment first. VMware, vSphere, vCenter and PowerCLI are trademarks of Broadcom.