An ESXi host on Cisco UCS serving Tintri NFS can be built in a dozen ways that all pass a ping test on day one. The differences show up later: during a Fabric Interconnect firmware upgrade, when vMotion saturates the same vNIC the datastore lives on, when HA has one heartbeat datastore and complains about it forever, or when vLCM refuses to remediate because someone hand-installed a newer VIC driver last spring. This part of the series turns the host into a written standard: the VMkernel design for NFS, a teaming and failover policy that matches UCS fabrics A and B (and why it is not LACP), Network I/O Control, HA datastore heartbeating with NFS, a vLCM image that carries the Cisco VIC driver and the Tintri VAAI component, driver and firmware checked against the Cisco UCS HCL, and a PowerCLI script that audits and enforces the whole standard with -WhatIf and a report.

Level: intermediate to advanced  ·  Stack: VMware vSphere 8 / VCF 9, vSphere Lifecycle Manager, Cisco UCS (Intersight Managed Mode or UCS Manager) with VIC adapters, Tintri VMstore NFS, PowerCLI  ·  Build time: a day to write the standard and the image, then about an hour per host including reboots


Contents

  1. The host standard on one page
  2. What the host needs from UCS
  3. Why not LACP to the Fabric Interconnects
  4. VMkernel design for NFS
  5. Teaming and failover policy per port group
  6. Network I/O Control
  7. HA datastore heartbeating with NFS
  8. The vLCM image: Cisco VIC driver and Tintri VAAI component
  9. Config as code: audit and enforce the host standard
  10. End-to-end workflow: bare UCS server to host in service
  11. Troubleshooting
  12. What’s next

01. The host standard on one page

This is part 4 of VMware vSphere with Tintri and Cisco. Part 2 built the UCS and Nexus network, part 3 presented the VMstore to vSphere. Here is the host that sits between them, written as the standard I would hand to a new team member. Everything in it is enforced or audited by the script in section 09.

AreaStandardWhy
vNICsFour VIC vNICs: 00-vSwitch0-A, 01-vSwitch0-B, 02-vDS0-A, 03-vDS0-B. Fabric failover off on all four. Fixed placement so vmnic order matches.ESXi does the failover; Cisco says use fabric failover or host teaming, never both.
TeamingRoute based on originating virtual port, explicit active and standby per port group, link status only, notify switches yes, failback yesThe only UCS-supported family of policies besides source MAC hash. No IP hash, no LACP, no load-based teaming.
NFSOne vmk per host in the VMstore data subnet, on a port group active on fabric A, standby on fabric B. No other services tagged on it.Keeps NFS in-fabric with a VMstore cabled to the FIs, and stops NFS leaving via the wrong vmk.
vMotionIts own vmk and port group, active on fabric B, standby on fabric AvMotion bursts never share a vNIC with NFS in normal operation.
NIOCVersion 3 on the vDS; NFS shares above VM, vMotion and managementDecides who wins only when an uplink is saturated, which is exactly after a fabric failure.
HAAt least two heartbeat datastores; APD response configuredNFS heartbeating works, but one datastore per VMstore leaves you with one.
ImagevLCM image: ESXi base, Cisco UCS add-on, nenic only if newer than the add-on, Tintri VAAI-NAS component, optional firmware add-on through IntersightDrivers and the plugin are part of the desired state; drift is visible as non-compliance.
CompatibilityServer firmware, nenic version and ESXi build all on the Cisco UCS HCL; ESXi build and plugin on the Tintri interop listThe three matrices must agree before an image is published.
Advanced settingsNFS settings per part 3, identical on every hostUniformity matters more than any single value.

02. What the host needs from UCS

The host standard starts in the UCS service profile (UCS Manager) or server profile (Intersight Managed Mode), because ESXi can only team what UCS gives it. The settings that matter to vSphere:

  • Two vNICs per switch, one per fabric. Tintri’s UCS guide shows the minimal version, one vNIC per fabric for a host that only needs Tintri storage. I prefer the four-vNIC layout Cisco uses in its FlexPod vSphere 8 designs: a pair for vSwitch0 (management) and a pair for the vDS that carries vMotion, NFS and VM traffic. It keeps management reachable even if someone breaks the vDS.
  • Fabric failover disabled on every vNIC. Cisco’s teaming guidance for UCS B-Series (document 200519) is explicit: use fabric failover on the vNIC or a supported host teaming method, but do not use both concurrently. Cisco’s FlexPod vSphere 8 CVD says to verify that failover is disabled because failover is provided by attaching multiple NICs to the vSwitch and vDS. With both enabled, a fabric failure is handled twice, by two mechanisms that do not know about each other.
  • Uplink failure must take the vNIC down. In end-host mode, if a Fabric Interconnect loses all its northbound uplinks, the network control policy’s uplink-fail action (keep it at link-down) brings the server vNICs on that fabric down so ESXi sees a link failure and moves traffic to the other fabric. Pin groups, if you use them, follow the same idea; Tintri’s UCS guide recommends one pin group per fabric pointing at the uplink port-channel. Without this, the vNIC stays up and black-holes traffic, and ESXi’s link-status detection cannot see it.
  • Placement, so vmnic numbers are predictable. ESXi numbers vmnics in PCI order. Use the vNIC placement (UCS Manager) or the PCI order in the LAN connectivity policy (Intersight) so that vmnic2 is always 02-vDS0-A on fabric A on every host. The script checks the uplink-to-vmnic mapping because a host where vmnic2 is fabric B silently inverts your whole teaming design.
  • Adapter policy. Start with Cisco’s predefined VMWare Ethernet adapter policy. Cisco’s VIC 1400 best-practices white paper documents the ESXi specifics: the ESXi VIC driver uses one transmit queue and multiple receive queues with RSS (up to 16), RSS and VMQ are mutually exclusive on that adapter family, and a rising rx_no_bufs counter is the cue to add receive queues or ring size. Change it only with evidence.
  • MTU and QoS. The vNIC MTU, the UCS QoS system class MTU, the vDS and the vmk have to agree. Cisco’s CVDs set the Best Effort class to 9216 and the vNICs to 9000; Tintri’s public guides support 9000 but recommend against jumbo frames unless you have a reason. Part 2 makes that decision; the host standard just has to match it.
