Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Please, try again later.
Instant VM recovery of a VMware VM fails after at least 30 minutes with the error:
Failed to publish VM
Veeam Backup & Replication implements timeouts for most operations to protect against hangs. However, even when no process is hung, timeouts may occur due to significant performance problems or an unusual use case.
Typically, this error occurs due to the slow performance of the vPower NFS datastore. Possible causes of the slow performance:
Increase the timeouts below to several times the default value. Although you can increase the timeouts beyond these limits, it is usually better to investigate performance first if you are performing a test or low-priority restore. In an emergency, increase the timeouts as high as necessary, or create a Severity 1 case with Veeam Support for assistance in finding a workaround.
All values are created on the Veeam Backup Server. Some may not exist already and must be created.
All values are in decimal. Make sure no jobs, restores, or other tasks are running, then restart the Veeam Backup Service to apply these changes.
Controls general timeout between all services.
Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication
Value Name: RemotingTimeout
Value Type: DWORD (32-Bit) Value
Value Data Default: 900 (seconds)
Value Data Suggested: 7200
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam Backup and Replication\' -Name 'RemotingTimeout' -Value 7200 -PropertyType DWORD -Force
This applies to mounting VMware virtual disks from backup or storage snapshots for instant VM recovery, except when restoring to vCloud Director.
Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication
Value Name: IrMountLeaseTimeOut
Value Type: DWORD (32-Bit) Value
Value Data Default: 30 (minutes)
Value Data Suggested: 90
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam Backup and Replication\' -Name 'IrMountLeaseTimeOut' -Value 90 -PropertyType DWORD -Force
This applies to mounting VMware virtual disks from backup for instant VM recovery to vCloud Director.
Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication
Value Name: IrVcdMountLeaseTimeOut
Value Type: DWORD (32-Bit) Value
Value Data Default: 45 (minutes)
Value Data Suggested: 120
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam Backup and Replication\' -Name 'IrVcdMountLeaseTimeOut' -Value 120 -PropertyType DWORD -Force
Note: Additional considerations and timeout values may be applicable to restore from storage snapshots.
The most common cause of these errors is slow read performance from the backup repository. Deduplicating storage is not recommended as a back-end for vPower-based restores. Where possible, optimize storage devices for random read I/O of large blocks (typically 256 KB – 512KB with default settings or 4 MB for backups on deduplicating storage; your use case may vary). A simple benchmark is described in KB2014.
As a workaround or to verify that storage performance is the cause of the timeout, try temporarily moving the backup files to faster storage.
Where possible, ensure the vPower NFS server, the repository, and the destination ESXi host for the restore are all located at the same site. Avoid creating unnecessary bottlenecks by sending restore traffic over the WAN.
User Guide:
The remotingTimeout setting affects all processes and services communicating with the Veeam Backup Service. Communication failures will sometimes be retried, so an operation may not fail until this timeout has occurred multiple times.
Consider that, from a networking and vSphere configuration perspective, there is little difference between vPower and any other NFS datastore.
VMware Technical Paper: Best Practices for Running vSphere on NFS Storage
Your feedback has been received and will be reviewed.
Please, try again later.
Please try select less.
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case
Your feedback has been received and will be reviewed.
Please, try again later.