Vprotect: Tworzenie kopii zapasowych funkcji Hyper-V nie powiodło się z wewnętrznym błędem serwera (eksport)

Summary: Tworzenie kopii zapasowej funkcji Hyper-V kończy się niepowodzeniem z błędem vProtect "ExternalAPIException: Internal Server Error"

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Tworzenie kopii zapasowej kończy się niepowodzeniem z komunikatem "ExternalAPIException: Wewnętrzny błąd serwera"

Sprawdź dzienniki węzła pod kątem błędu pokazanego poniżej:
[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:?]

Sprawdź dzienniki agenta vProtect Hyper-V, a błąd będzie podobny do:
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

Domyślny rozmiar WSMan:\localhost\MaxEnvelopeSizeKb to 500 (kilobajtów), czyli 512 000 bajtów.

Jeśli agent spróbuje przesłać więcej danych za pośrednictwem DDboost niż ten, zostanie zgłoszony wyjątek.

Resolution

Uzyskaj dostęp do monitora maszyny wirtualnej obsługującego maszynę wirtualną, której kopia zapasowa uległa awarii.
Sprawdź rozmiar WSMan:\localhost\MaxEnvelopeSizeKb (z programem PowerShell jako administratorem)
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>

Zwiększ wartość z domyślnej 500 do wartości większej niż liczba wysyłanych bajtów
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>

Uruchom ponownie kopię zapasową

Affected Products

vProtect
Article Properties
Article Number: 000224451
Article Type: Solution
Last Modified: 06 Mar 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.