Port groups Switch uplinks VIC vNICs Fabric Management vMotion NFS (VMstore) VM networks vSwitch0 vmnic0 vmnic1 vDS Uplink 1: vmnic2 Uplink 2: vmnic3 00-vSwitch0-A 01-vSwitch0-B 02-vDS0-A 03-vDS0-B Fabric failover: off ESXi teaming does failover FI A end-host mode FI B end-host mode Nexus 9000 vPC LACP lives here only no VIC-to-FI port-channel or LACP NFS active (fabric A) other active uplinks standby uplink Load balancing everywhere: route based on originating virtual port. Failover detection: link status only. Failback: yes. vMotion prefers fabric B so it never competes with NFS. Fabric A for NFS matches a VMstore whose data port A is cabled to FI A. If your VMstore data ports sit on the Nexus pair, pick the fabric with spare capacity.
Host networking on UCS: each switch has one uplink per fabric, fabric failover is off, ESXi teaming chooses the fabric per port group, and LACP exists only between the Fabric Interconnects and the Nexus pair.

03. Why not LACP to the Fabric Interconnects

This is the question I get from every network team that has built LACP to servers elsewhere, so here is the full answer.

The two Fabric Interconnects are independent switches with no shared data plane for server traffic. They are not a vPC pair from the server’s point of view: the vPC lives between the FIs’ uplink port-channels and the Nexus switches, not between the FIs and the blade. Cisco’s document 200519 states that the Fabric Interconnect cannot form a port channel with the VIC in the server, that switch-dependent bonding modes therefore are not possible, and that load-balancing methods beyond source MAC cause a MAC address to flap between the two Fabric Interconnects. For VMware ESXi it lists only route based on originating port ID and route based on source MAC hash as supported, and lists route based on IP hash and route based on physical NIC load as not supported. That last one surprises people: load-based teaming moves a VM’s MAC between uplinks, which on UCS means between fabrics.

Tintri reaches the same conclusion from the storage side: LACP cannot be configured between fabrics, so Tintri’s UCS guide says not to use it unless the VMstore is attached to separate IP storage switches. And in practice you do not need it for NFS: NFSv3 sends a datastore’s traffic over one TCP connection from one vmk anyway, so link aggregation would not spread one datastore’s I/O across two links. What you need is a deterministic path and fast failover, which is what explicit failover order with link-status detection gives you.

Teaming policy on UCSCisco support (doc 200519)Use for
Route based on originating virtual portSupportedEverything in this design
Route based on source MAC hashSupportedNo advantage here; more CPU per packet
Route based on IP hash (static EtherChannel)Not supportedNever on UCS FI-attached vNICs
LACP (vDS LAG)Not possible: the FI cannot form a port channel with the VICNever on UCS FI-attached vNICs
Route based on physical NIC loadNot supportedNever on UCS FI-attached vNICs
Explicit failover orderNot listed by Cisco as a load-balancing method; it is the failover order every policy above usesExpressed here as originating port plus explicit active/standby lists

04. VMkernel design for NFS

vmkPort groupServicesActive / standbyNotes
vmk0Management on vSwitch0Management00-A active, 01-B standbyDefault TCP/IP stack, default gateway lives here
vmk1vMotion on vDSvMotionUplink 2 (B) / Uplink 1 (A)Optionally on the vMotion TCP/IP stack with its own gateway
vmk2NFS on vDSnoneUplink 1 (A) / Uplink 2 (B)In the VMstore data subnet, no gateway needed, same MTU as the VMstore data interface

How ESXi chooses the interface for NFSv3 is the reason for the rules. With no explicit binding, the host routes NFS traffic like any other VMkernel traffic: if a vmk sits in the same subnet as the NFS server, traffic leaves through it; otherwise it follows the default gateway out of the management vmk. That gives three rules. Put exactly one vmk in the VMstore data subnet, or ESXi picks one of several and you cannot predict which. Keep the data network non-routed and do not let the NFS server’s IP be reachable through the management gateway as a fallback, or a missing vmk turns into NFS over the management network instead of a clean failure. And do not tag management, vMotion or FT on the NFS vmk.

vSphere 8.0 Update 1 added VMkernel binding for NFSv3 datastores, so a datastore can be pinned to a named vmk (in the vSphere Client when mounting, and with esxcli storage nfs add -I <server>:<vmk> on recent builds). Changing the binding of a mounted datastore later is disruptive; Broadcom KB 311910 warns it can cause an APD and should only be done with VMware guidance. With one vmk per data subnet the routing table already gives you a deterministic path, so I treat binding as optional, and I would only use it after confirming Tintri supports it on your TxOS release.

05. Teaming and failover policy per port group

The direct-to-FI VMstore design from part 3 decides the fabric preference: the VMstore’s active data port is port A, cabled to FI A, on whichever controller is active. So the NFS port group prefers fabric A, and everything bulky goes the other way. Tintri’s UCS guide sets it up exactly like this, with storage on fabric A and other traffic on fabric B; Cisco’s FlexPod CVD uses the same pattern with the fabrics the other way round. Which fabric does not matter. What matters is that NFS and the VMstore agree, and that vMotion does not share NFS’s vNIC in normal operation.

Port groupLoad balancingActiveStandbyFailover detectionNotify switchesFailback
NFSOriginating virtual portUplink 1 (fabric A)Uplink 2 (fabric B)Link statusYesYes
vMotionOriginating virtual portUplink 2 (fabric B)Uplink 1 (fabric A)Link statusYesYes
VM networksOriginating virtual portUplink 1 and Uplink 2noneLink statusYesYes
Management (vSwitch0)Originating virtual portvmnic0 (A)vmnic1 (B)Link statusYesYes

The decision points, briefly:

  • Link status, not beacon probing. Beacon probing needs at least three uplinks to tell which one failed; with two it cannot decide. Link status is reliable on UCS precisely because of the uplink-fail action in section 02.
  • Failback on. After a fabric comes back, you want NFS back on fabric A so it stays in-fabric with the VMstore. The cost is a second short path change when the fabric returns; include it in the failure tests below.
  • VM networks on both uplinks. Tintri’s guide prefers fabric B for VM traffic to keep fabric A clear for storage. With 25G or 100G VIC vNICs and NIOC in place I spread VM traffic across both; if your vNICs are 10G or your VM traffic is heavy, follow Tintri’s original layout and make VM traffic active on Uplink 2 only.
  • VMstore on the Nexus pair instead of the FIs? Then NFS always crosses the FI uplinks and there is no in-fabric path to protect. Keep NFS and vMotion on opposite fabrics anyway, and size the FI uplinks for storage.

Test it before production, the way Tintri’s UCS guide insists: reboot FI A (in UCS Manager or Intersight, in a window), confirm NFS moves to vmnic3 without an APD (vobd.log shows the uplink down and redundancy lost, vmkernel.log shows no lost NFS connection), wait for the fabric to return and confirm failback. Repeat for FI B. Then fail the VMstore controller over and confirm the same.

06. Network I/O Control

