- Veeam Support Knowledge Base
- VMs stored on vVols may experience a significant stun during the snapshot removal process after the backup session.
VMs stored on vVols may experience a significant stun during the snapshot removal process after the backup session.
| KB ID: | 3055 |
| Product: | Veeam Backup & Replication | 9.5 | 10 | 11 | 12 | 12.1 | 12.2 | 12.3 | 12.3.1 | 12.3.2 | 13 | 13.1 |
| Published: | 2019-11-22 |
| Last Modified: | 2022-07-18 |
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
Challenge
During the snapshot removal operation that occurs at the end of a backup/replication job for a VM stored on a vVol Datastore, the following is observed:
- The Guest OS of the VM being processed is stunned or frozen.
- Monitoring software may report that the Guest OS is inaccessible due to a lack of ping response.
Cause
The snapshot removal process hangs as it waits for the volume to unbind on the ESXi host. This issue can occur with any ESXi configuration using vVols on vCenter 6.0 and later versions.
This occurs when the following factors are combined:
- The VM being protected is on a vVol Datastore
- The Backup Proxy is a VM on a different host than the VM being processed.
- The Backup Proxy is using the Virtual Appliance (HOTADD) transport mode.
Solution
VMware Recommended Solution
This solution is based on VMware KB51538, which states:
To resolve this issue place the virtual machine which exists in the vVOL datastore and the virtual machine which involves in the backup process on the same ESXi host. This will ensure that the bind operation is held by the same ESXi host and snapshot consolidation completes without causing long pause.
- Create a Backup Proxy on every host in the VMware cluster where backups occur.
- Create the following registry value on the Veeam Backup Server.
Key Location: HKLM\Software\Veeam\Veeam Backup and Replication\
Value Name: EnableSameHostHotaddMode
Value Type: DWORD (32-Bit) Value
Value Data:
For the value data, there are two options, 1 or 2. Both values 1 or 2 will enable a feature that forces Veeam Backup & Replication to first attempt to use, and wait for, the Proxy that is on the same host as the VM to be backed up. The difference between the two is as follows:- 1 - If proxy on the same host as VM becomes unavailable, Veeam Backup & Replication will failover to any available proxy and use the available transport mode. This may lead to a situation where a proxy on another host is selected, and hotadd is used, which may cause stun. This ensures the highest performance but may risk VM stun.
- 2 - If proxy on the same host as VM becomes unavailable, Veeam Backup & Replication will use any available proxy but use network transport mode. This minimizes all stun risk but may reduce backup performance when forced to use Network transport mode.
Alternate Solution
Starting with Veeam Backup & Replication v9.5 U3 (9.5.0.1536), a setting was added to allow for the configuration of a delay between the detachment of hotadded disks and the request for snapshot removal. This delay can be configured using the following registry value:
Create On: Veeam Backup Server
Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
Value Name: HotaddTimeoutAfterDetachSec
Value Type: DWORD (32-bit) Value
Value Data: 60
The delay is measured in seconds and may need additional adjustment based on the environment. In most cases, 60 seconds has been plenty of time for disks to detach from the proxy before the snapshot removal request was issued. A smaller delay may also work. However, a larger delay may be required in some environments.
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.