Skip to main content

[What (else) is new in v11 - VII] Persistent guest agent


vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments

Default behavior in VBR (incl. v11!): When a VM gets application-aware backed up, runtime components gets installed at start of job and are removed at the end. With v11 we have the option to install them persistent!

 

 

This increases security! No Admin-Share and VIX-access is necessary any more. But it is required to deploy the Veeam Installer Service on the VMs you want to use persistent components.

 

 

This can be done by manual installation, Group policy roll-out, or by adding the VM to managed Servers.

 

When everything works fine, components are installed persistently:

 

 

If you enable this feature and something does not work (as installer is not deployed, ..), VBR tries to run non-persistent components.

43 comments

Eddie Kwok
Forum|alt.badge.img+1
  • Experienced User
  • 49 comments
  • February 22, 2021

Thank you @vNote42 for sharing, could you please let me want to know the use of this component, and where is it used?


BertrandFR
Forum|alt.badge.img+8
  • Influencer
  • 527 comments
  • February 22, 2021

Awesome share @vNote42 , thank you i hadn’t read that in the release notes


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • February 22, 2021
Eddie Kwok wrote:

Thank you @vNote42 for sharing, could you please let me want to know the use of this component, and where is it used?


It is used if you enable application aware processing for a windows VM; that way Veeam will prepare the VM/application and do additional tasks. This process is always removed from the VM afterwards. With the persistent agent Veeam doesn't have to deploy it for every job run; less firewall configuration and better security.

BertrandFR wrote:

Awesome share @vNote42 , thank you i hadn’t read that in the release notes

Have the release notes already been published?
 


MicoolPaul
Forum|alt.badge.img+23
  • 2360 comments
  • February 22, 2021
regnor wrote:
Eddie Kwok wrote:

Thank you @vNote42 for sharing, could you please let me want to know the use of this component, and where is it used?


It is used if you enable application aware processing for a windows VM; that way Veeam will prepare the VM/application and do additional tasks. This process is always removed from the VM afterwards. With the persistent agent Veeam doesn't have to deploy it for every job run; less firewall configuration and better security.

BertrandFR wrote:

Awesome share @vNote42 , thank you i hadn’t read that in the release notes

Have the release notes already been published?
 

Nope any available documentation (the sharing of which is prohibited at present) indicates as it’s not GA yet it’s subject to change still. Not long now!


vNote42
Forum|alt.badge.img+13
  • Author
  • On the path to Greatness
  • 1246 comments
  • February 22, 2021
MicoolPaul wrote:
regnor wrote:
Eddie Kwok wrote:

Thank you @vNote42 for sharing, could you please let me want to know the use of this component, and where is it used?


It is used if you enable application aware processing for a windows VM; that way Veeam will prepare the VM/application and do additional tasks. This process is always removed from the VM afterwards. With the persistent agent Veeam doesn't have to deploy it for every job run; less firewall configuration and better security.

BertrandFR wrote:

Awesome share @vNote42 , thank you i hadn’t read that in the release notes

Have the release notes already been published?
 

Nope any available documentation (the sharing of which is prohibited at present) indicates as it’s not GA yet it’s subject to change still. Not long now!

I am waiting for the “what’s new” document as well :grin:


Eddie Kwok
Forum|alt.badge.img+1
  • Experienced User
  • 49 comments
  • February 23, 2021

I think this is only a temporary plan? After it is announced on February 24 and waiting for the official document to confirm, thank you @vNote42, @MicoolPaul  and @regnor for your help. :blush:


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8440 comments
  • February 23, 2021

This will make things much easier for our clients definitely.  Looking forward to this one. :sunglasses:


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • July 14, 2021

Did anyone in the community already try the new persistent guest agents? I’m currently setting them up for a customer, but during the backup Veeam always fails over to the non-persistent way, which then fails because of missing access to Admin$ and blocked firewall ports. The logs aren’t that detailed about whats happening with the persistent guest agent or within the guest itself.


vNote42
Forum|alt.badge.img+13
  • Author
  • On the path to Greatness
  • 1246 comments
  • July 14, 2021
regnor wrote:

Did anyone in the community already try the new persistent guest agents? I’m currently setting them up for a customer, but during the backup Veeam always fails over to the non-persistent way, which then fails because of missing access to Admin$ and blocked firewall ports. The logs aren’t that detailed about whats happening with the persistent guest agent or within the guest itself.

You probably know this: https://helpcenter.veeam.com/docs/backup/vsphere/runtime_process.html?ver=110#persistent-agent-components. There you find the flow chart to use persistent agent.

Did not see this up to now.


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • July 14, 2021

Yes, I've already checked that article. So far everything looks good and the components are getting deployed according to the logs. But at the final step Veeam goes back to the traditional way without a detailed error.

I've opened a case and will see what support can find.


Mildur
Forum|alt.badge.img+12
  • Influencer
  • 1035 comments
  • July 14, 2021

I will use it soon, in august for approx 50 Windows Agents.


vNote42
Forum|alt.badge.img+13
  • Author
  • On the path to Greatness
  • 1246 comments
  • July 29, 2021
regnor wrote:

Yes, I've already checked that article. So far everything looks good and the components are getting deployed according to the logs. But at the final step Veeam goes back to the traditional way without a detailed error.

I've opened a case and will see what support can find.