NIOC version 3 on the vDS allocates bandwidth between system traffic types (management, vMotion, NFS, VM traffic and others) on each physical uplink, using shares, reservations and limits. Shares are relative weights and only matter when an uplink is congested. That sounds like a corner case until you remember when congestion happens on a UCS host: after a fabric failure, when NFS, vMotion and VM traffic all land on the surviving vNIC at once. That is the moment you want NFS to win.

  • Use custom shares so the intent is explicit: in the template, NFS 100, VM traffic 50, vMotion 25, management 25. vMotion still completes, just more slowly while the host is degraded.
  • Leave limits off. A limit applies even when the link is idle.
  • Reservations set bandwidth aside for a traffic type on every uplink. Reserved bandwidth that NFS does not use can be borrowed by other system traffic, but it is not handed to VM-level network reservations, so a large NFS reservation shrinks what you can reserve for VMs. Use one only for a floor you have measured.
  • NIOC version 3 needs a vDS at version 6.5.0 or later with NIOC set to version 3. The script reports an older version as MANUAL rather than upgrading it.

07. HA datastore heartbeating with NFS

vSphere HA uses datastore heartbeating as the second opinion when network heartbeats stop: if a host is still updating its heartbeat files, it is isolated or partitioned rather than dead. NFS datastores work for this, and HA creates its .vSphere-HA folder on them like on VMFS. The requirement that collides with Tintri’s design is the count: since vSphere 6.0 HA wants at least two shared heartbeat datastores, and raises “The number of heartbeat datastores for host is 1, which is less than required: 2” when it has one (Broadcom KB 318871). Tintri recommends one datastore per VMstore, so a cluster on a single VMstore has exactly one candidate. vCenter’s own selection logic also prefers heartbeat datastores backed by different NFS servers.

OptionWhat it gives youCost
Second VMstore in the clusterTwo genuinely independent heartbeat datastoresOnly if the design already has two VMstores
Another shared datastore on different storage, visible to every hostIndependent second heartbeatOne more mount to keep consistent
A second datastore on the same VMstore (a /tintri/<submount>)Satisfies the countSame NFS server, so no extra independence; confirm the use of submounts with the current Tintri guide
das.ignoreInsufficientHbDatastore = trueRemoves the warningHides the condition; KB 318871 calls it a workaround only

With a single VMstore I either add a small datastore from other shared storage or, if there is none, accept one heartbeat datastore with the warning suppressed and a note in the design. If that VMstore is unavailable, the VMs on it are affected regardless of heartbeats, and HA’s APD response (VM Component Protection) is the mechanism that matters. The timing and logging of that are covered in catching NFS APD before vCenter does.

08. The vLCM image: Cisco VIC driver and Tintri VAAI component

vSphere Lifecycle Manager images make the host software a desired state: a base ESXi image, an optional vendor add-on, extra components, and optionally a firmware add-on. On Cisco UCS with Tintri, the image has four or five layers.

  1. ESXi base image for the target build. In VCF the workload domain’s cluster image is still a vLCM image; follow the VCF upgrade path for which builds are allowed.
  2. Cisco UCS add-on. Cisco publishes a vendor add-on for ESXi that carries the drivers and tools certified for UCS: nenic is the VIC Ethernet driver and nfnic the VIC Fibre Channel driver. For ESXi 8, Broadcom’s download site hosts only the most recent certified OEM add-on and custom ISO for each vSphere version (KB 420110); older ones come from Cisco. For ESXi 9.0 and VCF 9.0, Broadcom states it no longer builds or publishes the Cisco UCS add-on or custom ISO, and that Cisco now distributes them directly through its own download site (KB 429924). Cisco also documents building the equivalent of a custom ISO in vLCM by importing driver components and adding them to an image (Cisco document 223282).
  3. nenic component, only when the Cisco UCS HCL calls for a newer version than the add-on carries. Cisco publishes VIC drivers as separate components too (for example Cisco-nfnic_<version>-1OEM...zip), installable with esxcli or importable into vLCM. An NFS-only host whose service profile has no vHBAs does not need nfnic at all.
  4. Tintri VAAI-NAS component, from the Tintri support portal, imported into the vLCM depot. This is the one-line answer to “how do we make sure every host has the plugin” from part 3.
  5. Optional firmware add-on. vLCM can manage server firmware through a vendor hardware support manager (HSM). Cisco’s HSM is integrated with Cisco Intersight; a Cisco community statement says there is no HSM for UCS Manager or UCS Central. In Intersight Managed Mode you can let vLCM drive firmware; with UCS Manager, firmware stays a UCS-side process that you sequence with the image.
Cisco UCS HCL server firmware to nenic version Broadcom Compatibility Guide ESXi build, server, I/O devices Tintri interoperability TxOS, VAAI plugin, ESXi all three must agree vLCM image definition (in git) ESXi base image for the target 8.0 Ux or 9.0 build Cisco UCS vendor add-on for that build nenic component, only if newer than the add-on Tintri VAAI-NAS component optional: firmware add-on via Intersight HSM Host standard (host-standard.psd1) vDS MTU, port groups, VLANs, teaming NFS vmk per host: IP, subnet, MTU NIOC shares, NFS advanced settings NFS mounts, VAAI VIB, nenic version HA heartbeat datastore count vLCM check compliance only Remediate one host at a time Audit -Mode Audit Fix drift -WhatIf, then apply Re-audit zero DRIFT rows In service exit maintenance drift remains Every run writes a CSV report. Keep it with the change record; it is the evidence that the host matched the standard. Export-LcmClusterDesiredState puts the image itself into git next to host-standard.psd1.
The build pipeline: the three compatibility sources gate the image, the image and the host standard are both in git, and a host returns to service only after the audit shows zero drift.

The script below defines the image in PowerCLI, checks compliance and exports the desired state into git. It deliberately does not remediate; that is a change-window action.

# Set-ClusterImage.ps1 : define the vLCM image for one cluster, check it, export it to git.
# Before running: import the Cisco UCS add-on, any newer nenic component and the Tintri
# VAAI-NAS offline bundle into the vLCM depot (Lifecycle Manager > Actions > Import Updates).
$cred = [pscredential]::new($env:VCENTER_USER,
        (ConvertTo-SecureString $env:VCENTER_PASSWORD -AsPlainText -Force))
Connect-VIServer -Server vcenter01.lab.local -Credential $cred | Out-Null
$cluster = Get-Cluster -Name '<CLUSTER_NAME>'

$base  = Get-LcmImage -Type BaseImage -Version '<ESXI_BASE_IMAGE_VERSION>'
$addon = Get-LcmImage -Type VendorAddOn |
         Where-Object { $_.Name -match 'Cisco' -and $_.Version -eq '<CISCO_ADDON_VERSION>' }
$comps = @(Get-LcmImage -Type Component | Where-Object {
             ($_.Name -match 'nenic' -and $_.Version -eq '<NENIC_VERSION_FROM_UCS_HCL>') -or
             ($_.Name -match '<TINTRI_VAAI_COMPONENT_REGEX>') })

