PowerShell script exchange
Post Reply
cmaier
Enthusiast
Posts: 41
Liked: 4 times
Joined: Feb 24, 2014 4:01 pm
Full Name: Christian Maier
Contact:

Parallel executing script fails - sometimes

Post by cmaier »

Hi,

I have a problem processing my backup script in parallel. The scheduler runs the script at six p.m. about 10 times in parallel (one for each job). On most days this works perfectly fine without any issues. But there are days where some of them fail with the following error:

Code: Select all

Get-VBRJob : WriteWarning
In RunBackup.ps1:21 Zeichen:12
+     $job = Get-VBRJob -Name $JobName -ErrorAction Stop
+            ~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], NotImplementedException
    + FullyQualifiedErrorId : System.NotImplementedException
A retry is always successful. A manual call of this cmdlet is always successful. A manual call of the whole script is always successful. The problem only occures on parallel processing. There are no further logs available that I could post.

Is there something that could limit the access to the Veeam Powershell module? 10 parallel jobs are not that much in my eyes...

I have a case # 03585183.

Thanks!
HannesK
Product Manager
Posts: 14844
Liked: 3086 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Parallel executing script fails - sometimes

Post by HannesK »

Hello,
as I read through the case. You state that it worked before you installed update 4.

Before I talk to support: you did not change anything in the scripts? No other (windows) updates? And could you also provide the scripts to support?

In general, I see no issue running 10 jobs in parallel if there are enough hardware resources. The only way to find out the reason why it fails is to continue with support.

Best regards,
Hannes
cmaier
Enthusiast
Posts: 41
Liked: 4 times
Joined: Feb 24, 2014 4:01 pm
Full Name: Christian Maier
Contact:

Re: Parallel executing script fails - sometimes

Post by cmaier »

Hello Hannes,

We had many changes in late January, but I never had this problem in U3a and earlier. I updated B&R to update 4 (build 2399) very early after release. It must have been around January 14th or 15th. The issue must have been there shortly after this update because I changed my script on January 24th to handle this error with a try catch block and a second run of Get-VBRJob. I restored the old versions of my script to check this out.

After that we changed so much here... Starting around January 28th we migrated vSphere 6.0 to 6.7 U1, got brand new host servers, migrated to B&R U4 build 2615 and the whole B&R server went from Windows 2008 R2 to 2012 R2. This was a complete new installation but I restored the old config backup from a day before. Now we are on B&R U4a and the issue was always there. That's why I think it must be introduced with update 4.

The script is not very spectacular at all, I will post it later.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Parallel executing script fails - sometimes

Post by veremin »

Does not seem to be script specific, so, keep working with our support team - the root cause must lie outside of PowerShell scope. Thanks!
rmaharaj
Lurker
Posts: 1
Liked: never
Joined: Jun 06, 2019 8:35 pm
Contact:

Re: Parallel executing script fails - sometimes

Post by rmaharaj »

We are having same issue after upgrading to update 4.
HannesK
Product Manager
Posts: 14844
Liked: 3086 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Parallel executing script fails - sometimes

Post by HannesK »

Hello,
and welcome to the forums.

Please open a support case for your issue and post the case number here for reference. The other case is still under investigation. We were still not able to reproduce the issue.

Best regards,
Hannes
adriangalbincea
Novice
Posts: 3
Liked: 1 time
Joined: Jun 07, 2019 8:28 am
Full Name: Adrian Galbincea
Contact:

Re: Parallel executing script fails - sometimes

Post by adriangalbincea »

Hi,

I have same problem, started a few days ago on a few servers/VMs, I notices that some windows updates happened on one of the W10 VM.

Regards,
Adrian G
HannesK
Product Manager
Posts: 14844
Liked: 3086 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Parallel executing script fails - sometimes

Post by HannesK »

same answer as above. Please open a case for further investigations. you can reference to the other case(s).
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests