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

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

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

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) 

Ursache

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.

Lösung

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ą

Betroffene Produkte

vProtect
Artikeleigenschaften
Artikelnummer: 000224451
Artikeltyp: Solution
Zuletzt geändert: 06 März 2025
Version:  2
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.