PowerProtect: Il backup della macchina virtuale non riesce e indica che è in corso una sincronizzazione DPD
Summary: Alcuni backup degli asset delle macchine virtuali (VM) hanno iniziato a non riuscire dopo il loro completamento. I dettagli dell'errore indicano che l'attività vCenter ha esito negativo con un errore TSDM che indica "DPD Sync in progress". ...
Symptoms
PowerProtect Data Manager viene utilizzato per proteggere l'ambiente vSphere con la soluzione Transparent Snapshot Data Mover (TSDM). Alcuni backup degli asset delle VM hanno iniziato a non riuscire, mentre in passato venivano completati correttamente. I dettagli dell'errore indicano che l'attività vCenter ha esito negativo con un errore TSDM che indica "DPD Sync in progress." I dettagli ABV0016 e ABV0006 mostrano:
ABV0016: VM Direct engine 'localhost' is unable to back up the virtual machine 'my-vm-name' on vCenter 'my-vcernter-name' because of a vCenter API issue. The VM Direct engine cannot complete the backup of this virtual machine because of a vCenter API operation did not complete successfully. To troubleshoot this issue: 1) Verify that the vCenter can be reached. 2) If the vCenter is busy, wait for some activities to complete and then retry the operation. 3) Verify that the virtual machine exists on the vCenter. Read Less Unable to cleanup from earlier backup attempt. Unable to cleanup session 'Backup:6755cb99-3de5-4731-8b6f-6c64bb809f0b' from virtual machine 'my-vm-name' (MORef = 'vm-241'). Unable to cancel TSDM / LWD snapshot. The vCenter task for 'Cancel SDM Snapshot' completed with state 'error': DPD Sync in progress.
ABV0006: VM Direct engine 'localhost' is unable to back up the virtual machine 'my-vm-name' on vCenter 'my-vcernter-name' because of a vCenter API issue. The VM Direct engine cannot complete the backup of this virtual machine because of a vCenter API operation did not complete successfully. To troubleshoot this issue: 1) Verify that the vCenter can be reached. 2) If the vCenter is busy, wait for some activities to complete and then retry the operation. 3) Verify that the virtual machine exists on the vCenter. Read Less vCenter task 'task-943698' failed: VimFault: 'dp.vpx.fault.SnapshotInProgress.summary': DPD Snapshot in progressLa sessione di backup può mostrare i seguenti output di stato:
...
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] },
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Status": {
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "State": "Failure",
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Description": "Backup is unsuccessful: Unable to cleanup from earlier backup attempt. Unable to cleanup session 'Backup:6755cb99-3de5-4731-8b6f-6c64bb809f0b' from virtual machine 'vm-vm-name' (MORef = 'vm-241'). Unable to cancel TSDM / LWD snapshot. The vCenter task for 'Cancel SDM Snapshot' completed with state 'error': DPD Sync in progress",
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Progress": 0,
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Error": {
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Text": "Unable to cleanup from earlier backup attempt. Unable to cleanup session 'Backup:6755cb99-3de5-4731-8b6f-6c64bb809f0b' from virtual machine 'vm-vm-name' (MORef = 'vm-241'). Unable to cancel TSDM / LWD snapshot. The vCenter task for 'Cancel SDM Snapshot' completed with state 'error': DPD Sync in progress",
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Code": 0,
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Classifications": [],
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Retryable": false,
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] "Remedy": null
YYYY-MM-DD HH:MM:SS INFO: [acae20b6ae1ca9c8;aac63ea8d0fb1d9e] },
...
...
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] },
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Status": {
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "State": "Failure",
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Description": "Backup is unsuccessful: vCenter task 'task-943698' failed: VimFault: 'dp.vpx.fault.SnapshotInProgress.summary': DPD Snapshot in progress, TSDM snapshot UUID = '52031978-18dd-444a-37fd-9c070de84cc5'",
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Progress": 0,
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Error": {
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Text": "vCenter task 'task-943698' failed: VimFault: 'dp.vpx.fault.SnapshotInProgress.summary': DPD Snapshot in progress, TSDM snapshot UUID = '52031978-18dd-444a-37fd-9c070de84cc5'",
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Code": 0,
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Classifications": [],
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Retryable": false,
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] "Remedy": null
YYYY-MM-DD HH:MM:SS INFO: [a3f45e322add25ec;bb6e18b9d1e8178c] },
...
Cause
La VM interessata dispone di un attività vSphere Snapshot Data Mover (SDM) orfana che il flusso di lavoro di backup TSDM non può annullare a causa di incoerenze nel daemon dpd . Il motivo dell'attività orfana o dell'incoerenza dpd rimane non identificato.
Resolution
Il daemon dpd deve essere riavviato sull'host ESXi e la funzione SDM deve essere disabilitata e abilitata sulla VM interessata. Accertarsi che non vi siano backup di macchine virtuali prima di riavviare il daemon dpd :
- Aprire una sessione SSH sull host ESXi.
- Riavviare il daemon dpd :
/etc/init.d/dpd restart
[root@my-server ~]# ssh root@my-esx The authenticity of host 'my-esx (192.168.9.111)' can't be established. ECDSA key fingerprint is SHA256:LHQVSVzDSw7ezlDVG59nyGD+C/Ugcx/jaSLMbzsY18U. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'my-esx' (ECDSA) to the list of known hosts. (root@my-esx) Password: The time and date of this login have been sent to the system logs. WARNING: All commands run on the ESXi shell are logged and may be included in support bundles. Do not provide passwords directly on the command line. Most tools can prompt for secrets or accept them from standard input. VMware offers powerful and supported automation tools. Please see https://developer.vmware.com for details. The ESXi Shell can be disabled by an administrative user. See the vSphere Security documentation for more information. [root@my-esx:~] /etc/init.d/dpd restart Restarting dpd: dpd stopped. Setting the memory limit for dpd resource pool on this host to 320 MB Setting max number of file descriptors to 32768 Setting MALLOC_ARENA_MAX to 20 success [root@my-esx:~]
Di seguito sono riportati alcuni dei metodi disponibili per disabilitare e abilitare l SDM sulla VM interessata.
Metodo 1
Modificare il meccanismo di protezione degli asset VM interessato.
- Aprire una sessione del browser per PowerProtect Data Manager ed eseguire l'autenticazione con un account amministratore.
- Accedere a Infrastructure>Assets >Virtual Machines.
- Selezionare la macchina virtuale interessata.
- Selezionare l'elenco a discesa More Actions>Protection Mechanism>Migrate to VADP.
- vSphere Web Client mostra un'attività per la macchina virtuale per disabilitare il filtro Delta leggero (LWD).
- Seleziona l'elenco a discesa More Actions>Protection Mechanism>Migrate to Transparent Snapshots.
- vSphere Web Client mostra un attività per la macchina virtuale per abilitare il filtro LWD.
- Eseguire un backup o monitorare l'esecuzione pianificata del backup.
Metodo 2
Rimuovere e aggiungere la VM interessata dalla policy di protezione.
- Aprire una sessione del browser per PowerProtect Data Manager ed eseguire l'autenticazione con un account amministratore.
- Accedere a Infrastructure>Assets >Virtual Machines.
- Selezionare la macchina virtuale interessata.
- Selezionare l'elenco a discesa More Actions>Remove from Policy.
- vSphere Web Client mostra un'attività per la macchina virtuale per disabilitare il filtro Delta leggero (LWD).
- Selezionare l'elenco a discesa More Actions>Add to Policy e seguire la procedura guidata per aggiungere alla policy di protezione.
- vSphere Web Client mostra un attività per la macchina virtuale per abilitare il filtro LWD.
- Eseguire un backup o monitorare l'esecuzione pianificata del backup.
Metodo 3
The PowerProtect Data Manager vmconfig L'utilità della riga di comando può essere utilizzata per modificare l'impostazione della funzione SDM per la VM interessata.
- Accedere a PowerProtect Data Manager Appliance utilizzando SSH con l'account amministratore:
ssh admin@my-ppdm-name
- Passare all'utente root:
sudo su
- Caricare le variabili di ambiente:
source /opt/emc/vproxy/unit/vproxy.env
- Passare alla directory bin del vProxy:
cd /opt/emc/vproxy/bin/
- Costruisci il
vmconfigsostituendo le informazioni tra parentesi:- Controllare lo stato della VM:
./vmconfig -v <vcenter-ip-fqdn> -u '<vcenter-user-name>' -p '<vcenter-user-pwd>' -l dns -k <VM DNS name> -c info
- Disabilitare l'SDM sulla VM:
./vmconfig -v <vcenter-ip-fqdn> -u '<vcenter-user-name>' -p '<vcenter-user-pwd>' -l dns -k <VM DNS name> -c disable-sdm
- Abilitare l SDM sulla VM:
./vmconfig -v <vcenter-ip-fqdn> -u '<vcenter-user-name>' -p '<vcenter-user-pwd>' -l dns -k <VM DNS name> -c enable-sdm
- Eseguire un backup TSDM di PowerProtect Data Manager per verificare che il problema sia stato risolto.