# Look before you leap: exactly one base image, one add-on, and the components you expect.
$base, $addon | Format-Table Name, Version
$comps        | Format-Table Name, Version

# Leave the nenic line out of $comps when the add-on already carries the HCL version.
Set-Cluster -Cluster $cluster -BaseImage $base -VendorAddOn $addon -Component $comps -Confirm:$false

Test-LcmClusterCompliance -Cluster $cluster
Export-LcmClusterDesiredState -Cluster $cluster -Destination ./desired-state

# Remediation follows the cluster's vLCM remediation settings (one host at a time by default).
# Run it in the change window, not from this script on a whim:
# Set-Cluster -Cluster $cluster -Remediate -AcceptEULA -Confirm:$false
Disconnect-VIServer -Confirm:$false

Two failure modes to know about. If someone installed a newer nenic or nfnic by hand, remediation fails with “Downgrades of manually added components are not supported”; Broadcom KB 440252 resolves it by importing the matching or newer bundle into the depot and adding that version to the image. And a third-party NAS plugin that does not support the target ESXi build blocks the upgrade; check the Tintri interop list before you change the base image, not after.

Checking driver and firmware against the Cisco UCS HCL

The Cisco UCS Hardware Compatibility List is the source for which nenic (and nfnic) version is supported for a given server model, adapter, UCS firmware release and ESXi build. Look it up with all four inputs; the same ESXi build can map to different driver versions on different firmware releases. Cisco’s own install guidance says the same: the UCS HCL confirms supported firmware and driver combinations. Then check what the host actually runs:

# Read the VIC driver and firmware a host is actually running (ESXi shell or SSH).
esxcli network nic list
esxcli network nic get -n vmnic2 | grep -iE 'driver|version|firmware|link status'
esxcli software component list | grep -iE 'nenic|nfnic|ucs'
esxcli software vib list | grep -iE 'nenic|nfnic|ucs-tool'
# Expected on a UCS host using the VIC for Ethernet:
#   Driver: nenic, Version: <version the UCS HCL lists for your firmware and ESXi build>
#   nfnic appears only if the service profile has vHBAs (FC). An NFS-only host does not need it.

Cisco Intersight shows an HCL status per server, evaluating hardware, OS and driver combination. To see the OS and driver side it needs inventory from the host: Cisco lists the UCS Tools component (ucs-tool-esxi, installed as a component on ESXi 7 and later) or its OS discovery script as the ways to provide it. If you use Intersight HCL status, add UCS Tools to the image as well; it is optional otherwise.

09. Config as code: audit and enforce the host standard

The standard lives in a data file next to the exported vLCM desired state. Strings in angle brackets are placeholders; numbers are lab examples.

# host-standard.psd1 : the ESXi host standard for one cluster, kept in git.
# Strings in <ANGLE_BRACKETS> are placeholders. Numbers are lab examples.
@{
    Cluster   = '<CLUSTER_NAME>'
    VDSwitch  = '<VDS_NAME>'
    VdsMtu    = 1500                      # 9000 only if the whole path is jumbo (see part 2)

    # vDS uplink name -> vmnic. vmnic2 = vNIC 02-vDS0-A (fabric A), vmnic3 = 03-vDS0-B (fabric B)
    Uplinks   = @{ 'Uplink 1' = 'vmnic2'; 'Uplink 2' = 'vmnic3' }

    PortGroups = @(
        @{ Name = '<PG_NFS>';     VlanId = 30; Active = @('Uplink 1'); Standby = @('Uplink 2') }
        @{ Name = '<PG_VMOTION>'; VlanId = 20; Active = @('Uplink 2'); Standby = @('Uplink 1') }
        @{ Name = '<PG_VM_APP>';  VlanId = 40; Active = @('Uplink 1', 'Uplink 2'); Standby = @() }
    )

    # NIOC v3 system traffic shares (custom, 1-100). Only matter under contention.
    NiocShares = @{ nfs = 100; virtualMachine = 50; vmotion = 25; management = 25 }

    NfsVmk = @{
        PortGroup = '<PG_NFS>'
        Subnet    = '10.0.30.0/24'
        Mask      = '255.255.255.0'
        Mtu       = 1500
        Ips       = @{                     # host name in vCenter -> NFS vmk IP
            'esx01.lab.local' = '10.0.30.11'
            'esx02.lab.local' = '10.0.30.12'
            'esx03.lab.local' = '10.0.30.13'
            'esx04.lab.local' = '10.0.30.14'
        }
    }

    NfsDatastores = @(
        @{ Name = '<DATASTORE_NAME>'; Server = '10.0.30.50'; Share = '/tintri' }
    )

    # Values from the current Tintri best-practices guide for your TxOS version.
    # $null = audit only. Heap settings need a reboot.
    AdvancedSettings = @{
        'NFS.MaxVolumes'    = 256
        'Net.TcpipHeapSize' = $null          # <TINTRI_GUIDE_VALUE>
        'Net.TcpipHeapMax'  = $null          # <TINTRI_GUIDE_VALUE>
    }

    # Driver versions from the Cisco UCS HCL for your server, UCS release and ESXi build.
    Drivers = @{ nenic = '<NENIC_VERSION_FROM_UCS_HCL>' }

    # Regex matched against installed VIB names (take the name from the Tintri release notes).
    VaaiVibPattern = '<TINTRI_VAAI_VIB_NAME_REGEX>'

    MinHeartbeatDatastores = 2
}

The script reads that file and checks the vDS (MTU, NIOC version and shares, port groups, VLANs, teaming), every host (uplink-to-vmnic mapping, VIC driver and firmware per vmnic, the NFS vmk’s placement, MTU and services, advanced settings, the Tintri VAAI VIB, every NFS datastore’s server, path, accessibility and hardware acceleration) and the cluster (HA heartbeat datastores, vLCM compliance). Design rules it follows:

  • Idempotent. Every check reads first and only changes what differs. Run it twice and the second run changes nothing.
  • Audit by default. -Mode Remediate is needed to change anything, and -WhatIf shows what Remediate would do. -VMHost limits a run to one host, which is how it is used during a rolling build.
  • Safe fixes only. It will set MTU, NIOC shares, VLANs, teaming, advanced settings, create a missing NFS vmk and mount a missing datastore. It will not remap uplinks, re-IP a vmk, unmount a datastore or touch drivers and VIBs; those are reported as MANUAL, because they belong in maintenance mode or in the vLCM image.
  • Evidence. Every run writes a CSV. The exit code is 1 if any row is not OK, FIXED or INFO, so a pipeline can gate on it.
  • Secrets come from VCENTER_USER and VCENTER_PASSWORD in the environment, injected by your vault or CI system.
