Host-based backup of Microsoft Hyper-V VMs.
Post Reply
twindscheif
Lurker
Posts: 1
Liked: never
Joined: Jul 05, 2019 2:51 pm
Full Name: Thomas Windscheif
Contact:

[Case 03648507] - Failed to connect to guest agent: unable to obtain guest DNS name or IP address

Post by twindscheif »

I cannot create application aware backup of an Windows Server 2019 Essentials guest.
The guest have the role Active Directory role installed.
I created an AD-user with Domain Admin permission which is used for the guest Backup.

If i try the credentials i get:
"Failed to connect to guest agent: unable to obtain guest DNS name or IP address. (System.Exception)"
If i use the same credentials to logon on admin$-Share from veeam B&R-machine it works.
I already disabled the firewall on both systems (guest and Hyper-V-Host). veeam B&R is installed on the Hyper-V host.
I also removed the VSSVeeam Plugin from the guest manually with sc delete.
Additionally i reinstalled veeam B&R on the host.

environment:
Windows Server 2019 Essentials (Hypervisor) (current patchlevel)
Windows Server 2019 Essentials (Guest) (current patchlevel)
veaam Backup & Replication Community Edition 9.5.4.2753
Hyper-V-host is not member of the active directory.
i manually setup the DNS Suffix for the Hyper-V networkadapter to match the DNS-suffix of the guest.
i set up guest as default dns for Hyper-V-host.
Guest and Hyper-V are sharing the same nic (via HYper-Switch; type: external; ManagementOSSharing)

VM-Parameter:
Generation 1 VM
all Hyper-V guestintergation except timesync and guestintegration are enabled.
Legacy Netzwerkadapter
guest operationsystem configuration:
Active Directory Domain Services installed
Print- and Fileservices installed
IPv6 disabled (via DisabledComponents)

Following the failure part of the Console.Log:

Code: Select all