Hi, @regnor ! Any news about this issue? I would be very interested!


Nico Losschaert
Forum|alt.badge.img+12
  • On the path to Greatness
  • 681 comments
  • July 29, 2021

@vnote42 and @regnor , if this server is not domain joined, perhaps following registry-key will solve your problem (already had to do that if not having access to admin$ for a non domain joined server) : 

LocalAccountTokenFilterPolicy (DWORD) put on 1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

 

More info : Can't access ADMIN$ share using a local user or LAPS account – Support (pdq.com)


vNote42
Forum|alt.badge.img+13
  • Author
  • On the path to Greatness
  • 1246 comments
  • July 29, 2021
Nico Losschaert wrote:

@vnote42 and @regnor , if this server is not domain joined, perhaps following registry-key will solve your problem (already had to do that if not having access to admin$ for a non domain joined server) : 

LocalAccountTokenFilterPolicy (DWORD) put on 1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

 

More info : Can't access ADMIN$ share using a local user or LAPS account – Support (pdq.com)

Thanks for this input, Nico! The access to admin$ shouldn’t be necessary with persistent guest agent → agent is already running in VM.


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • July 30, 2021

@vNote42 Unfortunately it is still not working and support is still investigating.

@Nico Losschaert Thanks for asking. We've tried this key and even completely disabled UAC, but still the connection is failing.


vNote42
Forum|alt.badge.img+13
  • Author
  • On the path to Greatness
  • 1246 comments
  • July 30, 2021
regnor wrote:

@vNote42Unfortunately it is still not working and support is still investigating.

@Nico LosschaertThanks for asking. We've tried this key and even completely disabled UAC, but still the connection is failing.

How did you see backup failed over to non-persistent agent? I did not see in GUI-log what agent the job uses.


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • July 30, 2021

I think you'll see in the GUI that the persistent agent isn't reachable. At least the logs show which way is used.

In our case we see the following:

Failed to inject guest runtime using guest interaction proxy, failing over to backup server
Failed to inventory guest system: Veeam Guest Agent is not started

The non-persistent way is also not working as the Admin Shares aren't available.


vNote42
Forum|alt.badge.img+13
  • Author
  • On the path to Greatness
  • 1246 comments
  • July 30, 2021
regnor wrote:

I think you'll see in the GUI that the persistent agent isn't reachable. At least the logs show which way is used.

In our case we see the following:

Failed to inject guest runtime using guest interaction proxy, failing over to backup server
Failed to inventory guest system: Veeam Guest Agent is not started

The non-persistent way is also not working as the Admin Shares aren't available.

Ah, I see. The first Failed-message I know. It is green-marked. I guess the second is red?


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • July 31, 2021
vNote42 wrote:
regnor wrote:

I think you'll see in the GUI that the persistent agent isn't reachable. At least the logs show which way is used.

In our case we see the following:

Failed to inject guest runtime using guest interaction proxy, failing over to backup server
Failed to inventory guest system: Veeam Guest Agent is not started

The non-persistent way is also not working as the Admin Shares aren't available.

Ah, I see. The first Failed-message I know. It is green-marked. I guess the second is red?

Yes it is. The backup server itself can't connect to the guest VM, so finally guest processing is falling.

I hope to receive a solution on Monday or else I'll setup an alternative.


MicoolPaul
Forum|alt.badge.img+23
regnor wrote:
vNote42 wrote:
regnor wrote:

I think you'll see in the GUI that the persistent agent isn't reachable. At least the logs show which way is used.

In our case we see the following:

Failed to inject guest runtime using guest interaction proxy, failing over to backup server
Failed to inventory guest system: Veeam Guest Agent is not started

The non-persistent way is also not working as the Admin Shares aren't available.

Ah, I see. The first Failed-message I know. It is green-marked. I guess the second is red?

Yes it is. The backup server itself can't connect to the guest VM, so finally guest processing is falling.

I hope to receive a solution on Monday or else I'll setup an alternative.

Hey guys, have either of you done a packet capture on this yet? I’d expect this to be a firewall issue. Be good to validate the port we see Veeam connect to is as expected and the endpoint’s firewall is permitting it and we see the traffic on that device.


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • July 31, 2021

@MicoolPaul I've created a Wireshark capture for Veeam Support from both the proxy and the guest. It doesn't look like they've found the cause in those captures as we have a new remote session on Monday. 

The necessary ports are reachable which we have verify via powershell. And you can also see in the logs that the proxy is able to connect to the guest, it starts uploading all other Helper files and then it just fails.


MicoolPaul
Forum|alt.badge.img+23

What antivirus is being used? 🙂


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • July 31, 2021

None, except for Windows Defender 😉

I've also posted it in the forums: https://forums.veeam.com/post424005.html?sid=d92af730896c5f80f565449959eb3704#p424005


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • August 2, 2021

So, today support came to the conclusion that it's a bug withing the guest interaction proxy and not directly with the persistent guest agent. We're waiting for the hotfix/patch now.


vNote42
Forum|alt.badge.img+13
  • Author
  • On the path to Greatness
  • 1246 comments
  • August 2, 2021
regnor wrote:

So, today support came to the conclusion that it's a bug withing the guest interaction proxy and not directly with the persistent guest agent. We're waiting for the hotfix/patch now.

Thanks for the update!


Comment