vSphere Lifecycle Manager (vLCM) Cluster Image Configuration

Overview

vCenter Server 8.0 introduces enhanced vSphere Lifecycle Manager (vLCM) with cluster-wide image management. This allows you to manage all ESXi hosts in a cluster with a single, consistent image - perfect for your Intel NUC cluster running ESXi 8.0.3.

Benefits of Cluster Images

  • Consistency: All hosts run identical ESXi builds
  • Simplified Updates: Update entire cluster from one image
  • Drift Detection: Automatically detect configuration drift
  • Hardware Support: Include vendor drivers and firmware
  • Compliance: Ensure all hosts meet baseline requirements

Prerequisites

  • vCenter Server 8.0+ (✅ You have 8.0.2)
  • ESXi 8.0+ hosts in cluster (✅ Intel NUCs with 8.0.3)
  • Hosts must be in same cluster
  • Note: Mac Pro with ESXi 7.0.3 cannot use this feature

Setup Process

Step 1: Create Cluster with vLCM

When creating your cluster:

  1. Right-click Homelab-DC → New Cluster
  2. Name: Compute-Cluster (or NUC-Cluster)
  3. DRS: Enable (Fully Automated)
  4. HA: Enable
  5. vSphere Lifecycle Manager:
    • Select: Manage all hosts in the cluster with a single image

Step 2: Choose Image Source

When you select single image management, you’ll see three options:

Option 1: Compose a New Image

  • Start from scratch
  • Select ESXi version manually
  • Add components individually
  • Use when: Starting fresh with no existing hosts
  • Import configuration from a host already in vCenter
  • Automatically detects ESXi version, VIBs, and drivers
  • Use when: You have configured hosts to use as template
  • Your choice: Select one of your Intel NUCs (e.g., esxi-nuc-01)

Option 3: Import from New Host

  • Import from a host being added to vCenter
  • Useful for migrations
  • Use when: Adding pre-configured hosts

Step 3: Configuration Management

Enable “Manage configuration at the cluster level”

This option ensures:

  • Consistent host advanced settings
  • Uniform network configuration
  • Standardized storage settings
  • Synchronized security configurations

Step 2: Configure Cluster Image

After cluster creation:

  1. Select your cluster
  2. Navigate: Updates tab
  3. Click: Image (not Baselines)
  4. Setup Image:
    • ESXi Version: 8.0 Update 3
    • Vendor Addon: None (Intel NUCs don’t need vendor addons)
    • Additional Components: As needed

Step 3: Import Current Host Configuration

vLCM can extract settings from existing hosts:

  1. Click: Setup Image
  2. Select: Import from a host
  3. Choose: One of your Intel NUCs as reference
  4. vLCM will:
    • Extract ESXi version
    • Detect installed VIBs
    • Create cluster image specification

Step 4: Review Image Components

The cluster image typically includes:

Base Image:
└── ESXi 8.0.3 (Build 24022510)
    
Components:
├── Core ESXi
├── Native drivers
├── Tools packages
└── Security patches

Vendor Addon:
└── None (Generic ESXi for Intel NUCs)

Additional Software:
└── (Any custom VIBs you've installed)

Step 5: Add Hosts to Managed Cluster

When adding Intel NUCs to the cluster:

  1. Add Host normally
  2. vLCM will:
    • Check host compatibility
    • Show if remediation is needed
    • Offer to update host to match cluster image

Step 6: Enable and Configure Features

Hardware Support Manager (HSM)

  • Not needed for Intel NUCs
  • Would be used for vendor-specific hardware

Firmware and Drivers

  1. Navigate: Cluster → Updates → Image → Firmware and Drivers
  2. Add Hardware Support Manager: Skip for Intel NUCs
  3. Firmware Updates: Not applicable for consumer hardware

Image Management Operations

Check Compliance

  1. Select cluster
  2. UpdatesImageCheck Compliance
  3. View:
    • Compliant hosts ✅
    • Non-compliant hosts ⚠️
    • Required remediation

Update Cluster Image

  1. UpdatesImageEdit
  2. Select new version:
    • ESXi base image
    • Update components
  3. Save the new image spec
  4. Remediate to apply updates

Remediation Process

  1. Check Compliance first
  2. Click: Remediate
  3. Select hosts to update
  4. Remediation Settings:
    • Maintenance Mode: Automatic
    • VM Power State: Do not change (with DRS)
    • Quick Boot: Enable if supported
  5. Pre-check: Review impact
  6. Remediate: Apply updates

Best Practices for Your Environment

Intel NUC Cluster (ESXi 8.0.3)

  • Use vLCM for consistent management
  • Single image for all 3 NUCs
  • Regular compliance checks
  • Coordinated updates with DRS

Mac Pro (ESXi 7.0.3)

  • Cannot use vLCM (requires ESXi 8.0+)
  • 📌 Manage separately with traditional baselines
  • 📌 Manual updates via CLI or Update Manager
Compute-Cluster (vLCM Managed):
  Image Spec:
    ESXi Version: 8.0.3 Build 24022510
    Vendor Addon: None
    Components: Default
  
  Hosts:
    - esxi-nuc-01.markalston.net ✅
    - esxi-nuc-02.markalston.net ✅
    - esxi-nuc-03.markalston.net ✅
  
  Settings:
    - Quick Boot: Enabled
    - Parallel Remediation: Disabled (sequential safer)
    - Skip IOMMU: As needed for USB NICs

Management Hosts (Traditional):
  macpro.markalston.net:
    - ESXi 7.0.3
    - Update via: esxcli or ISO

Monitoring and Maintenance

Regular Tasks

  1. Weekly: Check compliance status
  2. Monthly: Review available updates
  3. Quarterly: Plan and execute updates
  4. As Needed: Add/remove components

PowerCLI Commands

# Connect to vCenter
Connect-VIServer vcsa.markalston.net

# Get cluster image info
Get-Cluster "Compute-Cluster" | Get-ClusterImage

# Check compliance
Test-ClusterCompliance -Cluster "Compute-Cluster"

# Get non-compliant hosts
Get-VMHost -Location "Compute-Cluster" | Get-Compliance

# Export image spec
Export-ClusterImageSpec -Cluster "Compute-Cluster" -Path "./cluster-image.json"

Troubleshooting

Common Issues

  1. Host Won’t Remediate
    • Check for running VMs
    • Verify DRS is enabled
    • Ensure maintenance mode works
  2. Compliance Check Fails
    • Review installed VIBs
    • Check for unsigned drivers
    • Verify network connectivity
  3. USB NIC Compatibility
    • May need custom image
    • Import VIBs from working host
    • Create custom depot if needed

Fallback Options

If vLCM causes issues:

  1. Switch to baselines: Cluster settings → Manage with baselines
  2. Manual updates: Use esxcli on each host
  3. ISO upgrades: Traditional upgrade method

Summary

vLCM with cluster images provides:

  • Simplified management for your Intel NUCs
  • Consistent configuration across identical hardware
  • Easier updates with minimal downtime
  • Built-in compliance checking

Perfect for your homelab where the Intel NUCs form a homogeneous cluster, while the Mac Pro remains independently managed due to ESXi version constraints.


Quick Reference:

  • Cluster Image Location: Cluster → Updates → Image
  • Compliance Check: Updates → Image → Check Compliance
  • Remediate: Updates → Image → Remediate
  • Edit Image: Updates → Image → Edit

This project is for educational and home lab purposes.