Commit Failover

PowerShell script exchange

Commit Failover

Veeam Logoby tsightler » Sun 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.
tsightler
Veeam Software
 
Posts: 4772
Liked: 1740 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler

Re: Commit Failover

Veeam Logoby nefes » Sun 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.
nefes
Veeam Software
 
Posts: 534
Liked: 125 times
Joined: Mon Dec 10, 2012 8:44 am
Full Name: Nikita Efes

Re: Commit Failover

Veeam Logoby tsightler » Sun 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.
tsightler
Veeam Software
 
Posts: 4772
Liked: 1740 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 6 guests