vCenter VAMI Backup Fails with NT_STATUS_CONNECTION_DISCONNECTED - VMware vCenter Server
search cancel

vCenter VAMI Backup Fails with NT_STATUS_CONNECTION_DISCONNECTED - VMware vCenter Server

book

Article ID: 439915

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • vCenter Server file-based backups to an SMB share fail intermittently or consistently. The backup progress may start but terminates prematurely during the database phase due SMB share disconnection.
  • When reviewing the /var/log/vmware/applmgmt/backup.log on the vCenter Server Appliance, you observe errors indicating the connection was disconnected during the database backup phase:

INFO: out: NT_STATUS_CONNECTION_DISCONNECTED closing remote file \vCenter\...\database_full_backup.tar.gz

ERROR: Command failed with error: NT_STATUS_CONNECTION_DISCONNECTED

ERROR: [SMBClientStorageIOLib::get_plugin_error:SMBClientStorageIOLib.py:81] ERROR: Command failed with error: NT_STATUS_CONNECTION_DISCONNECTED

Environment

VMware vCenter Server

Cause

This issue is typically not caused by the vCenter Server software. The error `NT_STATUS_CONNECTION_DISCONNECTED` is a response from the SMB client library indicating that the network session between the vCenter Server (source) and the SMB storage server (destination) was interrupted or forcibly closed.

Common triggers include:

  • Network packet loss or high latency.
  • Firewall session timeouts or TCP resets.
  • SMB server-side connection limits or resource exhaustion.
  • Intermittent routing issues between the source and destination subnets.

Resolution

Follow the troubleshooting steps to resolve the issue:

1. Validate Network Path Stability

    1. Perform a continuous ping or traceroute between the vCenter Server IP and the SMB Server IP to identify latency spikes or packet loss during the backup window.
    2. Review firewall logs between the two endpoints for any dropped packets or terminated long-lived TCP sessions (specifically on Port 445).

2. Test Manual SMB Transfer

    1. Log into the vCenter Server via SSH.
    2. Attempt a manual file transfer using `smbclient` to determine if the disconnect is reproducible outside of the backup utility:
    3. smbclient //<SMB-Server-IP>/<Share-Name> -U <Username> -m SMB3
    4. Try uploading a large test file (e.g., 1GB+) to see if the session remains stable.

3. Check SMB Server Configuration

    1. Ensure the SMB server is not reaching its maximum concurrent connection limit.
    2. Verify that the storage device is not experiencing performance bottlenecks that could lead to I/O timeouts and subsequent session resets.

4. Isolate Backup Payload (Optional)

    1. As a workaround to confirm if payload size impacts the stability, attempt a backup while deselecting **Stats, Events, and Tasks (SEAT)** in the VAMI backup configuration. If the backup succeeds with a smaller payload, it further confirms that the network environment is struggling with sustained, large data transfers.

Additional Information

Reference documents on 8.0U3i for VAMI backup:

vCenter 8.0 Update 3i adds the following enhancements to file-based backup and restore:

  • Backup retention triggers 1 hour before a scheduled backup. In previous releases, backup retention triggers at midnight and could fail if a backup is also scheduled for midnight.
  • Adds backup connection validations to test backup server connectivity before starting a backup. The validation identifies unsupported configurations on the backup server before the backup triggers.
  • Adds enhanced messages for backup failures when a reason can be identified. For example, instead of a generic message such as
    BackupManager encountered an exception. See logs for details. https://<hostname>/appliance/support-bundle
    , you see a message with details and specific recommendations, such as
    Failed to send data to the destination server. Check network connectivity permissions or available space on the server. See logs for details. https://<hostname>/appliance/support-bundle
    .
     

    In any of the steps above does not help resolve the issue, reach out to Broadcom Support for further assistance.