Most VMstore-to-vSphere problems I get called into are not storage problems. They are a host that mounted the datastore by FQDN while its neighbours used the IP, a VAAI plugin that made it onto eleven hosts out of twelve, a snapshot schedule that fires VM-consistent snapshots for four hundred VMs at five past every hour, or a QoS ceiling somebody set during an incident two years ago. Each one is small and each one is invisible until vMotion, HA or a clone task trips over it. This part of the series covers the VMstore side of the joint stack from the vSphere admin’s seat: the VMstore networks and how an ESXi host reaches the datastore, registering vCenter on the VMstore, mounting the datastore identically on every host and proving it, the VAAI-NAS plugin, the ESXi NFS advanced settings, per-VM QoS, snapshot and replication policy, and Tintri Global Center.
Level: intermediate to advanced · Stack: VMware vSphere 8 / VCF 9, Tintri VMstore (TxOS), Cisco UCS with Fabric Interconnects, Nexus 9000, PowerCLI · Build time: about half a day per VMstore, plus a failover test window
Contents
- Where this fits, and the ground rules
- VMstore networks and how ESXi reaches the datastore
- Registering vCenter on the VMstore
- Mounting the datastore identically on every host
- The VAAI-NAS plugin
- ESXi NFS advanced settings
- Per-VM QoS: floors, ceilings and why most VMs need neither
- Snapshot and replication policy design
- Tintri Global Center
- End-to-end workflow: from cabled VMstore to protected VMs
- Troubleshooting
- What’s next
01. Where this fits, and the ground rules
This is part 3 of VMware vSphere with Tintri and Cisco. Part 1 laid out the reference architecture and the compatibility matrices, and part 2 built the network: Nexus vPC, the VLAN plan, MTU end to end and the UCS vNIC templates. Everything here assumes that network exists. Part 4 then builds the ESXi host standard that consumes it.
A note on where the numbers come from. Tintri publishes a small set of public documents that matter here: the Tintri VMstore with VMware Best Practices Guide (revision 3.1, April 2019), the Cisco UCS Deployment and Best Practice Guide for VMstore in UCS B-Series environments (revision 1.1, 2016), and the Data Protection Overview and Best Practices paper (revision 1.1, 2017). I quote values from those and say so. They were written for vSphere 6.x and TxOS 4.x, so wherever a value could have moved, I tell you what the public guide says, what Broadcom says today, and that the current Tintri best-practices guide for your TxOS version is the authority. Your Tintri support portal login gets you that guide and the TxOS release notes; read them alongside this.
Rule for this whole post: one NFS server string, one export path, one datastore name, one set of advanced settings, one plugin version, on every host in the cluster. Nearly every failure in the troubleshooting table at the end is a violation of that sentence.
02. VMstore networks and how ESXi reaches the datastore
A VMstore is an active/standby dual-controller appliance with three kinds of network interface. The public VMware guide describes them like this:
| Network | Carries | What the vSphere admin needs to know |
|---|---|---|
| Admin (management) | UI, REST API, alerts, the VMstore’s own calls to vCenter | Does not have to share the ESXi management subnet, but must be routable to every vCenter the VMstore integrates with. Give it an FQDN in DNS. |
| Data | All NFS I/O between ESXi and the VMstore | Up to 64 data IPs per VMstore are possible; Tintri recommends one. The data IP lives on the active controller and moves with it on failover. Each host needs a dedicated VMkernel port on this network. |
| Replication (optional) | VMstore-to-VMstore ReplicateVM and synchronous replication | Uses dedicated ports where the model has the optional replication NIC; without it, replication rides the data or admin interfaces. No vSphere configuration is involved. |
Two hardware behaviours shape everything downstream. First, the admin and data ports on each controller are internally paired active/standby out of the box: port A is preferred, port B takes over when port A loses link, and port A becomes active again when its link returns. You cannot split a pair into two independent interfaces. Second, a controller failover moves the data IP to the other controller, and the hosts see the same IP on the same subnet. That is why the network design has to give both controllers an equally good path to every host.
Two ways to attach a VMstore to a UCS domain
| Pattern | How it is cabled | Strengths | Watch for |
|---|---|---|---|
| Direct to the Fabric Interconnects (Tintri’s UCS guide) | Data port A of each controller to FI A, data port B to FI B, configured as UCS appliance ports in end-host mode. LACP off. | Fewest hops. With the hosts’ NFS port group preferring fabric A, NFS never leaves fabric A except in two specific failures. | Uses FI ports and port licences. LACP is not possible across fabrics. The storage VLAN must also be allowed on the FI uplinks so the failure paths work northbound. |
| To the Nexus 9000 vPC pair (dedicated IP storage switching) | Data ports into a vPC with LACP enabled on the VMstore. Port-channels may span two switches but never two VMstore controllers. | More bandwidth per controller, and the same storage network serves rack servers and other domains. Tintri’s UCS guide recommends this pattern when you want LACP. | Every host-to-VMstore flow crosses the FI uplinks, so size them. The in-fabric preference no longer exists. |
The direct-to-FI pattern has a clear set of rules in Tintri’s UCS guide, and they are still the right rules: configure the FIs in end-host mode, make the four FI ports (two per fabric) appliance ports, tag the storage VLAN rather than making it native, extend the same VLAN into the LAN cloud and up the FI uplinks so traffic can cross fabrics northbound when a failure demands it, and set the UCS maintenance policy reboot to User Ack before touching anything. The guide also explains why LACP is a bad idea when the VMstore lands on the FIs: a port-channel cannot span fabrics, and if you build one per controller inside a fabric, every controller failover (and every TxOS upgrade fails over) pushes all storage traffic northbound through the uplinks and back down.
In the direct-to-FI design, storage traffic only goes northbound in two cases: the cable or optic on the active controller’s data port A fails, or the host loses its fabric A path (a FEX/IFM pulled, for example). If all of fabric A goes down, as in a UCS firmware upgrade, both the hosts and the VMstore move to fabric B together and traffic stays in-fabric.
VLANs, MTU and LACP on the VMstore itself
- 802.1Q tagging works on every VMstore interface. If the switch port is an access port, leave the VMstore VLAN field empty.
- The VMstore supports an MTU of 9000 on its data interface. Tintri’s public guides say plainly that, because of how many support cases come from jumbo misconfiguration, they recommend against jumbo frames unless you have a specific reason. If you do run 9000 at the endpoints, the switches and every inter-switch link need at least 9000, typically 9216, and the test is a don’t-fragment ping at 8972 bytes that passes, with 8973 failing. Part 2 covers the MTU chain hop by hop; the vmkping sweep automates the host side.
- LACP is configured per port group on the VMstore (admin, data, replication). It does not support mixed link speeds in one port-channel, and port-channels that span controllers are not supported.
- TxOS has a network diagnostics tool (since 4.2) that runs the jumbo test from the VMstore. It only tests the currently active path, so repeat it after a controller failover.
The ESXi side, in one paragraph
Each host gets one VMkernel port in the VMstore data subnet, on a port group whose active uplink is the vNIC on the same fabric as the VMstore’s active data port. No gateway is needed if the data network is non-routed, which it should be. With NFSv3, ESXi sends traffic out of the VMkernel port whose subnet matches the NFS server, so one vmk per host in that subnet is both necessary and sufficient. Two vmks in the same subnet is a classic way to get NFS leaving through the wrong one. Part 4 builds this properly, including the teaming policy and why it is not LACP.
03. Registering vCenter on the VMstore
The VMstore works without knowing about vCenter: it serves NFS and sees files. Registering vCenter is what turns those files into VMs. With the connection in place, the VMstore maps every file to its VM and vDisk, shows per-VM performance and space by name, and can take VM-consistent snapshots. That last one matters for data protection: Tintri’s data protection paper describes a VM-consistent snapshot as the VMstore asking vSphere to create a vSphere snapshot (quiescing through VMware Tools where installed), taking the VMstore snapshot, then removing the vSphere snapshot. No vCenter connection, no VM-consistent snapshots.
The first-boot wizard on a new VMstore asks for the vCenter servers it should connect to, alongside DNS, NTP, SMTP and the support contact. On a running VMstore the same connection lives in the VMstore settings, where you can add more vCenters later. My checklist for doing it right:
- Create a dedicated vCenter service account for each VMstore or for the Tintri estate, not a named admin. Grant it the role the Tintri administration guide for your TxOS version specifies, at the vCenter root with propagation. I deliberately do not reproduce a privilege list here because it changes with TxOS releases; take it from the guide.
- Use the vCenter FQDN, and make sure the VMstore admin network can resolve it and reach it on HTTPS.
- Point the VMstore at the same NTP sources as vCenter and the hosts. Snapshot schedules, replication RPO alerts and the latency correlation you will do later all assume one clock.
- Treat the service account password like any other integration secret: when you rotate it in your vault, update it on the VMstore the same day. An expired integration account shows up later as VM-consistent snapshots failing, not as an obvious login error.
- If you run VCF with several vCenters, register each vCenter whose clusters mount that VMstore.
To check it worked: in the VMstore UI the VM list fills with real VM names a few minutes after the first VMs land on the datastore, and a manual VM-consistent snapshot of a test VM completes. In vCenter you will see a short-lived vSphere snapshot task on that VM, initiated by the service account.
04. Mounting the datastore identically on every host
Why consistency is not cosmetic
vCenter decides that two hosts are looking at the same NFS datastore by comparing what each host mounted: the server string and the export path. If esx01 mounted 10.0.30.50:/tintri and esx02 mounted vmstore01-data.lab.local:/tintri, they reach the same bytes on the same VMstore but vCenter sees two datastores. You get a second object named <name> (1), vMotion between those hosts is refused because the destination cannot see “the same” datastore, HA cannot restart a VM on a host that does not have its datastore, and Storage DRS and tag-based policies quietly misbehave. The same happens with a trailing slash, a different case in the path, or a different datastore label for the same export.
Tintri’s guidance for the mount itself is simple: NFS version 3, the export /tintri (or /tintri/<submount> if you present submounts), the VMstore data IP as the server, and one datastore per VMstore. The vSphere Client’s New Datastore wizard at cluster level is the easiest way to get it right once, because it applies one set of strings to every host you tick. The problem is the host added eighteen months later by someone who typed the FQDN. So I mount and verify with a script, and run the same script as an audit afterwards.
Decide the server string once
Pick IP or FQDN and write it down in the cluster standard. I use the data IP: the data network is usually non-routed and DNS for it is one more dependency during an outage. If you prefer an FQDN, make sure every host resolves it to the data IP, never to the admin IP, and that the record cannot change under you. Either way the rule is the same: one string, everywhere.
The template: mount, verify, report
The script below takes the cluster, the server string, the export, the datastore name and the data subnet. For every host it checks that there is exactly one VMkernel port in the data subnet, sends don’t-fragment pings from that port at the full frame size you standardised, then compares the host’s existing NFS mounts with the standard. If the datastore is missing it mounts it (honouring -WhatIf). If the name points somewhere else, or the export is mounted under another name, it reports a MISMATCH and does nothing: fixing that means unmounting a datastore with running VMs, which is a maintenance-window job, not something a script should do on a live cluster. Finally it asks vCenter whether more than one datastore object matches the name, which catches the “(1)” twins. Credentials come from environment variables.
# Mount-VMstoreNfs.ps1
<#
.SYNOPSIS
Mount one Tintri VMstore NFS export on every host in a vSphere cluster with the
SAME server string, export path and datastore name, then verify each host.
.DESCRIPTION
Non-destructive by design: it mounts where the datastore is missing, and only
REPORTS hosts that have the export under a different name, or the name pointing
at a different server or path. It never unmounts anything.
Supports -WhatIf. Writes a CSV report and exits 1 if any host is not OK.
.EXAMPLE
$env:VCENTER_USER = 'svc-automation@vsphere.local'
$env:VCENTER_PASSWORD = '<FROM_YOUR_VAULT>'
./Mount-VMstoreNfs.ps1 -VCenter vcenter01.lab.local -Cluster <CLUSTER_NAME> `
-NfsServer 10.0.30.50 -DatastoreName <DATASTORE_NAME> -NfsVmkSubnet 10.0.30.0/24 -WhatIf
#>
[CmdletBinding(SupportsShouldProcess = $true)]
param(
[Parameter(Mandatory)] [string] $VCenter,
[Parameter(Mandatory)] [string] $Cluster,
# The VMstore data IP or FQDN, written exactly the way every host must use it.
[Parameter(Mandatory)] [string] $NfsServer,
# /tintri, or /tintri/<submount> if you present submounts.
[string] $NfsExport = '/tintri',
[Parameter(Mandatory)] [string] $DatastoreName,
# Subnet of the VMstore data network, used to find each host's NFS vmk.
[Parameter(Mandatory)] [string] $NfsVmkSubnet,
# The MTU you standardised end to end (1500 or 9000). Used for the DF ping size.
[ValidateSet(1500, 9000)] [int] $Mtu = 1500,
[string] $ReportPath = ("./vmstore-mount-{0:yyyyMMdd-HHmm}.csv" -f (Get-Date))
)
$ErrorActionPreference = 'Stop'
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
$pingSize = $Mtu - 28 # 8972 for 9000, 1472 for 1500
$report = [System.Collections.Generic.List[object]]::new()
try {
$hosts = Get-Cluster -Name $Cluster -Server $vi | Get-VMHost |
Where-Object { $_.ConnectionState -in 'Connected', 'Maintenance' } |
Sort-Object Name
foreach ($h in $hosts) {
$row = [ordered]@{
Host = $h.Name; Vmk = ''; VmkIp = ''; VmkMtu = ''; PingDF = '';
Action = 'none'; Status = 'OK'; Server = ''; Share = '';
Accessible = ''; HwAccel = ''; Note = ''
}
$esx = Get-EsxCli -VMHost $h -V2
# 1. Exactly one vmk in the VMstore data subnet.
$vmks = @(Get-VMHostNetworkAdapter -VMHost $h -VMKernel |
Where-Object { $_.IP -and (Test-InSubnet $_.IP $NfsVmkSubnet) })
if ($vmks.Count -ne 1) {
$row.Status = 'FAIL'
$row.Note = "Expected 1 vmk in $NfsVmkSubnet, found $($vmks.Count)"
$report.Add([pscustomobject]$row); continue
}
$vmk = $vmks[0]
$row.Vmk = $vmk.Name; $row.VmkIp = $vmk.IP; $row.VmkMtu = $vmk.Mtu
if ($vmk.Mtu -ne $Mtu) { $row.Status = 'WARN'; $row.Note += "vmk MTU $($vmk.Mtu) != $Mtu. " }
# 2. Don't-fragment ping from that exact vmk at full frame size.
try {
$ping = $esx.network.diag.ping.Invoke(@{
host = $NfsServer; interface = $vmk.Name; count = 3; size = $pingSize; df = $true })
$row.PingDF = if ($ping.Summary.PacketLost -eq 0) { 'ok' } else { "loss $($ping.Summary.PacketLost)%" }
} catch { $row.PingDF = "error: $($_.Exception.Message)" }
if ($row.PingDF -ne 'ok') {
$row.Status = 'FAIL'; $row.Note += "DF ping $pingSize to $NfsServer failed. "
$report.Add([pscustomobject]$row); continue
}
# 3. Compare what the host already has with the standard.
$mounts = @($esx.storage.nfs.list.Invoke())
$byName = $mounts | Where-Object { $_.VolumeName -eq $DatastoreName }
$byShare = $mounts | Where-Object { $_.Host -eq $NfsServer -and $_.Share -eq $NfsExport }
if ($byName -and ($byName.Host -ne $NfsServer -or $byName.Share -ne $NfsExport)) {
$row.Status = 'MISMATCH'
$row.Note += "Name '$DatastoreName' points at $($byName.Host):$($byName.Share). Fix by hand in a window."
}
elseif ($byShare -and $byShare.VolumeName -ne $DatastoreName) {
$row.Status = 'MISMATCH'
$row.Note += "Export already mounted as '$($byShare.VolumeName)'. Fix by hand in a window."
}
elseif (-not $byName) {
if ($PSCmdlet.ShouldProcess($h.Name, "Mount ${NfsServer}:$NfsExport as $DatastoreName (NFS 3)")) {
New-Datastore -VMHost $h -Nfs -FileSystemVersion '3' -Name $DatastoreName `
-NfsHost $NfsServer -Path $NfsExport | Out-Null
$row.Action = 'mounted'
} else {
$row.Action = 'would mount'
}
}
# 4. Re-read and record the host's view.
$now = @($esx.storage.nfs.list.Invoke()) | Where-Object { $_.VolumeName -eq $DatastoreName }
if ($now) {
$row.Server = $now.Host; $row.Share = $now.Share
$row.Accessible = $now.Accessible; $row.HwAccel = $now.HardwareAcceleration
if ("$($now.Accessible)" -ne 'true') { $row.Status = 'FAIL'; $row.Note += 'Not accessible. ' }
if ($now.HardwareAcceleration -ne 'Supported' -and $row.Status -eq 'OK') {
$row.Status = 'WARN'; $row.Note += 'VAAI-NAS not active on this host. '
}
}
$report.Add([pscustomobject]$row)
}
# 5. vCenter's view: one datastore object, no "(1)" twins.
$twins = @(Get-Datastore -Server $vi -Name "$DatastoreName*" | Where-Object { $_.Type -like 'NFS*' })
if ($twins.Count -gt 1) {
$report.Add([pscustomobject]@{
Host = '(vCenter)'; Status = 'MISMATCH'; Action = 'none'
Note = 'vCenter sees ' + $twins.Count + ' datastores: ' + (($twins | ForEach-Object Name) -join ', ') })
}
}
finally {
$report | Export-Csv -Path $ReportPath -NoTypeInformation
$report | Format-Table Host, Vmk, VmkMtu, PingDF, Action, Status, HwAccel, Note -AutoSize
Disconnect-VIServer -Server $vi -Confirm:$false
}
if ($report | Where-Object { $_.Status -notin 'OK' }) { exit 1 } else { exit 0 }
Run it with -WhatIf first. A clean run on a four-host cluster looks like this:
Host Vmk VmkMtu PingDF Action Status HwAccel Note
---- --- ------ ------ ------ ------ ------- ----
esx01.lab.local vmk2 1500 ok none OK Supported
esx02.lab.local vmk2 1500 ok none OK Supported
esx03.lab.local vmk2 1500 ok mounted OK Supported
esx04.lab.local vmk2 1500 ok none OK Supported
Any row that is not OK makes the script exit 1, so you can drop it into a scheduled job or a pipeline gate. The site already has a fleet-wide version of the audit, the NFS datastore health sweep across a VCF fleet, which is the one to schedule nightly once more than one cluster is involved.
Fixing a MISMATCH host
Put the host into maintenance mode so DRS moves its VMs off, unmount the wrongly named or wrongly addressed datastore from that host only (Datastore, Unmount, tick just that host), run the script again to mount it correctly, then exit maintenance mode. If a “(1)” datastore object remains in vCenter after the last host has dropped it, it disappears once no host has it mounted.
05. The VAAI-NAS plugin
NFS datastores get no hardware offload from ESXi on their own. Block arrays get XCOPY and friends natively; NAS arrays need a vendor plugin installed on every host. Tintri ships one, free to customers, from the support portal. According to Tintri’s public VMware guide it implements three of the VAAI-NAS primitives:
| Primitive | What it changes for you |
|---|---|
| Full File Clone | Clone and deploy-from-template tasks are carried out by the VMstore instead of the ESXi data mover. No host CPU, no read-then-write across vmk and fabric. |
| Extended Statistics | vSphere shows real space consumption for thin VMDKs on the datastore, instead of guessing. |
| Reserve Space | Thick provisioned VMDKs become possible on NFS. Without the plugin the thick options are not offered. |
Tintri’s own recommendation is thin VMDKs everywhere unless a clustering product requires eager-zeroed thick with multi-writer. For VMs that are thick anyway, the VMstore has a Maximize Space Savings setting that, together with VAAI, keeps presenting thick disks to vSphere while still applying dedupe and compression; without it, thick disks get no space savings on the VMstore. And if a host does not have the plugin, Tintri’s advice is to clone from the VMstore UI or the vSphere plugin rather than the vSphere Client, so you still get a space-efficient VMstore clone. The background on the NAS primitives is in the older post on VAAI and NAS APIs.
Install it the way you install everything else
For a cluster, the right answer is the vLCM image: import Tintri’s offline bundle into the vLCM depot, add the component to the cluster image next to the Cisco add-on, and remediate host by host. That way the plugin version is part of the desired state, new hosts get it automatically, and an ESXi upgrade that is incompatible with it is caught at image validation instead of at reboot. Part 4 builds that image. The manual path below is for a lab or a single repair:
# Tintri VAAI-NAS plugin: manual install and verification on ONE ESXi host.
# Use this for a lab host or a one-off fix; for a cluster, put the component in
# the vLCM image instead (Part 4). File and package names come from the Tintri
# VAAI plugin release notes for your ESXi and TxOS versions.
# 0. What is on the host now, and is the NFS datastore already accelerated?
esxcli software vib list | grep -i tintri
esxcli software component list | grep -i tintri
esxcli storage nfs list
# 1. Evacuate the host, then enter maintenance mode.
esxcli system maintenanceMode set --enable true
# 2. Install from an offline bundle staged on a datastore every host can read.
# a) Bundle shipped as a component (ESXi 7.0 and later style):
esxcli software component apply -d /vmfs/volumes/<SHARED_DATASTORE>/<TINTRI_VAAI_BUNDLE>.zip
# b) Bundle shipped as a VIB depot (older releases):
# esxcli software vib install -d /vmfs/volumes/<SHARED_DATASTORE>/<TINTRI_VAAI_BUNDLE>.zip
#
# Only if the Tintri release notes say the plugin supports live install
# (NAS plugins built with the 7.0 U1 or later kit, Broadcom KB 332571):
# /etc/init.d/vaai-nasd stop ... install ... /etc/init.d/vaai-nasd start
# 3. Read the install output. "Reboot Required: true" means reboot now.
reboot
# 4. After the host is back: plugin present, datastore accelerated.
esxcli software vib list | grep -i tintri
esxcli storage nfs list
# Expected: the VMstore datastore row ends in "Supported" (Hardware Acceleration)
# 5. Exit maintenance mode.
esxcli system maintenanceMode set --enable false
# 6. Prove an offload happened: clone a powered-off test VM on the VMstore
# datastore through vCenter, then on the host that ran the clone:
grep -i vaai /var/log/vpxa.log | tail -n 20
Four details worth knowing:
- Tintri’s public guide (2019) says a host reboot is required after installing the plugin. Broadcom KB 332571 explains that since vSphere 7.0 U1, vendors can build NAS plugins that install and remove without a reboot, using the
vaai-nasdstop and start sequence, but replacing an older plugin still needs a reboot for the removal. Which applies depends on the plugin build you have, so follow the release notes and plan a reboot by default. - There is no advanced setting to switch NAS VAAI off. Broadcom KB 318224 says the plugin has to be removed. Keep that in mind before you install it “just to test”.
- Third-party NAS plugins are a known source of ESXi upgrade blocks: the upgrade refuses until the plugin is updated or removed. Check plugin support for the target ESXi build before every upgrade (the lifecycle part of this series, part 6, puts that into the upgrade gate).
- The verification that matters is per host and per datastore:
esxcli storage nfs listmust showSupportedunder Hardware Acceleration for the VMstore datastore on every host. The mount script above reports it in the HwAccel column.
06. ESXi NFS advanced settings
This is the section where old blog posts do the most damage, because ESXi defaults have moved since most of them were written. Here is what Tintri’s public guide says, what Broadcom says today, and what I do.
| Setting | Tintri public guide (rev 3.1, 2019) | Broadcom today | What I do |
|---|---|---|---|
NFS.MaxVolumes | 256 on every host | KB 323326: default 32 from vSphere 7.0, maximum 256 | Set 256. Harmless, and you never hit the mount ceiling during a migration. |
Net.TcpipHeapSize | 32 (MB), the maximum at the time | KB 323326: “not required to change” from ESXi 6.0 onward | Use the value in the current Tintri best-practices guide for your TxOS version. Reboot required. |
Net.TcpipHeapMax | 1536 (MB), described as the maximum since ESXi 6.0 | KB 323326: default raised to 1024 MB on 7.0 and 8.0, configurable up to 3200 MB; the default covers 256 mounts at default socket sizes | Do not blindly copy 1536. Use the value in the current Tintri guide; if it says “maximum”, note that the maximum is now 3200. Reboot required. |
NFS.HeartbeatFrequency, NFS.HeartbeatTimeout, NFS.HeartbeatMaxFailures | Leave at ESXi defaults (12, 5, 10) on ESXi 5.0 and later; keep identical on all hosts | Same defaults | Leave alone. Audit that every host agrees. |
NFS.MaxQueueDepth | Not covered | Per-host setting; the per-volume equivalent is esxcli storage nfs param set -q | No public Tintri value. Do not change it unless the current Tintri guide or Tintri support tells you to. |
nConnect (-c on esxcli storage nfs add, 1 to 8 connections on 8.0 U2 and later) | Not covered | NFSv3 multi-connection arrived in 8.0 U1, default 1 | Leave at 1 unless the current Tintri guide states support for more on your TxOS. |
Misc.APDTimeout and APD handling | Not covered | Default 140 s; Broadcom advises not changing it | Leave alone. Catching NFS APD before vCenter does explains the timeline. |
Two practical points. The heap settings need a reboot to take effect, so change them as part of the host build in part 4, not as a hot fix. And the value is less important than uniformity: Tintri’s guide warns that heartbeat settings must be identical on every host, and the same instinct applies to the rest. The audit script below lists each setting’s current, default and maximum value on every host, then prints a one-line verdict per setting saying whether the cluster is uniform. With -Apply it sets only the settings you have given a value, honours -WhatIf, and marks heap changes as reboot pending.
# Get-NfsAdvancedAudit.ps1
<#
.SYNOPSIS
Audit (and optionally set) the NFS-related ESXi advanced settings on every host
in a cluster, and prove they are identical across hosts.
Put the values from the current Tintri best-practices guide for your TxOS and
ESXi versions into $Desired. The examples below are the values in Tintri's
public VMware guide (rev 3.1, 2019, written for ESXi 6.x); read the notes in
the post before copying them.
#>
[CmdletBinding(SupportsShouldProcess = $true)]
param(
[Parameter(Mandatory)] [string] $VCenter,
[Parameter(Mandatory)] [string] $Cluster,
[switch] $Apply,
[string] $ReportPath = ("./nfs-advanced-{0:yyyyMMdd-HHmm}.csv" -f (Get-Date))
)
$ErrorActionPreference = 'Stop'
# Setting name = desired value (null = audit only, do not change)
$Desired = [ordered]@{
'NFS.MaxVolumes' = 256 # Tintri public guide; Broadcom max is 256
'Net.TcpipHeapSize' = $null # <TINTRI_GUIDE_VALUE> ; reboot required
'Net.TcpipHeapMax' = $null # <TINTRI_GUIDE_VALUE> ; reboot required
'NFS.HeartbeatFrequency' = $null # leave at ESXi default unless Tintri says otherwise
'NFS.HeartbeatTimeout' = $null
'NFS.HeartbeatMaxFailures' = $null
'NFS.MaxQueueDepth' = $null # no public Tintri value; audit only
'Misc.APDHandlingEnable' = $null
'Misc.APDTimeout' = $null
}
$RebootRequired = @('Net.TcpipHeapSize', 'Net.TcpipHeapMax')
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
$rows = [System.Collections.Generic.List[object]]::new()
try {
foreach ($h in (Get-Cluster -Name $Cluster -Server $vi | Get-VMHost | Sort-Object Name)) {
$esx = Get-EsxCli -VMHost $h -V2
foreach ($name in $Desired.Keys) {
$opt = '/' + $name.Replace('.', '/')
$meta = $esx.system.settings.advanced.list.Invoke(@{ option = $opt })
$cur = (Get-AdvancedSetting -Entity $h -Name $name).Value
$want = $Desired[$name]
$status = if ($null -eq $want) { 'AUDIT' } elseif ("$cur" -eq "$want") { 'OK' } else { 'DRIFT' }
if ($status -eq 'DRIFT' -and $Apply -and
$PSCmdlet.ShouldProcess($h.Name, "Set $name from $cur to $want")) {
Get-AdvancedSetting -Entity $h -Name $name |
Set-AdvancedSetting -Value $want -Confirm:$false | Out-Null
$status = if ($name -in $RebootRequired) { 'SET-REBOOT-PENDING' } else { 'SET' }
}
$rows.Add([pscustomobject]@{
Host = $h.Name; Setting = $name; Current = $cur; Desired = $want
Default = $meta.DefaultIntValue; Max = $meta.MaxValue; Status = $status })
}
}
}
finally {
$rows | Export-Csv $ReportPath -NoTypeInformation
Disconnect-VIServer -Server $vi -Confirm:$false
}
# Every setting must have ONE value across the cluster, whatever that value is.
$rows | Group-Object Setting | ForEach-Object {
$values = @($_.Group.Current | Sort-Object -Unique)
[pscustomobject]@{
Setting = $_.Name
Values = $values -join ', '
Uniform = if ($values.Count -eq 1) { 'yes' } else { 'NO' }
Drifted = @($_.Group | Where-Object Status -eq 'DRIFT').Count
}
} | Format-Table -AutoSize
07. Per-VM QoS: floors, ceilings and why most VMs need neither
QoS on a VMstore is per VM, not per datastore, which is the whole point of the platform. Tintri’s QoS design guidance defines the unit: normalized IOPS, with I/O normalized to 8 KB, so a 4 KB I/O counts as one and a 64 KB I/O counts as eight. Each VM can have a minimum (a floor) and a maximum (a ceiling).
- Maximum caps a VM. When it is reached, the VMstore delays that VM’s I/O and reports the delay as throttle latency in the VM’s latency breakdown. That makes ceilings honest: the VM owner can see exactly how much of their latency is the cap.
- Minimum matters under contention. As long as the sum of provisioned minimums stays below what the system can deliver, each VM gets at least its floor; when the system is fully busy, capacity is shared in proportion to the minimums.
- Each VMstore model has a rated normalized IOPS figure. Do not provision minimums whose sum approaches it, or the guarantee becomes a promise you cannot keep.
My design rules, which match Tintri’s own guidance that automatic per-VM scheduling handles most noisy neighbours without manual settings:
- Default: no minimum, no maximum. Let the VMstore’s per-VM scheduling do its job.
- Ceilings for a reason you can write down: a runaway batch job, a tenant who pays for a tier, a test VM that must not hurt production. Put the reason and an expiry date in the VM’s notes or a tag.
- Floors only for a short list of genuinely critical VMs, and keep the total well below the model’s rating.
- Apply QoS to groups, not individual VMs, through TGC service groups (section 09), so a new VM that matches the rule inherits the policy.
- Audit regularly. Ceilings outlive incidents. The QoS audit post is the script for that, and per-VM latency from the VMstore REST API shows how to pull the throttle component out per VM.
| Tier (example) | Min normalized IOPS | Max normalized IOPS | Use |
|---|---|---|---|
| Default | none | none | Everything not listed below |
| Protected | <FLOOR_FROM_CAPACITY_PLAN> | none | Small set of business-critical databases |
| Capped | none | <CEILING_PER_CONTRACT> | Tenants or batch workloads with a contractual limit |
| Quarantine | none | <LOW_CEILING> | Temporary, with an owner and an expiry date |
08. Snapshot and replication policy design
Snapshots
VMstore snapshots are per VM, use the file system’s 8 KB block, and Tintri states they carry no performance penalty while retained or when they expire. That makes it tempting to snapshot everything often. The decisions that matter are consistency, timing and retention.
- Default protection policy: Tintri’s data protection paper recommends configuring the VMstore default policy with crash-consistent snapshots. The default policy catches every VM nobody thought about, and crash-consistent avoids hundreds of VMs asking vCenter for a vSphere snapshot at the same instant.
- VM-consistent only where the application needs it, with VMware Tools installed and current. This is where the vCenter registration from section 03 earns its keep.
- Spread the schedule. Hourly schedules can start at a chosen minute past the hour; use different offsets for different groups. Do not schedule everything at the same minute, especially VM-consistent snapshots.
- Precedence: a VM’s custom policy wins over a TGC service group policy, which wins over the VMstore default policy. Write that down for the on-call team; it explains most “why didn’t this VM get snapshotted” questions.
- Manual snapshots never expire. They have infinite retention until someone deletes them. The snapshot sprawl audit finds them.
- Changing a schedule’s retention does not change the expiry of snapshots already taken; only new snapshots get the new retention.
Replication
ReplicateVM is Tintri’s licensed, snapshot-based asynchronous replication, per VM. It sends only changed blocks after dedupe and compression. Synchronous replication is a separate feature with zero RPO and its own failover model; the DR design and SRM integration are in part 6. The design facts from the public documents:
| Item | Public Tintri figure | Source |
|---|---|---|
| Default TCP port, asynchronous (snapshot) replication | 1304 | VMware best-practices guide, rev 3.1 |
| Default TCP port, synchronous replication | 1338, changeable, must differ from 1304 | VMware best-practices guide, rev 3.1 |
| Outbound replication paths per VMstore | up to 64 | Data protection paper, rev 1.1 |
| Destinations per VM | 1 to 4; more than one requires TGC | Data protection paper, rev 1.1 |
| Lowest RPO | one minute (“snapshot and replicate every minute”) | VMware guide and TxOS tech brief |
| TxOS on source and destination | same version recommended | VMware best-practices guide, rev 3.1 |
Design notes that go with them. Build replication paths from a dedicated replication IP (on the replication NIC if fitted), test them with the VMstore’s Test paths function before attaching any policy, and use the outbound throttle with business-hours windows if the link is shared. Open the replication ports on every firewall between the sites; the full list of Tintri service ports is in the appendix of the VMstore administration guide for your release. The one-minute mode keeps a single recovery point locally and remotely, so pair it with an hourly or daily schedule if you need history. Every replicated policy has an alert RPO threshold; set it to something your on-call team will act on, not the default. Synchronous replication and SRM are compared in this older post.
| Protection class (worksheet) | Snapshot schedule | Consistency | Local retention | Replicate to | Remote retention | RPO alert |
|---|---|---|---|---|---|---|
| Gold | hourly at :<OFFSET> plus daily | VM-consistent | <N> days | <DR_VMSTORE> | <N> days | <HOURS> |
| Silver | daily at <HH:MM> | crash-consistent | <N> days | <DR_VMSTORE> | <N> days | <HOURS> |
| Bronze (VMstore default policy) | daily at <HH:MM> | crash-consistent | <N> days | none | none | none |
09. Tintri Global Center
Tintri Global Center (TGC) is the management layer above individual VMstores. For the vSphere admin, three capabilities matter. Service groups collect VMs by membership rules (name starts with, ends with or contains a pattern, among others) and apply QoS and protection to the group, so policy follows the VM rather than the VMstore it happens to live on; a VM can belong to only one service group. One-to-many replication (a VM replicated to more than one destination) is configured through TGC. And fleet visibility: one place to see every VMstore’s capacity, performance and protection state. Tintri’s current TxOS tech brief describes TGC Advanced as able to build a federated pool of up to 64 VMstores with placement recommendations.
How I use it: naming conventions are designed so that service group rules work (for example a -gold or -db suffix), service groups own QoS and protection, per-VM custom policies are the exception and are reported weekly, and TGC is registered in the same monitoring as the VMstores. The daily Tintri fleet sweep reads every VMstore and TGC into one report, and the Tintri PowerShell Core Toolkit 5.1 post covers the cmdlets for automating it.
10. End-to-end workflow: from cabled VMstore to protected VMs
Each step has a check. Do not move on until it shows the expected result.
| # | Step | Verify with | Expected |
|---|---|---|---|
| 1 | Confirm the versions are supported together: ESXi build, TxOS, VAAI plugin (Tintri interoperability), host hardware (Broadcom and Cisco). See part 1. | esxcli system version get on a host; TxOS version on the VMstore dashboard | Every version appears in the Tintri interop list and the release notes for your TxOS |
| 2 | Configure admin, data (one data IP, tagged storage VLAN) and optional replication networks. Set MTU deliberately. | From a host: vmkping -I vmk2 -d -s 1472 10.0.30.50 (or -s 8972 for 9000) | 0% packet loss; the 8973 test fails if you run 9000 |
| 3 | Register vCenter with a dedicated service account; align NTP and DNS. | VMstore VM list; manual VM-consistent snapshot of a test VM | Real VM names; snapshot completes; vCenter shows a brief snapshot task by the service account |
| 4 | Mount the datastore on the cluster with the script, -WhatIf first, then for real. | The script’s report | Every host OK; one datastore object in vCenter |
| 5 | Add the VAAI plugin (vLCM image, part 4) and remediate host by host. | esxcli storage nfs list | Hardware Acceleration: Supported on every host |
| 6 | Audit, then apply, the NFS advanced settings; reboot hosts with heap changes. | Get-NfsAdvancedAudit output | Uniform = yes for every setting |
| 7 | Prove the offload: clone a powered-off test VM through vCenter. | grep -i vaai /var/log/vpxa.log on that host | VAAI entries for the clone; VMstore shows a clone, no burst on vmk2 |
| 8 | Set the default protection policy (crash-consistent), build replication paths, test them. | Settings, Replication, Test paths | “Test passed” for every path |
| 9 | Create TGC service groups with QoS and protection. | TGC service group membership view | Expected VMs listed; no unintended custom policies |
| 10 | Before production and before the first TxOS upgrade, do a manual controller failover in a window, as Tintri’s UCS guide recommends. | grep -i nfs /var/log/vmkernel.log and vobd.log on two hosts; VM pings | Brief NFS pause at most; no APD start; VMs keep running |
11. Troubleshooting
| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| A second datastore “<name> (1)” appears in vCenter; vMotion between some hosts refused | Hosts mounted with different server strings (IP vs FQDN), paths or labels | Mount script report; esxcli storage nfs list on each host | Maintenance mode per affected host, unmount, remount with the standard strings |
| Mount fails with “Unable to connect to NFS server” | NFS vmk not in the data subnet, storage VLAN missing on the vNIC, port group or FI appliance port | esxcli network ip interface ipv4 get; vmkping -I vmk2 <data IP> | Correct the vmk IP or VLAN on the port group, UCS vNIC template or appliance port |
| Mount works, small pings work, VMs stall under load or on large I/O | MTU mismatch somewhere in the path | vmkping -I vmk2 -d -s 8972 <data IP>; the VMstore jumbo test on both controllers | Make MTU consistent end to end, or go back to 1500 everywhere |
| Hardware Acceleration “Not Supported” on one host | Plugin missing, wrong version, or host not rebooted after install | esxcli software vib list | grep -i tintri | Remediate the host against the vLCM image; reboot |
| Thick provisioning options missing on the VMstore datastore | No VAAI-NAS on the host doing the provisioning | Same as above | Install the plugin; prefer thin anyway |
| Clones are slow and vmk2 runs hot during clone tasks | Clone ran on a host without the plugin, so the ESXi data mover copied it | grep -i vaai /var/log/vpxa.log on that host | Install the plugin on every host; check with the mount script’s HwAccel column |
| VMstore shows files but not VM names; VM-consistent snapshots fail | vCenter connection on the VMstore broken: expired or locked service account, missing privileges, DNS | VMstore vCenter connection status; vCenter events for failed logins by the service account | Update the credential or role; fix DNS from the VMstore admin network |
| Snapshot tasks and VM stun pile up at the top of the hour | Many VM-consistent schedules at the same minute | VMstore protection schedules; vCenter task list | Spread offsets; use crash-consistent for the default policy |
| Replication RPO alerts | Path down, firewall blocking 1304/1338, throttle window too tight, link saturated | Settings, Replication, Test paths; firewall logs | Fix the path or ports; adjust throttle windows |
| One VM slow, latency breakdown shows throttle latency | A QoS maximum is capping the VM | VM QoS settings on VMstore or its service group | Remove or raise the ceiling, with the owner’s agreement |
| FI uplink utilisation jumps although nothing changed in vSphere | VMstore running on data port B (port A link down), or a host lost its fabric A path | VMstore hardware view for port link states; UCS port and FEX/IFM faults | Repair the link; port A becomes active again when its link returns |
| HA warns “number of heartbeat datastores for host is 1, which is less than required: 2” | One datastore per VMstore and only one VMstore in the cluster | Cluster, vSphere HA, Heartbeat Datastores | See part 4, section 07, for the options |
12. What’s next
The VMstore is now presented to vSphere consistently, offloads are active and protection follows policy. Part 4 builds the ESXi host standard that all of this sits on: VMkernel design, teaming that matches UCS fabrics A and B, NIOC, HA heartbeating and a vLCM image with the Cisco VIC driver and the Tintri VAAI component, enforced by a PowerCLI audit. Part 5 is the layer-by-layer troubleshooting runbook, and part 6 covers upgrades, DR with replication and SRM, and the monthly checklist. For monitoring, the NFS datastore latency with OpenTelemetry post and the vSphere and VMstore latency correlation script pick up where this leaves off, and Building VCF 9 on Tintri NFS storage covers the VCF-specific bring-up.
Leave a Reply