I have a failover plan that runs a test every Thursday. Everything seems to run fine, except that there are always a couple warnings - either related to Veeam not getting the replica IP address, or the ping test comes back grey. Each iteration, it happens to different machines, and there is not real consistency. It seems like it's a matter of VMware simply needing more time for VMtools to do its thing so that Veeam can run the test successfully.
Is there built-in way of adding some sort of delay during process steps? Or is it common to simply increase the # of retries until enough time has passed that the test can succeed?
Thanks.
-
- Influencer
- Posts: 10
- Liked: 1 time
- Joined: Dec 19, 2012 3:33 pm
- Full Name: Ryan Miller
- Contact:
-
- Veeam Software
- Posts: 268
- Liked: 63 times
- Joined: Jan 01, 2006 1:01 am
- Full Name: Stanislav Simakov
- Contact:
Re: Add delay during failover plan
There is no built-in way to introduce delay but it's easily achievable with the custom steps that will execute PowerShell Start-Sleep cmdlet or use similar method to proceed after timeout. You can find an example here: https://github.com/stnsmk/veeam-vao-ste ... /Delay.ps1.
-
- VP, Product Management
- Posts: 1497
- Liked: 384 times
- Joined: Jan 01, 2006 1:01 am
- Contact:
Re: Add delay during failover plan
Hi Ryan,
The best way is to add more retries - this method optimises the overall execution time of the plan. Rather than a fixed delay (which might or might not be required), retries mean the plan will proceed to the next step in the shortest possible time.
One small disadvantage of retries is that it can make the reports more verbose - we're looking at ways to optimise that too.
And of course, VAO has ultimate flexibility So, although we don't have a built-in 'Delay' step, just create a custom script step that simply runs Sleep in powershell. You could pass in the duration as a parameter. And of course you could set this custom step to execute only in test mode - not in a real failover.
Hope that helps!
The best way is to add more retries - this method optimises the overall execution time of the plan. Rather than a fixed delay (which might or might not be required), retries mean the plan will proceed to the next step in the shortest possible time.
One small disadvantage of retries is that it can make the reports more verbose - we're looking at ways to optimise that too.
And of course, VAO has ultimate flexibility So, although we don't have a built-in 'Delay' step, just create a custom script step that simply runs Sleep in powershell. You could pass in the duration as a parameter. And of course you could set this custom step to execute only in test mode - not in a real failover.
Hope that helps!
-
- Veeam Software
- Posts: 856
- Liked: 154 times
- Joined: Feb 16, 2012 7:35 am
- Full Name: Rasmus Haslund
- Location: Denmark
- Contact:
Re: Add delay during failover plan
What is the benefit of adding artificial delays? It just means everything gets delayed when the process could have already moved onto the next plan step. If something sometimes takes more time, which obviously will happen both during testing and real failovers, then the retries will catch this every single time. Alternatively, just increase the timeout for some these steps.
Rasmus Haslund | Twitter: @haslund | Blog: https://rasmushaslund.com
Who is online
Users browsing this forum: No registered users and 2 guests