PowerShell script exchange
Post Reply
tsightler
VP, Product Management
Posts: 5378
Liked: 2211 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Commit Failover

Post by tsightler » Sep 01, 2013 6:06 pm

Is there any method to commit failover via Veeam Powershell. Starting a failover, failback, and committing a failback is are fairly easy, but I don't see a Powershell method to perform the equivalent of a commit failover in the GUI. I can likely do all the steps manually, but it seems like this function should be exposed via Powershell somewhere so I wanted to make sure I wasn't overlooking it.

nefes
Veeam Software
Posts: 623
Liked: 155 times
Joined: Dec 10, 2012 8:44 am
Full Name: Nikita Efes
Contact:

Re: Commit Failover

Post by nefes » Sep 01, 2013 7:33 pm

I believe

Code: Select all

Start-VBRViReplicaFailover -Definite
is what you are looking for, but I haven't had a chance to check it by myself.

tsightler
VP, Product Management
Posts: 5378
Liked: 2211 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Commit Failover

Post by tsightler » Sep 01, 2013 9:44 pm

Yep, that's probably it, I'll give it a spin. My script was using the non-hypervisor specific cmdlets that don't appear to have this option. Actually, I don't see any mention of the current hypervisor specific failover cmdlets in the V7 Powershell users guide.

Post Reply

Who is online

Users browsing this forum: ebcstanger, jhoughes, wishr and 5 guests