Host-based backup of VMware vSphere VMs.
Post Reply
Quentin
Novice
Posts: 4
Liked: 1 time
Joined: Feb 13, 2025 8:58 am
Full Name: Quentin
Contact:

SplunkForwarder service prevent the deletion of VeeamVssSupport service

Post by Quentin »

Hello there!

I recently encountered a strange issue: some Windows Server VM with AAIP enabled failed with the following error: 'Error: Unable to perform installation. Unable to register and start service. Attempt 10 of 10. Cannot register management service. Service name: [VeeamVssSupport]. Cannot create service. Machine: [C2023TRVWWD]. Service name: VeeamVssSupport. Service binary path: C:\Windows\VeeamVssSupport\VeeamGuestHelper.exe. Service account: []. Cannot create service. Win32 error: The specified service has been marked for deletion. Code: 1072 '

The strange thing here is that this error did not occur on the same VM or at every backup. Sometimes a retry solved the issue, but sometimes a reboot was needed.
I didn't find anything relevant in the Veeam or Windows Event logs.

It turns out that the SplunkForwarder service is the culprit.

When I logged into a VM after the backup ended, the VeeamVssSupport service was still present but stopped. I tried 'sc delete VeeamVssSupport', but received an error message saying the service was marked for deletion.
Then I found this Reddit post: https://www.reddit.com/r/sysadmin/comme ... e_without/. Since the issue was similar, I had to establish what those VMs had in common.
The only thing they had in common was the SplunkForwarder service, so I tried restarting it and it worked. However, when the VeeamVssSupport service is marked for deletion and I restart the SplunkForwarder service, the Veeam service is deleted.

I am now searching for a way to prevent this. I asked the Splunk team if the VeeamVssSupport service could be excluded from Splunk analysis, but I won't receive an answer until next year.
Is there a way to restart the Splunk service with Veeam before or after the backup?

Thanks for reading!
Regards,
Gostev
Chief Product Officer
Posts: 33038
Liked: 8112 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: SplunkForwarder service prevent the deletion of VeeamVssSupport service

Post by Gostev »

Sure thing, we provide pre- and post-job script functionality to enable users to do things like that.
Quentin
Novice
Posts: 4
Liked: 1 time
Joined: Feb 13, 2025 8:58 am
Full Name: Quentin
Contact:

Re: SplunkForwarder service prevent the deletion of VeeamVssSupport service

Post by Quentin »

Hi Gostev,

As I understand it, the pre- and post-job scripts run on the VBR server, not on every VM in the job. I may have missed something about it.
The pre-freeze and post-thaw scripts don't fit either, as they are executed during the backup process.

I tried a post-thaw script that starts a PowerShell child process which wait for the VeeamVssService to stop and then restart SplunkForwarder service, but the Powershell process dies when Veeam disconnect the service account.

Regards,
Gostev
Chief Product Officer
Posts: 33038
Liked: 8112 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: SplunkForwarder service prevent the deletion of VeeamVssSupport service

Post by Gostev »

For VMs we offer pre-freeze and post-thaw scripts which are executed before and after VM snapshot creation respectively.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 26 guests