Vprotect: I backup Hyper-V non riescono con errore interno del server (esportazione)
Summary: Il backup di Hyper-V ha esito negativo con l'errore vProtect "ExternalAPIException: Errore interno del server"
Symptoms
Il backup ha esito negativo e viene visualizzato il seguente messaggio "ExternalAPIException: Internal Server Error"
Controllare i log del nodo per l'errore mostrato di seguito:
[2024-04-10 20:24:18.531] ERROR [pool-5-thread-6] HypervRequestSender.send:43
[e4b640a5-7784-4195-a909-6294d3763d0f] ApiException, code 500
[2024-04-10 20:24:18.531] ERROR [pool-5-thread-6] ExportTask.run:135
[e4b640a5-7784-4195-a909-6294d3763d0f] Backup task failed:
com.dell.vprotect.engine.exception.ExternalAPIException: Internal Server Error
at com.dell.vprotect.engine.hypervisor.hyperv.HypervRequestSender.send(HypervRequestSender.java:48) ~[engine.jar:?]
at com.dell.vprotect.engine.hypervisor.hyperv.HypervApi.createAndUploadRctMap(HypervApi.java:283) ~[engine.jar:?]
at com.dell.vprotect.engine.hypervisor.hyperv.vmexport.DdBoostExport.createAndUploadRctMapToDdBoostAndUpdateBackupFiles(DdBoost
Export.java:221) ~[engine.jar:?]
at com.dell.vprotect.engine.hypervisor.hyperv.vmexport.DdBoostExport.lambda$exportIncremental$6(DdBoostExport.java:163) ~[engin
e.jar:?]
Controllare i registri dell'agent Hyper-V vProtect e l'errore sarà simile al seguente:
2024/04/10 20:27:06.761 [e4b640a5-7784-4195-a909-6294d3763d0f] Microsoft.Management.Infrastructure.CimException: The WS-Management service cannot process the request. The computed response packet size (585610) exceeds the maximum envelope size that is allowed (512000). at Microsoft.Management.Infrastructure.Internal.Operations.CimSyncEnumeratorBase`1.MoveNext() at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source) at Microsoft.Management.Infrastructure.CimSession.InvokeMethod(String namespaceName, CimInstance instance, String methodName, CimMethodParametersCollection methodParameters, CimOperationOptions options)
Cause
Le dimensioni predefinite di WSMan:\localhost\MaxEnvelopeSizeKb è 500 (kilobyte) che corrisponde a 512.000 byte.
Se l'agent tenta di trasferire più dati DDboost Al di sopra di questo, viene generata un'eccezione.
Resolution
Accedere all'hypervisor che ospita la macchina virtuale con il backup non riuscito.
Controllare le dimensioni di WSMan:\localhost\MaxEnvelopeSizeKb (con PowerShell come amministratore)
PS C:\Users\Administrator> Get-Item -Path WSMan:\localhost\MaxEnvelopeSizeKb WSManConfig: Microsoft.WSMan.Management\WSMan::localhost Type Name SourceOfValue Value ---- ---- ------------- ----- System.String MaxEnvelopeSizekb 500 PS C:\Users\Administrator>
Aumentare il valore dal valore predefinito di 500 a un valore maggiore del numero di byte inviati
PS C:\Users\Administrator> Set-Item -Path WSMan:\localhost\MaxEnvelopeSizeKb 600 PS C:\Users\Administrator> Get-Item -Path WSMan:\localhost\MaxEnvelopeSizeKb WSManConfig: Microsoft.WSMan.Management\WSMan::localhost Type Name SourceOfValue Value ---- ---- ------------- ----- System.String MaxEnvelopeSizekb 600 PS C:\Users\Administrator>
Eseguire nuovamente il backup