Avamar: Hyper-V-sikkerhetskopieringer mislykkes med Access Denied-feil
Summary: Avamar – Hyper-V-sikkerhetskopieringer mislykkes med Ingen tilgang-feil.
Symptoms
I dette tilfellet opplever vi Hyper-V-sikkerhetskopieringsfeil, og sikkerhetskopiloggene viser feilmeldingene "AccessDenied" i henhold til eksemplet nedenfor:
From Hyper-V Plugin log: ================ avhypervvss Info <0000>: Error in connecting with the namespace: Exception 'GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' avhypervvss Info <0000>: Failed to get the VM info: Excpetion 'GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' avhypervvss Info <0000>: QueryVmsBasic : QueryVmsBasic : GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) avhypervvss Info <0000>: QueryVmsFull : QueryVmsBasic : QueryVmsBasic : GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) avhypervvss Info <0000>: GetClusterVMs : QueryVmsFull : QueryVmsBasic : QueryVmsBasic : GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) avhypervvss Info <0000>: Exception in GetClusterVMs GetClusterVMs : QueryVmsFull : QueryVmsBasic : QueryVmsBasic : GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). avhypervvss Error <41753>: Unable to get the clustered VMs for backup. avhypervvss Error <41731>: Failed to collect the list of local VMs on this host avhypervvss Error <41581>: Failed to backup targets. Unable to expand targets. avhypervvss Error <41662>: Failed to validate and expand the targets. avhypervvss Error <41659>: Backup did not complete successfully From cluster service log: ================ winclustersvc DEBUG<0000>: ===> QueryVmsFull winclustersvc INFO<0000>: Get the basic info for the target VMs winclustersvc INFO<0000>: Start getting the basic of the VMs winclustersvc DEBUG<0000>: Connect with namespace '\\xxxxxxxx\root\virtualization\v2' winclustersvc ERROR<0000>: Error in connecting with the namespace: Exception 'GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' winclustersvc ERROR<0000>: Failed to get the VM info: Excpetion 'GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' winclustersvc ERROR<0000>: QueryVmsBasic : QueryVmsBasic : GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) winclustersvc ERROR<0000>: QueryVmsFull : QueryVmsBasic : QueryVmsBasic : GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) winclustersvc ERROR<0000>: GetClusterVMs : QueryVmsFull : QueryVmsBasic : QueryVmsBasic : GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) winclustersvc ERROR<0000>: Exception in GetClusterVMs GetClusterVMs : QueryVmsFull : QueryVmsBasic : QueryVmsBasic : GetWmiConnection : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
Cause
Denne typen feil er selvforklarende. Disse feilene betyr at brukerkontoen for Avamar-tjenestene (lokal agent og klyngeagent) ikke har tilstrekkelige tillatelser til å kjøre WMI-spørringer (Windows Management Instrumentation).
For å løse dette problemet må du gi riktige tillatelser til brukerkontoen som brukes til å kjøre Avamar-klienttjenestene.
Resolution
Hvis du vil korrigere brukertillatelser for sikkerhetskopiering, følger du KB-artikkelen nedenfor:
Avamar: Hyper V plug-in - Hvordan manuelt opprette og konfigurere brukerkontoen med og uten å bruke Domain Admin Privileges.
Additional Information
Dette er også nevnt mer detaljert i "Brukerveiledning for Dell Avamar for Hyper-V". Se koblingen til veiledningen for versjon 19.10 eller for andre versjoner på kundestøttesiden for Avamar.