Case # 01814926
Case # 02035892
We have two Server 2012 R2 Hyper-V hosts. One of the backup jobs seems to be causing the Virtual Machine Management Service (VMMS) to fail which causes the job to fail. Neither Microsoft nor Veeam support have been able to help.
I have tried the following pre job script:
c:\users\emco\downloads\RestartVMMS.bat
@ECHO OFF
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe "C:\Users\emco\Downloads\RestartVMS.ps1"
TIMEOUT /20
This is the PowerShell script called above:
Get-Service -Name VMMS -ComputerName Hyper-V1 | Restart-Service
Get-Service -Name VMMS -ComputerName Hyper-V2 | Restart-Service
Running the script from the command line from the backup server works. The backup job says the pre job script was successful but VMMS is still in a failed state and the job fails.
Veeam support sent me here. Any suggestions?
Michael Montz
EMCO Technologies, Inc.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Mar 09, 2016 4:29 pm
- Contact:
-
- Veeam Software
- Posts: 21138
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Pre/Post Script Failure
Hi Michael, dos the script work if you try to run it under Veeam service account?
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Mar 09, 2016 4:29 pm
- Contact:
Re: Pre/Post Script Failure
I succeeds with the credentials that the backup jobs runs with if that is what you mean.
-
- Veeam Software
- Posts: 21138
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Pre/Post Script Failure
Please loot into this thread for other hints.
Who is online
Users browsing this forum: Semrush [Bot] and 18 guests