PowerChute - Power Failure Shutdown Scenario

Availability for the Always-On Enterprise

PowerChute - Power Failure Shutdown Scenario

Veeam Logoby ToNH » Mon Jan 23, 2017 8:08 pm

Hi All - I'm setting up APC PowerChute software to shutdown all my VM's and Host Servers if we have a power failure (our generator has had problems recently). Can a script be used to tell Veeam to gracefully terminate backups that are in progress before the shutdown? If that can't be done, what happens if the Veeam Backup server/proxy is sent a shutdown command during a backup? Since a backup job might be in progress, should I shutdown the Veeam Server first before the servers that might have a backup in progress, or last after the other servers that might have a backup in progress? Thanks for any help you can provide.
ToNH
Novice
 
Posts: 3
Liked: never
Joined: Tue Mar 17, 2015 2:49 pm
Full Name: Allen Massey

Re: PowerChute - Power Failure Shutdown Scenario

Veeam Logoby v.Eremin » Tue Jan 24, 2017 11:50 am

You can write a script making use of Get-VBRJob and Stop-VBRJob commandlets.

The idea here is simple - find all jobs that have "running" state and stop them. Even though, the jobs would not be stopped gracefully (you cannot currently do that via PS) and backups would be in inconsistent state.

However, jobs would still be stopped by backup management server, instead of being interrupted abruptly (as they would be in case of management server shutdown).

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: PowerChute - Power Failure Shutdown Scenario

Veeam Logoby mkretzer » Tue Jan 24, 2017 12:19 pm

Is the result of windows stopping the Veeam service not the same? I always thought so as it sometimes takes quite some time for the Veeam service to stop if there are any running jobs...
mkretzer
Expert
 
Posts: 308
Liked: 69 times
Joined: Thu Dec 17, 2015 7:17 am

Re: PowerChute - Power Failure Shutdown Scenario

Veeam Logoby v.Eremin » Wed Jan 25, 2017 2:02 pm

While being stopped, backup service does issue stop command to running jobs. However, according to QA team, in order to be on the safe side it's worth stopping running jobs via PowerShell before stopping corresponding service. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 54 guests