-
- Novice
- Posts: 3
- Liked: never
- Joined: Aug 12, 2018 10:29 am
- Full Name: kareem mahmoud
- Contact:
Veeam script for fail over and faildback
Dear All
kindly i need your support to do Fali over and Faild back Script To make this Automated because i have two site Main and DR site my condition is please find below
The script/cmd we need it, is to have a condition that if the site 1 cannot reach Internet for like 25 bad request or maybe 10 minutes it should start failover to the replica VM in site 2.
VM's Running in a VMware 6.5 environment.
note.. i make Ticket with veeam support and they tell me go to forum they can help you with Case # 03140049
kindly i need your support to do Fali over and Faild back Script To make this Automated because i have two site Main and DR site my condition is please find below
The script/cmd we need it, is to have a condition that if the site 1 cannot reach Internet for like 25 bad request or maybe 10 minutes it should start failover to the replica VM in site 2.
VM's Running in a VMware 6.5 environment.
note.. i make Ticket with veeam support and they tell me go to forum they can help you with Case # 03140049
-
- Novice
- Posts: 3
- Liked: never
- Joined: Aug 12, 2018 10:29 am
- Full Name: kareem mahmoud
- Contact:
Re: Veeam script for fail over and faildback
any update please
-
- Product Manager
- Posts: 20413
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Veeam script for fail over and faildback
You can start failover and failback, using Start-VBRViReplicaFailover and Start-VBRVIReplicaFailback cmdlets.
Is that something you're after?
Thanks.
Is that something you're after?
Thanks.
-
- Novice
- Posts: 3
- Liked: never
- Joined: Aug 12, 2018 10:29 am
- Full Name: kareem mahmoud
- Contact:
Re: Veeam script for fail over and faildback
Thanks for your replying but i need on .bat file how can i make it
-
- Product Manager
- Posts: 20413
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Veeam script for fail over and faildback
Create a bat file within which the PowerShell script for failover or failback will be called; something like this:
Thanks.
Code: Select all
Powershell.exe -File C:\YourScript.ps1
Who is online
Users browsing this forum: No registered users and 9 guests