# Invoke-EsxHostStandard.ps1
<#
.SYNOPSIS
  Audit and (optionally) enforce the ESXi host standard for VMware vSphere on
  Cisco UCS with Tintri VMstore NFS, from a host-standard.psd1 file.

.DESCRIPTION
  -Mode Audit      read-only; every check becomes OK, DRIFT, MANUAL or INFO.
  -Mode Remediate  fixes what is safe to fix live; honours -WhatIf and -Confirm.
  Safe to re-run: each check compares first and only changes what differs.
  Things that are unsafe to change on a running host (uplink remapping, moving a
  vmk to another IP, unmounting a datastore, driver or VIB versions) are reported
  as MANUAL. Drivers and VIBs belong to the vLCM image, not to this script.
  Writes a CSV report; exits 1 if anything is not OK, FIXED or INFO.

.EXAMPLE
  $env:VCENTER_USER = 'svc-automation@vsphere.local'
  $env:VCENTER_PASSWORD = '<FROM_YOUR_VAULT>'
  ./Invoke-EsxHostStandard.ps1 -VCenter vcenter01.lab.local -StandardPath ./host-standard.psd1
  ./Invoke-EsxHostStandard.ps1 -VCenter vcenter01.lab.local -StandardPath ./host-standard.psd1 -Mode Remediate -WhatIf
  ./Invoke-EsxHostStandard.ps1 -VCenter vcenter01.lab.local -StandardPath ./host-standard.psd1 -Mode Remediate -VMHost esx03.lab.local
#>
[CmdletBinding(SupportsShouldProcess = $true)]
param(
    [Parameter(Mandatory)] [string] $VCenter,
    [Parameter(Mandatory)] [string] $StandardPath,
    [ValidateSet('Audit', 'Remediate')] [string] $Mode = 'Audit',
    [string[]] $VMHost,
    [string] $ReportPath = ("./host-standard-{0:yyyyMMdd-HHmm}.csv" -f (Get-Date))
)
$ErrorActionPreference = 'Stop'
$std     = Import-PowerShellDataFile -Path $StandardPath
$results = [System.Collections.Generic.List[object]]::new()

function Add-Result($Scope, $Object, $Check, $Expected, $Actual, $Status, $Note = '') {
    $results.Add([pscustomobject]@{
        Scope = $Scope; Object = $Object; Check = $Check; Expected = "$Expected"
        Actual = "$Actual"; Status = $Status; Note = $Note })
}

# Returns the status for a difference: DRIFT in Audit mode, WOULD-FIX under -WhatIf,
# FIXED after the fix ran. The fix only runs in Remediate mode and after ShouldProcess.
function Invoke-Fix([string] $Target, [string] $Action, [scriptblock] $Fix) {
    if ($Mode -ne 'Remediate') { return 'DRIFT' }
    if ($PSCmdlet.ShouldProcess($Target, $Action)) {
        try { & $Fix; return 'FIXED' } catch { return "ERROR: $($_.Exception.Message)" }
    }
    return 'WOULD-FIX'
}

function ConvertTo-UInt64Ip([string] $Ip) {
    $b = ([System.Net.IPAddress]::Parse($Ip)).GetAddressBytes(); [Array]::Reverse($b)
    [uint64][BitConverter]::ToUInt32($b, 0)
}
function Test-InSubnet([string] $Ip, [string] $Cidr) {
    $net, $bits = $Cidr.Split('/')
    $mask = ([uint64]4294967295 -shl (32 - [int]$bits)) -band [uint64]4294967295
    ((ConvertTo-UInt64Ip $Ip) -band $mask) -eq ((ConvertTo-UInt64Ip $net) -band $mask)
}

if (-not $env:VCENTER_USER -or -not $env:VCENTER_PASSWORD) {
    throw 'Set VCENTER_USER and VCENTER_PASSWORD in the environment first.'
}
$cred = [pscredential]::new($env:VCENTER_USER,
        (ConvertTo-SecureString $env:VCENTER_PASSWORD -AsPlainText -Force))
$vi = Connect-VIServer -Server $VCenter -Credential $cred

