Forum Discussion
Admin O365
May 15, 2019Brass Contributor
Automatic Failover using ASR?
Is it possible to have automated failover of VM`s to another paired region? Business Requirement: IF a VM goes down in late evening hours (no operation resource available). Is it possible to perfor...
Hannes_LG
May 15, 2019Brass Contributor
Hi,
there are powershell modules available who can start a failover.
Sample:
https://docs.microsoft.com/en-us/powershell/module/azurerm.siterecovery/Start-AzureRmSiteRecoveryUnplannedFailoverJob?view=azurermps-5.7.0
From the monitor perspective, it’s possible to monitor the VM with Azure Monitor (Log Analytics) and execute a webhook (Azure Automation Script or Azure Function) which includes the failover task.
If you need more info’s let me know.
Regards,
Hannes
there are powershell modules available who can start a failover.
Sample:
https://docs.microsoft.com/en-us/powershell/module/azurerm.siterecovery/Start-AzureRmSiteRecoveryUnplannedFailoverJob?view=azurermps-5.7.0
From the monitor perspective, it’s possible to monitor the VM with Azure Monitor (Log Analytics) and execute a webhook (Azure Automation Script or Azure Function) which includes the failover task.
If you need more info’s let me know.
Regards,
Hannes
- Admin O365May 16, 2019Brass Contributor
Hannes_LG Yes Please, as this is what exactly I`m after.
However, hope its fair to assume that the automated failover will still attract some downtime and ASR has no option of Zero Downtime?
- Hannes_LGMay 16, 2019Brass ContributorHi,
if you failover with ASR you have a short downtime because the VM at the peered location has to startup and the monitoring solution isn’t real-time (take some seconds)
But in your situation it’s sounds, you need a High availability solution over two regions, it’s also possible.
What kind of application does we talk about (Web Application, Database,....)
Regards
Hannes- Admin O365May 16, 2019Brass Contributor