02.07.2019 22:35:49] <11> Info     [TaskLog] 'Machines count: 1' append, OrdinalId 2, Status ESucceeded, Desc ''
[02.07.2019 22:35:49] <11> Info     [TaskLog] 'Building list of machines to process' update, OrdinalId 1, UpdateUsn 1, Status ENone, Desc ''
[02.07.2019 22:35:49] <17> Info     [TaskLog] 'Processing machine: TD1VADS01-Gen1' append, OrdinalId 4, Status ENone, Desc ''
[02.07.2019 22:35:49] <17> Info     [TaskLog] 'Finding VM reference on host TD1BHYV01 ' append, OrdinalId 1, Status ENone, Desc ''
[02.07.2019 22:35:49] <17> Info     [TaskLog] 'VM reference: 76e659ab-9f41-4aaa-b7f6-269620d86165' append, OrdinalId 2, Status ESucceeded, Desc ''
[02.07.2019 22:35:49] <17> Info     [TaskLog] 'Finding VM reference on host TD1BHYV01 ' update, OrdinalId 1, UpdateUsn 1, Status ENone, Desc ''
[02.07.2019 22:35:49] <17> Info     [TaskLog] 'Collecting guest OS info.' append, OrdinalId 4, Status ENone, Desc ''
[02.07.2019 22:35:50] <17> Info     [TaskLog] 'VM is powered on.' append, OrdinalId 5, Status ESucceeded, Desc ''
[02.07.2019 22:35:50] <17> Info     [TaskLog] 'IP addresses: n\a' append, OrdinalId 6, Status ESucceeded, Desc ''
[02.07.2019 22:35:50] <17> Info     [TaskLog] 'Guest OS: Microsoft Windows Server 2019 (1809)' append, OrdinalId 7, Status ESucceeded, Desc ''
[02.07.2019 22:35:50] <17> Info     [TaskLog] 'Collecting guest OS info.' update, OrdinalId 4, UpdateUsn 4, Status ENone, Desc ''
[02.07.2019 22:35:50] <17> Info     [TaskLog] 'Checking standard credentials' append, OrdinalId 9, Status ENone, Desc ''
[02.07.2019 22:35:50] <17> Info     [TaskLog] 'Connecting to guest OS via RPC' append, OrdinalId 10, Status ENone, Desc ''
[02.07.2019 22:35:50] <207> Info     [TaskLog] 'Testing admin share accessibility via RPC' append, OrdinalId 11, Status ENone, Desc ''
[02.07.2019 22:35:50] <207> Info     [TaskLog] 'Testing admin share accessibility via RPC' update, OrdinalId 11, UpdateUsn 11, Status ENone, Desc ''
[02.07.2019 22:35:51] <17> Error    Failed to connect to guest agent: unable to obtain guest DNS name or IP address. (System.Exception)
[02.07.2019 22:35:51] <17> Error    Server stack trace: 
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.VssProvider.CGuestRpcConnection.ConnectInternal(IVeeamGAConnection connection, String vmDisplayName, String vmHostName, String[] ipAddresses, CCredentials vmCreds, Boolean isForceConnectByIp, Boolean isOnPort, Int32 port)
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.VssProvider.TestGuest.GuestConnection.ConnectViaRpc()
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.Satellite.CSatelliteGuestConnectionTesterServiceStub.TestAvailabilityAdminShare(Boolean viaVmwareAPI, Boolean viaPsDirect)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
[02.07.2019 22:35:51] <17> Error    Exception rethrown at [0]: 
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.Interaction.Management.ISatelliteGuestConnectionTesterService.TestAvailabilityAdminShare(Boolean viaVmwareAPI, Boolean viaPsDirect)
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.Service.CGuestConnectionTesterService.TestAvailabilityAdminShare(CGuestConnectionSpec spec, Boolean viaVix, Nullable`1 psDirectHostId)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
[02.07.2019 22:35:51] <17> Error    Exception rethrown at [1]: 
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.Interaction.Management.IGuestConnectionTesterService.TestAvailabilityAdminShare(CGuestConnectionSpec spec, Boolean viaVmwareAPI, Nullable`1 psDirectHostId)
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.Interaction.Management.Client.CGuestConnectionTesterServiceProxy.<>c__DisplayClass4.<TestAvailabilityAdminShare>b__3()
[02.07.2019 22:35:51] <17> Error       bei Veeam.Common.Remoting.CRetryableMethod.<>c__DisplayClass4.<DoInvoke>b__3()
[02.07.2019 22:35:51] <17> Error       bei Veeam.Common.Remoting.CRetryableMethod.DoInvoke[Ret](ActionDelegate`1 dlg)
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.Core.CVssTester.TestAvailabilityAdminShare(Boolean isVmwareAPI, Boolean viaPsDirect)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
[02.07.2019 22:35:51] <17> Error    Exception rethrown at [2]: 
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
[02.07.2019 22:35:51] <17> Error       bei System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
[02.07.2019 22:35:51] <17> Error       bei System.Action.EndInvoke(IAsyncResult result)
[02.07.2019 22:35:51] <17> Error       bei Veeam.Backup.Core.CVssTester.TestConnection(Boolean viaVix, Boolean viaPsDirect)
In my opinion veeam fails to retrieve the guests ip-address, although i can retrieve the ip via Hyper-V on Hyper-V-host.
Is there an option to trace the ip retrieving part?

Regards,
Thomas
HannesK
Product Manager
Posts: 14836
Liked: 3083 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: [Case 03648507] - Failed to connect to guest agent: unable to obtain guest DNS name or IP address

Post by HannesK »

Hello,
and welcome to the forums.

Just some guessing as normally (case closed as it is free product) support is there to investigate that.

1) are other VMs working with application aware processing?
2) as you write "current patchlevel", are you maybe running on 1903? Then I would give update 4b a try which adds support for it

best regards,
Hannes

PS: you are aware that running VBR in the Hyper-V parent partition is not a good idea?
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 25 guests