NVP-vProxy: VM backup or restore operation fails with "Failed to lock Virtual Machine for backup:
Resumen: NVP-vProxy: VM backup or restore operation fails with "Failed to lock Virtual Machine for backup: Another EMC vProxy operation 'File-Level-Recover' is active on VM vm-####" A VM backup or restore operation performed using the NetWorker VMware Protection (NVP) vProxy appliance fails indicating "Failed to lock Virtual Machine" ...
Este artículo se aplica a
Este artículo no se aplica a
Este artículo no está vinculado a ningún producto específico.
No se identifican todas las versiones del producto en este artículo.
Síntomas
The NetWorker VMware Protection integration is configured with the vProxy Appliance. The vProxy backups fail indicating another vProxy file level restore (FLR) operation is active and it is unable to lock the virtual machine (VM) for backup.
YYYY/MM/DD HH:MM:SS ERROR: [@(#) Build number: 43] Failed to lock Virtual Machine for backup: Another EMC vProxy operation 'File-Level-Recover' is active on VM vm-####
Depending on the operation being performed, i.e: backup, FLR, etc. The error may appear slightly different. The consistency will be "failed to lock virtual machine" and "another vProxy operation is active on VM."
Causa
The vProxy backup and FLR workflows set VM attributes at the start of the operation to prevent multiple vProxy operations on the same VM. The backup workflow will remove the VM attributes at the end of the operation to allow other operations against the VM. A previous vProxy FLR workflow encountered a problem during the execution and the VM attributes were not removed.
Resolución
The ProxyHC utility can be used to clear any leftover attributes or artifacts which may be left over after a failed or interrupted backup or recovery.
Instructions for downloading and setting up ProxyHC can be found here:
NVP-vProxy: How to use health check tool ProxyHC on vProxy appliance
1. Ensure no backups or recoveries are running in the vCenter.
2. Setup ProxyHC on the vProxy used for the failed backup/recover
3. Run the following command:
If this operation cannot be used due to other jobs running or if it does not work. The following procedure can be completed to manually clear annotations on a VM.
The "Dell EMC vProxy FLR Session" attribute needs to be reset (cleared) manually via the vSphere client. Here is a general overview of the procedure:
Figure 1: VM "Edit Custom Attributes..." option in vSphere.
b. In the VM Summary tab, select "Edit" the Annotations section.
Instructions for downloading and setting up ProxyHC can be found here:
NVP-vProxy: How to use health check tool ProxyHC on vProxy appliance
1. Ensure no backups or recoveries are running in the vCenter.
2. Setup ProxyHC on the vProxy used for the failed backup/recover
3. Run the following command:
ProxyHC disk tasks cleanup
If this operation cannot be used due to other jobs running or if it does not work. The following procedure can be completed to manually clear annotations on a VM.
The "Dell EMC vProxy FLR Session" attribute needs to be reset (cleared) manually via the vSphere client. Here is a general overview of the procedure:
- Open the vSphere web Client.
- Locate the affected VM in VMware inventory.
- Perform one of the following options to access the annotations:
a. Right click the VM, select Tags & Custom Attributes then select Edit Custom Attributes:
Figure 1: VM "Edit Custom Attributes..." option in vSphere.
b. In the VM Summary tab, select "Edit" the Annotations section.
Figure 2: vSphere web client VM custom attributes.
- Select the Dell EMC vProxy FLR Session attribute and then click on the X to delete it.
Figure 3: Steps required to delete a VM attribute.
NOTE: Optionally, you can delete all of the "Dell EMC" attributes. They will be recreated when the next vProxy backup, restore, or cleanup operation is performed.
- Select "OK" in the Edit Annotations window.
Información adicional
Productos afectados
NetWorkerProductos
NetWorkerPropiedades del artículo
Número del artículo: 000050701
Tipo de artículo: Solution
Última modificación: 18 set. 2025
Versión: 5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.