try {
    $cl  = Get-Cluster  -Name $std.Cluster  -Server $vi
    $vds = Get-VDSwitch -Name $std.VDSwitch -Server $vi

    # ---------- vDS: MTU ----------
    $st = if ($vds.Mtu -eq $std.VdsMtu) { 'OK' } else {
        Invoke-Fix $vds.Name "Set vDS MTU to $($std.VdsMtu)" {
            Set-VDSwitch -VDSwitch $vds -Mtu $std.VdsMtu -Confirm:$false | Out-Null } }
    Add-Result 'vDS' $vds.Name 'MTU' $std.VdsMtu $vds.Mtu $st

    # ---------- vDS: NIOC v3 enabled and shares ----------
    $vds.ExtensionData.UpdateViewData()
    $cfg = $vds.ExtensionData.Config
    $st = if ($cfg.NetworkResourceManagementEnabled) { 'OK' } else {
        Invoke-Fix $vds.Name 'Enable Network I/O Control' {
            $vds.ExtensionData.EnableNetworkResourceManagement($true) } }
    Add-Result 'vDS' $vds.Name 'NIOC enabled' 'True' $cfg.NetworkResourceManagementEnabled $st

    if ($cfg.NetworkResourceControlVersion -ne 'version3') {
        Add-Result 'vDS' $vds.Name 'NIOC version' 'version3' $cfg.NetworkResourceControlVersion 'MANUAL' `
            'Upgrade NIOC to version 3 in a change window, then re-run.'
    } else {
        foreach ($key in $std.NiocShares.Keys) {
            $vds.ExtensionData.UpdateViewData()
            $res  = $vds.ExtensionData.Config.InfrastructureTrafficResourceConfig | Where-Object Key -eq $key
            $want = [int]$std.NiocShares[$key]
            $cur  = $res.AllocationInfo.Shares
            $st = if ($cur.Level -eq 'custom' -and $cur.Shares -eq $want) { 'OK' } else {
                Invoke-Fix $vds.Name "Set NIOC $key shares to custom $want" {
                    $vds.ExtensionData.UpdateViewData()
                    $r = $vds.ExtensionData.Config.InfrastructureTrafficResourceConfig |
                         Where-Object Key -eq $key
                    $r.AllocationInfo.Shares.Level  = 'custom'
                    $r.AllocationInfo.Shares.Shares = $want
                    $spec = New-Object VMware.Vim.VMwareDVSConfigSpec
                    $spec.ConfigVersion = $vds.ExtensionData.Config.ConfigVersion
                    $spec.InfrastructureTrafficResourceConfig = @($r)
                    $vds.ExtensionData.ReconfigureDvs($spec) } }
            Add-Result 'vDS' $vds.Name "NIOC shares $key" "custom $want" "$($cur.Level) $($cur.Shares)" $st
        }
    }

    # ---------- vDS: port groups, VLAN, teaming ----------
    foreach ($pg in $std.PortGroups) {
        $vpg = Get-VDPortgroup -VDSwitch $vds -Name $pg.Name -ErrorAction SilentlyContinue
        if (-not $vpg) {
            $st = Invoke-Fix $pg.Name "Create port group, VLAN $($pg.VlanId)" {
                New-VDPortgroup -VDSwitch $vds -Name $pg.Name -VlanId $pg.VlanId | Out-Null }
            Add-Result 'PortGroup' $pg.Name 'Exists' 'present' 'missing' $st
            if ($st -ne 'FIXED') { continue }
            $vpg = Get-VDPortgroup -VDSwitch $vds -Name $pg.Name
        }
        $vlan = $vpg.VlanConfiguration.VlanId
        $st = if ("$vlan" -eq "$($pg.VlanId)") { 'OK' } else {
            Invoke-Fix $pg.Name "Set VLAN $($pg.VlanId)" {
                Set-VDVlanConfiguration -VDPortgroup $vpg -VlanId $pg.VlanId | Out-Null } }
        Add-Result 'PortGroup' $pg.Name 'VLAN' $pg.VlanId $vlan $st

        $tp   = $vpg | Get-VDUplinkTeamingPolicy
        $want = "SrcId; active=$($pg.Active -join ','); standby=$($pg.Standby -join ','); LinkStatus; notify; failback"
        $have = "{0}; active={1}; standby={2}; {3}; notify={4}; failback={5}" -f $tp.LoadBalancingPolicy,
                (@($tp.ActiveUplinkPort) -join ','), (@($tp.StandbyUplinkPort) -join ','),
                $tp.FailoverDetectionPolicy, $tp.NotifySwitches, $tp.EnableFailback
        $ok = $tp.LoadBalancingPolicy -eq 'LoadBalanceSrcId' -and
              (@($tp.ActiveUplinkPort) -join ',') -eq ($pg.Active -join ',') -and
              (@($tp.StandbyUplinkPort) -join ',') -eq ($pg.Standby -join ',') -and
              $tp.FailoverDetectionPolicy -eq 'LinkStatus' -and $tp.NotifySwitches -and $tp.EnableFailback
        $st = if ($ok) { 'OK' } else {
            Invoke-Fix $pg.Name 'Set teaming: originating port, explicit active/standby, link status' {
                $p = @{ LoadBalancingPolicy = 'LoadBalanceSrcId'; ActiveUplinkPort = $pg.Active
                        FailoverDetectionPolicy = 'LinkStatus'; NotifySwitches = $true
                        EnableFailback = $true; Confirm = $false }
                if ($pg.Standby) { $p.StandbyUplinkPort = $pg.Standby }
                $unused = @($std.Uplinks.Keys | Where-Object { $_ -notin (@($pg.Active) + @($pg.Standby)) })
                if ($unused) { $p.UnusedUplinkPort = $unused }
                $tp | Set-VDUplinkTeamingPolicy @p | Out-Null } }
        Add-Result 'PortGroup' $pg.Name 'Teaming' $want $have $st
    }

    # ---------- hosts ----------
    $hosts = Get-VMHost -Location $cl -Server $vi | Sort-Object Name
    if ($VMHost) { $hosts = $hosts | Where-Object { $_.Name -in $VMHost } }

    foreach ($h in $hosts) {
        if ($h.ConnectionState -notin 'Connected', 'Maintenance') {
            Add-Result 'Host' $h.Name 'Connection' 'Connected' $h.ConnectionState 'MANUAL'; continue
        }
        $esx = Get-EsxCli -VMHost $h -V2

        # Uplink to vmnic mapping on this host (read from the host's proxy switch)
        $proxy = $h.ExtensionData.Config.Network.ProxySwitch |
                 Where-Object DvsUuid -eq $vds.ExtensionData.Uuid
        foreach ($u in $std.Uplinks.Keys) {
            $actual = 'not on vDS'
            if ($proxy) {
                $portKey = ($proxy.UplinkPort | Where-Object Value -eq $u).Key
                $pnic    = $proxy.Spec.Backing.PnicSpec | Where-Object UplinkPortKey -eq $portKey
                $actual  = if ($pnic) { $pnic.PnicDevice } else { 'unassigned' }
            }
            $st = if ($actual -eq $std.Uplinks[$u]) { 'OK' } else { 'MANUAL' }
            Add-Result 'Host' $h.Name "Uplink $u" $std.Uplinks[$u] $actual $st `
                'Remap in maintenance mode; check vNIC placement so vmnic order matches fabric A/B.'
        }

        # VIC driver, version, firmware and link for each vDS vmnic
        foreach ($nic in $std.Uplinks.Values) {
            try {
                $g = $esx.network.nic.get.Invoke(@{ nicname = $nic })
                $actual = "{0} {1} (fw {2}, link {3})" -f $g.DriverInfo.Driver, $g.DriverInfo.Version,
                          $g.DriverInfo.FirmwareVersion, $g.LinkStatus
                $ok = $g.DriverInfo.Driver -eq 'nenic' -and $g.DriverInfo.Version -eq $std.Drivers.nenic
                Add-Result 'Host' $h.Name "$nic driver" "nenic $($std.Drivers.nenic)" $actual `
                    $(if ($ok) { 'OK' } else { 'MANUAL' }) 'Driver versions come from the vLCM image.'
            } catch { Add-Result 'Host' $h.Name "$nic driver" 'nenic' 'not found' 'MANUAL' }
        }

        # NFS VMkernel port: exactly one in the subnet, right port group, IP and MTU
        $nv     = $std.NfsVmk
        $wantIp = $nv.Ips[$h.Name]
        $inSub  = @(Get-VMHostNetworkAdapter -VMHost $h -VMKernel |
                    Where-Object { $_.IP -and (Test-InSubnet $_.IP $nv.Subnet) })
        if ($inSub.Count -gt 1) {
            Add-Result 'Host' $h.Name 'NFS vmk' "one vmk in $($nv.Subnet)" (($inSub | ForEach-Object Name) -join ',') 'MANUAL' `
                'More than one vmk in the NFS subnet: NFS may leave by the wrong one.'
        } elseif ($inSub.Count -eq 0) {
            $st = if (-not $wantIp) { 'MANUAL' } else {
                Invoke-Fix $h.Name "Create NFS vmk $wantIp on $($nv.PortGroup), MTU $($nv.Mtu)" {
                    New-VMHostNetworkAdapter -VMHost $h -VirtualSwitch $vds -PortGroup $nv.PortGroup `
                        -IP $wantIp -SubnetMask $nv.Mask -Mtu $nv.Mtu -Confirm:$false | Out-Null } }
            Add-Result 'Host' $h.Name 'NFS vmk' "$wantIp on $($nv.PortGroup)" 'missing' $st
        } else {
            $v = $inSub[0]
            $okPlace = $v.IP -eq $wantIp -and $v.PortGroupName -eq $nv.PortGroup
            Add-Result 'Host' $h.Name 'NFS vmk placement' "$wantIp on $($nv.PortGroup)" "$($v.IP) on $($v.PortGroupName)" `
                $(if ($okPlace) { 'OK' } else { 'MANUAL' })
            $st = if ($v.Mtu -eq $nv.Mtu) { 'OK' } else {
                Invoke-Fix "$($h.Name) $($v.Name)" "Set MTU $($nv.Mtu)" {
                    Set-VMHostNetworkAdapter -VirtualNic $v -Mtu $nv.Mtu -Confirm:$false | Out-Null } }
            Add-Result 'Host' $h.Name "NFS vmk MTU ($($v.Name))" $nv.Mtu $v.Mtu $st
            $svc = $v.ManagementTrafficEnabled -or $v.VMotionEnabled -or $v.FaultToleranceLoggingEnabled
            Add-Result 'Host' $h.Name "NFS vmk services ($($v.Name))" 'none' $(if ($svc) { 'tagged' } else { 'none' }) `
                $(if ($svc) { 'MANUAL' } else { 'OK' }) 'Keep the NFS vmk free of mgmt, vMotion and FT tags.'
        }

        # Advanced settings
        foreach ($name in $std.AdvancedSettings.Keys) {
            $cur  = (Get-AdvancedSetting -Entity $h -Name $name).Value
            $want = $std.AdvancedSettings[$name]
            $st = if ($null -eq $want) { 'INFO' } elseif ("$cur" -eq "$want") { 'OK' } else {
                Invoke-Fix $h.Name "Set $name to $want" {
                    Get-AdvancedSetting -Entity $h -Name $name |
                        Set-AdvancedSetting -Value $want -Confirm:$false | Out-Null } }
            $note = if ($name -like 'Net.TcpipHeap*' -and $st -eq 'FIXED') { 'Reboot required' } else { '' }
            Add-Result 'Host' $h.Name $name $want $cur $st $note
        }

        # Tintri VAAI-NAS VIB present (installed through the vLCM image)
        $vib = @($esx.software.vib.list.Invoke() | Where-Object { $_.Name -match $std.VaaiVibPattern })
        Add-Result 'Host' $h.Name 'VAAI-NAS VIB' $std.VaaiVibPattern `
            $(if ($vib) { ($vib | ForEach-Object { "$($_.Name) $($_.Version)" }) -join '; ' } else { 'missing' }) `
            $(if ($vib) { 'OK' } else { 'MANUAL' })

        # NFS datastores: identical strings, accessible, accelerated
        $mounts = @($esx.storage.nfs.list.Invoke())
        foreach ($ds in $std.NfsDatastores) {
            $m = $mounts | Where-Object VolumeName -eq $ds.Name
            $want = "$($ds.Server):$($ds.Share)"
            if (-not $m) {
                $st = Invoke-Fix $h.Name "Mount $want as $($ds.Name) (NFS 3)" {
                    New-Datastore -VMHost $h -Nfs -FileSystemVersion '3' -Name $ds.Name `
                        -NfsHost $ds.Server -Path $ds.Share | Out-Null }
                Add-Result 'Host' $h.Name "NFS $($ds.Name)" $want 'not mounted' $st
                continue
            }
            $have = "$($m.Host):$($m.Share)"
            Add-Result 'Host' $h.Name "NFS $($ds.Name) target" $want $have `
                $(if ($have -eq $want) { 'OK' } else { 'MANUAL' }) 'Remount in maintenance mode if different.'
            Add-Result 'Host' $h.Name "NFS $($ds.Name) state" 'accessible, Supported' `
                "accessible=$($m.Accessible), hwaccel=$($m.HardwareAcceleration)" `
                $(if ("$($m.Accessible)" -eq 'true' -and $m.HardwareAcceleration -eq 'Supported') { 'OK' } else { 'MANUAL' })
        }
    }

    # ---------- cluster: HA heartbeat datastores ----------
    try {
        $hb = @($cl.ExtensionData.RetrieveDasAdvancedRuntimeInfo().HeartbeatDatastoreInfo | Where-Object { $_ })
        $names = if ($hb) { (Get-View -Id ($hb | ForEach-Object Datastore) -Property Name -Server $vi |
                             ForEach-Object Name) -join ', ' } else { 'none' }
        $ign = Get-AdvancedSetting -Entity $cl -Name 'das.ignoreInsufficientHbDatastore' -ErrorAction SilentlyContinue
        Add-Result 'Cluster' $cl.Name 'HA heartbeat datastores' ">= $($std.MinHeartbeatDatastores)" "$($hb.Count): $names" `
            $(if ($hb.Count -ge $std.MinHeartbeatDatastores) { 'OK' } else { 'MANUAL' }) `
            $(if ($ign) { "das.ignoreInsufficientHbDatastore=$($ign.Value)" } else { '' })
    } catch { Add-Result 'Cluster' $cl.Name 'HA heartbeat datastores' 'HA enabled' 'unavailable' 'MANUAL' $_.Exception.Message }

    # ---------- cluster: vLCM image compliance ----------
    try {
        $comp = Test-LcmClusterCompliance -Cluster $cl -Server $vi
        $state = if ($comp.PSObject.Properties['Status']) { "$($comp.Status)" } else { "$comp" }
        Add-Result 'Cluster' $cl.Name 'vLCM image compliance' 'Compliant' $state `
            $(if ($state -match '^Compliant$') { 'OK' } else { 'MANUAL' }) 'Remediate through vLCM, host by host.'
    } catch { Add-Result 'Cluster' $cl.Name 'vLCM image compliance' 'image-managed' 'not available' 'INFO' $_.Exception.Message }
}
finally {
    $results | Export-Csv -Path $ReportPath -NoTypeInformation -WhatIf:$false
    Disconnect-VIServer -Server $vi -Confirm:$false -WhatIf:$false
}

$results | Format-Table Scope, Object, Check, Expected, Actual, Status -AutoSize
$results | Group-Object Status | Sort-Object Name | Format-Table Name, Count -AutoSize
Write-Host "Report: $ReportPath"
if ($results | Where-Object { $_.Status -notin 'OK', 'FIXED', 'INFO' }) { exit 1 } else { exit 0 }

A Remediate run with -WhatIf on a host that has just been added to the cluster looks like this:

Scope     Object          Check                     Expected                 Actual                         Status
-----     ------          -----                     --------                 ------                         ------
vDS       vds01           MTU                       1500                     1500                           OK
vDS       vds01           NIOC shares nfs           custom 100               normal 50                      WOULD-FIX
PortGroup pg-nfs          Teaming                   SrcId; active=Uplink 1.. LoadBalanceSrcId; active=Up..  OK
Host      esx03.lab.local Uplink Uplink 1           vmnic2                   vmnic2                         OK
Host      esx03.lab.local vmnic2 driver             nenic <HCL version>      nenic <HCL version> (fw ...)   OK
Host      esx03.lab.local NFS vmk MTU (vmk2)        1500                     1500                           OK
Host      esx03.lab.local NFS.MaxVolumes            256                      32                             WOULD-FIX
Host      esx03.lab.local VAAI-NAS VIB              <regex>                  missing                        MANUAL
Host      esx03.lab.local NFS ds-vmstore01 state    accessible, Supported    accessible=true, hwaccel=Not.. MANUAL
Cluster   cl-prod01       HA heartbeat datastores   >= 2                     1: ds-vmstore01                MANUAL

Name      Count
----      -----
MANUAL        3
OK            5
WOULD-FIX     2

In VCF, the vDS and its port groups are created by the VCF installer or SDDC Manager from the cluster’s network profile. Run the script in Audit mode there, and make vDS-level changes through the VCF-supported workflow so that VCF’s own records stay correct.

10. End-to-end workflow: bare UCS server to host in service

#StepVerify withExpected
1Look up the server model, adapter, UCS release and target ESXi build in the Cisco UCS HCL; check the ESXi build and VAAI plugin in the Tintri interop list and the Broadcom Compatibility Guide. Record the nenic version.The three lookups, saved with the changeOne nenic version, one plugin version, all three sources agree
2Build the vNICs from the template: four vNICs, fabric failover off, placement fixed, MTU and adapter policy per part 2. Associate the profile.UCS Manager or Intersight: profile associated, no faults; vNIC list shows failover disabledFour vNICs, two per fabric, no configuration faults
3Install ESXi (from the Cisco image or plain ESXi plus the add-on), set management on vSwitch0, add the host to vCenter in maintenance mode.esxcli network nic listvmnic0 to vmnic3 up, driver nenic
4Join the cluster; vLCM remediates the host to the cluster image.esxcli software component list | grep -iE 'nenic|ucs' and the Tintri VIB checknenic at the HCL version; Tintri VAAI VIB present; host compliant
5Add the host to the vDS with vmnic2 as Uplink 1 and vmnic3 as Uplink 2.Script row “Uplink Uplink 1 = vmnic2”OK for both uplinks
6Run the script in Audit mode for this host.-Mode Audit -VMHost esx05.lab.localA list of DRIFT and MANUAL rows to work through
7Run Remediate with -WhatIf, read it, then without.The CSV reportNFS vmk created, MTU set, NFS.MaxVolumes set, datastore mounted
8Reboot if heap settings changed. Re-run the audit.Audit reportZero DRIFT, zero MANUAL, exit code 0
9Path tests from the new host.vmkping -I vmk2 -d -s 1472 10.0.30.50 (8972 for jumbo); esxcli storage nfs list0% loss; datastore accessible, Hardware Acceleration Supported
10Failure test (first host of a new cluster, or after a design change): fail fabric A, then B, then the VMstore controller.vobd.log, vmkernel.log, a pinging test VMUplink transitions logged, no APD, VM keeps running
11Exit maintenance mode.vSphere ClientHost in service, DRS moves VMs onto it

11. Troubleshooting

SymptomLikely causeCheckFix
NFS goes down for every VM on a host when one FI rebootsFabric failover enabled on the vNIC as well as ESXi teaming, or the NFS port group has no standby uplinkUCS vNIC failover flag; Get-VDUplinkTeamingPolicy on the NFS port groupDisable fabric failover; set explicit active/standby
NFS black-holes when an FI loses its northbound uplinks, but vmnic stays upNetwork control policy does not take the vNIC down on uplink failureUCS network control policy; esxcli network nic list during the eventSet the uplink-fail action to link-down
MAC flaps reported on the Nexus pair; intermittent VM connectivityIP hash or load-based teaming on a UCS-attached vDSTeaming policy on every port groupOriginating virtual port with explicit failover order
NFS traffic seen on the management vmkNo vmk in the VMstore data subnet, or NFS server reachable via the management gatewayesxcli network ip interface ipv4 get; esxcli network ip route ipv4 listCreate the NFS vmk; keep the data network non-routed
Some NFS traffic from an unexpected vmkTwo vmks in the same subnetScript row “NFS vmk”Remove the extra vmk in maintenance mode
Teaming looks right but NFS uses fabric Bvmnic order differs on this host: vmnic2 is the fabric B vNICScript uplink rows; UCS vNIC placementFix placement or remap uplinks in maintenance mode
vMotion slows NFS latency on busy hostsvMotion and NFS active on the same uplink; no NIOCTeaming of the vMotion port group; NIOC sharesvMotion active on the other fabric; NIOC shares favouring NFS
HA warning: heartbeat datastores 1, less than 2One datastore per VMstore, single VMstoreCluster, vSphere HA, Heartbeat DatastoresSection 07 options
vLCM remediation fails: downgrades of manually added components not supportedHand-installed nenic or nfnic newer than the imageesxcli software component listImport that version into the depot and add it to the image (KB 440252)
ESXi upgrade blocked by a VIBTintri VAAI plugin version not built for the target ESXiUpgrade pre-check; Tintri interop listAdd the supported plugin version to the new image before upgrading
Intersight HCL status “incomplete” or “not listed”No OS and driver inventory from the host, or the driver is off-HCLIntersight HCL view; UCS Tools component on the hostAdd UCS Tools to the image; align nenic with the HCL
rx_no_bufs rising on a vmnicReceive queues or ring too small for the loadVIC statistics per vmnicAdjust the Ethernet adapter policy per Cisco’s VIC guidance, in a window

12. What’s next

The host is now a documented standard with an image, an audit and a report. Part 5 is the layer-by-layer troubleshooting runbook: VM, ESXi, UCS, Nexus and VMstore, with esxtop’s NFS view, vobd lines, VIC statistics, Nexus counters and a scripted evidence bundle. Part 6 covers upgrade order and compatibility gating, where this pipeline gets reused for every firmware, driver and TxOS cycle. For UCS-side checks that pair with this script, see validating all the service profiles in Cisco UCS and troubleshooting Cisco UCS with log examples; for the jumbo frame side, the vmkping sweep. If you are standing up VCF on this stack, Building VCF 9 on Tintri NFS storage covers the bring-up, and the OpenTelemetry series covers monitoring it.

Leave a Reply